Get transitions
GET
/rest/api/3/issue/{issueIdOrKey}/transitions
Issues
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/issue//transitions'
Response Response Example
200 - Success
{
"transitions": [
{
"id": "2",
"name": "Close Issue",
"to": {
"self": "https://your-domain.atlassian.net/rest/api/3/status/10000",
"description": "The issue is currently being worked on.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/progress.gif",
"name": "In Progress",
"id": "10000",
"statusCategory": {
"self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/1",
"id": 1,
"key": "in-flight",
"colorName": "yellow",
"name": "In Progress"
}
},
"hasScreen": false,
"isGlobal": false,
"isInitial": false,
"isAvailable": true,
"isConditional": false,
"fields": {
"summary": {
"required": false,
"schema": {
"type": "array",
"items": "option",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
"customId": 10001
},
"name": "My Multi Select",
"key": "field_key",
"hasDefaultValue": false,
"operations": [
"set",
"add"
],
"allowedValues": [
"red",
"blue"
],
"defaultValue": "red"
}
}
},
{
"id": "711",
"name": "QA Review",
"to": {
"self": "https://your-domain.atlassian.net/rest/api/3/status/5",
"description": "The issue is closed.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/closed.gif",
"name": "Closed",
"id": "5",
"statusCategory": {
"self": "https://your-domain.atlassian.net/rest/api/3/statuscategory/9",
"id": 9,
"key": "completed",
"colorName": "green"
}
},
"hasScreen": true,
"fields": {
"summary": {
"required": false,
"schema": {
"type": "array",
"items": "option",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
"customId": 10001
},
"name": "My Multi Select",
"key": "field_key",
"hasDefaultValue": false,
"operations": [
"set",
"add"
],
"allowedValues": [
"red",
"blue"
],
"defaultValue": "red"
},
"colour": {
"required": false,
"schema": {
"type": "array",
"items": "option",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
"customId": 10001
},
"name": "My Multi Select",
"key": "field_key",
"hasDefaultValue": false,
"operations": [
"set",
"add"
],
"allowedValues": [
"red",
"blue"
],
"defaultValue": "red"
}
}
}
]
}
Request
Path Params
issueIdOrKey
stringÂ
required
Query Params
expand
stringÂ
optional
transitions.fields
, which returns information about the fields in the transition screen for each transition. Fields hidden from the screen are not returned. Use this information to populate the fields
and update
fields in Transition issue.transitionId
stringÂ
optional
skipRemoteOnlyCondition
stringÂ
optional
includeUnavailableTransitions
stringÂ
optional
sortByOpsBarAndStatus
stringÂ
optional
Responses
Modified at 2023-07-13 03:27:27