Get Attachment of a Trigger issue


I would like to copy an attachment with the automations plugin. The attachment is in the trigger issue I wanted to get here with the filename {{# triggerIssue.attachments}} {{filename}}, {{/}}, but here I get nothing spent, although the triggerissue has an attachment. Other fields e.g. Summary are not a problem. If I do it with {{# issue.attachments}} {{filename}}, {{/}} everything works fine, but of course it's of the wrong issue.


1 answer

0 vote
Andreas Knecht Community Champion Jan 14, 2018

Hi Thomas,

We don't support copying attachments yet unfortunately -

We've got quite a few higher priority items in our backlog at the moment so it will be a while before we can get to this, but we'll let you know when we get a chance to work on this.

If you're just after the attachment names however (and perhaps links to their content) from the trigger issue, then this should work:

{{#triggerIssue.attachment}}{{filename}} - {{content}}, {{/}}

(note that it's 'attachment', not 'attachments')


Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

445 views 6 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot