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

Automation creating duplicate issues

Rahul
Contributor
April 24, 2023

I have created an automation like when issue transitioned from "Inprogress" to "InQA" a QA ticket will be created and linked to this ticket. But when the parent issue re-opens and it go throughs the flow again from Inprogress to InQA again automation rule creating one more QA ticket. How to restrict this???

2 answers

1 accepted

0 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 24, 2023

Hi @Rahul 

It really depends on your business requirements. I mean you can really create a rule like the following:

my rule.png

  • Where you lookup the issues that are linked to your trigger issue.
  • If the size of those issues are less than 1 (if no linked issue is found) then
  • Create the issue

Let me know if that helps!

Rahul
Contributor
April 24, 2023

Hi @Alex Koxaras _Relational_ 

 

I have used your automation, but the issue created through automation is not getting linked to main issue

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 24, 2023

But you have to add it to the "create issue" component, which I assumed you were doing anyway:

link issue.png

Feel free to change the "is blocked by" to any link type of your liking.

Rahul
Contributor
April 25, 2023 edited

Hi @Alex Koxaras _Relational_ 

Thank You, it worked!!!

Like • Alex Koxaras _Relational_ likes this
0 votes
Rahul
Contributor
June 2, 2023

@Alex Koxaras _Relational_ I have used your idea stated above, but QA testing ticket is not getting created through automation when any other tickets are linked to that parent ticket

Rahul
Contributor
June 2, 2023

@Alex Koxaras _Relational_ the condition should be like 

Issues in Linkedissues ({{issue.type in QA Story}})

 

Then

{{Lookupissues.size}} is less than 1

 

I don't know how to write this script correctly, just explaining the requirement

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events