Mark, we had a similar request from our agents so I created the attached OPM. I hadn't expected it would be shared so it is still pretty rough. You can at least use it as a guide.
It's a pretty direct re-purposing of the "stock" AgentDashboardTicketGeneric
.
While we're on the subject of re-use, I'll admit to being a Perl novice and would appreciate any tips on how I might inherit from/extend Perl modules in the future (so that I don't have to manually copy over fixes to the original modules). Any tips?
Hugh
Hello –
I’m attempting to create a “My Tickets” view for the agents that will show only tickets where the logged-in agent is the owner.
I’ve attempted to do this by creating an extra dashlet in /opt/otrs/Kernel/Config/Files/MyTicket.xml, using “Attribute: OwnerIDs=1;OwnerIDs=1” as a test. (The double entry is due to what I understand to be a known bug – referenced at http://forums.otrs.org/viewtopic.php?f=53&t=6351.) Currently, while the dashlet was successfully created and I see the filter set correctly under “My Queues”, under “Locked Tickets” it still shows an owner other than OwneriDs=1, and under “all” it still shows all tickets (regardless of owner).
Ultimately, I’d like change the hard-coded OwnerIDs=1 to something dynamic (e.g., OwnerIDs=$Self->{UserID}), but am unclear how this might be possible.
Any thoughts?
Thanks,
Mark
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs