You are on the Xporter Cloud documentation. If you are looking for Xporter Server documentation, you can find it in this page.

Xporter for Jira allows you to export diagrams from Gliffy Diagrams for Jira app as a normal image. 

Definition

Install the app and add the Gliffy diagrams to your issue. 

To export the image and its properties, include the following mapping on your template:

Expand to see the sample code
#{for images}
	// Retrieve extension from filename and save it on extension variable
	${set(extension,%{var name = '${Images[n].Name}'.split('.'); var extension = name[1]; extension})}

	// If the image extension is 'gliffy' export all info about the attached image
	#{if (%{'${extension}'.equals('gliffy')})}
   		${Images[n].Image}
   		${Images[n].Name}
   		${Images[n].ID}
   		${Images[n].Size}
   		${Images[n].HumanReadableSize}
   		${Images[n].Author}
   		${Images[n].Created}
   		${Images[n].MimeType}
   		${Images[n].ThumbnailURL}
 	#{end}
 #{end}


That's it. No other special configuration is needed.

Example

Let's export a Gliffy Diagram.

As you can see in the image below, we've already created a diagram.


Then, we export it using the template previously created.


  • No labels