Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xporter Addon - Sort Epic Iteration Edited

Hi,

 

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

#{end}

&{end}

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

 

Could anybody please help me?

BR,

Bernhard

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

130 views 2 6
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