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

1 vote
Accepted answer

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

1 vote

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,731 views 17 21
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