Jira 8.16.1 - Data Center
PowerScripts 4.8.0.17
I am trying to check the value of fix versions and throw an error if the version contains an
an .x (so like 5.x, 6.x). Do you have an example of how I can accomplish this using a sil script?
I use like validator in workflow with transition screen.
if(!hasInput("fixVersions") && contains("Task|Bug|Improvement|Sub-task|Lead Task", type)) {
string errorMsg = "👆 fixVersion!!!";
return false, "fixVersions", errorMsg;
}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.