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