Simply copy everything between (and including) the outermost curly braces
in the location where you'd like a comma-separated list of ticket numbers
to appear.
Basically any curly brace construct will be replaced with something else
when the template is evaluated.
On 17 December 2014 at 18:36,
Hi,
There seems to be an error in the code:
This is my complete template
=== CUT HERE ==
Subject: Ordrestatus: { $Ticket-SubjectTag }
Hei,
Her kommer ditt tilbud.
Vennligst behold:
{ $Ticket-SubjectTag }
emnefeltet ved fremtidig korrespodanse i
Sorry, there's a missing closing bracket on the return line. It should be
this:
return join(q{, }, map { #$_ } sort @refers_to_ids);
On 17 December 2014 at 22:38, Thomas Westlund tho...@westlund.no wrote:
Hi,
There seems to be an error in the code:
This is my complete template
Hi again,
Seems like this is the offending line, removing it lets me save the template
without any errors:
return join(q{, }, map { #$_ } sort @refers_to_ids;
--
Thomas
Fra: Thomas Westlund [mailto:tho...@westlund.no]
Sendt: 17. desember 2014 12:39
Til: 'Alex Peters'
Kopi:
Thanx, that did the trick. This is really helpful ;-)
This code only prints related tickets, what if the related object is an Asset?
Is it possible to print the id of that as well?
--
Thomas
Fra: Alex Peters [mailto:a...@peters.net]
Sendt: 17. desember 2014 12:42
Til: Thomas
I personally don't have experience with assets, but hopefully someone else
on the list can assist you with modifying that code to list assets (or give
you code to list them separately).
On 17 December 2014 at 22:56, Thomas Westlund tho...@westlund.no wrote:
Thanx, that did the trick. This is
Hi,
OK, hopefully someone with experience of Asses will reply.
Thanks for the help anyway, this was really useful ;-)
--
Thomas
Fra: Alex Peters [mailto:a...@peters.net]
Sendt: 17. desember 2014 12:59
Til: Thomas Westlund
Kopi: rt-users@lists.bestpractical.com
Emne: Re:
Hi again,
Hmm, seems there might be something wrong or missing with the code
It only prints the ID of the current ticket, I have related two tickets to test
it, it prints its own id two times.
Any tips where to start?
--
Thomas
Fra: Alex Peters [mailto:a...@peters.net]
On Wed, Dec 17, 2014 at 10:45:19AM +1100, Alex Peters wrote:
The One-time Cc list is constructed by collecting all of the addresses
related to all of the ticket's transactions and then removing addresses
belonging to requestors.
Is someone still regularly CC-ing this departed user in new
On Wed, Dec 17, 2014 at 08:55:20AM -0600, k...@rice.edu wrote:
I have is that even for new test tickets created by Email that I send
which definitely does not have the address in question as a Cc, the
address is added as a one-time Cc/Bcc option. :( I tried to find a
commandline script to pull
Hi All
I have created a script which has below command to create a link
$Ticket-AddLink(Type='RefersTo',Target=$pticket_id,RecordTransactiosn=0)
;
When I run the script ReferTo link created, but I got below warning as well.
RT version 4.2.8
And line 149 of 02.pl is exit line.
Any idea?
[85829]
How come this does not work? I've seen some examples of the DependOnBy use
returning a numeric value, but looking at RT documentation, it appears it
should return an array? Basically, I want it to return 1 if there are no child
tickets associated with the current ticket.
if
On Wed, Dec 17, 2014 at 06:11:03PM +, Matt Smith wrote:
How come this does not work? I’ve seen some examples of the “DependOnBy” use
returning a numeric value, but looking at RT documentation, it appears it
should return an array? Basically, I want it to return 1 if there are no
child
I'm not sure either. This was very helpful - thanks for the response!
-Original Message-
From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of
Kevin Falcone
Sent: Wednesday, December 17, 2014 11:15 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users]
I meant to say I want it to return 1 if there are no PARENT tickets to the
current ticket. I would need to use the DependsOn or AllDependsOn, but
I'm not sure how to check the returned array for size.
Working on it.
-Original Message-
From: rt-users
On Wed, Dec 17, 2014 at 11:50:38AM -0500, Kevin Falcone wrote:
On Wed, Dec 17, 2014 at 08:55:20AM -0600, k...@rice.edu wrote:
I have is that even for new test tickets created by Email that I send
which definitely does not have the address in question as a Cc, the
address is added as a
I can't see any obvious problems based on your error messages.
There seems to be a typo in the code. Is that directly copied from your
script?
Have you considered enabling debugging from within your script?
On Thu, 18 Dec 2014 5:04 am Payam Poursaied m...@payam124.com wrote:
Hi All
I have
17 matches
Mail list logo