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

Structure Grouping Question: Grouping by multiple labels

Wilhelm Schmelz
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, 2024

Hello Community,

 

I want to create a Structure where Issues are grouped based on labels. At the moment we still use labels till we decided for a better way forward.

On the issues multiple labels exist e.g. Y_1, Y_2, Y_3, X_1, X_2, X_3, A_1, A_2, A_3

Now I like to create a grouping with:

Group Y:

- see all issues where any of the labels like Y_1, Y_2, Y_3 are

Group X:

- see all issues where any of the labels like X_1, X_2, X_3 are

Group A:

- see all issues where any of the labels like A_1, A_2, A_3 are

 

in case an issue has labels from multiple groups, it should appear in all the groups respectively.

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Stepan Kholodov _Tempo_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Hello @Wilhelm Schmelz 

You can achieve this with the Attribute grouper by a formula like this:

with yyy = if search("Y_1", labels) or search("Y_2", labels) or search("Y_3",labels): "Group Y":
with xxx = if search("X_1", labels) or search("X_2", labels) or search("X_3",labels): "Group X":
split(array(yyy,xxx),",")

You can add additional Labels-based conditions, if needed, in the same fashion.

I hope this helps. If you need further assistance or have other questions about Structure, please reach out to us directly at our support portal.

Best regards,
Stepan
Tempo (the Structure app vendor)

TAGS
AUG Leaders

Atlassian Community Events