Change information of existing a bug in the current channel. The fields can be updated: assignedTo
, status
, priority
, startDate
, dueDate
.
/api/bulk/bug.
POST.
This method does not supply OData Filter syntax.
Header1
2
3--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
Body
In the request body, need to include the following information should:
ids
is the list of ids of all bugs that need to be changed. Must have at least 1 item in the list.assignedTo
is a list of users needed to change assignee. If you don’t want to change assignee so this field is [].status
must be an existing status in the ebug and mapped. If the value is null, status
will not be changed.priority
is priority of ebug. If the value is null, status
will not be changed.severity
must be an existing status in the ebug and mapped. If the value is null, severity
will not be changed.startDate
and dueDate
are datetime of the bugs. If the value is null, startDate
and dueDate
will not be changed.completedDate
will autofill when the status
is changed to Done category.1 | { |
Success
If successful, this method returns a 200 OK
response code and the updated bugs and updated status in the response body.
Error
Code: 400 Bad Request, 401 Unauthorized, 500 Error Exception.
Content: { error : “error message” }
Request
1 | curl --location --request POST 'https://teams.appvity.com/api/bulk/bug' \ |
Response1
2
3
4
5
6
7
8
9
10
11
12
13[
{
"_id": "5f62c8ef4d596392f54d1fc3",
"name": "B-bug",
"status": "success"
},
{
"_id": "5f602e564d596392f53d45b6",
"name": " A-bug",
"status": "error",
"error": "Ebug_MAPPING_NOTFOUND"
}
]
Comment