Modify ↓
Opened 11 years ago
Closed 5 years ago
#11352 closed enhancement (wontfix)
Please include more documentation
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Component: | DynamicFieldsPlugin |
Severity: | trivial | Keywords: | documentation |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Hello,
I am trying to use
invalid_if
,invalid_when
and I don't quite understand how it works. It would be really great to have more verbose documentation on the subject.
Example of what I want to do; I want to restrict users adding hours (by increment of the hours field) to a task ticket when the estimated_hours
field is zero.
TIA
Attachments (0)
Change History (4)
comment:1 Changed 11 years ago by
Type: | defect → enhancement |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 6 years ago by
Owner: | Rob Guttman deleted |
---|
comment:4 Changed 5 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Two options for this narrow use-case:
- Implement server-side validation in
ITicketManipulator
. - Extend DynamicFieldsPlugin with a new
Rule
. SeeIRule
interface in dynamicfieldsplugin/trunk/dynfields/rules.py.
Note: See
TracTickets for help on using
tickets.
Replying to javierurien@…:
It appears this is not yet supported. It might look something like: