@Fidel Castro Armario
I have one requirements .
i have the some status flows like below for one queue .
open --> in progress (Named as T1)
in progress --> waiting for vendor (Named as T2 )
waiting for vendor --> in progress (Named as T3)
in progress --> resolved (Named as T4)
Now i have to calculate the total time taken to resolve the issue with below condition .
if i changed the status from in progress to waiting for vendor Then i have to add the time from
open --> in progress
and
in progress --> waiting for vendor
and then again i need to take only the time
in progress --> resolved .
i.e ( T1 + T2 +T4) = Total time
i need to eliminate the time T3 .
And also i have to check with the business hours also .
is it possible ???
The following formula will calculate the time the issue has rested in "Waiting for vendor" status:
sum(mathOnNumberList(timesOfTransition("Waiting for Vendor", "In Progress"), ^ - nthElement(timesOfTransition("In Progress", "Waiting for Vendor"), indexOf(^, timesOfTransition("Waiting for Vendor", "In Progress")))))
please, revise that the names of statuses are correctly written, respecting the case.
You can subtract that value to the time from issue creation to issue resolution:
{00112} - {00009} - sum(mathOnNumberList(timesOfTransition("Waiting for Vendor", "In Progress"), ^ - nthElement(timesOfTransition("In Progress", "Waiting for Vendor"), indexOf(^, timesOfTransition("Waiting for Vendor", "In Progress")))))
where {00112} is field code for Date and time of creation, and {00009} is field code for Date and time of resolution.
In the first question I have eliminated only one transition ...
Is it possible to eliminate more than one transition timings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The time we have eliminated is the time the issue has remained in a certain status, i.e., the time between the transition that moves the issue to the status, and the one that moves the issue from it.
You can do it simply by including in your formula more terms like this:
sum(mathOnNumberList(timesOfTransition("Status B", "Status C"), ^ - nthElement(timesOfTransition("Status A", "Status B"), indexOf(^, timesOfTransition("Status B", "Status C")))))
Where the transitions are:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.