Setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following http://requesttracker.wikia.com/wiki/ApprovalCreation

but in this document it talks about copying scripts and templates from _Approval queue.

I can only find 5 templates but there are no scripts

Thanks and Regards

Hi,

Scripts in ‘__Approval’ queue are not visible, but you can’t copy these
scripts for another new approval queue that you create with MYSQL.
Insert as ‘root’ user these following code:

insert into Scrips (Queue, Description, ScripCondition, ScripAction, ConditionRules, ActionRules, CustomIsApplicableCode,
CustomPrepareCode, CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated) select NEWQUEUENUM,
Description, ScripCondition, ScripAction, ConditionRules, ActionRules, CustomIsApplicableCode, CustomPrepareCode,
CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated from Scrips where Queue=2;

Where NEWQUEUENUM is the ‘id’ of the new Queue that you create.

Also, you can copy Templates of queue ‘__Approval’.

insert into Templates (Queue, Name, Description, Type, Language, TranslationOf, Content, LastUpdated, LastUpdatedBy, Creator,
Created) select NEWQUEUENUM, Name, Description, Type, Language, TranslationOf, Content, LastUpdated, LastUpdatedBy, Creator,
Created from Templates where Queue=2;

Where NEWQUEUENUM is the ‘id’ of the new Queue that you create.

With this, you can get a exact copy of ‘__Approval’ queue.

Best regards,

Daniel


/ / Daniel Garc�a Mej�a
C E / S / C A Portals i Repositoris
/_/ Centre de Serveis Cient�fics i Acad�mics de Catalunya

Gran Capit�, 2-4 (Edifici Nexus) - 08034 Barcelona
T. (NULL) - F. 93 205 6979 - dgarcia@cesca.cat

Hi Daniel, thanks for the reply

I am using Oracle as the database and under scrips I am unable to find any entry relating to the queue 2 (_approvals)

Thanks and RegardsFrom: Daniel Garcia Mejia dgarcia@cesca.cat
To: asanka_gunasekera@yahoo.co.uk
Cc: rt-users@lists.bestpractical.com
Sent: Thursday, 29 December 2011, 18:43
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi,

Scripts in ‘__Approval’ queue are not visible, but you can’t copy these scripts for another new approval queue that you create with MYSQL. Insert as ‘root’ user these following code:

insert into Scrips (Queue, Description, ScripCondition, ScripAction, ConditionRules, ActionRules, CustomIsApplicableCode,
CustomPrepareCode, CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated) select NEWQUEUENUM,
Description, ScripCondition, ScripAction, ConditionRules, ActionRules, CustomIsApplicableCode, CustomPrepareCode,
CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated from Scrips where Queue=2;

Where NEWQUEUENUM is the ‘id’ of the new Queue that you create.

Also, you can copy Templates of queue ‘__Approval’.

insert into Templates (Queue, Name, Description, Type, Language, TranslationOf, Content, LastUpdated, LastUpdatedBy, Creator,
Created) select NEWQUEUENUM, Name, Description, Type, Language, TranslationOf, Content, LastUpdated, LastUpdatedBy, Creator,
Created from Templates where Queue=2;

Where NEWQUEUENUM is the ‘id’ of the new Queue that you create.

With this, you can get a exact copy of ‘__Approval’ queue.

Best regards,

Daniel

– …
/ / Daniel García Mejía
C E / S / C A Portals i Repositoris
/_/ Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
T. (NULL) - F. 93 205 6979 - dgarcia@cesca.cat

Hi All, can any one give me a reason why there are no scripts belonging to _Approvals queue

Thanks and RegardsFrom: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Daniel Garcia Mejia dgarcia@cesca.cat
Cc: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Friday, 30 December 2011, 9:35
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi Daniel, thanks for the reply

I am using Oracle as the database and under scrips I am unable to find any entry relating to the queue 2 (_approvals)

Thanks and Regards

From: Daniel Garcia Mejia dgarcia@cesca.cat
To: asanka_gunasekera@yahoo.co.uk
Cc: rt-users@lists.bestpractical.com
Sent: Thursday, 29 December 2011, 18:43
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi,

Scripts in ‘__Approval’ queue are not visible, but you can’t copy these scripts for another new approval queue that you create with MYSQL. Insert as ‘root’ user these following code:

insert into Scrips (Queue, Description, ScripCondition, ScripAction, ConditionRules, ActionRules, CustomIsApplicableCode,
CustomPrepareCode, CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated) select NEWQUEUENUM,
Description, ScripCondition, ScripAction, ConditionRules, ActionRules, CustomIsApplicableCode, CustomPrepareCode,
CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated from Scrips where Queue=2;

Where NEWQUEUENUM is the ‘id’ of the new Queue that you create.

