Get Sla by it's ID on AgentTicketZoom
Pedro Teles Pereira <[email protected]>
| Newsgroups | gmane.comp.otrs.devel |
|---|---|
| Message-ID | <81B1DDBBD5E5D148915DBDF77378184D1068C86531@SRV109675.novabase.intra> |
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
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev