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 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 ...

2,897 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