Forums

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

JMWE validator , Add Parameters To Validator

Nodar Vardiashvili
Contributor
August 30, 2022

Hi I want to write this script in field validator condition


issue.customfield_12703.value == "NO" And {{ issue.customfield_10100.requestType.id == "172" or issue.customfield_10100.requestType.id == "174" or issue.customfield_10100.requestType.id == "163" }}

 

but get error 

1 answer

0 votes
David Fischer
Community Champion
August 30, 2022

Hi @Nodar Vardiashvili 

first of all, the {{ and }} should be replaced with ( and )

Also, the "And" should be replaced with &&

Please refer to Atlassian's documentation for Jira Expressions here: https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events