Version 2 (modified by 16 years ago) (diff) | ,
---|
control ticket submission policy based on field information
Notice: This plugin is unmaintained and available for adoption.
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 here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:ticketsubmitpolicyplugin here].
Source
You can check out TicketSubmitPolicyPlugin from here using Subversion, or 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
- 12712 by rjollos on 2013-03-12 23:00:58
-
Code formatting changes.
- 12711 by rjollos on 2013-03-12 22:51:39
-
Refs #10898:
onsubmit
event was not firing. This appeared to be due to the callback function having the same name as the event.
The dialog now appears, but does not block form submission.
- 12710 by rjollos on 2013-03-12 22:11:56
-
Modified entry point and limited imports.
(more)
Author/Contributors
Originally developed at The Open Planning Project
Author: k0s
Contributors:
Attachments (1)
-
ticketsubmitadminUI.png (59.9 KB) - added by 16 years ago.
the webamin interface for the TicketSubmitPolicyPlugin
Download all attachments as: .zip