The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
update_json = { "update": { "comment": [ { "add": { "body": "Resolved via automated process." } } ] }, "transition": { "id": "5" }, }
I am able to update my issue, setting it to resolved and adding the comment, via this call:
uri = BASE + "rest/api/2/issue/%s/transitions" % issue_key request = requests.post(uri, data=json.dumps(update_json), headers=HEADERS, auth=(user_name, password))
The Resolution is set to Fixed when I do that. What could I add to my JSON to set the Resolution to, for example, Incomplete?
Nevermind. I found this.
update_json = { "update": { "comment": [ { "add": { "body": "Resolved via automated process." } } ] }, "transition": { "id": "5" }, "fields": { "resolution": { "name": "Incomplete" } } }
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.