Custom Lifecycle and My Tickets

Hello,

After setting up a custom Lifecycle I noticed that my tickets stopped appearing in My Tickets widget on the homepage. After some digging, I found out that the My Tickets search in etc/initialdata contains the following line:

Query => " Owner = ‘CurrentUser’ AND ( Status = ‘new’ OR Status = ‘open’ )

As my new lifecycle does not have ‘open’ status, of course the tickets do not show in the search. I edited the initialdata file and run rt-setup-database --action insert and as far as I can see, the database is updated: when I do Base64 decode on the storable field in the table Attributes, I can see my updated query. However, the My Tickets search still does not work and the query string there has its default initial value. Is there a way to change it? I know I can add saved search to dashboard, but I would like this to work for every user “out of the box”.

Best regards,

Martin
Martin Klima, Warhorse Studios
web: http://www.warhorsestudios.cz

Hello,

After setting up a custom Lifecycle I noticed that my tickets stopped appearing in My Tickets widget on the homepage. After some digging, I found out that the My Tickets search in etc/initialdata contains the following line:

Query => " Owner = ‘CurrentUser’ AND ( Status = ‘new’ OR Status = ‘open’ )

As my new lifecycle does not have ‘open’ status, of course the tickets do not show in the search. I edited the initialdata file and run rt-setup-database --action insert and as far as I can see, the database is updated: when I do Base64 decode on the storable field in the table Attributes, I can see my updated query. However, the My Tickets search still does not work and the query string there has its default initial value. Is there a way to change it? I know I can add saved search to dashboard, but I would like this to work for every user “out of the box”.

Log in as root, click on the Edit link in the upper righthand corner
of My Tickets, click on edit the saved search, edit the search, save
the search.

This only works for users who haven’t hacked up My Tickets already.

And yes, we all want Active but nobody’s had time to hack in the
magic (easy) and test (harder). We have ~5 lifecycles in our main RT
and some of them have long status names, so we feel your pain.

-kevin

Log in as root, click on the Edit link in the upper righthand corner of My Tickets,
click on edit the saved search, edit the search, save the search.

How very stupid of me not to notice that. You are a lifesaver, Kevin.

This only works for users who haven’t hacked up My Tickets already.

Fortunately, I was not beyond redemption yet and it worked for me.

And yes, we all want Active but nobody’s had time to hack in the magic (easy)
and test (harder). We have ~5 lifecycles in our main RT and some of them
have long status names, so we feel your pain.

Yes, that would be great. Thanks for your help anyway, we only have one custom lifecycle so far, so we can live with it.

Cheers,

Martin