get/config/statustype

Request

  • Base URL
    https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1
  • URL
    https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1/config/statustype
  • Auth
    • OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token URL: https://auth.atlassian.com/oauth/token scopes: read:cmdb-config:jira
    • or HTTP bearer

Query parameters

objectSchemaIdstring

Include statuses for the object schema id. If supplied statuses for the object schema will be returned otherwise all global will be returned

Response

idstring required
namestring required
displayNamestring
descriptionstring
categoryinteger required
NameValueColor
ACTIVE1Green
INACTIVE0Red
PENDING2Yellow
objectSchemaIdstring

Example response

[
  {
    "id": "1",
    "name": "Action Needed",
    "displayName": "Action Needed",
    "description": "",
    "category": 2,
    "objectSchemaId": null
  },
  {
    "id": "2",
    "name": "Active",
    "displayName": "Active",
    "description": "",
    "category": 1,
    "objectSchemaId": null
  },
  {
    "id": "3",
    "name": "Closed",
    "displayName": "Closed",
    "description": "",
    "category": 0,
    "objectSchemaId": null
  },
  {
    "id": "4",
    "name": "In Service",
    "displayName": "In Service",
    "description": "",
    "category": 2,
    "objectSchemaId": null
  },
  {
    "id": "5",
    "name": "Running",
    "displayName": "Running",
    "description": "",
    "category": 1,
    "objectSchemaId": null
  },
  {
    "id": "6",
    "name": "Stopped",
    "displayName": "Stopped",
    "description": "",
    "category": 0,
    "objectSchemaId": null
  },
  {
    "id": "7",
    "name": "Support Requested",
    "displayName": "Support Requested",
    "description": "",
    "category": 2,
    "objectSchemaId": null
  }
]

Changes