Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Get Transitions API call not returning all transitions

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.

image.png

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?

1 answer

1 vote
Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 21, 2023 • edited

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

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events