Adding a closed Incident to a problem

Victor Sj_din
Tera Contributor

Hi,

 

I'm not able to remove the predefined filter "active = true" on the ui page where you add incidents to a problem record.

VictorSj_din_1-1670835856468.png

 

I doesn't seem to be an ACL-thing, because I can add closed Incidents to a problem record using the Edit button on the same related list.

I've also tried to update the script include BulkAddIncidents (as propsed in another thread on this topic) without it working:

 

getFixedQuery: function(parentTable, parentColumn) {
var eps = new GlideScriptedExtensionPoint().getExtensions("BulkAddIncidentsFilter");
for (var i = 0; i < eps.length; i++) {
var query = eps[i].getFixedQuery(parentTable, parentColumn);
if (typeof query === "undefined")
continue;
return query;
}
// return "active=true^" + parentColumn + "ISEMPTY";
return parentColumn + "ISEMPTY";
},

VictorSj_din_8-1670836177345.png

Anyone know how to fix this?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Victor Sj_din 

it's out of the box platform behavior

check this

Not able to link Inactive Incidents(Closed) to Problem record 

How can ITIL user(s) add 'Closed' Incidents to a Problem Record? 

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Yes I am aware that this is OOB behavior. ..and neither of those links answers my issue as my issue doesn't seem to be ACL-related - but rather related to that particular UI page.