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: 

Create validator to check attachment w/ specific name

Tiago Pereira
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

Atlassian Community Events