Jira Automation - Duplicate Child Issues

Pablo Gomez December 4, 2023

Hi there.

 

I am working on creating an automation rule that when an Epic transitions to the In Review status, issues in different projects are created. I'm trying to prevent duplicate child issues from being created in the event someone switches the status back to In Review after the child issues were created on the initial run. The goal is to prevent duplicate issues being created after the rule is first ran.

 

Here is the rule I have setup now

Screenshot 2023-12-04 at 9.35.58 AM.png

 

I have set an IF condition to "If Children not present" but the rule continues when there are children present in the Epic causing duplicate entries. Am I missing something here?

2 answers

0 votes
Katherine Chan July 25, 2024

I have the same issue.  The Related issue condition works for "Sub-tasks" but not for "Children".  This looks like a bug.  We try to limit custom fields so the workaround suggested would not work for us.  

Katherine Chan July 25, 2024

The solution that worked for me is using "Linked Issue" condition with Link Type "Is a parent of" "are not present".

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2023

@Pablo Gomez -

Here is a solution for you consider:

  • Creating a custom field (Number format) where you will populate it to 1 when your Epic issue moves into the Review status initially.  You can then reference this field in your automation rule to determine if the field is 1, then don't execute the child issues creation, otherwise execute.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events