Modify ↓
#10896 closed enhancement (wontfix)
Filter the required fields based on ticket type
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | TracTicketValidatorPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Is it possible to filter the mandatory fields based on the ticket_type ?
If not, I have to select all mandatory fields across all ticket types - then when I try to submit a ticket that doesn;t even display that particular field, the UI errors :
i.e :
assigned_to = text '''assigned_to.hide_when_type = EPIC''' assigned_to.label = Assigned To assigned_to.order = 3
# These are the mandatory fields across all tickets
validate_author = true validate_author.tip = Please fill your valid email address validates = assigned_to, description, owner, milestone, reporter, summary
# assigned_to field does not exist for ticket of type EPIC
assigned_to.rule = .* assigned_to.tip = Please assign the ticket to a user description.rule = .* description.tip = Description field must be entered owner.rule = .* owner.tip = The ticket must have an owner selected milestone.rule = [A-Z].* milestone.tip = The planned iteration must be selected reporter.rule = .* reporter.tip = The ticket must have a reporter selected summary.rule = .*(A-Z| ).* summary.tip = Summary field can only contain alpha characters
On submit of ticket of type EPIC, Trac errors saying "Please assign the ticket to a user " even though there is no 'assigned_to' field for that ticket type
Attachments (0)
Change History (4)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
comment:3 Changed 7 years ago by
Owner: | Max Stewart deleted |
---|
comment:4 Changed 7 years ago by
Component: | TicketValidatorPlugin → TracTicketValidatorPlugin |
---|---|
Priority: | high → normal |
Resolution: | → wontfix |
Severity: | major → normal |
Status: | new → closed |
Type: | defect → enhancement |
See #8897 for TicketValidatorPlugin.
Note: See
TracTickets for help on using
tickets.
any news on this ?