create a custom View that shows both Service requests and Incidents for same location
Greetings
I am wanting to know how I can create custom views in the SCSM console that will display both Service Requests (RFS) and Incident tickets (RAI) for the same location.
Best Answer
-
Geoff_Ross Cireson Consultant O.G.Hi Shawn,
Sorry for the delay, they work me hard here and I've been super busy :P
You could create the view in the console, using a type projection for Work Item containing the affected user relationship.
However, if your end goal is to have it in the portal, you could create the same result much easier with a SQL Chart widget and a SQL query that brings in items from WorkItem table and Join with the CI$User table to link up location.
Geoff
5
Answers
You will get all Work Items (including Problems, Activities and Changes) that match the criteria you are looking for. You can try to change the criteria to show tickets that have IR or SR in the ID
@Shawn_Horley, what do you mean by 'same location'?
Geoff
Thanks for the feedback gents. By locations I mean that we are a school district and we need to see both service requests and incidents that are open for the different schools. We would like to create custom views that show both types of active tickets for each location as we have specific Techs assigned to the various locations.
We had created views that show all service requests for a given location and promoted those views to our web portal so our Techs could make use of them, however since we have incorporated the use of incident tickets the techs do not see the active incidents in these views so I believe we need to create new ones.
I've not been seeing a method of having a view with both types of tickets in them
Cheers
Shawn
Couple more questions come out of that and then I'm sure we can find a solution.
Still not sure what you mean by location. There is no location property Out-the-box on either Incident or Service Request. Is this a custom property, a custom relationship to a location CI, or are you looking up up a property from the affected user?
Also, are you looking to create this view in the SCSM Console, or Cireson Portal?
Geoff
Hi Geoff
We grab a location from the Affected User property. I believe it's an imported attribute from active directory(company I believe). I'm looking to create this in the SCSM console and promote it to the Cireson portal.
Cheers
Shawn
Sorry for the delay, they work me hard here and I've been super busy :P
You could create the view in the console, using a type projection for Work Item containing the affected user relationship.
However, if your end goal is to have it in the portal, you could create the same result much easier with a SQL Chart widget and a SQL query that brings in items from WorkItem table and Join with the CI$User table to link up location.
Geoff