= control ticket submission policy based on field information = == Description == The TicketSubmitPolicyPlugin allows control of ticket submission based on fields and their values. Actions are configurable via an extension point, ITicketSubmitPolicy. Javascript is used to enforce the policy without leaving the page. == Bugs/Feature Requests == Existing bugs and feature requests for TicketSubmitPolicyPlugin are [report:9?COMPONENT=TicketSubmitPolicyPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TicketSubmitPolicyPlugin&owner=k0s new ticket]. == Download == Download the zipped source from [download:ticketsubmitpolicyplugin here]. == Source == You can check out TicketSubmitPolicyPlugin from [http://trac-hacks.org/svn/ticketsubmitpolicyplugin here] using Subversion, or [source:ticketsubmitpolicyplugin browse the source] with Trac. == Example == The following section in trac.ini excludes the version field excludes the version field if the type is not a defect and requires a version that is not blank if the type is a defect: {{{ [ticket-submit-policy] policy1.condition = type != defect policy1.excludes = version policy2.condition = type == defect policy2.requires = version }}} == Recent Changes == [[ChangeLog(ticketsubmitpolicyplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:k0s] [[BR]] '''Contributors:'''