Should not be able to Start progress sub-task until parent task is Started.

Hi,

I need the S_JQL for this requirement using Structure validator

I have prepared something 

  • S-JQL Query: parent not in [status not in (Started)]

But its not working as expected.

Thanks.

 

3 answers

This widget could not be displayed.

By "not working as expected", do you mean that it is possible to perform the transition on a sub-issue even when the parent issue in structure is not started?

The query itself looks good, so something else should be the problem. Could you post a screenshot of your validator settings?

This widget could not be displayed.

Thanks Igor for prompt reply.

Here is the validator. I do not see Structure restricting the transition.

Also note i am using same workflow for Task and Sub-task

The transition requires the following criteria to be valid

Start the Parent task first..

    • Structure: The default structure of the issue's project
    • S-JQL Query: parent not in [status not in (Started)]
    • If the Issue Is Not Added to the Structure: Allow transition
    • Run as User: Project lead
This widget could not be displayed.

Do I understand it correctly that you are performing a workflow transition on a sub-task issue (in the JIRA sense — an issue of type Sub-Task), the parent issue of which (in the JIRA sense) is not Started, and you are expecting this transition to fail, which you don't see? 

If that's right, please check that both the parent issue and the sub-task are contained in the default structure for their project, such that the sub-task is a sub-issue of its parent issue (in the Structure sense, i.e., it is below the parent issue in the hierarchy)?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

510 views 3 18
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