Home > Custom Application Development, PHP > Mylyn:Integrate Bugzilla with Eclipse

Mylyn:Integrate Bugzilla with Eclipse

June 20th, 2009

What is it?….

Mylyn is a simple eclipse plugin that helps you to manage your bugzilla bugs with in the eclispe platform. In other words you don’t need to use your email any more to get bugzilla bugs.

Where to get?….

The main advantage of Mylyn is you don’t need to install any additional software or plugin to use it. By default eclipse comes with Mylyn

How to use?…..

To use Mylyn you need to configure it to fetch your bugs from bugzilla. It has  very user freindly interface to do that.

1). Mylyn has two components( Views) . By default these components are not visible. To make it visible navigate to the Window menu as below:

Window –> Show View –>Other –> Mylyn

Then select the two components Task List and Task Repositories and click OK.

2). Now you have two new components in your eclipse IDE

Task List and Task Repositories. Right click on the Task Repository window and select Add Task Repository. A window will pop up.

Click on Next in the next window and give your bugzilla account details

click on the Validate Settings button to ensure the entered details are correct then click on Finish.

3). On the next window it will ask you to add a query to the Task List for this repository. Click on yes.
4) Add Repository Query window will open. Here you have two choice.

A) Create query using form.
B) Create query from existing URL.

4. A) Create query using form.

This will provide you a user interactive form in which you can configure the details of your bugs.

1) Select the Create query using form. and click next.
2) Type ‘My Bugs’ or any suitable name in the Query Title text box.

3) To get the bugs assigned to you. Type your email id in the Email text box and select the owner check box. You can also try other check boxes. To get all bugs leave all checkbox fields as empty.
4) Select other details such as product, component, status, resolution etc.. (Use ctrl button for multiple selection)
Note: Leave as default or do not select any component to get all bugs of all type
5) Then click finish. You are done.

4. B) Create query from existing URL.

This is an easy step while compared to the previous one.

1) Open web browser and login to your bugzilla account.
2) Search for bugs. Once you get the result copy the contents in the address bar.
3) Select the Create query from existing URL
4) Type ‘My Bugs’ or any suitable name in the Query Title text box.
5) Paste content of the of address bar that you have already copied in to the Query URLfield.
6) Click finish . You are done.

Now check the Task list in your eclipse IDE. You can see the bugs reported. And whenever a new bug arrives eclipse will pop up a small notification to inform you that there is a new bug . Now you don’t need to depend your browser to read bugs. It will come to your eclipse IDE and you can read ,mange and reply to the bugs with in the eclipse.

To manage bugs just double click on the it in the Task list.

aneesh Custom Application Development, PHP , ,

  1. November 9th, 2009 at 12:43 | #1

    Thanks for the tutorial! Just needed that task query at the end to get us all set up.

  1. No trackbacks yet.