0
votes

Is it possible to require a field to be set on resolution of a ticket? I ran into TracTicketValidatorPlugin, but that's not exactly what I'm looking for b.c. it validates a field for all states. I just want to validate a field for a single state -- closed.

1

1 Answers

1
votes

... it validates a field for all states.

TicketValidatorPlugin validates for the specified states. The following works to require milestone to be nonempty when moving a ticket to closed:

[ticketvalidator]
closed.required = milestone

enter image description here

enter image description here