How to Customize Bugzilla ticket's time tracking field ?

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
0
UTF
7/9/2018 4:02:59 AM
mozilla.support.bugzilla 10016 articles. 0 followers. Post Follow

3 Replies
54 Views

Similar Articles

[PageSpeed] 20

Guten Tag =E6=9E=97=E8=82=B2=E6=B0=91,
am Montag, 9. Juli 2018 um 06:02 schrieben Sie:

> Could I to customize Bugzilla ticket's "time tracking field" for create b=
ugs?
> 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=C3=BC=C3=9Fen,

Thorsten Sch=C3=B6ning

--=20
Thorsten Sch=C3=B6ning       E-Mail: Thorsten.Schoening@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=C3=A4ftsf=C3=BChrer: Andreas Muchow

0
utf
7/9/2018 9:47:31 AM
Thorsten Sch=C3=B6ning=E6=96=BC 2018=E5=B9=B47=E6=9C=889=E6=97=A5=E6=98=9F=
=E6=9C=9F=E4=B8=80 UTC+8=E4=B8=8B=E5=8D=885=E6=99=8248=E5=88=8611=E7=A7=92=
=E5=AF=AB=E9=81=93=EF=BC=9A
> Guten Tag =E6=9E=97=E8=82=B2=E6=B0=91,
> am Montag, 9. Juli 2018 um 06:02 schrieben Sie:
>=20
> > Could I to customize Bugzilla ticket's "time tracking field" for create=
 bugs?
> > maybe I just need two field as "Start time:" & "End Time:".
>=20
> 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.
>=20
> 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.
>=20
> Mit freundlichen Gr=C3=BC=C3=9Fen,
>=20
> Thorsten Sch=C3=B6ning
>=20
> --=20
> Thorsten Sch=C3=B6ning       E-Mail: Thorsten.Schoening@AM-SoFT.de
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>=20
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>=20
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow

Dear Sir,=20

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 scree=
n"?

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

Thanks a lot!=20

Best Regards,=20
Sam
0
UTF
7/9/2018 10:06:11 AM
Guten Tag =E6=9E=97=E8=82=B2=E6=B0=91,
am Montag, 9. Juli 2018 um 12:06 schrieben Sie:

> 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.

> 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=C3=BC=C3=9Fen,

Thorsten Sch=C3=B6ning

--=20
Thorsten Sch=C3=B6ning       E-Mail: Thorsten.Schoening@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=C3=A4ftsf=C3=BChrer: Andreas Muchow

0
utf
7/9/2018 10:48:33 AM
Reply: