Are workflows enforcable by Jira?

We are attempting to develop repeatable processes for our Jira tickets. Is there a way to enforce the process by requiring certain tasks to be completed before a ticket can be moved from one state to another? For example, can you configure Jira to require that all subtasks be in a Closed state before you can change the parent ticket to a Closed status?

1 answer

1 accepted

1 vote

Enforcable, yes, although you need to be careful with the way you use words in Jira. A workflow is a specific thing, which is *Always* enforced - issues all have a workflow and exist in one distinct step within it.

There are two ways a workflow "enforces" process. They do it on a "transition", which is a process that moves an issue from one step in a workflow to another.

Validators check whether the data matches certain rules before allowing the user to commit it. They happen after the user enters some data, so they can check the input. A very popular one is "is a field filled, either before the user started, or because they filled it in on the transition screen"

Conditions work *before* the user is offered a transition, preventing them from even starting to perform a transition. A good example would be "user must be the reporter or the assignee", "user must be a developer in the project", or specifically, "all sub tasks must be in a status of x, y, or z before the user can proceed". From memory, all of those are built into Jira off-the-shelf.

Thanks, Nic. That starts me down the right path.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

21 views 0 4
Join discussion

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