Modify

#11555 closed enhancement (worksforme)

Make project field required?

Reported by: endquote Owned by: falkb
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

I'd like to make the project field a required field on the new ticket form, returning an error if the form is submitted without a project chosen.

Attachments (0)

Change History (3)

comment:1 Changed 10 months ago by falkb

I'm not sure if this is a good idea. I also have some tickets without projects. Very rare case but not impossible. If I force people to choose a project, that may be too much restriction. Although some will need to force to choose a project. Not sure how to satisfy both sides of the world...

comment:2 Changed 10 months ago by rjollos

You might want to take a look at DynamicFieldsPlugin. It would also be simple enough to write a small plugin that implements ITicketManipulator to enforce a project selection.

comment:3 Changed 10 months ago by endquote

  • Resolution set to worksforme
  • Status changed from new to closed

Thanks jrollos, I was able to get it working using DynamicFieldsPlugin. That seems like a pretty powerful plugin!

As for whether it's a good idea to implement in SMPP -- I guess people's needs are different. For me it should definitely be required, maybe not for others.

Add Comment

Modify Ticket

Action
as closed The owner will remain falkb.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.