Update default filter in "Sprint Planning"

MMT3
Tera Contributor

I want to update the predefined filter in the "sprint planning" for the list view within the backlog board. I'm currently working in the Rome instance.  Currently, it is set to the following (refer to screenshot).   I would like to group records by 'SDLC Stage'. 

find_real_file.png

 

I know that I need to go to UI Scripts and then access the SdlcList and modify the script.  

find_real_file.png

 

Does anyone know if it's possible to add specific code to the script that would group records based on the 'SDLC Stage' in the predefined "Sprint Planning" list filter for the backlog board? 

And if we can't group by 'SDLC Stage' can we add a few more filters:
SDLC Stage = Ready for sprint assignment OR Release = Ready for sprint assignment

Thank you!

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @Melissa Taylor 

basically modifying OOTB script is not a good idea, but if case this is the only way for you:

Starting at line 20 there is a function which builds the encoded query. You can modify/extend this according to your needs.

And for grouping there is also a method for the GlideList object. See https://developer.servicenow.com/dev.do#!/reference/api/sandiego/client/c_GlideList2API#r_GL2-setGro...

Kind regards
Maik

MMT3
Tera Contributor

Thank you for your feedback, Maik.