Closed
Bug 971945
Opened 11 years ago
Closed 11 years ago
Create a discipline field
Categories
(Bugzilla :: Bugzilla-General, defect)
Bugzilla
Bugzilla-General
Tracking
()
RESOLVED
INVALID
People
(Reporter: wpmccormick, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140127194636
Steps to reproduce:
I'm using bugzilla to track issues for machine tool systems that my company builds. I would like to be able have a discipline field. At the moment, we're using the op_sys field for this and we have entries like Electrical; Mechanical; Software; Documentation; Multiple; and All. Having that, and a custom field to select multiple disciplines pretty much gives us the functionality we need, except we would like to be able have independent default assignee's and qa_contact's for each component/discipline pair.
Another possibility might be to create some sort of a 2 or 3 level component hierarchy, with default assignee/qa_contact for each level.
Comment 1•11 years ago
|
||
Adding a custom field is already possible with recent versions of Bugzilla. And having different assignees and qa contacts per component/custom field pairs should be achievable using the extension hooks in Bugzilla. Either was this is a not a bug specific to the bugzilla.mozilla.org site.
Assignee: nobody → general
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Component: General → Bugzilla-General
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Resolution: --- → WORKSFORME
Version: Production → unspecified
Reporter | ||
Comment 2•11 years ago
|
||
I thought as well that I could use a Hook in an extension to make this work, however, once I really got into it I found that the only real way to do this cleanly, it would require some Javascript.
The only Hook I can see that would be useful is the bug_end_of_create_validators. The problem with it is that the classification parameter is deleted before the hook is called. And when I try to set the qa_contact parameter, I get an error telling me I cannot set the parameter:
An unexpected error occurred. This could be a temporary problem, or some code is behaving incorrectly. If this problem persists, please email this page to wpmccormick@fiberiotech.com with details of what you were doing at the time this message appeared.
URL: http://bugzilla.service.fiberiotech.com/post_bug.cgi
qa_contact is not a valid parameter for the Bugzilla::Bug::create function.
Traceback:
at Bugzilla/Object.pm line 479.
Bugzilla::Object::_check_field(...) called at Bugzilla/Object.pm line 542
Bugzilla::Object::insert_create_data(...) called at Bugzilla/Bug.pm line 647
Bugzilla::Bug::create(...) called at /var/www/bugzilla/post_bug.cgi line 129
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
sorry, but we track issues with bugzilla here, and are unable to provide that sort of support.
i suggest posting to the support or developers list.
see http://www.bugzilla.org/support/
note: this installation of bugzilla runs a number of extensions, which you could browser for sample code.
http://bzr.mozilla.org/bmo/4.2/files/head:/extensions/
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•