Any idea javascript:'sys_idIN'+ScrumSecurityManager.getStoryDotProduct(current).join(',')

Supriya13
Giga Expert

any idea whats this filetrs do in  refernce qualifier of product on story form ?

find_real_file.png

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi,

This reference qualifier returns comma separated list of sys_id's from table "cmdb_application_product_model"

find_real_file.png

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

5 REPLIES 5

You should able to find the below function, in script include named as ScrumSecurityManagerDefault

 

 getStoryDotProduct: function () {
      var recModelSysIds = [];
      var recCmdbModel = new GlideRecord ("cmdb_application_product_model");
      recCmdbModel.query ();
      while (recCmdbModel.next ()) {
         recModelSysIds.push (recCmdbModel.sys_id + "");
      }
      return recModelSysIds;
   },