Hello,
I need to update jira status to pending form in progress and to achieve this we need to update pending reason field and external comment so only after that sttaus will move to pending.
i am doing api call to update pending reason and call is successfull.
but when i am trying to update external comment and then status sapertely then it wont works, i got to know we need to update comment (external) and status in one api call.
code for pending sttaus is - 871
i have tried below combitnations
1] “{”“transitions”“:{”“id”“:”“871"”,““fields””:{““body””:““Testing””}}"
got this error -
{“body”: field ‘body’ cannot be set.it is not on approprate screen or unknown}
2]“{”“transitions”“:{”“id”“:”“871"”,““description””:““Testing””}"
got this error -
need to update comment field
3]“{”“transitions”“:{”“id”“:”“871"”,““fields””:{““comment””:““Testing””}}"
got this error-
{“coment”:field does not suport update ‘comment’}
when i do saperate calls , comments (external) update works -body which i am using to call it saperatrely is -
"{ ""body"": "" Automation is still in progress"", ""public"": false}"
help me o same as early as possible
let me know what will be the correct body to do api call so that both comment and status will get updated
Hi Kunal - Welcome to the Atlassian Community!
There is probably a Validator or two on the transition to Pending in your workflow. Can you verify that?
That is strange then that it won't let you transition the issue. Have you tried to just do the transition without the other items first?
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.