From Fedora Project Wiki

< Eclipse How to Maintain Fedora Package User Guide

Revision as of 17:29, 1 June 2011 by Mziaei1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using Red Hat Bugzilla with Mylyn

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:

Installing eclipse-mylyn-tasks-bugzilla

eclipse-mylyn-tasks-bugzilla is available in Fedora 15 and later.

su -c "yum install eclipse-mylyn-tasks-bugzilla"

Setting up the Mylyn Task Repository

1. Fire up Eclipse and open the Task Repositories view provided by Mylyn: Window > Show View > Other... > Mylyn > Task Repositories.
2. Right-click and select Add Task Repository...:

Task Repositories View

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

MylynNewTaskRepositoryBugzilla.jpg

4. When you click Next you should see something like this screenshot:

MylynNewTaskRepositoryConfigureCustomWorkflowRedhatBugzilla.jpg

5. Now, 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.
6. Once you are done, you can test your configuration by clicking Validate Settings.
7. If that shows no errors, click Finish and you should be good to go. .

Creating a New Task

1. Click on the New Task button in the Task List view's toolbar.
2. You can then select the repository where you would like to create a task.
3. Once you have selected a repository, click Next.
4. If you are connecting to a Bugzilla repository, select a Product as a top-level category for your task and click Finish.

MylynBugzilla NewTask.png

5. A new task editor will appear. You can enter the following information:
Required Fields
Label - Enter a brief task description in the text box at the top (this box does not have a label).
Component - Specify a "Component" to further categorize this task within the previously selected "Product".
Description - Describe the task in detail.
Other fields are optional to fill in.
6.When finished, click Submit to add your new task to the task repository (ex. Bugzilla).
  • More information on how to use Mylyn can be found on this user guide or offline by clicking on Help > Help Contents > Mylyn Documentation