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 votes

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
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

2,096 views 14 13
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