On Sub Task Creation, set Sub Task's status to same value as Parent's status

I would like to have it so that when a user create a "sub task", the sub task gets setup with the same "status" as the parent task. From my understanding, I should be able to accomplish this by putting a Post Function on the Create Issue transition on my workflow, but this has not been working for me. Can someone help.

To simplify my testing, I've setup a simple workflow where all the status on the workflow have the "Allow all statuses to transition to this one" enabled.

On the default "Create Issue" transition in the workflow, I added a Post Function step named "Set Field Value from Parent". With this added, my Post Function list on the "Create Issue" transition looks like this:

1. The value(s) of field Status will be set from the issue's parent (replacing existing values).
2. Creates the issue originally.
3. Fire a Issue Created event that can be processed by the listeners.

I Published the workflow and tested it.

I tested it by creating an new Issue, then moving that issue to the In Progress status from the Open status. Then within that first issue, I created a Sub Task issue. After creating it, I expected the Sub-Task issue to be automatically transitioned to the "In Progress" status from the Open status, but it didn't. The Sub-Task status still remained in the "Open".

Can someone please tell me what I am doing wrong here. Is this is a known bug with Jira. If so, is there any other way of configuring Jira to accomplish my objective.

I greatly appreciate the help.

1 answer

1 accepted

0 vote
Joe Wai Tye Atlassian Team Feb 21, 2014

Hey there, I did some searching around, and found another Answers thread that could probably give you a heads up on how to achieve this here.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

583 views 6 10
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