Hi Zendesk:
We created one new Custom Field named Risk Case Priority. Agents should select different priority when they are handling the tickets. We want to monitor the timespan between the tickets created and the tickets are changed from null to Priority 0 or 1.
I tried to use different functions like [Field change time] or DATE_DIFF, but got wrong result
The result is sum of total mins on the tickets. I only need one period of time.
IF ([Changes - Field name]="Risk Case Priority" AND ([Changes - Previous value]=NULL OR [Changes - Previous value]=""))
THEN
DATE_DIFF(DATE_FIRST([Ticket updated - Timestamp]), [Ticket created - Timestamp], "nb_of_minutes")
ENDIF
And in real handling scenarios, the activity of selection of this specific field can happen in the first update, or second update or third update.
What we need is to get the real timestamp.
I can extract the data from API by ticket audits, but it will take long time to calculate the logic.
That is why we need explore to do the job.
thanks
