Contents

Update Order of Status

Updates order about Status.

Role

Administrator

Method

PATCH

URL

/api/v2/projects/:projectIdOrKey/statuses/updateDisplayOrder

URL parameters

Parameter NameTypeDescription
projectIdOrKeyStringProject ID or Project Key

Form parameters

Content-Type:application/x-www-form-urlencoded
Parameter NameTypeDescription
statusId[]
(Multiple)
NumberStatus ID List to order them. You have to send all status of project. It has following restrictions as below.
  • ”Open” has to be first
  • ”Close” has to be last
  • ”In Progress” has to be before “Resolved”

Response example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

[
    {
        "id": 1,
        "projectId": 1,
        "name": "Open",
        "color": "#ed8077",
        "displayOrder": 1000
    },
    {
        "id": 101,
        "projectId": 1,
        "name": "Ready",
        "color": "#ed8077",
        "displayOrder": 1001
    },
    // ...
]