Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create tasks linked to epic and inherit from multi select

Ben Reinhardt November 16, 2022

Hello,

I am trying to have an automation which from the number of entries in a multiselect list created new tasks and then inherits 1 entry per task from the parent.

For example:

The multi select list contains languages, and there should be X new tasks for X entries in the list.  This works.

Then, the 1st entry in the list should be copied to the 1st new task.  The 2nd entry in the list should be copied to the 2nd new task. This does not work, it copies all entires from the parent to each child.

Thanks for your help

 

Screenshot 2022-11-16 at 21.45.47.png

 

Screenshot 2022-11-16 at 21.45.03.png

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Fernando Eugênio da Silva
Community Champion
November 17, 2022

@Ben Reinhardt , Welcome to the Atlassian Community!

 

Here's the automation I believe you need.

Basically, it was necessary to open a branch to use Epic itself as a reference and a smartvalue to associate the new task created with Epic.

Here is the automation print:

Screenshot_66.png

Follow this same example and just change the field "Languages" in Trigger, Condition and Action to your custom field called "TargetLanguages".

This works fine for me. Hope this helps.

Regards,

Fernando

Ben Reinhardt November 23, 2022

Hi Fernando,

Thank you for your help but I don't think this is exactly what I am looking for because I think it will make 1 new task and I need to make many.

Here is an example:

- Epic Name: Test
- TargetLangauge(s): English, French, German

The result should be 3 new tasks:
- Task Name: Test - English
- TargetLanguage(s): English
- Task Name: Test -  French
- TargetLanguage(s): French
- Task Name: Test - German
- TargetLanguage(s): German

 

I hope this makes it more clear and thank you for your help.

Fernando Eugênio da Silva
Community Champion
November 23, 2022

@Ben Reinhardt 

Thank you for explaining.

If you intend to create multiple tasks, you will need to add a creation event for each of the tasks (English, French, German).

This is an example of how you're going to be able to split this.

For each TASK you will create a BRANCH in your automation and define a condition of "If the Languages field has any of the values", then you define the value "English".

It is important to use the condition "Contains of" and not "Equals". Then just go out replicating for the other options. You create for all TargetLanguages, as you are including conditions for each, if one of them is not true, the task will not be created.

Screenshot_72.png

See the result:

Screenshot_73.png

Ben Reinhardt November 24, 2022

Perfect, thank you very much.  Well done.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events