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

Can I filter list of transitions for the Issue Status? Edited

We can get list of available transitions by below:
GET /rest/api/2/issue/{issueIdOrKey}/transitions

And it will give list of available transitions.
But I want transition id for specific given 'status name/id',

So, I can use that transition id in "POST /rest/api/2/issue/{issueIdOrKey}/transitions".

And with use of above ,I want to update transition of the issue.

 

=> Actually I want to update transition of the issue by 'Status name', if there's another way besides above POST API, then please mentions that also.

1 answer

0 votes
Hana Kučerová Community Leader Nov 08, 2020

Hi @Dhruval Shah ,

I don't think it is possible, it seems to me there is no such endpoint. There is the endpoint Get workflows paginated, which enables you to get all transitions in workflow, but still you need to find the relevant one for the status.

So I think your described approach is the best way how to do it - you need to find the right action from the available ones (using GET request) and then transition the issue (using POST request).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,546 views 12 8
Join discussion

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