Xporter stopped exporting jpegs to Xporter Word Template all of a sudden, why?

Lori Busch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 26, 2022

I have a Xporter template that exports to word and the images in the attachment field  stopped exporting the jpegs.  No changes to template of field.  Images will not pull into word docx when exported?

The highlighted code is exactly what stopped working in my template.xporter.PNG

 

1 answer

0 votes
Rogério Paiva - Xray Xporter
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 Leaders.
February 1, 2022

Hi @Lori Busch 

I understand that the image does not show all the template code; however, it does not seem that the code you have is correct. Please check the documentation details here: https://confluence.getxray.app/display/public/XPORTERCLOUD/Iterations#Iterations-IteratingIssueAttachedImages

In order to obtain the images, it is necessary to have an iteration loop like this:

 

#{for images}

 

   ${Images[n].Image|maxwidth=150|maxheight=150}

 

 

#{end}

 

 

or 

 

 

#{for <VariableName>=ImagesCount}

 

   Content and Images Mappings. Example: ${Images[VariableName].Field}

 

#{end}

 

 

And in your template, it does not look like you have the code for the loop iteration. And without it, it does not work.

Please contact Xporter Support (http://Xportersupport.getXporter.app) if you need further help.

Thank you.

 

Kind regards,
Rogerio Paiva [Xporter Support Team]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events