Discussion:
How to Customize Bugzilla ticket's time tracking field ?
林育民
2018-07-09 04:02:59 UTC
Permalink
Dear Sir,

Could I to customize Bugzilla ticket's "time tracking field" for create bugs?
maybe I just need two field as "Start time:" & "End Time:".


Thanks a lot!

Best Regards,
Sam
Thorsten Schöning
2018-07-09 09:47:31 UTC
Permalink
Guten Tag 林育民,
Post by 林育民
Could I to customize Bugzilla ticket's "time tracking field" for create bugs?
maybe I just need two field as "Start time:" & "End Time:".
That is not really how time tracking works, as the name says, it's
mainly to track the time individually worked on a bug. "Start time"
normally corresponds to the bug status change date to something like
"Assigned" and is therefore most likely redundant. "End time" is
"Deadline" already.

So you should be more detailed about what you are actually trying to
achieve and afterwards you can decide if it makes sense to customize
time tracking feature ot its forms or whatever. While Bugzilla is able
to customize templates and provide extensions for custom code, that
doesn't mean it make sense to use anything already available and
customize it for some completely different purpose. That only makes
maintanenance a lot harder in the long term.

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
林育民
2018-07-09 10:06:11 UTC
Permalink
Thorsten Schöning於 2018年7月9日星期一 UTC+8下午5時48分11秒寫道:
Post by Thorsten Schöning
Guten Tag 林育民,
Post by 林育民
Could I to customize Bugzilla ticket's "time tracking field" for create bugs?
maybe I just need two field as "Start time:" & "End Time:".
That is not really how time tracking works, as the name says, it's
mainly to track the time individually worked on a bug. "Start time"
normally corresponds to the bug status change date to something like
"Assigned" and is therefore most likely redundant. "End time" is
"Deadline" already.
So you should be more detailed about what you are actually trying to
achieve and afterwards you can decide if it makes sense to customize
time tracking feature ot its forms or whatever. While Bugzilla is able
to customize templates and provide extensions for custom code, that
doesn't mean it make sense to use anything already available and
customize it for some completely different purpose. That only makes
maintanenance a lot harder in the long term.
Mit freundlichen Grüßen,
Thorsten Schöning
--
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Dear Sir,

Thank you for your patience and assistance.

I had already use "Add a new custom field" function to create a "Due date" field,so how could I to hide these fields as below in "create new bug screen"?

1. Alias:
2. URL:
3. Depends on:
4. Blocks:

Thanks a lot!

Best Regards,
Sam
Thorsten Schöning
2018-07-09 10:48:33 UTC
Permalink
Guten Tag 林育民,
Post by 林育民
I had already use "Add a new custom field" function to create a
"Due date" field,
Doesn't sound that much better than the "deadline" field of time
tracking. Remember that once used, custom fields can not easily be
removed anymore, you need to live with them "forever". So be careful
with introducing those as well.
Post by 林育民
so how could I to hide these fields as below in "create new bug screen"?
https://bugzilla.readthedocs.io/en/5.0/integrating/skins.html

It's pretty likely that the same works for hiding all the fileds of
time tracking you are not interested in as well, if "deadline" alone
is sufficient. It's worth a try.

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Loading...