Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Build-your-own (scripted) Validator does not use transition screen values

David Francis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2019

We have a workflow step where we need at least 2 users to sign off on an issue before it can proceed.

issue.customfield_12345 != null && issue.customfield_12345.length >= 2

 The validation will pass if the two users are set before the transition begins. However, if the 2 users are set in the transition screen the validation will fail.

Is there a way to validate the issue and the issue and transition screen vales?
Our current workaround uses a post-function to trigger an invisible transition (not ideal)

Thanks!

2 answers

1 accepted

1 vote
Answer accepted
Radhika Vijji _Innovalog_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 19, 2019

Hi David,

You cannot do that as of now because of https://ecosystem.atlassian.net/browse/ACJIRA-1865. Please watch the ticket. 

Regards,

Radhika

0 votes
brbojorque
Community Champion
June 19, 2019

Hi @David Francis , double check the transition screen if indeed the custom field id is the same as the id you are trying to validate. 

Also, I think its best to just use > 1 instead of >= 2 just my preference.

Otherwise, just use JMWE.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events