Create validator to check attachment w/ specific name

Tiago Pereira April 11, 2024

I want to set an validator to check attachments name "MLX FA label"

I tried the following:

issue.attachments[0].filename == "MLX FA label"

!!issue.attachments && issue.attachments.some(it => it.filename == "MLX FA label")

But I couldn't get it to work, could you please help?

0 answers

Suggest an answer

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

Atlassian Community Events