How sort attachments by date by default

Hello Atlassian,

We use the attached files. By default they are sorted by name. You can change the sort (ascending, date etc..). if you change the criterias of sort, your configuration is kept during the session and only during the session. It is more convenient to have a sort by date by default whithout to have to configure the sort whenever.

What could i do ?

Thanks by advance

Jérôme MARTIN

3 answers

1 accepted

Thank you Matt for your answer.

My opinion is Atlassian have to change that and i voted for that on an issue.

https://jira.atlassian.com/browse/JRA-28290

thanks again bye :-)

You didn't say you were talking about Jira ;-) I assumed you were talking about Confluence, maybe I should have asked. Easy to do in Confluence!

it's right sorry :-)

You could write your own user macro which in turns calls the {attachments} macro & sets the order to be by name.

https://confluence.atlassian.com/display/DOC/Writing+User+Macros

You can't change the default behaviour of the in-built attachments macro but you could write your own plugin which could over-ride it (assuming you manually disbale the Atlassian attachments module)

Thank you Matt for your answer.

My opinion is Atlassian have to change that and i voted for that on an issue.

https://jira.atlassian.com/browse/JRA-28290

thanks again bye :-)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

455 views 83 11
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