Reporting Incidents Closed by Members of a Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2014 08:59 AM
How in a a report can I get all incidents closed by members of a certain assignment group?
Where closed_by equals a member of the group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2014 09:21 AM
Hi,
This requirement won't have very elegant solutions, but I can see 2 options:
- If your data "membership" aren't volatile for the time frame of the report:
- OK: "My memberships could change over the year but I'm interested by the data of the last week"
- NOK: "My memberships could change over the week but I'm interested by the data of the last year"
- In that case, you could make a database view between the incident table and the membership and group tables
- If your data "membership" are volatile for the time frame of the report:
- You need to archive the data on the incident form using some rules
- Don't forget you'll have a list of groups who will close the "incident"
- The 3rd way (But I never tested it yet, so i don't consider that as an option) could be using the http://wiki.servicenow.com/index.php?title=Using_Filters_and_Breadcrumbs#Dublin but I don't guarantee anything as the dynamic filters seem to use the current logged user.
If I have to do it, even if the solution will have some limitation (and is definitively not elegant), I'll choose the 2nd option because I generally care about the "stability" of the data.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2015 07:56 AM
I just found a global BR called report helper that contains a function that will do the job for you...
getAllMembersOfMyGroups()
what i find to be REALLY kewl is you can create a closed by report from this... so select for example task table.. group it by closed by and stack the task type... for closed by put in javascript:getAllMembersOfMyGroups() and for created put in on this month...
Viola anyone looking at it sees all tasks closed by their groups for the current month on a bar chart by person with stacked task types.... how kewl is that!?