Also, you can copy Templates
of queue ‘__Approval’.

insert into Templates (Queue, Name, Description, Type, Language, TranslationOf, Content, LastUpdated, LastUpdatedBy, Creator,
Created) select NEWQUEUENUM, Name, Description, Type, Language, TranslationOf, Content, LastUpdated, LastUpdatedBy, Creator,
Created from Templates where Queue=2;

Where NEWQUEUENUM is the ‘id’ of the new Queue that you create.

With this, you can get a exact copy of ‘__Approval’ queue.

Best regards,

Daniel

– …
/ / Daniel García Mejía
C E / S / C A Portals i Repositoris
/_/ Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
T. (NULL) - F. 93 205 6979 - dgarcia@cesca.cat

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

Thanks you for the reply

Best RegardsFrom: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”
    ===Create-Ticket: poreq Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject} Depended-On-By: TOP Queue: Approvals-PO Type: approval Owner: username-of-owner #note this is so that notifications work properly Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money. ENDOFCONTENT
    b) Create the script “Create PO-Req approval”

     Description: Create PO Req approval         Condition: On Create         Action: Create Tickets         Template: Create Approval         Stage: TransactionCreate
    

    c)gave permission to the users who can create tickets under PO-Req

  2. Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets

Now when I create a ticket under PO-Req, in the log it says it is creating ticket in Approvel-PO queue.
But I am unable to find the tickets in the DB or under Approvals tab

Can some one tell me what is going on!!!

Thanks and best RegardsFrom: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Thanks you for the reply

Best Regards

From: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”

    ===Create-Ticket: poreq
    Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject}
    Depended-On-By: TOP
    Queue: Approvals-PO

Approvals tickets belong in the ___Approvals queue.

-kevin

Hi Can any one tell me what I am doing wrong???

Thanks and regardsFrom: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”
    ===Create-Ticket: poreq Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject} Depended-On-By: TOP Queue: Approvals-PO Type: approval Owner: username-of-owner #note this is so that notifications work properly Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money. ENDOFCONTENT
    b) Create the script “Create PO-Req approval”

     Description: Create PO Req approval         Condition: On Create         Action: Create Tickets         Template: Create Approval         Stage: TransactionCreate
    

    c)gave permission to the users who can create tickets under PO-Req

  2. Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets

Now when I create a ticket under PO-Req, in the log it says it is creating ticket in Approvel-PO queue.
But I am unable to find the tickets in the DB or under Approvals tab

Can some one tell me what is going
on!!!

Thanks and best Regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Thanks you for the reply

Best Regards

From: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston —
    March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Hi Can any one tell me what I am doing wrong???

Kevin told you what you’re doing wrong 5 days ago. Please read his
response.

Thomas

Hi I am stuck! any help can any one give on thisFrom: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi Can any one tell me what I am doing wrong???

Thanks and regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”
    ===Create-Ticket: poreq Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject} Depended-On-By: TOP Queue: Approvals-PO Type: approval Owner: username-of-owner #note this is so that notifications work properly Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money. ENDOFCONTENT
    b) Create the script “Create PO-Req approval”

     Description: Create PO Req approval         Condition: On Create         Action: Create Tickets         Template: Create Approval         Stage: TransactionCreate
    

    c)gave permission to the users who can create tickets under PO-Req

  2. Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets

Now when I create a ticket under PO-Req, in the log it says it is creating ticket in Approvel-PO queue.
But I am unable to find the tickets
in the DB or under Approvals tab

Can some one tell me what is going
on!!!

Thanks and best Regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Thanks you for the reply

Best Regards

From: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston —
    March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Hi, I have
a requirement to have ticket number sequenced by Queue, is this possible? or RT
way of using all tickets to be in sequence, disregard of Queue

Hope I make
any sense by above query!

Thanks and
Regards

Hi, I have a requirement to have ticket number sequenced by Queue, is
this possible? or RT way of using all tickets to be in sequence,
disregard of Queue

RT uses just one sequence and doesn’t support a per-queue sequence.

Hi, I am sure some one would have got this working, is there any one who can give me some hand in this, though I can see the ticket created by looing up in the logs. Aprovals do not show up in approvals tab?

ThanksFrom: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 19 January 2012, 9:58
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi I am stuck! any help can any one give on this

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi Can any one tell me what I am doing wrong???

Thanks and regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”
    ===Create-Ticket: poreq Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject} Depended-On-By: TOP Queue: Approvals-PO Type: approval Owner: username-of-owner #note this is so that notifications work properly Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money. ENDOFCONTENT
    b) Create the script “Create PO-Req approval”

     Description: Create PO Req approval         Condition: On Create         Action: Create Tickets         Template: Create Approval         Stage: TransactionCreate
    

    c)gave permission to the users who can create tickets under PO-Req

  2. Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets

