You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
=====
Not working.
Issue Type: Incident
URI: /rest/servicedeskapi/request/10010/transition
Return:
{'size': 0, 'start': 0, 'limit': 50, 'isLastPage': True, '_links': {'self': 'https://mydomain.atlassian.net/rest/servicedeskapi/request/16586/transition', 'base': 'https://mydomain.atlassian.net', 'context': ''}, 'values': []}
It returns empty for all Incidents.
====
Works:
Issue Type: Service Request
/rest/servicedeskapi/request/10010/transition
{'size': 3, 'start': 0, 'limit': 50, 'isLastPage': True, '_links': {'self': 'https://mydomain.atlassian.net/rest/servicedeskapi/request/10010/transition', 'base': 'https://mydomain.atlassian.net', 'context': ''}, 'values': [{'id': '921', 'name': 'Escalate'}, {'id': '761', 'name': 'Resolve this issue'}, {'id': '901', 'name': 'Cancel request'}]}
I want Transitions for "Incident" just like Service Requests. This help move an incident and integrate with our application.
Hello @Nathan Scott
Welcome to the Atlassian Community!
The REST API that you are running above does not return the transitions of a specific issue type, but the transitions of a Request type. By default, "incidents" is related to an issue type. Can you confirm if that's the case?
You can check the difference between both in the link below:
Jira Service Desk: Issues vs. Requests
If my assumption above is correct, I believe the error above is happening because the issue ID that you are referring in the call is related to an issue that does was created internally and does not have a request mapped, as the one in the screenshot below:
Can you confirm if that's the case? Can you try to map it with a Request type and check if the REST API call works for you?
Let us know if you have any questions.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.