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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,033 views 7 18
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