Forums

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

How can I get this simple scripted validator to work?

Matthew Mallard
Contributor
December 8, 2021

G'evening,

I have a simple scripted validator set on one of the transitions in my Story workflow. The goal is to prevent the transition if the Story has the "Type" custom field set to "Software" and the "Test Criteria" custom field is blank. Here's what I got which isn't working.

(cfValues['Type'] != 'Software') || (cfValues['Type'] == 'Software' && cfValues['Test Criteria'])

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Ekaterina Berezutskaya
Contributor
August 15, 2023

Hello Manuel! Did you find the answer? Is it possible to know whether the permission has been added or removed?

Manuel Bähnisch
Contributor
August 15, 2023

Hello Ekaterina, 

sorry, found no solution back then. To be honest I didn't look further into it. So there might be a solution now, that I don't know of. 

Like Ekaterina Berezutskaya likes this
TAGS
AUG Leaders

Atlassian Community Events