Forums

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

Automating ticket creation with respect to the count of the attachments

Sai Seelam
November 11, 2025

Hi Team, I was trying to build an automation that will be triggered during ticket creation, for example if there are 4 attachments uploaded in the ticket during ticket creation. I want to 

  1. create attachement with respect to issue count, in above example 4 tickets.
  2. Make individual attachment file name as summary of the ticket.
  3. copy individual attachement to individual tickets that are being created in this automation.  

I am attaching screenshots as a reference.

Screenshot 2025-11-11 092724.pngScreenshot 2025-11-11 092817.pngScreenshot 2025-11-11 092758.png

1 answer

0 votes
Pier-Olivier Tremblay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 11, 2025

Your automation looks good to me but you need to use attachmentItem.xxxxxx to create your work item to reference the current object being iterated on. 

 

attachment.xxx still refer to the attachment attribute of your trigger issue, which is an object array. 

also, you branch should iterate on attachment, not attachment.fileName 

Suggest an answer

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

Atlassian Community Events