[SOLVED] Hide ticket type 'My mail message' in AgentTicketPhone

Moderator: crythias

Locked
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

[SOLVED] Hide ticket type 'My mail message' in AgentTicketPhone

Post by zbigniew »

Hi,

there are 2 types of ticket forms:
/otrs/index.pl?Action=AgentTicketPhone
and
/otrs/index.pl?Action=AgentTicketEmail
they use common ticket types defined here:
/otrs/index.pl?Action=AdminType

I need to hide Ticket type (TypeID) entry named: ' My mail message' in AgentTicketPhone but keep it visible in AgentTicketEmail only. Do not know how to do that. Tried to make it in ACL creator but there is no option to select AgentTicketPhone in it.
Last edited by zbigniew on 03 Feb 2015, 20:21, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Hide ticket type 'My mail message' in AgentTicketPhone

Post by jojo »

ACL is correct. You have to choose as the Action AgentTicketPhone as Match criteria.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

Re: Hide ticket type 'My mail message' in AgentTicketPhone

Post by zbigniew »

jojo wrote:ACL is correct. You have to choose as the Action AgentTicketPhone as Match criteria.
Yes but can not choose 'Action' from ACL menu and this is problem I have.
Image
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Hide ticket type 'My mail message' in AgentTicketPhone

Post by jojo »

Use Frontend for Match
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

Re: Hide ticket type 'My mail message' in AgentTicketPhone

Post by zbigniew »

jojo wrote:Use Frontend for Match
Thanks @jojo. Not so easy but solved this task.

Properties->Fronted->Action->Exact match->AgentTicketPhone
PossibleNot->Ticket->Type->My mail message

This type in red is a trap: in html source is TypeID field. Using it makes ACL inactive. You have to use Type as field name to make it working.
Locked