Product : Jira server data centre
Project type : Basic
Issue type : Service Request With Approvals
Current Issue Status : Waiting For Approvals
Question : For the Above issue type there are three possible transitions shown in Workflow Diagram, but when got through API, only one transition is returned as response...Have attached the photo of diagram and API request with diagram
API : <base url>/rest/api/2/issue/IT-10/transitions
Response :
{
"expand":"transitions",
"transitions":[
{
"id":"921",
"name":"Cancel request",
"to":{
"self":"http://<base-url>/rest/api/2/status/10004",
"description":"This was auto-generated by Jira Service Desk during workflow import",
"iconUrl":"http://<base-url>/images/icons/status_generic.gif",
"name":"Canceled",
"id":"10004",
"statusCategory":{
"self":"http://<base-url>/rest/api/2/statuscategory/3",
"id":3,
"key":"done",
"colorName":"green",
"name":"Done"
}
}
}
]
}
