Validation field with Groovy to specify custom field came to diferents issuetypes

Andréa PL.
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!
February 20, 2024

Conditional validation field with Groovy to provide  provide a value during the transition to  specify custom fields and to diferents issuetypes. What I doing wrong?

 

def issueTypeC = issue.issueType.name
def tiposPermitidos = ["Bug", "Improvement", "Support"]
issueTypeC in tiposPermitidos

issue.getAsString("customfield_123")=="EquipeA" && issueTypeC

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events