As the title suggests, I'm struggling to create the proper JSON script and I'm not allowed to use plugins
You could use the built-in automation for Jira rules for this, such as:
Please look here for information about automation to get you started:
Best regards,
Bill
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.
Hi @Alex
After much digging and diving, your solution to this automation works perfectly for me, however how do I exclude Internal comments from being populated in my custom field "last comment"
This is as far as I have gotten:
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.
One other suggestion, you can run a scheduled rule to update all unresolved issues if you want to backtrack the change and update all the open tickets to have last comment populated.
Also, if you want to make it a short text field you can insert .left(255) in the value to truncate it if you don't want the last comment field to end up being huge
{{issue.comments.last.body.left(255)}}
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.