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.
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.