Queue View - showing also close tickets

Moderator: crythias

Post Reply
andrep
Znuny newbie
Posts: 29
Joined: 13 Aug 2015, 13:12
Znuny Version: 4.0.10

Queue View - showing also close tickets

Post by andrep »

Hello,

I create a Queue : New colleagues

When a new colleague join the company, the HR department send a message to the IT_support address and a ticket is created.

After that, the IT department start their job like : give a notebook and sign the company policies, special access rights,...

And finally close the ticket.

In the Queue view, will be great if we can also see the closed ticket like in the status view.

Otherwise, we need to use the search function. Not very convenient,...

Any setting in Sysconfig for doing this ? Or any workaround ?

Thank you for your help

Andre
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Queue View - showing also close tickets

Post by crythias »

When you have 10,000 closed tickets, this will create a burden on your system.
You probably want to save a "Closed in the last X days" magnifying glass search.
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
andrep
Znuny newbie
Posts: 29
Joined: 13 Aug 2015, 13:12
Znuny Version: 4.0.10

Re: Queue View - showing also close tickets

Post by andrep »

Hi,

Thank you for your feedback.

Ok, but how OTRS work in the Status view ?

Even in the Status View, the case is worst, because at this place, ALL closed tickets in the system (> 10'000) are displayed.

In the Queue View, if the closed tickets can be displayed, it will be ONLY the closed ticket of the displayed queue.

Thank you

Andre
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Queue View - showing also close tickets

Post by reneeb »

That works as designe. The state view shows all tickets based on their state, regardless the queue. The Queue view shows the tickets of each queue.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
andrep
Znuny newbie
Posts: 29
Joined: 13 Aug 2015, 13:12
Znuny Version: 4.0.10

Re: Queue View - showing also close tickets

Post by andrep »

Hi Renee,

In the Queue View, we can see ONLY the active tickets.

In the Status View, we can see the active tickets AND the closed tickets

My request was to see the closed tickets in the Queue View TOO.

The search function is too complicate for my customer's need.

Best regards

Andre
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Queue View - showing also close tickets

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
andrep
Znuny newbie
Posts: 29
Joined: 13 Aug 2015, 13:12
Znuny Version: 4.0.10

Re: Queue View - showing also close tickets

Post by andrep »

Thank you.

Could you help me to write the code for the filter ?

I saw in the AgentTicketStatusView.pm the following code
Closed => {
Name => Translatable('Closed tickets'),
Prio => 1001,
Search => {
StateType => 'Closed',
OrderBy => $OrderBy,
SortBy => $SortBy,
UserID => $Self->{UserID},
Permission => 'ro',
},
},

And in the AgentTicketQueue.pm the following filters

Unlocked => {
Name => Translatable('Available tickets'),
Prio => 1001,
Search => {
LockIDs => \@ViewableLockIDs,
StateIDs => \@ViewableStateIDs,
QueueIDs => \@ViewableQueueIDs,
%Sort,
Permission => $Permission,
UserID => $Self->{UserID},
UseSubQueues => $UseSubQueues,
},
},


How to add the filter correctly for viewing the closed ticket in the AgentTicketQueue.pm ?

Thank you for your help

Andre
Post Reply