Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Xporterfor 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:

Code Block
titleExpand to see the sample code
collapsetrue
#{for images}

${set(extension,%{var name = '${Images[n].Name}'.split('.'); var extension = name[1]; extension})}

#{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.