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

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.

Suggest an answer

Log in or Sign up to answer