I'm trying to set a custom field's value to the last comment in the issue so that I can query for it and include it in confluence. Will be writing this script as a SR listener on create/update of an issue.
I am on JIRA Cloud and using SR for JIRA cloud.
Used /rest/api/2/issue/${issue.key}/comment to query for the comment.
Then it was just a matter of issuing a PUT to /rest/api/2/issue/${issue.key} to set the value in my custom field.
Hi Randy, i'm trying to do the same thing, can you send me the code for this please?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.