Can you make an workflow step conditional based on a validator?

I have downloaded the JIRA suite utilities to enable a validator that makes fixVersion required only at the Close Issue transition but am trying to figure out how to extend that (in the basic JIRA workflow) to also use a condition that will only require it if the issue is coming from an in progress or resolved state. Currently it requires a fixVersion even if you close as "won't fix". Anyone have experience that can help me?

2 answers

1 accepted

0 votes
Accepted answer

Hi David,

Another approach will be to use that plugin and the Jira Misc Workflow Extensions. This one has a condition called 'Previous Status Validator' and then mix it with the 'Value Field' condition from the Jira Suite Utilities.

Other possibility would be to create a little script with the Groovy Script Runner. I'm not pretty sure what code would be the best to achieve this, but I'm sure it would even better.

My bad for not closing this. Thanks Ramiro.

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,650 views 18 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