How To See Tracker Items Within Eclipse

From Arianne
Jump to: navigation, search



Some might want to see the open tracker items or other helpful queries from within their IDE. With Eclipse and Mylyn you have the possibility to access the project's trackers from within your Eclipse. This page is going to describe how to get this feature into your Eclipse and describes some basics about how to access the trackers with this infrastructure. This article is based on Eclipse Indigo (version 3.7).

Contents

Installation and Preparation

To make this feature available in your Eclipse IDE you need to install two new plugins:

To successfully install this combination you have to add several update sites to be able to fulfill all needed dependencies.

With those three update sites enabled you can now install Mylyn and the connector.

Setting Up the Repository

The first step to access the trackers is to add a task repository for each tracker (in our case its only one: stendhal) based on the sourceforge template that comes with the freshly installed connector.

${serverUrl}/tracker/?atid=${atid}&group_id=${group_id}&func=browse

Access Different Trackers

After having the repositories configured it is possible to query them.

Refining the Queries

The query can be refined by changing the "Query URL" of each query.

To show 100 items (that's the most I can show, I couldn't show all the items) add &limit=100 to the end of the query:

${serverUrl}/tracker/?atid=${atid}&group_id=${group_id}&func=browse&limit=100

To get all the issues that are assigned to a specific user you need to know the id associated with the user's sourceforge account. This can be obtained by going to that user's sourceforge user page (sourceforge.net/users/xxx where xxx is the username). In the "About Me" block it shows the "User Id". Put that number in the query with &assignee=yyy where yyy is the user ID.

${serverUrl}/tracker/?atid=${atid}&group_id=${group_id}&func=browse&assignee=SourceforgeUserID

To get all open issues add &status=1 to the query

${serverUrl}/tracker/?atid=${atid}&group_id=${group_id}&func=browse&status=1

Note that these can be mixed and matched so you can get 100 open issues by adding &limit=100&status=1 to the query.

Working with Tasks

Links

Sourceforge with Mylyn on wiki.eclipse.org

Personal tools
Namespaces
Variants
Actions
Navigation
stendhal for players
portal
resources
Toolbox