Transition Parent Issue when any of the sub issues/tasks move to Execution state

I did follow the post https://answers.atlassian.com/questions/268989/transition-parent-issue-only-when-certain-issue-sub-task-types-are-done.But still i am unable to implement this. My requirement is similar to this post.

I have task as PBI which follows its PBI workflow. There is a SBI workflow for the subtasks.

If any of the SBI moves to Execution state i would want the PBI to move from its previous step to Execution state. After following the link above when i tried the solution it wasnt working for me probably because i could have done something wrong.

What i did?

In SBI workflow at "Execute" transition i have added the post function at the last. The snapshot is as follows

This is how after adding the above post function looks:

Now the PBI workflow in its execute transition has this validator

1 answer

1 accepted

Hi Jayashree,

Just follow the following instructions:

  • You must ensure that you are writing the name of the destination status you write exactly as it is. In you case the status actual name is "Execution" (without double quotes). Since JIRA 6.x statuses are always shown in upper case, despite the true name can contain lower case characters. Try to edit the name of the status an you will look the actual name, as in the screenshot:

Next version of JIRA Workflow Toolbox (2.1.20), will be case unsensitive for the name of statuses, so you will be able to write the name of the status as you see it in the UI. You can try this beta version.

  • I advice you to move post-function "Copy parsed text to a field" to first place in execution order. It's always better to place custom post-function to be executed before JIRA system post-functions.
  • In validator "Validation on subtasks" change parameter "Unselected statuses are not allowed" to "Unselected statuses are allowed". In you current configuration you are forcing all subtasks to be in "Planed" or "Execution" statuses, but your warning message I guess that you want at least one subtask in one of those statuses, and this is attained by doing the change I propose you.

Regards,

Fidel

Thanks Fidel :) It works. Although i didnt use the Beta version i tried changing "EXECUTION" to Execution

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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

180 views 0 4
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