Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Group By based on a formula where issues may be returned in multiple segments


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 :

  • Issue A : labels Windows2012, Websphere, UnitA and others
  • Issue B : labels Windows2016, Weblogic, UnitB and others
  • Issue C : labels Windows2012, Windows2016, Weblogic, UnitA and others

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 :

  • Folder « Windows 2012 »
    • Issue A
    • Issue C
  • Folder « Windows 2016 »
    • Issue B

But , since Issue C contains both Windows2012 and Windows2016 labels, I’d like this issue to appear under both folders:

  • Folder « Windows 2012 »
    • Issue A
    • Issue C
  • Folder « Windows 2016 »
    • Issue B
    • Issue C

Is there a way to do so when using group by based on a formula?

Thanks for your help

1 answer

1 accepted

Hi Etienne,

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.


Nick Ellis

[ALM Works]

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

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...

242 views 2 1
Read article

Community Events

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

Events near you