[rt-users] Renaming lifecycles possible?

Emmanuel Lacour elacour at easter-eggs.com
Wed May 7 09:15:49 EDT 2014


On Wed, May 07, 2014 at 02:51:53PM +0200, Rinke Colen wrote:
> I'm having trouble renaming a lifecycle. I had a lifecycle in use
> called 'indident_mgmt' and I want to rename it to 'incident
> management'. In RT_SiteConfig.pm I canged the following:
> 
> > Set(%Lifecycles,
> >     indident_mgmt => {
> >         initial => [ 'new' ],
> 
> to:
> 
> > Set(%Lifecycles,
> >     'incident management' => {
> >         initial => [ 'new' ],
> 
> After saving the file, I log in as root and open the create new queue
> form. To my surprise the lifecycle dropdown still shows
> 'incident_mgmt' and doesn't show 'incident management'. I didn't
> change the lifecycle of the only queue that used 'incident_mgmt' to
> e.g. 'default' before renaming 'incident_mgmt'.
> 


the proper way is to duplicate your lifecycle, setup transitions, then
restart web server, then go to queue configuration and change lifecycle.

you can after this remove the old one.

another way:

- rename lifecyle in RT_SiteConfig.pm
- rename lifecycle in database (field Lifecycle in Queues table)
- restart web service

;)

-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com



More information about the rt-users mailing list