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

Get list of all issue type schemes visible to user

Returns a list of all issue type schemes visible to the user. All issue types associated with the scheme will only be returned if an additional query parameter is provided: expand=schemes.issueTypes. Similarly, the default issue type associated with the scheme (if one exists) will only be returned if an additional query parameter is provided: expand=schemes.defaultIssueType. Note that both query parameters can be used together: expand=schemes.issueTypes,schemes.defaultIssueType.

GET/api/2/issuetypescheme
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.

Responses
200

Returns a list of issue type schemes.

schemesIssueTypeSchemeBean[]
Show properties
Array of IssueTypeSchemeBean
defaultIssueTypeIssueTypeJsonBean
Show properties
avatarIdinteger<int64>
descriptionstring
iconUrlstring
idstring
namestring
selfstring
subtaskboolean
descriptionstring
expandstring
idstring
issueTypesIssueTypeJsonBean[]
Show properties
Array of IssueTypeJsonBean
avatarIdinteger<int64>
descriptionstring
iconUrlstring
idstring
namestring
selfstring
subtaskboolean
namestring
selfstring
401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to administer Jira.

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/api/2/issuetypescheme' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "schemes": [
    {
      "defaultIssueType": {
        "avatarId": 10002,
        "description": "A problem which impairs or prevents the functions of the product.",
        "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
        "id": "1",
        "name": "Bug",
        "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
        "subtask": false
      },
      "description": "A brief explanation of this issue type scheme.",
      "expand": "issueTypes",
      "id": "10100",
      "issueTypes": [
        {
          "avatarId": 10002,
          "description": "A problem which impairs or prevents the functions of the product.",
          "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
          "id": "1",
          "name": "Bug",
          "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
          "subtask": false
        }
      ],
      "name": "Some grouping of issue types for the greater good.",
      "self": "http://localhost:8090/jira/rest/api/2/issuetypescheme/10100"
    }
  ]
}

Was this page helpful?