OTRS hide junk/spam queue from move list

Problem: OTRS user complains about wrong moved ticket into spam queue when tried to move into another queue.

IMHO 'spam' button is more secure way to mark as spam the ticket, so we need to remove junk/spam queue from dropdown without coding.
You can't just revoke move_into permission from junk/spam queue's group because you lose option 'mark as spam'. And here can help us simple ACL

#hide junk queue
$Self->{TicketAcl}->{'ACL-hide-junk-queue'} = {
 # match properties
 Properties => {
  # all tickets
  Ticket => {

  },
  
  #only on AgentTicketZoom page
  Frontend => {
 Action => [
  'AgentTicketZoom',
 ],
  },
 },
 PossibleNot => {
  # shouldn't be moved into
  Ticket => {
                Queue => ['Junk', 'SPAM'],
            },
  }, 
};

Enjoy!

No comments:

HOWTO: Repair Logitech M325 Mouse

FixIt says that you will find single screw under CE label. It isn't always true.