Workflow validator for Components doesn't work Edited

Hi,

I'm using JIRA 7.3.8 Server, set to German as the main language. I customized the initial step of a workflow to validate that (globally optional) fields are not empty when entering a task. The "Universal Validators" work for Description, Affects Version/s and Environment, but not for Components.

  • On the "Universal Validators" screen, there's a dropdown (Click here to insert a field name!). That dropdowns does not contain Components, but it does contain the other three fields I check.
  • When I manually insert the German name of the field - {Komponente(n)} - then I get a JIRA syntax error. If I use the English term - {Components} - then JIRA accepts, but still doesn't check that field.

My non-working validation expression is as follows (Aufgabe is German for Task):

({Components} != "[]") && ({Issue Type} == "Aufgabe")

If I change the !="[]" to !="", then the validation always fails, even if I have a component set.

Here's the related validation expression that does work for Affects Version/s:

({Affects Version/s} != "[]") && ({Issue Type} == "Aufgabe")

 

Can anybody tell me what I'm doing wrong here?

 

Regards,
Karsten Silz

1 answer

As it turns out, the Universal Validator is a feature of the Add-On Workflow Enhancer for JIRA. The validation of components supposedly only works in version 3.5 of the Add-On which we haven't used, yet - see JWFE-55. I hope I'll get to update the Add-On in our installation and see if that helps.

Yes, version 3.6 of the Add-On worked. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 54m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

42 views 3 3
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