Hi Jim,

How could you put a debug statement on the script?


-----Original Message-----
From: Jim Brandt [mailto:[email protected]] 
Sent: Friday, May 17, 2013 8:47 PM
To: Thomas Lau
Cc: [email protected]
Subject: Re: [rt-users] Flaws on RT::Extension::RepeatTicket search


>
> I did and it did show up. But the problem is that field only appear 
> when ticket already repeat at least one time, am I correct? For 
> example, now I create a recurrent ticket same month and day in next 
> year, after 3 months and I did a search, OriginalTicket should not 
> create as it haven't been repeat, please clarify if something wrong in 
> my concept. Thanks.

You're correct, the initial ticket doesn't record a link to itself which would 
allow you to search on it. To track down the repeating tickets that haven't 
repeated yet, look at the code in the rt-repeat-ticket script you schedule in 
cron. It looks for all tickets with attribute 'RepeatTicketSettings'. You could 
just put a debug statement in that script to print the ticket id of each 
ticket, then run the script.


-- 
RT Training in Seattle, June 19-20: http://bestpractical.com/training

Reply via email to