Create a Task in the same Epic of my triggered issue if only if this Task does not exist

Tony Conteiro October 15, 2022

I have a Story in an Epic. When this Story changes its status, I would like it to create a Task in the same Epic as my Story provided that this Task does not already exist.

Here is a screenshot of the automation. I block at the last condition: create a Task in the same Epic of my triggered issue if and only if this Task does not exist.

I use the Task Summary to check my condition. All ideas are welcome even if the automation needs to be completely revised.

Thank you for your help.

2 answers

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2022

Hi @Tony Conteiro ,

As far as I got your requirement correctly the following rule should do the work. Some details for description:

the "current issue" branch will still refer to the trigger issue. Therefore I added another epic-branch to split up the 2 actions.

In the 2nd epic branch the rule checks if there is any task with a summary like "Documentation" within the epic via jql. If not the task will be created (see the 3rd screenshot) and added the epic link (copied from trigger issue as the story is the trigger and the task should be in the same epic).

 

image.pngimage.pngimage.png

 

Hope this was helpful and solves your problem.

Best
Stefan

Tony Conteiro October 18, 2022

Hello @Stefan Salzl ,

 

Thanks a lot its works !! 

 

Kind regards

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2022

AWESOME 🎉 good to know you got that working 💪

0 votes
Tony Conteiro October 15, 2022

image.pngimage.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events