Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting by Updated Date & Created Date ignores second date

David Clark April 16, 2018

Hi,

Trying to run this query:

project = INS ORDER BY updatedDate DESC, createdDate ASC

But the results are not being sorted by createdDate too only by the first date, updatedDate.

Are these standard JIRA fields?

Are they "Date" fields or just numbers or text fields?

 

Any ideas how to make this simple filter work?

1 answer

0 votes
Deleted user April 17, 2018

Hi @David Clark,

Would this example fulfil your requirements: 

project = EXAMPLE ORDER BY updatedDate DESC, created ASC

Hope this helps

David Clark April 17, 2018

Thanks Danny, but...

That's basically the query I am using but the results show that its ignoring the second sort command ie "created ASC" or "createdDate ASC".

I also tried id ASC and its not working either.

The result set returns 4492 tickets, maybe its the volume of tickets that's cause the sort to fail?

Deleted user April 18, 2018

Hi @David Clark,

Could it be the Timestamps that are included in the system fields; updatedDate & createdDate

Does the updatedDate group in days correctly? If so, it could be the timestamp.

A similar question with a possible solution. You would need to create custom date field.

Hope this helps

David Clark April 18, 2018

Thanks but no its not grouping by date, it just seems to be ignoring the second sort parameter altogether.

Deleted user April 19, 2018

Hi @David Clark,

You may want to raise this as a bug: https://support.atlassian.com/contact/#/ 

Apologies that I could not be of any more assistance

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events