Jira Automation for Subtasks with the same name

Interne IT February 27, 2019

Hello everybody,

I would like to create an automation and need some help.

I create a new Issue as issuetype Epic, now the rule applies:

1. When Epic is created, create issues in Epic

That works so far. The next step is now:

1. create to issues in Epic -> certain subtasks

Now I have the problem that creates subtasks to all epics in the project and not just to the particular one.

 


Picture for better understanding:

g120.png

2 answers

1 accepted

0 votes
Answer accepted
Interne IT February 28, 2019

My solution:

If new Issue Created and issuetype = Epic

    Then create new Issue in Epic  named (1,2,3,...)


Then branching for last created Issue


          - Check if issuetype = like (1,2,3...) AND created >=-5m
          - Then create new Subtasks (Sub1,Sub2,Sub3...)

And that's what I'm doing now for the various issues in Epic.

Thanks for help!

0 votes
andreas
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.
February 27, 2019

Hi there,

I'm not 100% sure I understand your use-case fully, but I think in your second rule "create to issues in Epic -> certain subtasks" you could just add a condition so that it only matches and executes the rule for certain types of epics:

https://docs.automationforjira.com/getting-started/conditions.html#compare

Cheers,
Andreas 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events