Changes between Version 4 and Version 5 of TicketSubmitPolicyPlugin
- Timestamp:
- Jun 12, 2008, 9:40:05 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketSubmitPolicyPlugin
v4 v5 1 1 [[Include(source:ticketsubmitpolicyplugin/0.11/README.txt, text/x-trac-wiki)]] 2 3 = control ticket submission policy based on field information =4 5 == Description ==6 7 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.8 2 9 3 == Bugs/Feature Requests == … … 23 17 You can check out TicketSubmitPolicyPlugin from [http://trac-hacks.org/svn/ticketsubmitpolicyplugin here] using Subversion, or [source:ticketsubmitpolicyplugin browse the source] with Trac. 24 18 25 == Example ==26 27 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:28 29 {{{30 [ticket-submit-policy]31 policy1.condition = type != defect32 policy1.excludes = version33 policy2.condition = type == defect34 policy2.requires = version35 }}}36 37 19 == Recent Changes == 38 20