Skip Menu |

This queue is for tickets about the RT-Extension-RepeatTicket CPAN distribution.

Report information
The Basics
Id: 84784
Status: resolved
Priority: 0/
Queue: RT-Extension-RepeatTicket

People
Owner: Nobody in particular
Requestors: bart [...] pleh.info
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Question about ticket custom fields of repeated tickets
Date: Mon, 22 Apr 2013 11:14:22 +0200
To: bug-RT-Extension-RepeatTicket [...] rt.cpan.org
From: Bart <bart [...] pleh.info>
Hi, We're looking into implementing this extension but are currently missing two options which we'd like to have as an extra so that this feature becomes even more powerfull. One option is about the other question which is already posted here, to have the ability to add a date or some other extra information to the subject which is variable. This would be a very welcome feature. In our case we'de use this for making SLA reports for external end-users, e.g. have a ticket being created each month and in the subject add the month for which they need to create a report (current month - 1). Another thing we'de like to see is that the ticket also take the custom field values of the original template ticket. In just about all cases (for us at least) the ticket will be categorized using the same CF values. Having the option to say which CF's to copy the values from (or all), would be a very welcome feature. So basically my question regarding the CF's would be, can this already be done using this extension, or would this have to be done by adding new functionality to the extension? -- Bart G.
On Mon Apr 22 05:14:35 2013, bart@pleh.info wrote: Show quoted text
> Hi, > > We're looking into implementing this extension but are currently missing > two options which we'd like to have as an extra so that this feature > becomes even more powerfull. > > One option is about the other question which is already posted here, to > have the ability to add a date or some other extra information to the > subject which is variable. This would be a very welcome feature. In our > case we'de use this for making SLA reports for external end-users, e.g. > have a ticket being created each month and in the subject add the month for > which they need to create a report (current month - 1). > > Another thing we'de like to see is that the ticket also take the custom > field values of the original template ticket. In just about all cases (for > us at least) the ticket will be categorized using the same CF values. > Having the option to say which CF's to copy the values from (or all), would > be a very welcome feature. > > So basically my question regarding the CF's would be, can this already be > done using this extension, or would this have to be done by adding new > functionality to the extension? >
Custom fields should already be handled in repeated tickets. As you mentioned, we're still thinking about the best way to tackle customizing the subject line. No question it's a good feature, but it gets more challenging when thinking about how to allow you to configure something like (month - 1).
Subject: Re: [rt.cpan.org #84784] Question about ticket custom fields of repeated tickets
Date: Thu, 2 May 2013 13:10:46 +0200
To: bug-RT-Extension-RepeatTicket [...] rt.cpan.org
From: Bart <bart [...] pleh.info>
Hi Jim, Sorry for taking so long to reply. I've done some extra testing regarding the custom fields, but I'm afraid that in our test installation no custom fields are taken toward the new ticket. We're running RT 4.0.10 in our testing environment, with version 0.03 of the RepeatTicket extension. Below the options I've set in my RT_SiteConfig.pm, along with a list of the other extensions that are installed: # --- # RT Extensions # --- Set(@Plugins, qw( RT::Extension::SLA RT::Extension::HistoryFilter RT::Extension::MergeUsers RT::Authen::ExternalAuth RT::Extension::Nagios RT::Extension::QueueChangeOnUpdate RT::Extension::CustomFieldsOnUpdate RT::Extension::CustomField::HideEmptyValues RT::Extension::JSGantt RT::Extension::RepliesToResolved RT::Extension::SummaryByUser RT::Extension::RepeatTicket RT::Extension::Utils RTx::Calendar RTx::WorkflowBuilder RT::Extension::CommandByMail )); # --- # RT::Extension::RepeatTicket # --- Set( $RepeatTicketCoexistentNumber, 1 ); Set( $RepeatTicketLeadTime, 14 ); What I've done is create 1 ticket with a subject, custom text for the first message and set a few custom fields to categorize the ticket using our CF's for that queue. Then I manually run the cron command (it also fails whtn it runs via cron, I just run it manually to quickly do some tests): # /etc/cron.daily/rt-repeat-ticket [Thu May 2 10:45:50 2013] [info]: Repeating ticket 40948 (/etc/cron.daily/rt-repeat-ticket:38) [Thu May 2 10:45:50 2013] [info]: Repeating ticket 41791 (/etc/cron.daily/rt-repeat-ticket:38) [Thu May 2 10:45:50 2013] [info]: Repeating ticket 41796 (/etc/cron.daily/rt-repeat-ticket:38) [Thu May 2 10:45:50 2013] [info]: Ticket 41803 created in queue 'Projecten' by RT_System (/opt/rt4/lib/RT/Ticket.pm:688) [Thu May 2 10:45:51 2013] [info]: Repeated ticket 41796: 41803 (/opt/rt4/local/plugins/RT-Extension-RepeatTicket/lib/RT/Extension/RepeatTicket.pm:416) [Thu May 2 10:45:51 2013] [info]: Repeated ticket 41796: 41803 (/etc/cron.daily/rt-repeat-ticket:41) In the beginning I got some extra messages from certain scrips, I've disabled those to make the output as clean as possible. The result is the above, which simply states that it created one ticket which is what I'd expect. But, regardless of what I try to achieve, the custom fields are always empty. This might be a bug (if what you say is true about CF's already being handled), how should I tackle this/generate more detailed output to pinpount the problem? -- Bart G. 2013/4/25 Jim Brandt via RT <bug-RT-Extension-RepeatTicket@rt.cpan.org> Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84784 > > > On Mon Apr 22 05:14:35 2013, bart@pleh.info wrote:
> > Hi, > > > > We're looking into implementing this extension but are currently missing > > two options which we'd like to have as an extra so that this feature > > becomes even more powerfull. > > > > One option is about the other question which is already posted here, to > > have the ability to add a date or some other extra information to the > > subject which is variable. This would be a very welcome feature. In our > > case we'de use this for making SLA reports for external end-users, e.g. > > have a ticket being created each month and in the subject add the month
> for
> > which they need to create a report (current month - 1). > > > > Another thing we'de like to see is that the ticket also take the custom > > field values of the original template ticket. In just about all cases
> (for
> > us at least) the ticket will be categorized using the same CF values. > > Having the option to say which CF's to copy the values from (or all),
> would
> > be a very welcome feature. > > > > So basically my question regarding the CF's would be, can this already be > > done using this extension, or would this have to be done by adding new > > functionality to the extension? > >
> > Custom fields should already be handled in repeated tickets. As you > mentioned, we're still thinking about the best way to tackle customizing > the subject line. No question it's a good feature, but it gets more > challenging when thinking about how to allow you to configure something > like (month - 1). > > >
Show quoted text
> > But, regardless of what I try to achieve, the custom fields are always > empty. > > This might be a bug (if what you say is true about CF's already being > handled), how should I tackle this/generate more detailed output to > pinpount the problem? > >
When I get some time, I'll do some additional testing with the info you've provided in mind. If I can't reproduce what you're seeing, then you'll need to dig deeper. However, it may be a bit before I have time to look at this.
I uploaded a new version of RT::Extension::RepeatTicket with a fix for the custom field bug you reported. Give it a try when you get a chance and let me know if it's working as expected now.
Subject: Re: [rt.cpan.org #84784] Question about ticket custom fields of repeated tickets
Date: Thu, 4 Jul 2013 14:28:01 +0200
To: bug-RT-Extension-RepeatTicket [...] rt.cpan.org
From: Bart <bart [...] pleh.info>
Hi Jim Thanks for the reply. I'll fire up our test environment and initiate the update. I'll let you know what my findings are. 2013/7/3 Jim Brandt via RT <bug-RT-Extension-RepeatTicket@rt.cpan.org> Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84784 > > > I uploaded a new version of RT::Extension::RepeatTicket with a fix for the > custom field bug you reported. Give it a try when you get a chance and let > me know if it's working as expected now. >
-- Bart G.
Subject: Re: [rt.cpan.org #84784] Question about ticket custom fields of repeated tickets
Date: Thu, 4 Jul 2013 14:40:28 +0200
To: bug-RT-Extension-RepeatTicket [...] rt.cpan.org
From: Bart <bart [...] pleh.info>
An initial test with a new ticket repeating itself reproduced all custom fields :) Also, existing tickets repeated themselves including the custom fields. Looks like this issue is indeed resolved in versio 0.04, this will allow me to poke a few people so that we can start using this extension in production :) Thanks for the update!! 2013/7/4 Bart <bart@pleh.info> Show quoted text
> Hi Jim > > Thanks for the reply. I'll fire up our test environment and initiate the > update. > > I'll let you know what my findings are. > > > > 2013/7/3 Jim Brandt via RT <bug-RT-Extension-RepeatTicket@rt.cpan.org> >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=84784 > >> >> I uploaded a new version of RT::Extension::RepeatTicket with a fix for >> the custom field bug you reported. Give it a try when you get a chance and >> let me know if it's working as expected now. >>
> > > > -- > Bart G. >
-- Bart G.