From Fedora Project Wiki

Revision as of 02:53, 31 May 2011 by Mziaei1 (talk | contribs)

Using Red Hat Bugzilla with Mylyn >= 3.5.0

The eclipse-mylyn-tasks-bugzilla package (available since Fedora 15) allows Mylyn users to interact with Bugzilla bug trackers from within Eclipse. As of version 3.5.0 of Mylyn it also supports Bugzilla instances, which use custom workflows (which Red Hat Bugzilla does).
Here are instructions as to how to set up a Red Hat Bugzilla task repository:

  • 1. Install eclipse-mylyn-tasks-bugzilla
su -c "yum install eclipse-mylyn-tasks-bugzilla"
  • 2. Set up the Mylyn task repository with the provided custom transition file
Fire up Eclipse and open the Task Repositories view provided by Mylyn: Window > Show View > Other... > Mylyn > Task Repositories.
Right-click and select Add New Task Repository...:

Task Repositories View

Once you've clicked on that, you'll have the choice to select task repository-types.
Here you can select Bugzilla:

MylynNewTaskRepositoryBugzilla.jpg

When you click Next you should see something like this screen-shot:

MylynNewTaskRepositoryConfigureCustomWorkflowRedhatBugzilla.jpg

Now, please select the custom transitions definitions file (either by entering the path directly, or by using the "Browse" button): /usr/share/eclipse/dropins/mylyn-bugzilla/redhat-bugzilla-custom-transitions.txt. Once you have done that you can test your configuration by clicking "Validate Settings". If that shows no errors, click "Finish" and you should be good to go. More information on how to use Mylyn can be found here: http://wiki.eclipse.org/index.php/Mylyn/User_Guide (or offline by "Help" => "Help Contents" => "Mylyn Documentation").