Hi
I have attempted to write a Automation to find duplicate issues on Jira based on my business key (ACtor Name and Movie Name)
Just being creative to see if Automation can solve a duplicate finder problem :)
project in ( XX ) AND issuetype = NC and "Actor Name" = {{triggerIssue.customfield_10102}} and "Movie [Number]" = {{triggerIssue.customfield_10088}}
Problem breakdown: My goal is to search for Actor Name and Movie name from existing issues and compare it with the newly issue that is being created....
It just adds a comment - "Duplicate" when it finds the matching condition.
Problem is that is adds for everything - even the ones that are not duplicate :(
Appreciate any help
Hi @S ,
Here's a video where I show a way to link duplicate tickets. It worked out for me, may you'll find it helpful too.
So what you are trying here is an IF condition instead you should try using a Branch.
The IF condition simply matches issues in the JQL and the issue created gets matched against it and the comment "Duplicate" is added as the created issue itself matches the condition.
Instead, use a Branch with JQL like below
Also, I would suggest including "issueKey != {{triggerIssue.key}}" in your JQL to prevent checking on the triggered issue.
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.