Dashlets - by user logged in

Moderator: crythias

Locked
scurwood
Znuny newbie
Posts: 3
Joined: 01 Jun 2011, 23:06
Znuny Version: 3.0.8
Real Name: Scott Curwood
Company: Rogue Federal Credit Union

Dashlets - by user logged in

Post by scurwood »

I want to create a Dashlet that looks at a queue and returns the tickets in that queue that are not closed for just the agent logged in. Does anyone know how to pass the user logged in?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Dashlets - by user logged in

Post by crythias »

The agent has his own ticket list under "Tickets"
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
scurwood
Znuny newbie
Posts: 3
Joined: 01 Jun 2011, 23:06
Znuny Version: 3.0.8
Real Name: Scott Curwood
Company: Rogue Federal Credit Union

Re: Dashlets - by user logged in

Post by scurwood »

Yes, but we have a queue created called Projects that our entire department uses to route what we would consider a long term project into. Multiple people would end up having tickets in that queue. We would like a dashlet that only shows the tickets in the 'Project' queue related to the agent. Currently my dashlet shows all projects in the queue regardless of assigned agent. Here is the code I have:

<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
<ConfigItem Name="DashboardBackend###0600-My Projects" Required="0" Valid="1">
<Description Translatable="1">Parameters for the dashboard backend. ...</Desc
ription>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Dashboard</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">My Projects</Item>
<Item Key="Description">All Projects assinged to me</Item>
<Item Key="Attributes">QueueID=22;StateType=open;StateType=new;Queue=Project
s</Item>
<Item Key="Filter"></Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">10</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group"></Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
scurwood
Znuny newbie
Posts: 3
Joined: 01 Jun 2011, 23:06
Znuny Version: 3.0.8
Real Name: Scott Curwood
Company: Rogue Federal Credit Union

Re: Dashlets - by user logged in

Post by scurwood »

No help on this??
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Dashlets - by user logged in

Post by MichaelR »

Just save a search template? Would be easier :S
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
Locked