Page 1 of 3

"Time tracking" on Mantis 2.0 ??

Posted: 28 Nov 2016, 14:27
by didaquis
Hi.
I would like to know if "Time tracking" function works correctly in the new version 2.0.
I have seen by default this function is disabled and I used the documentation for activate (https://www.mantisbt.org/manual/admin.p ... cking.html), but I'm not sure if this function is supported officially.

Can anyone give me some information?

Thank you!

Re: "Time tracking" on Mantis 2.0 ??

Posted: 28 Nov 2016, 14:37
by atrol
Time Tracking should work in Mantis 2.0.x (keep in mind that 2.0.0 stable has not been officially released yet)
Enter a bug report if you should find any issue at http://www.mantisbt.org/bugs

BTW, you should use the manual that comes with Mantis 2.0 (WIP, it's still nearly the same wthat we have for 1.3) .
The link you provided goes to an outdated 1.2.x documentation.

Re: "Time tracking" on Mantis 2.0 ??

Posted: 28 Nov 2016, 20:14
by didaquis
Hi, thanks for your help.

In the documentation of 1.3 version you can reed "This is currently a work in progress." when talk about Time Tracking. https://www.mantisbt.org/docs/master-1. ... metracking and http://www.mantisbt.org/wiki/doku.php/m ... issue:4428

This is what makes me doubt. Does it really work properly?

Re: "Time tracking" on Mantis 2.0 ??

Posted: 29 Nov 2016, 07:35
by atrol
didaquis wrote:you can reed "This is currently a work in progress."
This is outdated information which needs to be fixed.
http://www.mantisbt.org/bugs/view.php?id=4428 is set to closed/fixed, which means that it has been implemented.
didaquis wrote:Does it really work properly?
I don't use it myself, but I think it should work.
I found that time tracking has been announced as deprecated http://www.mantisbt.org/blog/?p=443
I am a bit astonished about that, as there are some bigger Mantis installations that use Time Tracking.

I will discuss it with other Mantis developers and will let you know the results.

Re: "Time tracking" on Mantis 2.0 ??

Posted: 29 Nov 2016, 07:42
by didaquis
atrol wrote: I found that time tracking has been announced as deprecated http://www.mantisbt.org/blog/?p=443
I am a bit astonished about that, as there are some bigger Mantis installations that use Time Tracking.

I will discuss it with other Mantis developers and will let you know the results.
I appreciate your help.

If Time tracking still deprecated, our company maybe will not use Mantis anymore. It's a shame, we've used this tool for years!

Re: "Time tracking" on Mantis 2.0 ??

Posted: 03 Dec 2016, 16:57
by atrol
I opened https://www.mantisbt.org/bugs/view.php?id=22004 to track the documentation issue.

One of the core developers is very interested in keeping Time Tracking, thus it will hardly be removed in future.

Re: "Time tracking" on Mantis 2.0 ??

Posted: 05 Dec 2016, 14:16
by didaquis
Thank you!

Re: "Time tracking" on Mantis 2.0 ??

Posted: 02 Jan 2017, 11:43
by didaquis
I'm reading the official announcement of MantisBT 2.0 and Victor Boctor wrote about function "Time Tracking".
Seems like is marked how "deprecated".

:?

Re: "Time tracking" on Mantis 2.0 ??

Posted: 02 Jan 2017, 12:55
by atrol
Seems Victor just copy/pasted old announcement and forgot to remove deprecation of time tracking.
I asked him to change the blog.

Re: "Time tracking" on Mantis 2.0 ??

Posted: 02 Jan 2017, 22:34
by atrol

Re: "Time tracking" on Mantis 2.0 ??

Posted: 03 Jan 2017, 10:03
by didaquis
Thank you!

Re: "Time tracking" on Mantis 2.0 ??

Posted: 03 Feb 2017, 09:31
by didaquis
malika wrote:Can we track time again? Actually I want to track time on Mantis 2.0

Yes! You need activate this option. On your config_inc.php file add this line:

Code: Select all

$g_time_tracking_enabled = ON;

Re: "Time tracking" on Mantis 2.0 ??

Posted: 09 Feb 2017, 11:27
by epenet
Hello,

I too have enabled the time tracking on 2.1.0. It was indeed as simple as amending the config_inc.php to set $g_time_tracking_enabled = ON;

However, I have a need for two features:
1. ability to set the date of the work (eg. I worked 4 hours YESTERDAY on this issue.)
2. ability to set a custom tracking field (eg. research, dev, testing...)

Is this available as part of the time tracker? or maybe as part of the main application?

Thank you!
epenet

Re: "Time tracking" on Mantis 2.0 ??

Posted: 09 Feb 2017, 15:50
by didaquis
epenet wrote: Is this available as part of the time tracker? or maybe as part of the main application?
I think, you will need to develop a plugin for that.

Re: "Time tracking" on Mantis 2.0 ??

Posted: 13 Feb 2017, 08:40
by epenet
I started to look at this plugin: https://github.com/mantisbt-plugins/timetracking

I was able to amend for Mantis 2.1.0, and now have an input form with date and two free text fields (category + comment).

I still wonder if this wouldn't benefit the "core" product though...