How to Display Attachments using XPorter templates

I am attempting to display a listing of the attached documents on my pdf. I am using Xporter version 2.5.2, JIRA version 5.1.4. According to Xporter documentation, it looks like Attachments keyword should be available.

The code I am using in my template is as follows, but nothing displays on the pdf.

#{for attachments}

${Attachments[n].Author}

${ Attachments [n].Filename}

${ Attachments [n].CreatedDate}

#{end}

2 answers

1 accepted

Hi Nancy,

Currently we only have the mapping for ${Attachments} which displays the name of the attachments. It is not possible to iterate over the attachments as you are requesting. But it is a nice feature for a future release, we will seriously consider it.

Best regards,

Hi there, Frerenc mentions that JIRA PDF View Plugin can export/ imbed the attachments. Is this feature ever going to be available in Xporter?

I must note that the JIRA PDF View Plugin can export all attachment information or even embed the attachments themselves in PDF exports!

Links:

This screenshot demonstrates listing the attachments in the PDF, and also offering them for opening or saving them in Acrobat Reader:

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,864 views 12 18
Join discussion

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