How to check the version in FixVersions using a Sil script

Nannette Mori May 24, 2021

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?

1 answer

0 votes
alexsbs July 5, 2022

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;
}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.16.1
TAGS
AUG Leaders

Atlassian Community Events