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

Accepted Answer
0 votes

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
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

44 views 2 4
View post

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