Renaming lifecycles possible?

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’.

I tried to find existing topics in the mailing list and elsewhere by
using the queries ‘rename lifecycle’ and ‘renaming lifecycle’ among
others, but to no avail. Probably I missed something or couldn’t come
up with the right keywords.

My questions are:

  1. Is it possible to rename a lifecycle? And if so, how?
  2. Is it possible to label a lifecycle? (setting the name you see in
    the dropdown on the create queue form)
  3. Out of interest: why do I see the behavior I described?

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

:wink:

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@easter-eggs.com - http://www.easter-eggs.com