Community
Participate
Working Groups
XPlanner tasks in Mylyn show actual time already spent on a task as a read only field, however it would be useful to have this time be retrieved from Mylyn time tracking and/or the user just be able to enter the time they want to save in the task, and for the user top have the option to save that time back into XPlanner. The optional aspect should be there for people that don't want the actual time tracking.
Created attachment 80298 [details] Patch allowing specifying actual time in a single XPlanner Editor field This is only one solution to the problem. The next step is to connect Mylyn's time tracking to the actual time storage in XPlanner.
Created attachment 80299 [details] mylyn/context/zip
Patch applied, ip log updated.
Thoughts for synchronization with Mylyn planning: 1. (probably obvious) If a connector supports estimated time/actual time settings, the Connector implementation should set these in Mylyn's planning for the task when the Mylyn task is first created for the connector task -- or if the connector supports only start/finish dates, these should be coordinated also. 2. I think there should be a checkbox in the editor (again, if time tracking is applicable to the connector) that would indicate whether the user wants actual time to be tracked by Mylyn automatically and set in the connector task, or whether the user will do it themselves manually -- using settings on the custom editor page for the connector -- big brother would be an option. 3. In XPlanner's case, as I mentioned, time is traced using time records that can be added multiple times until the task is finished. I am not sure how other systems track time, but I imagine, as you said also, some use a records implementation, and others have just a set "actual time" setting that can be modified. I am not sure whether it's worth actually displaying the time sections in record format on the custom editor page, since it would already be available in the planning page, and I don't think it's worth duplicating data. I think actual time should just automatically be updated (if user chooses option suggested in #2 above) and saved when the task is written back into the connector repository.
Using Mylyn's time tracking aspect of the solution is being tracked in bug 211101