Now when I create a ticket under PO-Req, in the log it says it is creating ticket in Approvel-PO queue.
But I am unable to find the
tickets
in the DB or under Approvals tab

Can some one tell me what is going
on!!!

Thanks and best Regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Thanks you for the reply

Best Regards

From: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston —
    March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Hi I found why the tickets are not visible in the approvals tab. when a ticket is created for approvals the owner is “nobody” rather than the person who is approving the ticket.

Now can some one tell me what I am doing wrong, below is my template

===Create-Ticket: poreqSubject: Approve purchase order for {$Tickets{‘TOP’}->Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: approval@iil.informatics.lk #username-of-owner #note this is so that notifications work properly
Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money.
ENDOFCONTENT

Thanks and regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Monday, 13 February 2012, 16:28
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, I am sure some one would have got this working, is there any one who can give me some hand in this, though I can see the ticket created by looing up in the logs. Aprovals do not show up in approvals tab?

Thanks

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 19 January 2012, 9:58
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi I am stuck! any help can any one give on this

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi Can any one tell me what I am doing wrong???

Thanks and regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”
    ===Create-Ticket: poreq Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject} Depended-On-By: TOP Queue: Approvals-PO Type: approval Owner: username-of-owner #note this is so that notifications work properly Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money. ENDOFCONTENT
    b) Create the script “Create PO-Req approval”

     Description: Create PO Req approval         Condition: On Create         Action: Create Tickets         Template: Create Approval         Stage: TransactionCreate
    

    c)gave permission to the users who can create tickets under PO-Req

  2. Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets

Now when I create a ticket under PO-Req, in the log it says it is creating ticket in Approvel-PO queue.
But I am unable to find the
tickets
in the DB or under Approvals tab

Can some one tell me what is going
on!!!

Thanks and best Regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Thanks you for the reply

Best Regards

From: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston —
    March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

Now can some one tell me what I am doing wrong, below is my template

===Create-Ticket: poreq
Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject}
Depended-On-By: TOP
Queue: Approvals-PO

This won’t work. You need to use the ___Approvals queue. (Kevin,
my coworker, told you this a while ago.)

Type: approval
Owner: approval@iil.informatics.lk #username-of-owner #note this is so
that notifications work properly

Trailing comments like the above aren’t supported, so RT is trying to
set the Owner to “approval@iil.informatics.lk #username-of-owner #note
this is so that notifications work properly”. That doesn’t work, as you
might imagine.

Thomas

Hi, I have found the solution for the undermentioned issue, it was merely permission issu

hope some one can be helped with my exp (not that is much to what you guys are capable of)

ReagrdsFrom: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Monday, 13 February 2012, 20:08
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi I found why the tickets are not visible in the approvals tab. when a ticket is created for approvals the owner is “nobody” rather than the person who is approving the ticket.

Now can some one tell me what I am doing wrong, below is my template

===Create-Ticket: poreq
Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: approval@iil.informatics.lk #username-of-owner #note this is so that notifications work properly
Content: Someone has created a purchase
requisition. Please review and approve it, so they can spend some money.
ENDOFCONTENT

Thanks and regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Monday, 13 February 2012, 16:28
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, I am sure some one would have got this working, is there any one who can give me some hand in this, though I can see the ticket created by looing up in the logs. Aprovals do not show up in approvals tab?

Thanks

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 19 January 2012, 9:58
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi I am stuck! any help can any one give on this

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi Can any one tell me what I am doing wrong???

Thanks and regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi, the steps which I have taken while trying to setup Approvals as follows

  1. Create queue PO-Qre
    a) Create template “Create Approvals”
    ===Create-Ticket: poreq Subject: Approve purchase order for {$Tickets{‘TOP’}->Subject} Depended-On-By: TOP Queue: Approvals-PO Type: approval Owner: username-of-owner #note this is so that notifications work properly Content: Someone has created a purchase requisition. Please review and approve it, so they can spend some money. ENDOFCONTENT
    b) Create the script “Create PO-Req approval”

     Description: Create PO Req approval         Condition: On Create         Action: Create Tickets         Template: Create Approval         Stage: TransactionCreate
    

    c)gave permission to the users who can create tickets under PO-Req

  2. Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets

Now when I create a ticket under PO-Req, in the log it says it is creating ticket in Approvel-PO queue.
But I am unable to find the
tickets
in the DB or under Approvals tab

Can some one tell me what is going
on!!!

Thanks and best Regards

From: Asanka Gunasekera asanka_gunasekera@yahoo.co.uk
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Thanks you for the reply

Best Regards

From: Kevin Falcone falcone@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1

Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*. You shouldn’t need to copy them anywhere in
order to use Approvals. You’ll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston —
    March 5 & 6, 2012

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012