Can created sub-tasks get assigned same status as parent?

Right now, when a developer creates a sub-task under a parent Story, the sub-task is assigned an Open status. Many times these sub-taks will get created while the story is In Progress. Is there a way that I can make the sub-task get the same status as the parent Story? I have a feeling this may be workflow related, but I don't know where to start to handle this kind of workflow.

Any help is appreciated.

1 answer

0 vote

You will need a post function on the Create transition of subtasks which will push it into the same status as that of parent.

The post function can be done using a groovy script or something but the tricky part is have transitions from the Open state in sub-task to every possible state where the parent can be in! For example, you won't be able to transition from Open to status X on the subtasks if the parent is on status X unless you have a transition for it in the workflow.

It will be straight forward if the workflow is simple but will be complicated when you have 10 or 15 statuses!

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

47 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot