Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Incident Transitions coming as empty

=====

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.

1 answer

0 votes

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:

Screen Shot 2020-10-06 at 23.16.51.png

 

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

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...

133 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you