Component Task Status Mappings
Get all Component Task Status Mappings
This endpoint returns a list of Component Task Status Mappings.
GET /api/v2/task-statuses/component-mappings/
GET /api/v2/task-statuses/component-mappings/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json
{
"results": [
{
"id": 1,
"status_type": "Implemented",
"task_status": "TODO"
},
{
"id": 2,
"status_type": "Introduced",
"task_status": "DONE"
}
]
}
Update a Component Task Status Mapping
Update a single Component Task Status Mapping by specifying the id. Only the field task_status
can be updated.
PATCH /api/v2/task-statuses/component-mappings/{mapping_id}/
URL Parameters
Parameter | Description |
---|---|
mapping_id | The id of the Component Task Status Mapping to update. |
Payload
Fields | Required | Description |
---|---|---|
task_status | No | The slug of the new mapped Task Status. This slug cannot be already in use for another mapping. |
PATCH /api/v2/task-statuses/component-mappings/1/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
{
"task_status": "NA"
}
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": 1,
"status_type": "Implemented",
"task_status": "NA"
}