Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Condition for Automation

eyal_silverstein
Contributor
October 4, 2023

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

2 answers

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2023 edited

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:

  • TRIGGER: Issue Linked (Duplicates)
  • ACTION: Lookup Issues
    • issueDuplicates = {{issue}}
  • CONDITION: Advanced
    • {{lookupIssues.size}}
      Greater Than
      1
eyal_silverstein
Contributor
October 4, 2023

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

eyal_silverstein
Contributor
October 4, 2023

Just to be clear - here is an example of the ticket I want to apply the automation onScreenshot 2023-10-04 at 20.45.13.png and the trigger should be the the 3rd issue I have linked to it as a duplicate...

0 votes
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2023

Can you try this?

Screen Shot 2023-10-04 at 9.36.43 AM.png

eyal_silverstein
Contributor
October 4, 2023

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events