Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Problem with Simple scripted validator used for Affected Version(s) field in Jira

We created Simple script validator for Affected Version(s) field in Jira.
Validator show error if user pick "Backlog" value for Affected Version on create issue screen.
Steps to reproduce:
On workflow --> open--> create transition
Add validator
Add Script Validator
Add Simple scripted validator
Used following simple script: ! ( issue.affectedVersion*.name.contains("Backlog")

It works fine, besides it gives error on any value entered into Affected versions field on create issue screen. 
We believe that this could be a ScripRunner bug.  Script in validator with our script works fine for all fields besides affectedVersion.

We use free version of ScriptRunner v3.1.4
We don't know if issue is fixed in any of later free versions of ScriptRunner.
Your comments will be greatly appreciated.

1 answer

1 accepted

Hi Helen.

You are on a version that is more than 3 years old. I cannot go back to check that far since we do no longer support that version. I would recommend that you upgrade to a retail version of Scriptrunner.

Cheers!

DY

Thank you, Daniel. Atlassian support could reproduce issue. We will return to creating validation  after we upgrade. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

779 views 17 21
Read article

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