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,558,913
Community Members
 
Community Events
184
Community Groups

How do I stop automation to create a duplicate ticket if it already exists?

Let me define the use case:

We get change requests/suggestions from our clients and the CSM team creates a ticket with this change request on a project called 'CONS'

The product team reviews the 'CONS' ticket and decides if we need to take up these change requests/suggestions. If we decide to take the task, we move the ticket to 'Selected for development' and also decide the teams, who have their own different project boards, that will need to work on it.

I want the automation to create a duplicate ticket in individual team boards so that the different teams can work on it. I also want these duplicate tickets to be linked to the main 'CONS' ticket.

I was able to achieve this with the automation shown in the screenshot attached. But there was a flaw, any time I edited the 'team responsible' field, automation would again create a duplicate ticket.

For example:
When Status=selected for development AND Team responsible selected = 'WEB' and 'DESIGN'

Then two duplicate tickets are created, one in WEB and another in DESIGN board, both of which are linked to the CONS ticket

If I accidentally remove DESIGN from the team responsible field, the automation would run again and create another WEB ticket which was already there.

Any help on this is appreciated! 
Thanks.

Screenshot 2023-04-18 at 3.34.05 PM.png

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 18, 2023

Hi @Abhishek -- Welcome to the Atlassian Community!

Is this a project scope or a global/multi-project scope rule? 

  • If this is project scope rule, you could add an "indicator" to the trigger issue, such as a custom field or comment, specifying the cloned-to teams.  And then use rule conditions to prevent adding duplicates once already created.
  • If this is a multi-project/global scope rule, you could instead check for the existence of the issue in the target clone-to project, and only clone if it is not found.

Kind regards,
Bill

Hi @Bill Sheboy, I did it and I was able to figure it out.

Thank you so much.

Like Bill Sheboy likes this

For anyone who is facing the same issue, I am posting an image below of how I was able to fix this.

Screenshot 2023-04-20 at 6.30.41 PM.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events