Report to show related Incidents on a Problem Record

taddparris
Kilo Expert

Looking to utilize the "Chart" field that can added to forms.   I want to create a report that will show Incident with the same "Problem Number" as the Problem that is opened.   I believe this should be similar to the reports used to show (My Tasks, My Changes, My Problems) which have a condition like:

Assigned To - Is - javascript:getMyAssignments()

Is it possible to build a similar report from the Incident Table that is something like:

Problem Number - Is - javascript:getcurrent.ProblemNumber()

I do not think my example is valid javascript so I am looking for assistance.

Purpose for this report is to add the "Chart" field to the Problem Ticket and show a Spline/Trend Chart for related incidents.

Thank you,

1 REPLY 1

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Tadd,



You can run the report on the incident table and fetch the column "problem" in your reports.


Regarding the filters, if you want something that is not OOTB then you can define the logic in script include and make a call from the condition filter something like javascript: new ScriptIncludeName.FunctionName();