The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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/#

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events