Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

change issue transition with api

"

/rest/api/3/issue/%s/transitions

"

When i used above api to change the issue's transition, as if nothing had happened

Could anyone tell me what's wrong?

my params is "{\"transition\":{\"id\":\"2\"}}"

 

2 answers

0 votes

Hi @changjinsheng 

You need to pass the relevant transition id for that particular issue based on its current status.

You can get the valid transitions using the same end point but GET method. I made a video exactly on this topic explaining how to get transitions and make a transition.

I hope it helps.

Ravi

0 votes

Hello @changjinsheng

 

I didn't tried before on Transition of issues. with REST API's.

Can you please check the below link 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post 

It may helpful.

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS

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