Customize activity menu for ticket articles

Moderator: crythias

Locked
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

Customize activity menu for ticket articles

Post by setecastronomy »

In the ticket zoom view there is a menu whose voices are entries in the Ticket -> Frontend::Agent::Ticket::MenuModule.
Focusing on email tickets each article has its own action menu with Forward, Split, Print, etc. I cannot find any way to customize this action menu. I searched on Internet but found nothing. Cannot find the related section in sysconfig too.
My final goal would be to put a new action there which executes with a single click a series of basic actions such as change queue, change state, fill a dynamic field and so on. Is it easy to achieve ?
Can you give some suggestion or point me to valid documentation ?



Thanks
Filippo
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize activity menu for ticket articles

Post by crythias »

Can't customize... What do you want to accomplish?
A note can do all you request.
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
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: Customize activity menu for ticket articles

Post by reneeb »

You have to do it in the code... https://github.com/OTRS/otrs/blob/rel-3 ... m.pm#L1855

But "SetQueue", "ChangeState" etc. are actions about ticket attributes and do not affect a single article.
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
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

Re: Customize activity menu for ticket articles

Post by setecastronomy »

crythias wrote:Can't customize... What do you want to accomplish?
A note can do all you request.
I would like to simplify the job for agents and give them a single button or link for executing some tasks together.
This can make sense if most of the time the agent has to change queue, ticket type, ticket state and other things at the same time.
reneeb wrote: ..
But "SetQueue", "ChangeState" etc. are actions about ticket attributes and do not affect a single article.
I agree, I was just wondering where I could find the action menu for articles.
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize activity menu for ticket articles

Post by crythias »

crythias wrote:A note can do all you request.
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
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

Re: Customize activity menu for ticket articles

Post by setecastronomy »

crythias wrote:A note can do all you request.
Sorry, but I don't understand.
If I click on the link of what I think is my language translation for note I can add some text to a ticket but in the dialog form
I don't have html selects to change state, queue, ticket type. Do I have to enable them via SysConfig ?
May be you were suggesting to use a generic agent triggered by note creation ?

Thanks
Filippo
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
setecastronomy
Znuny newbie
Posts: 28
Joined: 23 Jun 2014, 11:02
Znuny Version: 3.3.7

Re: Customize activity menu for ticket articles

Post by setecastronomy »

setecastronomy wrote: Do I have to enable them via SysConfig ?
I found the configuration parameters in Ticket -> Frontend::Agent::Ticket::ViewNote
Their default value is NO, so they are disabled and not shown.
OTRS 4.0.1 on Ubuntu Linux and Mysql DB
Locked