You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I am trying the change the tansition from inprogress to Resolve using the following input params,
jira/rest/api/2/issue/JIRASD-78/transitions
{ "update": { "comment": [ { "add": { "body": "Resolved via automated process." } } ] }, "transition": { "id": "441" }, "fields": { "resolution": { "name": "Duplicate" } } }
how mto update the resoluttion comments in jira using JIRA Rest API?
Seems good on paper to me. Are you sure that the 'Resolution' field is available as part of the Transition Screen on this specific transition?
It must be on the screen, otherwise you won't be able to change it.
You could also check the following endpoint:
/rest/api/latest/issue/JIRASD-78/transitions?expand=transitions.fields
If resolution is not available as a field as part of that transition, then we'll know it's missing.
Thanks for reply...
When i change the status from Inprogress to resolve state, i have the resolution, resolution details option in Resolution Popup.
Once i have updated these fields I cna able to see in the JIRA. But I couldn't see to update the resolution details by REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you RD. I have found the customfield for resolution comments and update the same. Its reflected in JIRA. Thanks you.
{"transition":{"id":"441"},"fields": {"customfield_10103": "Low", "resolution":{"name":"Duplicate","description":"resolution comment Duplicate status reason Clear Incident Description 106 upfdate"}},"update": {"worklog" : [ { "add": { "timeSpent" : "6m" } }]} }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.