The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change status of Jira ticket in Postman?

Kelsey Stieby
June 9, 2022

I am attempting to update an issue status from backlog to assessment through Postman but am not having any success. I've only seen answers for how to do this through curl, which I do not have access to. Currently, I am attempting a POST with "https://<company url>/rest/api/2/issue/<issueID>/transitions" and the following body:

{
    "fields": {
        "status": {
           "name""Assessment"
        }
    },
    "transition": {
        "id""2"
    }
}
This gives me "Internal server error".
Any tips would be appreciated.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Srini Chimata (Contractor)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2024

Try removing the update line as well.. Just transition line would suffice as follows, while the POST URL would still be same as https://jira-dev.abcd.com/rest/api/2/issue/<Jira Issue Key>/transitions 

{
   "transition": {
      "id": "2"
   },
}

0 votes
Marco Franzen
June 9, 2022

Hi,

can you try to remove the "fields" from your body?

{
"transition": {
"id": "2"
}
}

 

You can only specify fields for the transition that are also on the transition screen.
The status is set through the transition (and not directly by the user), so you do not need to provide that value. 

Kelsey Stieby
June 10, 2022

I have tried this but I get the same error.

TAGS
AUG Leaders

Atlassian Community Events