#168: Include milestone field in quick create ticket form
--------------------------+------------------------------------------------
Reporter: olemis | Owner: nobody
Type: enhancement | Status: new
Priority: major | Milestone:
Component: ui design | Version:
Resolution: | Keywords: quick create ticket fields starter
--------------------------+------------------------------------------------
Comment (by rjollos):
''If'' milestone is added to the quick create form, n I agree with
comment:12 by gjm that it should only be shown if the user has
`MILESTONE_VIEW` permission. If the user doesn't have `MILESTONE_VIEW`,
then the select will be shown with no options, and it is useless
(trac:#8778 is related). Very recently I considered opening tickets
against Trac and Bloodhound suggesting that we hide the select when it
doesn't have any options, so after giving that some more thought I opened
trac:#10984 and provided a patch.
My preference is that the quick create does not have a milestone field
because I like it to be centered around issue reporting, not issue
scheduling, but as others mentioned this is going to be based on user
preference. Therefore, we could start by allowing the administrator to set
the default fields though a `trac.ini` option (as suggested in comment:2),
and later extend the behavior with a user preference that is stored in the
session data. I worked up a [attachment:t168-r1422184-1.patch quick patch]
to implement this behavior.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/168#comment:15>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker