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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,642,090
Community Members
 
Community Events
196
Community Groups

automation - prevent automation rules create a issue if already created one similar

Edited

i want to create a issue in a specific project (AYISA) when a specific user ("PEPE") add a comment on any project. This is a global rules and trigger with "add comment".
I want to have a clone of the original issue commented, not interest in the comment itself.
The problems is when user add another comment in the same issue, automation rules create a new ticket. That is what i call "duplicate issue" and i dont want this new ticket.
In other word, if a particular issue trigger automation rules (means clone was created in AYISA), do not trigger that rules for that issue anymore.
It is possible?
thanks in advance

 

Selection_999(1124).png

2 answers

1 vote
Andreas Knecht
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 05, 2020

Hi Federico,

So I reckon the best way to solve this, is by linking the two issues and then adding a 'Related issues condition' to your rule to check if a linked issue already exists.

So a rule like this would work:

  • Trigger: Issue commented
  • JQL condition (like you have today)
  • Related issues condition that checks *no* linked issues exists (could also use JQL here)
  • Clone the issue to AYISA
  • Link the most recently created issue to the trigger issue

 

Hope that helps!

Cheers,
Andreas

I think something like when automation rules is triggered for first time (means specific user add a comment) in the clone issue add a custom field populated with the {{issue.key}}. If triggered again from the same ticket, compare that field with the source issue.key and if the same don't create new issue, do nothing.

IMPORTANT: I cant touch source issue. (cant add a label or something)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events