I want to do the following.
Copy the 'comment' when 'flagging' an issue to a custom field 'Flagged reason'.
I want to do this via automation rules.
Can someone help me with the sample code if this is possible at all?
Hi @Sandra Vaesen , welcome on the community, can you describe the process better? What does 'flagging' mean? What type of project do you use? Do you 'flag' the issue on transition screen which contains 'flag' custom field and 'comment' field?
Hi @Sandra Vaesen -- Welcome to the Atlassian Community!
First thing, a couple of questions:
Next, how to do this:
This could be done with one of the marketplace scripting addons, or you could use the built-in features of an automation rule. For example:
You could also trigger on Issue Commented, and check with conditions if the comment contains either (flagoff) or (flag)
To learn more about automation rules, please look at these example rules and how-tos:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, this is just what I needed (the {{issue.comment.last.body}} )
Many thx!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sandra Vaesen , can you please accept the Bill's answer instead of mine? :) thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.