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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,925
Community Members
 
Community Events
176
Community Groups

I am unable to change the Status through API

Hello 

When i am trying to change the status from Resolved to Reopen in Jira through API(POSTMAN) . I am getting below error response. Can someone please help me 

{
"errorMessages": [],
"errors": {
"status": "Field 'status' cannot be set. It is not on the appropriate screen, or unknown."
}
}

1 answer

0 votes

Hi @Venkata Sagar Ganesh Rao Mahendrakar 

Which request are you trying to send? Just to change the Status field? I think what you are looking for is to transition the issue.

Hi @Alex Koxaras _Relational_ 

Thank you for the quick reply!!

Yes, we need to transition the issue from Resolved to Reopen.

Could you please help me!!

Thanks

Sagar 

If the above, which is for cloud, doesn't work then use the following:

/rest/api/2/issue/ISSUE_ID/transitions

Replace the ISSUE_ID with the eerr... issue id.

Hi @Alex Koxaras _Relational_ 

Thank you for the Reply!!

We are using Jira Server not Cloud

Thanks

Sagar

Then use the other one I gave you:

/rest/api/2/issue/ISSUE_ID/transitions

Hi @Alex Koxaras _Relational_ 

Thank you for the Response!!

We are Using the same above one with below body in Postman

{
"fields": {
"status": {
"self": "https://***/rest/api/2/status/4",
"description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.",
"iconUrl": "https://***/images/icons/statuses/reopened.png",
"name": "Reopened",
"id": "4",
"statusCategory": {
"self": "https://***/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
}
}
}

We are getting below Response :

{
"errorMessages": [
"Missing 'transition' identifier"
],
"errors": {}
}

we tried to include transition  in the request of body ,but we are getting 500 internal error

Could you please help me

Thanks 

Sagar

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events