
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 11:55 AM
I setup a metric to get the assigned to duration on the sc_task table. It does not calculate the duration for the person who closes the task as the assigned to did not change. How can I get the metric to also calculate the duration of the person who closes the ticket as well?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2017 09:01 AM
You need 2 Metrics. One field duration on Assigned To field, and one like the previous screen shots on Active field. The latter will close out open Metrics when ticket is closed. The first will calculate duration. All Metrics will be in one Metric for ease of reporting.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2017 10:06 AM
I got it now. Do you know who I would get this to work update already closed out tasks that I did not have the open script on active running for?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2017 10:16 AM
I've seen others post similar question using background script to update them. Might be worth a search to find similar posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 12:09 PM
The duration from when they were assigned the ticket to when it was closed, or just from open to close? From open to close you can use the field business_duration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2017 12:45 PM
We have a metric setup because we want to see when each person had it and how long the had it. We setup an assigned to duration but it only calculates the duration when the assigned to changes. We want it to calculate it for the last person who had it as well. Since the assigned to does not change when the person closes it there is a record but the duration is blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2018 10:26 AM
Hi Bricast,
Could you please share how you did this.
I created a Metric definition:
Name: Assigned Group Duration
Type: Field value duration
Table: sc_task
Field: Assignment Group
Timeline: Checked
I also need to calculate how long the last group had the request. Duration is showing blank and Calculation Complete is false.
Thank you in advance.
Regards,
Jocelyn