Forums

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

I want to write a filter that effectively does GROUPBY "label"

Kevin Connell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2018

Users may use any number of labels so my query cannot know what labels are possible

1 answer

0 votes
Nic Brough -Adaptavist-
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.
March 7, 2018

This isn't going to work the way you are thinking.

Filters find issues.  They have nothing to say about how they are then presented to the user (slight exception - the "order by" clause is used in a handful of places).

There is no group-by in the filters, because that's formatting, not results.

You will need to think about where you are reporting the results of running a filter and how that might "group by".

Matt Doar
Community Champion
March 7, 2018

You can sort by lables in the Issue Navigator page. But consider what happens when there are multiple labels on some issues.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events