I am using Transition property in my rest call, but it is not changing status in jira.
Thanks Rodrigo,
I found solution we have to use different ApI call to make it successful.
First query issue transitions using key and find all possible status like given below
End Point : Your JIRA Site Link/rest/api/2/issue/Issue Key/transitions
Method : Get
this will return you all possible transition setup in your JIRA account.
Then use use 'POST' method to change the status like given below
End Point : Your JIRA Site Link/rest/api/2/issue/Issue Key/transitions
Method : POST
Body :
{
"transition": {
"name": "Done"
}
}
Thanks
Hey Rajeev, I believe you might find a good example here:
https://answers.atlassian.com/questions/107630/jira-how-to-change-issue-status-via-rest
I hope that helps!
Cheers,
Rodrigo SIlva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.