Xporter stopping at first loop

I am currently trying to create an Xporter template where it runs through a few for loops and prints the required information. However, when I do the export, only the information from "Project 1" is showing up on the created Word document. Is there something incorrect in the following:


&{for issues|filter=%{‘${ProjectName}’.equals(‘Project Name 1’)}}                              

         ${Key}  ${Summary}



&{for issues|filter=%{‘${ProjectName}’.equals(‘Project Name 2’)}}                             

         ${Key}  ${Summary}



&{for issues|filter=%{‘${ProjectName}’.equals(‘Project Name 3’)}}                             

         ${Key}  ${Summary}




Thank you in advance!


1 answer

I am playing with it too looks like you need to create something like in the FAQ


Iterating more than one level of links

Xporter for JIRA only allows to directly iterate one level of Links for an issue. If you want to iterate the linked issues of the linked issues, you should do it as provided in the example below:


Issue ${Key} has ${LinksCount} links. Below is the list.
#{for j=LinksCount}
   Linked Issues of ${Links[j].Key}:
#{for m=JQLIssuesCount|clause=issuekey in linkedIssues (${Links[j].Key})}
      Linked Issue ${JQLIssues[m].Key}


#{for i=JQLIssuesCount|clause=project = DEMO}
${JQLIssues[i].Key} - ${JQLIssues[i].Summary}


Can you help me merge your suggestion to my code. Would like to see the sub-tasks of the associated linked story. Thanks a bunch for your help!!

#{if (%{${SubtasksCount} > 0})}






#{for subtasks}









 #{if (%{${LinksCount} > 0})}




Link Type



#{for links}

${Links[n].Key} has ${LinksCount}










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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
Read article

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