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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,047 views 15 13
Join discussion

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