Can I limit visibility of specific assignment groups to other assignment groups?

10382
Kilo Contributor

I'm not sure if User Interface is the right category for this.

I've been asked to make 2 or 3 assignment groups VISIBLE to only 2 other groups.

Example:

Group A, Group B, and Group C will only display in a drop down list for people in Group X or Group Z.

This is specifically for Incident Management; the goal is to prevent incidents from being erroneously escalated to Groups A, B, and C.

Any ideas?

Thank you!

6 REPLIES 6

10382
Kilo Contributor

Thank you everyone, for all the input you've given me.



Doable, but a bit over my head.



I appreciate the input!


poyntzj
Kilo Sage

nah, easy


This is from a form - some people were told something could not be done - choice list off a reference lookup.


I did this as a POC.   Now we need to work out how to do the update without a loss of data



It takes the value of field u_service_offering which determines what options to choose.


find_real_file.png



and the Script include is as follows



var LongReferenceQualifier = Class.create();


LongReferenceQualifier.prototype = Object.extendsObject(AbstractAjaxProcessor, {




  j1_list: function(servOff_ID) {


  gs.log('j1_list : ' + servOff_ID);


  var strRet = 'sys_id=0';


  var gr = new GlideRecord('cmdb_rel_ci');


  gr.addQuery('parent.name', servOff_ID);


  gr.query();


  while(gr.next())


  {


  strRet += '^ORsys_id=' +gr.child;


  }


  gs.log('returning : ' + strRet.toString());


  return strRet;


  },


      type: 'LongReferenceQualifier'


});