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

How can I change default order for attachments

Dmitry Budnik September 13, 2011

Hello,

I've posted this to support, but looks like it's beyond their scope:

Our designer creates many mockups and prototypes of UI. Developers should take them in work after designer is done. Unfortunately attachments sorted by name instead of date by default. This caused a sad situation when wrong mockup was used by developers

I've googled and found old ticket without any solution.

I would wonder if we can do anything to change the default sort order for attachments in JIRA.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Dmitry Budnik September 14, 2011

Thanks for your answer! I'm trying to grep the code for "AttachmentComparator" do you have any ideas where can it be found?

Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2011

Download the JIRA source archive from http://www.atlassian.com/software/jira/JIRASourceDownloads.jspa. You will need to log in as a user with a commercial license to access this page.

0 votes
Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2011

Attachment implements Comparable and AttachmentComparator class is used, where the default order is by file name, than create dates. I think that it is impossible change this behaviour by some configuration, you probably need modify comparator class.

TAGS
AUG Leaders

Atlassian Community Events