How to replicate the order of issues in JIRA on a confluence JIRA macro?

I want to display the next 5 issues that are apart of a specific board that are not flagged in Confluence using the JIRA issues macro. I know how to use JQL to filter the specifc issues I would like to display however the issues are displayed in order based on their key not based on the order they are in on the JIRA board. This board is use to hightlight the next tasks that need to be worked on however to accurately display this in confluence I need to be able to replicate the order that is shown in JIRA. Any help with solving this issue would be really appreciated. 

1 answer

1 accepted

Hi Bernie,

In the JIRA Issues macro in Confluence, just add an ORDER BY statement to your JQL filter.

If you want to order by key (as you mention in the question), write the following:

Project = <your project> AND <any other criteria> ORDER BY Key

You can specify the sort order by adding ASC (a>z) or DESC (z>a) if that might be an additional requirement.

Oh - and if you want to order as they are on the JIRA board, write ORDER BY Rank

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,175 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot