Workflow validator not working as expected Edited

I have configured a field as required in workflow validator. But i am keeps on getting below error when i submit...

Environment field is configured correctly in field configuration.

Environment is required. But it is not present on screen

1 answer

0 votes

I am assuming that you are using a validator that checks a field has a value, and not one that checks that the data has changed during the current transition?

That may affect how we solve this problem, but the core of the problem is the same - you've demanded a field from a user but not given them the chance to enter it. 

You need to have the field on the screen as well as the field configuration, so that the user can put data in it at the right time.


Thank you for the reply.

Environment field is actually on the screen too.

I figured the issue is because of duplicate field names.

I see field (Environment - Wiki Style Renderer) did conflict my field Environment.

I did changed my custom field from Environment to Environments and Environments shows up as mandatory and i no longer see that error on submittion

this seems like bug in com.googlecode.jsu.workflow.validator.FieldsRequiredValidator

This should have showed me 2 Environment fields at the first place

The add-on was written when JIRA did not allow any duplicate names.  Atlassian removed that a while ago, but are under pressure to put it back, as it's a total nightmare having fields of the same name.

Try renaming the "type" custom field, that should tell you if you have the wrong field on screen and in the validator.

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,844 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