Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi All,
We are trying to block Initial transition if no sub-task is added to the story: For this we want when issue moves from to do to in progress it should check if subtask is not created under story it should block the transition. We are not able to find such condition in existing jira WF conditions.
Any suggestions or guidance would be appreciated.
Hi @priyanka
Assuming this is for a company managed project, you can do this with a custom field, automation and a workflow validator...
Custom Field
The custom field will be used as a flagging mechanism that will serve as the catalyst for the workflow validator. Don't add the field to the screen, but it needs to be part of the project's field configuration.
For illustration purposes, I'll call the field Admin. If the field is empty, the validator won't let the transition occur.
Automation
Use automation to set the Admin field (I'm using "Passed") whenever Sub-Tasks are created so it can pass the validator logic:
Validator
On the desired transition set up your validator like this:
Thank you @Mark Segall that works well if we have to achieve this using native functionalities of jira.
But what if someone creates a subtask and deletes it before moving to in progress transition ? I think this would set the value and we can by pass the validator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @priyanka - You could create a separate automation for Issue Deleted...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.