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

Can you set a default sort order on the Jira Issues macro?

ejanis I'm New Here Dec 21, 2021

Hi,

I am using the Jira Issues macro on a Confluence page to display some custom fields from the my Epics, along with the assigned Due Date.  My challenge is the when the macro table is displayed, it seems the issues are sorted by newest to oldest by default.  I would like to set the sort order to be oldest to newest on the page (by Due Date).

I can't seem to conclusively determine if this capability exists or not with the macro.

Any help or guidance would be greatly appreciated.

3 answers

1 accepted

0 votes
Answer accepted
Fabian Lim Community Leader Dec 21, 2021

Hi @ejanis

Welcome to the community!

Have you tried setting the order from the jql itself.

Regards

ejanis I'm New Here Dec 22, 2021

Hi Fabian,

The simplest answer was the best. I was looking at it the wrong way - trying to manipulate the macro.  As suggested above, I looked at the JQL angle.

On my first attempts (when I posted) the JQL I was using was not giving me the desired sort.  Long story short, I corrected my JQL and all is good.  The sort order is correct and the macro in Confluence displays the info in the order I need.

Thanks all for supporting the 'noob'!

- Erik

Hi @ejanis ,

If it happens so that you use our app that is Table Filter and Charts for Confluence in your company, then you may also use its Table Filter macro for filtering your Jira Issues as well.

Such dynamic macros are fully supported by our app and you'll be able to use date range filters for your case on the fly from the page view mode. It will simplify your result table.

To set a default sorting of the Jira Issues macro is better with the help of the JQL as was suggested in the previous answer.

You should be able to just click on the Due Date column and it will sort it for you, or as @Fabian Lim said you could update the JQL to sort by due date.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

1,095 views 8 44
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