
Colleagues, I'm sorry for putting my question in a so confused way. I could get the result I wanted using http://doc.otrs.org/2.4/en/html/c2166.html example 18-2. It's nowhere mentioned in the docs that any ticket attribute can be used for matching.
$Self->{TicketAcl}->{'ACL-JJRU-00100-Approval'} = {
# match properties Properties => {
# current ticket match properties Ticket => { Type => ['JJRU::Approval'] } # return possible options (white list) Possible => {
# possible ticket options (white list) Ticket => { Queue => ['JJRU::MD&D::Regulatory', 'JJRU::MD&D::Accounting', 'JJRU::MD&D::Finance', 'JJRU::MD&D::Planning', 'JJRU::MD&D::Supply Chain'], State => ['new', 'open', 'Approved', 'Rejected'] },
# possible action options Action => { AgentTicketLock => 1, AgentTicketZoom => 1, AgentTicketClose => 1, AgentTicketPending => 0, AgentTicketNote => 1, AgentTicketHistory => 1, AgentTicketPriority => 0, AgentTicketFreeText => 0, AgentTicketCompose => 0, AgentTicketBounce => 0, AgentTicketPrint => 1, AgentTicketForward => 0, AgentTicketMove => 0, AgentTicketPrint => 1,
did the trick for me.
Regards,
Anton.
2009/11/17 Michiel Beijen
Hi Anton,
I'm afraid currently we not have anything in place for what you want to achieve. It would for an experienced developer probably not be too hard to do some JavaScript tricks to achieve what you need. What is it you're looking at?
((enjoy)) - Michiel Beijen R&D
OTRS AG Norsk-Data-Str 1. 61352 Bad Homburg Deutschland
T: +31 (0) 6457 42418
F: +49 (0) 9421 56818-18 I: http://www.otrs.com/
Business Location: Bad Homburg, Country Court: Bad Homburg, Commercial register: 10751, Tax ID: 003 240 97505 Chairman of the Board: Burchard Steinbild, Managing Board: André Mindermann (CEO), Martin Edenhofer
CU@ IIR Service Desk Forum in Mainz (Germany)http://www.otrs.com/en/news-and-press/news-details/article/translate-to-engl...and get to know more about OTRS at booth no. 12 from Nov 24-25, 2009!
On Mon, Nov 16, 2009 at 3:51 PM, Anton Gubar'kov
wrote: Hello, colleagues,
Is there a (quick) way to change the list of available actions for a ticket based on the ticket type?
Regards, Anton.
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/