[rt-users] Couldn't create related ticket create-Manager approval for ### No permission to create tickets in the queue '___Approvals' in RT 4.2
vitalik1
vitalik1 at yahoo.com
Wed Nov 6 00:02:38 EST 2013
Hello Experts,
I am following these instructions http://www.bestpractical.com/docs/rt/4.2.0/customizing/approvals.html to create a simple Approval mechanism on an fresh install of RT 4.2/MySQL 5.1/RHEL 6 system.
As the Root user I created a "Change requests" queue.
In the queue I created a new type-Perl Template called "Create approval" with the following code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
===Create-Ticket: Manager approval
Subject: Manager Approval for {$Tickets{TOP}->Id} - {$Tickets{TOP}->Subject}
Depended-On-By: TOP
Queue: ___Approvals
AdminCcGroup: vPEO
Requestors: {$Tickets{TOP}->RequestorAddresses}
Type: approval
Content-Type: text/plain
Due: {time + 3*24*60*60}
Content: Please approve me.
Thanks.
ENDOFCONTENT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Created a scrip "Create an approval on ticket create" Condition: "On Create", Action: Create Tickets, Template: "create approval", Status: "enabled".
I have left ___Approvals queue disabled.
I have added the following rights to the ___Approvals queue: Grant ShowTicket and ModifyTicket rights to the Owner and AdminCc roles.
I did not add vPEO group as watchers of the ___Approvals queue explicitly.
Members of the vPEO group (including Root) can create tickets in the "Change requests" queue, but as you can see below from the log no corresponding "Approvals" get created and none of the vPEO members can see anything in the Tools->Approval menu.
The information in /var/log/messages is below:
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Couldn't create related ticket create-Manager approval for 20 No permission to create tickets in the queue '___Approvals'
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 1151.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/URI/fsck_com_rt.pm line 95.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Resolver RT::URI::fsck_com_rt could not parse fsck.com-rt://ddcdevsupport01.xxx.yyy.emc.com/ticket/, maybe Organization config was changed?
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value $id in hash element at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1944.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value $value in substitution (s///) at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2698.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value $value in substitution (s///) at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2698.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2731.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2731.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value $id in hash element at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1957.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Resolver RT::URI::fsck_com_rt could not parse fsck.com-rt://ddcdevsupport01.xxx.yyy.emc.com/ticket/, maybe Organization config was changed?
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] RT::Link=HASH(0x7ff7917cad50) Couldn't resolve target 'fsck.com-rt://ddcdevsupport01.xxx.yyy.emc.com/ticket/' into a URI.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Link could not be created: Couldn't resolve target 'fsck.com-rt://ddcdevsupport01.xxx.yyy.emc.com/ticket/' into a URI.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] AddLink thru 20 failed: Link could not be created: Couldn't resolve target 'fsck.com-rt://ddcdevsupport01.xxx.yyy.emc.com/ticket/' into a URI.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Action/CreateTickets.pm line 1198.
Nov 4 14:00:02 ddcdevsupport01 RT: [2954] Ticket 20 created in queue 'Change requests' by root
Any suggestions on what is going wrong here are greatly appreciated.
Respectfully,
-Vitaly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131105/f164b4ea/attachment.htm>
More information about the rt-users
mailing list