You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to get the list of available transitions for an issue by calling
rest/api/3/<issuekey>/transitions
The issue in question has three transitions in its current status. Two of the transitions are to other statuses and one of the transitions loops back to the current status. In the API response I get the two transitions that go to other statuses but not the one that loops back to itself.
There are conditions on the looping transition but the conditions are met as I see the transition in the UI (under the Action menu) and I'm using the same user in the API as the Web UI.
I guess there is something funky about "looping" transitions so is there some other way of finding these through the API?
Hi @Tom Hudgins
Are there conditions on this loop transition, if you you might need to add the property includeUnavailableTransitions in your API call.
Or does the transition have a hidden from user
skipRemoteOnlyCondition can be added in the API call.
You can also call the transition id of the loop transitions, does this give a result?
If all of this is not the case, you might want to raise this at Atlassian, it might be that you found a bug.
Yes there are conditions and I did try the call with that query param - no joy.
If I send the id in the call, I get nothing.
Yep, I'll probably open a Support ticket with them - figured I'd try here first in case it was something someone else had run across.
Thanks for the reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.