information regarding ticket_custom

0 views
Skip to first unread message

Vishal

unread,
Jan 29, 2010, 8:11:27 AM1/29/10
to Trac Users
Hello,

I would like to use TRAC in one of my projects as a project management
system.
In that sense, there is a need to create multiple custom fields for
tickets. As I saw in the docs, this is possible by editing the
trac.ini, which i did and could see the corresponding changes.
However, the option list for some of these fields could be "very" long
and option names may be really big. Hence. I am looking for a way of
not using the INI and instead send all this data to the trac.db.

Interestingly, on polling trac.db, using sqlite command line
interface, none of these options actually end up in the
database...they are solely in the INI.

is there a way to avoid this and send all this data to trac.db?

Any pointers would be highly apprecaited.

Thanks and best regards,
Vishal Sapre

osimons

unread,
Jan 29, 2010, 8:50:35 AM1/29/10
to Trac Users

Nope, no way around that the way ticket fields currently works. Custom
fields don't become part of the database model, they just get
registered on tickets and as changes.

I can (shamelessly) recommend my plugin that makes administration
slightly easier, and that mimics the way other Ticket meta-information
in Trac can be configured by project/ticket administrators - it
provides a webadmin interface to the trac.ini changes:

http://trac-hacks.org/wiki/CustomFieldAdminPlugin

:::simon

https://www.coderesort.com
http://www.ohloh.net/accounts/osimons

CM Lubinski

unread,
Jan 29, 2010, 9:44:09 AM1/29/10
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I can (shamelessly) recommend my plugin that makes administration
> slightly easier, and that mimics the way other Ticket meta-information
> in Trac can be configured by project/ticket administrators - it
> provides a webadmin interface to the trac.ini changes:
>
> http://trac-hacks.org/wiki/CustomFieldAdminPlugin

I've found the CustomSelectAdminPlugin [1] to be very useful for select
custom fields. This plugin really integrates the fields into the admin
UI so that they look no different than priorities, components, etc.

CM Lubinski

[1] http://trac-hacks.org/wiki/CustomSelectAdminPlugin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkti9DAACgkQfzi1OiZiJLCbOQCfcZE/urUjYf8hxRouAVL33RcL
o08An3j1tclqa8ldmC5ZKO6C8K4hjtWT
=2klQ
-----END PGP SIGNATURE-----

Matthew Carlson

unread,
Jan 29, 2010, 11:47:47 AM1/29/10
to Trac Users

> I can (shamelessly) recommend my plugin that makes administration
> slightly easier, and that mimics the way other Ticket meta-information
> in Trac can be configured by project/ticket administrators - it
> provides a webadmin interface to the trac.ini changes:
>
> http://trac-hacks.org/wiki/CustomFieldAdminPlugin
>
> :::simon

I just wanted to say thank you for such a useful plugin. We use it on
all of our Trac systems, and as our sole Trac administrator, I can say
that it's plugins like this that make Trac such a pleasure to use and
manage (ok, well I think Edgewall deserves credit for such a well-
designed product). Thanks for helping out the community. And thanks
to all of the Trac plugin writers.

Reply all
Reply to author
Forward
0 new messages