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 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.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
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