It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Josh

Hi,

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.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,098 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you