On Monday, March 18, 2013 9:25:07 AM UTC-7, Clemens Feige wrote: > > Hello. > > How can I force or motivate users to fill in drop down fields when > creating a new ticket. Users shall not just blindly accept the default > values? > > When new tickets are created in our TRAC 0.11.2 repos many users forget > to set some drop down fields e.g. "type", "priority" and so on. TRAC > handles this by using the field default values. While this basically a > good idea (for example a "type" is mandatory), there is still a high > chance that the value of the field is wrong. > > I would like to refuse new ticket creation until the user has actively > filled in the fields. > > My only idea is to create a "dummy" value as default. Then I would > globally search for tickets with "dummy" field values and then blame and > educate the responsible user. Any better ideas? >
There are various plugins on trac-hacks that will allow you to accomplish this client- or server- side. For example, see: http://trac-hacks.org/wiki/DynamicFieldsPlugin#Validaterule http://trac-hacks.org/wiki/TicketValidatorPlugin http://trac-hacks.org/wiki/TicketSubmitPolicyPlugin The last is broken, and I recently made a brief attempt to get it working, but there are other similar plugins. There are probably too many for that matter; we should combine them into one super-validator plugin ;) You'll probably have an easier time to get them working if you upgrade your Trac instance to at least 0.12. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
