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

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?

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

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
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 Tuesday 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...

134 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