I'm testing a simple automation rule to automatically link duplicate issues.
When issue created
For Similar issue description
Then: Link issue to Trigger Issue -> duplicates: Trigger issue
I'd like to add two more requirements. One, the reporter has to be the same (as well as similar description). Two, do not link if prior duplicate is 'Done' status. This seems like an easy to-do task but having problems. I think two added requirements are New Condition IF statements?
Any help would be much appreciated.
Hello @Robert Munoz
Thanks for sharing the possibility of finding issues with a similar description. This would be really helpful.
In order to compare the reporter of the trigger issue and issue with a similar description, you will need to capture and store the reporter of the trigger issue. This can be achieved in the manner depicted in the screenshot below.
Please let me know if this serves the purpose.
Kindly accept the answer if it helps.
Hello @Robert Munoz
Based on the current Automation templates available, I do not see any option to identify if the issue description is similar.
The closest option I can think of is to compare the description against a predefined text or to the description of an earlier issue.
The complete list of templates can be referenced here.
Thanks for the feedback @Gaurav I'm using the 'Similar Description' option in the Branch rule.
I've figured out how to filter on Status != 'Done' for example by placing the New Condition downstream in the branch just before the Link of the Similar description, see below. However, I don't think the 'Reporter Is' is filtering on all issues with the same Reporter. Perhaps it needs to be in the branch downstream of Similar description as well?
That seemed to work. I went with issue.reporter.emailAddress since the email I'm testing from is not a registered user with a profile name. Please see below. I think that would still be safe to keep that way when we go live.
This type of action, capture and store, that you've mentioned above would be the process if I wanted to be specific with using a smart value, (sort of a regex), for the description field as well? I'd like to substitute the Similar Requests panel/sensitivity slider with a string search and match say the first 100 characters of the description in order to determine duplicate issue. Have you dealt with these types of smart values text fields before?
Hi Everyone, In this tutorial, we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached. SLA Threshold Trigger The SLA t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events