I have a Structure with a Group by "Due Date" Button.
When activating the Group By "Due Date" Button, I would like to sort the groups by (due-)date descending.
Is that possible?
I was able to solve this, but did not find any direct answer in the documentation, so I'll answer myself for all people who have the same problem :-)
When you group your issues, you can only group by aggregated values, and not by values on the issues themselves.
So even if your isues are sorted by due date, prior to the grouping, the groups themselves will NOT be sorted by due date.
You can create an aggregated value by using formula columns.
In my case, I have created the formula column "MaxDueDate", which is of type "date" (because we group by date, you could also use min or avg date, resulting in the same).
As soon as the new column is created, you can sort your Groups by this column
Hope this helps!
Thank you @Leonard Chew !
I was able to use your approach to Group by and then sort by Component.
IF (itemType = "component") :
itemid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was very helpful. I did something similar to group issues by fix version and then sort the groups by release date.
MAX#strict { map(fixVersions, x -> x.releaseDate) }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.