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 votes
Answer accepted
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 Sign up to answer
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

266 views 1 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