Name

global.ProblemRelatedListChangeRequestItemFilter

Description

Overrides the default getFilterQuery in global.RelatedListItemCandidateFilter to show lists of change requests in the modal of Agent Workspace for Problem.

Script

var ProblemRelatedListChangeRequestItemFilter = Class.create();
ProblemRelatedListChangeRequestItemFilter.prototype = {
  getFilterQuery: function() {
      return "active=true^parentISEMPTY";
  },

  handles: function(thing) {
      return thing == "PROBLEM_CHANGE_REQUEST_QUERY_FILTER";
  },

  type: 'ProblemRelatedListChangeRequestItemFilter'
};

Sys ID

31fbd50053b210107b77ddeeff7b1287

Offical Documentation

Official Docs: