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

How to update status of an issue/incident with api 3using Put method?

Priya Mitthankhediwale December 6, 2021

Hi, I am new to JIRA. Currently I am using JIRA Service Management free edition.

Just wanted to ask is there any way to update status of an issue/incident with REST API 3 using Put method?

3 answers

0 votes
Sanika Haval April 12, 2022

Hello,
I've tried the above mentioned solutions but facing the following error :

{
"errorMessages": [
"Can't move (ITSAMPLE-50). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator."
],
"errors": {}
}


can anyone help?
0 votes
Ravi Sagar _Sparxsys_
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.
December 6, 2021

Hi @Priya Mitthankhediwale 

Yes you can do that using this end point.

/rest/api/3/issue/sd-1/transitions

You need to pass the applicable transition id in your JSON body like this.

{

"transition": {
"id": "871"
}

To learn how to do it you can watch this video I made, where I explained how to find the transitions as well.

I hope it helps.

Ravi

0 votes
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 6, 2021

Hi @Priya Mitthankhediwale 

Welcome to the community.

Please check this JSM Cloud Rest API doc to perform transition with POST method.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events