Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all issue types with statuses for a project

Get all issue types with valid status values for a project

GET/api/2/project/{projectIdOrKey}/statuses
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
projectIdOrKeystringrequired

Project id or project key

Responses
200

Issue types with status values

idstring
namestring
selfstring
statusesStatusJsonBean[]
Show properties
Array of StatusJsonBean
descriptionstring
iconUrlstring
idstring
namestring
selfstring
statusCategoryStatusCategoryJsonBean
Show properties
colorNamestring
idinteger<int64>
keystring
namestring
selfstring
statusColorstring
subtaskboolean
404

Returned if the project is not found, or the calling user does not have permission to view it

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string/statuses' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "id": "1",
  "name": "Bug",
  "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
  "statuses": [
    {
      "description": "The issue is currently being worked on.",
      "iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
      "id": "10000",
      "name": "In Progress",
      "self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
      "statusCategory": {
        "colorName": "blue-gray",
        "id": 1,
        "key": "new",
        "name": "To Do",
        "self": "http://localhost:8090/jira/rest/api/2.0/statuscategory/1"
      },
      "statusColor": "green"
    }
  ],
  "subtask": false
}

Was this page helpful?