Hello all.

 

After consulting the SLA and Ticket API … i still can’t manage to get the SLA info i need. Here is my scenario:

I’m building a solution % reached that can be shown in AgentTicketZoom.

If a given SLA has 300 minutes of SolutionTime and 1hour has passed … 20% has now been reached.

My issue is to get the SolutionTime (attribute from the SLA). I can’t create an SLAObject or address the right one. If I do :

my sla_id = $Ticket{SLAID} # I get the given sla id

 

Now I want something like:

 

$SLAGet->{SolutionTime} where this sla matches this sla_id so I can do the ratio %.

 

Thanks in advance

I’m Running 3.1
Pedro