Setting Status to Open via Template

Hello All,

I have an update owner change template, but would like to put a line in
there to set the status of the ticket to open. Can someone let me know
how this can be done.

Thanks

Bene

I am curious as to why you want to do this via Template and not via the
easier method using scrip action ??
Roy

Ben Blakely wrote:

I already have a process for owner change, so I might as well just put
it into that template. Its much easier for my deployment.From: Roy El-Hames [mailto:rfh@pipex.net]
Sent: Wednesday, June 28, 2006 12:25 PM
To: Ben Blakely
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Setting Status to Open via Template

I am curious as to why you want to do this via Template and not via the
easier method using scrip action ??
Roy

Ben Blakely wrote:

Hello All,

I have an update owner change template, but would like to put a line
in
there to set the status of the ticket to open. Can someone let me know
how this can be done.

Thanks

Bene


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html

Ben Blakely wrote:

Hello All,

I have an update owner change template, but would like to put a line in
there to set the status of the ticket to open. Can someone let me know
how this can be done.

Damn! Can the list administrator please add a “reply-to” address for
this mailing list so that clicking on “Reply” sends to the list and not
to the sender?! This is my second reply that got sent the wrong
direction. Thanks…

I replied to Ben with:

I think something like this will accomplish what you want, if you embed
it in your template:

{$Ticket->SetStatus(‘open’);}

And he replied to me that it worked fine for him.

Barry

Damn! Can the list administrator please add a “reply-to” address for
this mailing list so that clicking on “Reply” sends to the list and not
to the sender?! This is my second reply that got sent the wrong
direction. Thanks…

The short answer is “no”. The long answer is
http://www.unicom.com/pw/reply-to-harmful.html. At least that has been the
response in the past, and I, for one, want to keep it that way.

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Brilliant article!-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Michael
Liebman
Sent: Wednesday, June 28, 2006 10:55 AM
To: Barry L. Kline
Cc: RT-List Users
Subject: Re: [rt-users] Setting Status to Open via Template

On 6/28/06, Barry L. Kline blkline@attglobal.net wrote:

Damn!  Can the list administrator please add a "reply-to"

address for
this mailing list so that clicking on “Reply” sends to the list
and not
to the sender?! This is my second reply that got sent the wrong

direction.  Thanks...

The short answer is “no”. The long answer is
http://www.unicom.com/pw/reply-to-harmful.html. At least that has been
the response in the past, and I, for one, want to keep it that way.

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Schultz, Eric wrote:

The short answer is “no”. The long answer is
http://www.unicom.com/pw/reply-to-harmful.html. At least that has been
the response in the past, and I, for one, want to keep it that way.

Well, I have been on the net long before the advent of the
world-wide-wait and all I can say is, who says you can’t teach an old
dog a new trick? That was a good article, thanks for the link.

I’m using Thunderbird and didn’t see the “CC:” heading until I asked
TBird to show all headers. Duh!!! . I’ve been so
conditioned by the tons of lists for which I simply click “Reply” that I
completely neglected the “Reply to all” button, which would have done
what I wanted in the first place. Between that and the fact that I had
TBird set to truncate headers, I missed the obvious solution.

Forget I even mentioned the “Reply-to” request. I’ll sit down and shut
up now.

Barry

Schultz, Eric wrote:

[snip]

I’ve been so
conditioned by the tons of lists for which I simply click “Reply” that I
completely neglected the “Reply to all” button

Kmail groks lists, so hitting reply does the Right Thing™: sends to
the list, of course.

Garry T. Williams — 678-656-4579