Forums

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

Want to add two grouper in structure with certain order using Scriptrunner

Jaspreet Kaur
Contributor
August 20, 2020

Hello Team,

I had added two grouper (group by A and group by B) in automatically created structure using Scriptrunner.

In structure :

first it implement group by B then group by A

but I want it should first group by A and then group by B

Thanks in Advance.

1 answer

1 accepted

0 votes
Answer accepted
Egor Tasa [ALM Works]
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.
August 21, 2020

Hi Jaspreet,

You can create groupers in a different order, our use ForestChange.Reorder to change the order of the grouper generators - note that generally only groper and sorter generators can change order and only between themselves.

Regards,
Egor

Jaspreet Kaur
Contributor
August 21, 2020

Thank you @Egor Tasa [ALM Works] i will try to do in this manner

Suggest an answer

Log in or Sign up to answer