Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I want to automatically add a comment to any issue that has more than 2 linked issues with the "duplicates" link issue type. I set the trigger as "Issue linked", link type= "duplicate". i am looking for a JQL (condition) to find the issues that have more than 2 linked issues with the "duplicates" link-type (we are not using any 3rd party search enhancements apps or script runner)
Thanks
Hi @eyal_silverstein - If I'm understanding your need correctly, you want this rule to trigger as the issue is linked. In this case, it would look something like this:
issueDuplicates = {{issue}}
{{lookupIssues.size}}
Greater Than
1
Thank you, Mark, I am not sure I understand the above logic, but I will give it a try and will let you know if it is doing what I expect it to do
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to be clear - here is an example of the ticket I want to apply the automation onand the trigger should be the the 3rd issue I have linked to it as a duplicate...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Kian. Actually, i tried exactly that before posting here and it didn't work ( and since the link types confuse me, I have tried with both "duplicates" and "is duplicated by" link types) and it didn't work.
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.