Jira Updating the user resolution to Already Fixed from Fixed issue

Bhanu Prakash Arri July 4, 2021

Hi im working on an issue to update the user resolution from fixed to Already Fixed

so I'm trying to put the request using the json

{
"fields": {
"update": {
"worklog": [{
"add": {
"timeSpent": "10m"
}
}]
},
"resolution": {
"name": "Already Fixed"
},
"transition": {
"id": "971"
}
}
}

I was getting 404 status code as a response
can any one help me in sending the correct request if am sending the wrong one please.

Thanks in Advance.

1 answer

1 accepted

0 votes
Answer accepted
Niranjan
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.
July 4, 2021

Hi @Bhanu Prakash Arri ,

Try with this call 

/rest/api/3/issue/ABC-123/transitions?expand=transitions.fields&transitionId=971

 

and this JSON

{
"update": {},
"transition": {
"id": "971"
},
"fields": {
"resolution": {
"name": "Already Fixed"
}
}
}

 

If that does not work, try with ID, but ensure the user making the call has all necessary privilges to view, transistion and resolve issues.

Bhanu Prakash Arri July 27, 2021

Thanks it worked.

Suggest an answer

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

Atlassian Community Events