Changes between Initial Version and Version 1 of TicketSubmitPolicyPlugin


Ignore:
Timestamp:
Jun 3, 2008, 5:00:54 AM (16 years ago)
Author:
Jeff Hammel
Comment:

New hack TicketSubmitPolicyPlugin, created by k0s

Legend:

Unmodified
Added
Removed
Modified
  • TicketSubmitPolicyPlugin

    v1 v1  
     1= control ticket submission policy based on field information =
     2
     3== Description ==
     4
     5The 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.
     6
     7== Bugs/Feature Requests ==
     8
     9Existing bugs and feature requests for TicketSubmitPolicyPlugin are
     10[report:9?COMPONENT=TicketSubmitPolicyPlugin here].
     11
     12If you have any issues, create a
     13[http://trac-hacks.org/newticket?component=TicketSubmitPolicyPlugin&owner=k0s new ticket].
     14
     15== Download ==
     16
     17Download the zipped source from [download:ticketsubmitpolicyplugin here].
     18
     19== Source ==
     20
     21You can check out TicketSubmitPolicyPlugin from [http://trac-hacks.org/svn/ticketsubmitpolicyplugin here] using Subversion, or [source:ticketsubmitpolicyplugin browse the source] with Trac.
     22
     23== Example ==
     24
     25The 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:
     26
     27{{{
     28[ticket-submit-policy]
     29policy1.condition = type != defect
     30policy1.excludes = version
     31policy2.condition = type == defect
     32policy2.requires = version
     33}}}
     34
     35== Recent Changes ==
     36
     37[[ChangeLog(ticketsubmitpolicyplugin, 3)]]
     38
     39== Author/Contributors ==
     40
     41'''Author:''' [wiki:k0s] [[BR]]
     42'''Contributors:'''