We use Structure on Jira Datacenter. We have a lot of labels on issues for tagging all sorts of dimensions (frameworks, middlewares, OS, application ownership, cmdb ref #…etc). I’d like to add to a Structure with « Group By » quick transformations for each dimension by using a formula.
As an example, let’s say I have 3 issues :
I’d like to add a quick transformation « Group By windows version », so I created a group by transformation based on the formula IF(SEARCH("Windows2012", labels), "Windows 2012", SEARCH("Domino2016", labels), "Windows 2016").
The result is :
But , since Issue C contains both Windows2012 and Windows2016 labels, I’d like this issue to appear under both folders:
Is there a way to do so when using group by based on a formula?
Thanks for your help
Your assessment is correct this is they way that it works currently. Unfortunately there is not a good way to handle this with formula groups. The problem is a labels field returns multiple values so the issues go into multiple groups, but a formula can only return a single value.
The good news is there are alternative options.
1. You could make a structure with multiple folders and in each folder have an insert JQL like: labels = "windows 2012", for each label you want to include. This will still result in duplicates showing up once in each group.
2. If you can wait there will be a much nicer way to handle this with the next version of EXPR. We expect EXPR 2.0 to be available later this year, and it will have array support which should make this a trivial formula to write.
Please let me know if you have any further questions.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events