From Fedora Project Wiki

(Created page with '= Using Red Hat Bugzilla with Mylyn >= 3.5.0 = The <code>eclipse-mylyn-tasks-bugzilla</code> package (available since Fedora 15) allows Mylyn users to interact with Bugzilla bug...')
 
No edit summary
Line 1: Line 1:
= Using Red Hat Bugzilla with Mylyn >= 3.5.0 =
=== Using Red Hat Bugzilla with Mylyn >= 3.5.0 ===
 
The <code>eclipse-mylyn-tasks-bugzilla</code> 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).<br/>
The <code>eclipse-mylyn-tasks-bugzilla</code> 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.
Here are instructions as to how to set up a Red Hat Bugzilla task repository:
 
* 1. Install eclipse-mylyn-tasks-bugzilla
== Install eclipse-mylyn-tasks-bugzilla ==
 
<code>eclipse-mylyn-tasks-bugzilla</code> is available in Fedora 15 and later.
 
<pre>
<pre>
su -c "yum install eclipse-mylyn-tasks-bugzilla"
su -c "yum install eclipse-mylyn-tasks-bugzilla"
</pre>
</pre>


== Set up the Mylyn task repository with the provided custom transition file ==
* 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'''.  
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...":
: Right-click and select '''Add New Task Repository...''':


[[File:MylynTaskRepositoriesView.jpg|Task Repositories View]]
[[Image:MylynTaskRepositoriesView.jpg|Task Repositories View]]


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


[[File:MylynNewTaskRepositoryBugzilla.jpg]]
[[Image:MylynNewTaskRepositoryBugzilla.jpg]]


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


[[File:MylynNewTaskRepositoryConfigureCustomWorkflowRedhatBugzilla.jpg]]
[[Image:MylynNewTaskRepositoryConfigureCustomWorkflowRedhatBugzilla.jpg]]


Now, please select the custom transitions definitions file (either by entering the path directly, or by using the "Browse" button): <code>/usr/share/eclipse/dropins/mylyn-bugzilla/redhat-bugzilla-custom-transitions.txt</code>. 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").
Now, please select the custom transitions definitions file (either by entering the path directly, or by using the "Browse" button): <code>/usr/share/eclipse/dropins/mylyn-bugzilla/redhat-bugzilla-custom-transitions.txt</code>. 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").

Revision as of 02:53, 31 May 2011

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").