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

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
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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

191 views 1 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