Is there a way to enforce a transition validator?

I have a status called In Progress and transition to the status called Step 1. My intention was to force a assignee field validator. When I look at an issue it shows both the status and transition, which would easily allow someone to completely skip the validator. Is there a way to transition to a status and always enforce the validator?


Example Issue:

Screen Shot 2016-03-15 at 11.47.50 AM.png


Screen Shot 2016-03-15 at 11.49.44 AM.png

2 answers

1 accepted

I think the reason you can get to "In Progress" from "Unassigned", bypassing "Step 1", is because you have "All->In Progress".

1 votes

I think you've misunderstood what you have set up here.

JIRA is not showing you a transition and a step, it is showing you two transitions.  One is called "in progress" and the other you have named "step 1".  The "in progress" one is a "global" transition that lets you transition into that status from anywhere in the workflow, and it's labelled simply with "all" in the diagram.

I don't know if you intended to have two transitions (it can be useful), but if you want to force a mandatory field, you will need to add it to both transitions.

The other option is to delete an unnecessary transition.  Do you need "step 1"?  As you already have "all"?

Thanks for the help. I suppose I was not clearly understanding what was actually going on. In any case, removing the "all" label as @Jeremy Gaudet mentioned solved the problem. I originally has it labelled as "all" because I wanted things from my "finished" status to be able to go back to "in progress". I now realize can just add that workflow in manually though.

It's not a label, it's a global transition from all status into that status.  Removing the second transition is probably the right thing to do.  And if you need the finished -> in-progress, you could add an explicit single one that only does that, rather than "all"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,026 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot