Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Condition for Automation

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.
Oct 04, 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

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

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.pngand 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.
Oct 04, 2023

Can you try this?

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

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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events