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."
}
}
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.
Thank you for the quick reply!!
Yes, we need to transition the issue from Resolved to Reopen.
Could you please help me!!
Thanks
Sagar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the Reply!!
We are using Jira Server not Cloud
Thanks
Sagar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then use the other one I gave you:
/rest/api/2/issue/ISSUE_ID/transitions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.