[rt-users] clone ticket- disabling cloning of some fields RT4.0.5

Alex Young AlexYoung at HousingPartners.co.uk
Fri Sep 21 08:56:53 EDT 2012


Thanks, just what I needed.

-----Original Message-----
From: Christian Loos [mailto:cloos at netcologne.de] 
Sent: 21 September 2012 12:49
To: Alex Young
Cc: rt-users at lists.bestpractical.com
Subject: Re: clone ticket- disabling cloning of some fields RT4.0.5

Am 21.09.2012 13:01, schrieb Alex Young:
> Is it possible to disable cloning of the time worked, time estimated, 
> timeleft, priority, owner etc when clicking the 'create' link on a 
> ticket without editing the Create.html page?
> 
> I saw a patch was submitted for 3.8.x in 2009 to make this a 
> configurable option, but it looks like it didn't make it to RT4.
> 

I have recently done this for our RT 4.0.7 but with changing the
Create.html. Attached an patch.

You have to put this in etc/Site_Config.pm:

Set(@SkipFieldsOnTicketClone, qw(
    Owner
    Priority
    TimeEstimated
    TimeWorked
    TimeLeft
    )
);

I will send this within the next days to BPS to maybe integrate this in
RT 4.2.

Chris



More information about the rt-users mailing list