Project

General

Profile

How to make estimated hours to required field?

Added by Erik Hetenyi over 13 years ago

Hello

When I'm creating new issues I wanted to make the following fields to required:

-estimated hours
-due date
-start date

Someone could tell me where and what I have to modify to get this?

Thanks in advance

Regards
Erik Hetényi


Replies (2)

RE: How to make estimated hours to required field? - Added by Jon Gambino over 13 years ago

I would love to know how to do this as well. Specifically the "due-date" and to add one: I need to know how to add "Assigned To" as a required field.

It seems that just changing the line in app/models/issues.rb from

validates_presence_of :subject, :priority, :project, :tracker, :author, :status

to
validates_presence_of :subject, :priority, :project, :tracker, :author, :status, :assigned_to, :due_date

Doesn't seem to do it.

    (1-2/2)