dashlet by shifts [SOLVED]

Moderator: crythias

Post Reply
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

dashlet by shifts [SOLVED]

Post by rvaldomir »

Hi,

i want to have a couple of dashlets that shows the tickets from the people from the morning shift and the afternoon shift.

the problem is that the Owner filter only allows one user (not multiple filter), how to enable a way to customize those dashlet to filter certain owners?
a.png
how to change this option to select owners instead of columns?
b.png
You do not have the required permissions to view the files attached to this post.
Last edited by rvaldomir on 07 Oct 2015, 15:19, edited 1 time in total.
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: dashlet by shifts

Post by aph »

You can configure that in the xml file for your dashlet (attribute OwnerIDs). See for further details https://otrs.github.io/doc/api/otrs/3.3 ... ch.pm.html.
Just use as attribute OwnerIDs of agents from morning or afternoon shift in the respective dashlet. As far as I know, in the dashlet itself you can only filter one owner at a time.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

Re: dashlet by shifts

Post by rvaldomir »

You mean something like this?
a.png
b.png
c.png
You do not have the required permissions to view the files attached to this post.
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: dashlet by shifts

Post by aph »

I mean the Item Key 'Attributes' in your XML file TicketDashletMorning.xml (It represents the first entry in the screenshot showing DashboardBackend###0092-TicketDashletMorning). At the moment the content is empty. Here you should add OwnerIDs of Agents from the morning shift.

Code: Select all

<Item Key="Attributes">OwnerIDs=20;OwnerIDs=22;</Item>
Same applies to the dashlet for the afternoon shift. No need to add OwnerIDs as an Item Key in your XML files.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

Re: dashlet by shifts

Post by rvaldomir »

thanks! it works
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
Post Reply