Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 168333

Summary: [activity] link repository fields to task fields
Product: z_Archived Reporter: Missing name <soloturn>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P4 CC: joker806, jtk499, mtl010957, NaftoliGug, roland
Version: 3.6Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 212108    
Attachments:
Description Flags
see comment #6
none
see comment #6
none
see comment #6 none

Description Missing name CLA 2006-12-16 13:19:17 EST
it would be helpful if personal fields could be linked to central repository fields too. e.g the trac plugin http://trac-hacks.org/wiki/TimingAndEstimationPlugin has effort fields, the milestone attached to a trac ticket gives the date when it should be fixed.
Comment 1 Steffen Pingel CLA 2006-12-20 13:19:39 EST
Linking custom fields sounds like a very useful feature indeed. It would also be nice to synchronize the active time recorded by Mylar. 

Would you be interested in providing a patch?
Comment 2 Mik Kersten CLA 2007-03-15 21:10:34 EDT
This is related to bug 173880, and it is likely that we will eventually want this as API.
Comment 3 Mik Kersten CLA 2007-12-06 15:43:09 EST
Tentatively scheduling for 3.0.
Comment 4 Steffen Pingel CLA 2010-05-02 16:55:35 EDT
*** Bug 311316 has been marked as a duplicate of this bug. ***
Comment 5 Naftoli Gugenheim CLA 2010-05-02 20:00:48 EDT
Would be great to sync with TracHours!!
Comment 6 Roland Hautz CLA 2011-05-19 01:26:02 EDT
(In reply to comment #0)
> it would be helpful if personal fields could be linked to central repository
> fields too. e.g the trac plugin
> http://trac-hacks.org/wiki/TimingAndEstimationPlugin has effort fields, the
> milestone attached to a trac ticket gives the date when it should be fixed.

There has been posted a patch in
http://www.eclipse.org/forums/index.php/mv/msg/21872/70191/#msg_70191
It works with the Trac WorkLog plugin, which in turn can work together with TracHours or TracTimingAndEstimation.

Unfortunately the author of that patch used the worst possible way to publish it, so I'm probably the fist one to actually try it ;-)

Yet this patch is still the most promising way to connect time tracking between Mylyn and Trac that I could google up.

So I manually edited it and applied it to the actual Mylyn version of IndigoM7 (Mylyn 3.6.0). I'll attach it in three parts here. (Don't look at indentations ;-) )

Very short instructions to use that patch in Eclipse Plug-in-Dev, for Trac users ;-) :
- Install 'Eclipse SDK', that feature contains the Mylyn sources.
- File->Import->Plug-Ins and.. [Import from active.., Import as Project with source]
- Select the 3 mylyn packages we are going to patch and finish importing
- apply each patch to its package:
~/workspace37/org.eclipse.mylyn.tasks.core$ patch -l -p0 -u  <Timing_and_Estimation_Plugin.mylyn_tasks_core.patch
~/workspace37/org.eclipse.mylyn.trac.core$ patch -l -p0 -u <Timing_and_Estimation_Plugin.mylyn_trac_core.patch
~/workspace37/org.eclipse.mylyn.task.ui$ patch -l -p0 -u <Timing_and_Estimation_Plugin.mylyn_tasks_ui.patch
- increase the version number in the META-INF/MANIFEST.MF of each patched package a little.
- File->Export->Plug-in_Dev->Deployable_plugin [Select the 3 patched packages, Desination: Install into host]
- Restart Eclipse. Ready ;-)

This procedure should be unproblematic enough to be repeatable every time Tasktop provides an update to Mylyn.
Comment 7 Roland Hautz CLA 2011-05-19 01:27:54 EDT
Created attachment 196069 [details]
see comment #6
Comment 8 Roland Hautz CLA 2011-05-19 01:28:32 EDT
Created attachment 196070 [details]
see comment #6
Comment 9 Roland Hautz CLA 2011-05-19 01:29:10 EDT
Created attachment 196071 [details]
see comment #6
Comment 10 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn