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