Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Xporter Addon - Sort Epic Iteration




I've tried everything. I want to export JQL searchresult (Epics & Tasks) to Word in iterations with this schema

> Epic A:

   - Task 1

   - Task 2

> Epic B

  - Task 3

 - Task 4


The problem I have, is, that it randomly sorts, i. e. it looks like that

> Epic A:

- Task 2   

- Task 1


> Epic B

- Task 5  

- Task 2



Currently, my template is this:


&{for issues|filter=%{'${IssueTypeName}'.equals('Epic')}}

1       ${Summary} <--Epic Name -->

#{for n=LinksCount|filter=%{‘${Links[n].LinkType}’.equals(‘is Epic of’)}}

#{for issues|sortby=Summary ASC}

      ${Links[n].Summary} <--issue-->



I've tried all possible variation. What do I wrong?


Could anybody please help me?



2 answers

1 accepted

Hi @Bernhard Reiter 

The &{for issues} does not allow sorting.

Please use #{for i=JQLIssuesCount|clause=...} ... #{end} where you can write a JQL statement including the order by to sort the information. 

Please check the Xporter Server documentation or the Xporter Cloud documentation (depending on the version you are using).

Any additional questions, please get in touch with Xporter Support; we would gladly assist you.

Thank you.

Kind regards,
Rogério Paiva [Xporter Support Team]

mmhm.  The problem is the #{for issues|sortby}.  Not the  &{for issues|sortby=..} because

1)  I use it and it works.

2) The documentation says it works.sortby.png

Hi @Bernhard Reiter 

Sorry, my bad, it is possible to use the sortby in the &{for issues} as @Brigitte Bedard pointed out.

In your case, I would suggest using the JQLIssues since it allows more flexibility, however, if you prefer, you may use the sortby in the &{for issues} as well.

Thank you.

Kind regards,
Rogério Paiva [Xporter Support Team]

you are missing a #{end}, maybe

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

375 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you