Forums

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

Check it a subtask name matches status name

Jaqueline Correa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 25, 2025

Hi!

I've been trying to build an automation with the following logic but the automation keeps failing:

If task it transitioned

Then check if there are subtasks with a summary name that equals to task's status,

if not create subtask with summary with the same name as it's task status.

 

The goal is to avoid creating duplicated tasks in case someone moves a tasks back to a status where it has been before and create an additional subtask that already exist.

 

Any thoughts in how to make this work are well appreciated!!

 

Screenshot 2025-04-25 095720.pngScreenshot 2025-04-25 095730.pngScreenshot 2025-04-25 095940.png

1 answer

0 votes
Trudy Claspill
Community Champion
April 25, 2025

Hello @Jaqueline Correa 

Welcome to the Atlassian community.

The first problem is that your rule is set up so that if there IS a sub-task with a summary that matches the status name, then the another sub-task WILL be created. If you don't want another sub-task created in that case you would need to change the Condition to use !~.

Next, what is the actual Status value that you see in the screen on the parent issue? Is it really literally ^1. Commercial Presentation$  with the ^ at the beginning and $ at the end?

Suggest an answer

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

Atlassian Community Events