Modify

Opened 11 years ago

Closed 11 years ago

#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 11 years 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 11 years ago by Ryan J Ollos

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 11 years ago by endquote

Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain falkb.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.