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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

803 views 2 19
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