I am using 'Label' in the issue field. Using the reason as (Duplicated, Reject etc..).
The user can
1. changes the Label to Duplicated
2. link to the issue
If the above actions are accomplished, I would like to be able to comment on the web link through the Automation feature.
I found the condition 'Label = Duplicated', but it's hard to set the behavior after that.
Automation rule
Hi, @Megha Rajanna
Your scenario is exactly what I wanted. However, an empty value is output as the "{{issue.linked_issue.key}}" value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, @Chayoung Kim
Try this in the action
comment on an issue - {{#issue.issuelinks}} {{inwardIssue.url}}{{/}}
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.
What have you done thus far to solve this? If you have started an automation rule, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
Please answer these questions as they may help clarify your scenario:
Can the issue which you want to comment on be linked to multiple different issues? If so, how do you know which issue should be provided in the comment?
You list at least 2 different criteria: a label change, linking the issue. Which event(s) should occur (i.e., trigger) the adding of the comment?
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, @Bill Sheboy
Megha Rajanna's script is what I wanted. However, an empty value is output as the "{{issue.linked_issue.key}}" value.
I want the automatically linked issue URL to be left as a comment.
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.