Help Desk Software & Beyond
May 22, 2012, 12:11:51 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [REQ] Posting data from a "closed" ticket to a follow up ticket  (Read 1643 times)
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« on: February 12, 2008, 11:01:12 AM »

Hello,

Is this possible? ....in TTXTicket.pm at line 1195 is the code for the follow up msg

  }
  if ($query->param('do') && $t->{status} eq 'CLS' && !$isoper) {
    $query->param(-name => 'email', -value => $t->{email});
    $query->param(-name => 'name', -value => $t->{name});
    $query->param(-name => 'subject', -value => $t->{subject});
    $query->param(-name => 'problem', -value => TTXDictionary::translate('Posted as a followup to the closed Service Request').' #'.$t->{id}.
                                                ".\n\n".$query->param('problem'));
    return 'newticket';
  }

I think after line 1202 I can add a similar line to display the data from the closed ticket

$query->param(-name => 'Ticket', -value => $t->{ticket});   < --- NOT ACTUAL CODE

am I on to something here Huh



« Last Edit: February 12, 2008, 11:53:34 AM by sparky672 » Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: February 12, 2008, 11:13:31 AM »

You want to post the entire contents of a closed ticket into a different or new ticket?

I'm afraid this is not as simple as adding a line or two of code.  Essentially, what's required to do this is very similar to my Ticket Merge modification.   Shocked

The code you quoted is just something simple that takes the input form from the ticket page and creates a new ticket instead of appending the old.  To duplicate all the old messages into the new ticket would be essentially the same result as just re-opening the closed ticket which is a much simpler thing to do.  I'm doing that in my system.

Instead of creating a new ticket when a customer responds, which can get annoying when they just want to say "thanks", I just automatically re-open the ticket.  I have a yellow warning banner which lets them know ahead of time that responding to the closed ticket will re-open it.  I've found this to be much easier than dealing with new tickets that sometimes are meaningless.
« Last Edit: February 12, 2008, 11:59:05 AM by sparky672 » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #2 on: February 20, 2008, 11:12:47 AM »

Has your issue been resolved?   Huh
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« Reply #3 on: February 21, 2008, 09:12:31 AM »

Sorry ...I've been away on vacation .....

Yes ...kinda ... I reviewed the Ticket Merge Mod and that basically what I need ..... I downloaded it but haven't installed it yet ..... Sorry for the delay in my response

Cheers Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.021 seconds with 18 queries.