Why does the ScriptRunner workflow function - Field(s) changed validator not work?

I am trying to use the built in validator ScriptRunner workflow function - Field(s) changed validator - It will show the fields within my transition screen, but if I select them all if does not require all. If I only select the date field, it will require it to be changed. 

2 answers

Hi Melissa,

Are you using ScriptRunner for JIRA Server? If so, which version of SR and JIRA are you using?

I just tested out this validator and it works for me to force the user to make a change on all fields.

Screen Shot 2017-11-20 at 2.07.20 PM.png

Yes, ScriptRunner for JIRA server. JIRA server version 7.3.6. ScriptRunner version 5.1.6. Most of my screens are custom fields, but it looks like you have those included as well in this example - it will not work for me on any of my screens. I end up having to write a custom simple script for each field to require. 

Hi Melissa,

I am glad to hear you have it working, although that does sound like an inconvenience. If you would like to post your original question through our support portal, we would be happy to investigate further. I have not been able to reproduce what you have described.



This does not work for me either. When clicking the Field(s) changed validator I get an Add button but clicking it does not do anything.
I used several browsers Chrome, Firefox on Mac and PC.

JIRA 7.1.4 Server and Scriptrunner 5.1.6.



Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

500 views 6 8
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
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