Integrate Redmine 2.6.3 with Eclipse Kepler using Redmine Mylyn Connector: Eclipse configuration

From main menu go to Window -> Show View -> Other… and select Task List and Task Repository.

Add Task List and Task Repository View
Add Task List and Task Repository View

Right Click o Task Repository view and select Add Task Repository on context menu.

Select Redmine as shown in the following picture.

Add New Task Repository
Add New Task Repository

Insert your Redmine Server URL and give a Label to the repository.

Add New Task Repository Empty Form
Add New Task Repository Empty Form

To make authentication working (thanks again to Alfonso which suggested the solution https://github.com/ljader/redmine-mylyn-plugin/issues/27) username e password are not needed you need to find your API key from your Redmine installation.

In your Redmine, to get the API key, go to My Account and and click on Show link on the right:

Redmine My Account
Redmine My Account

Copy your API key

Redmine My Account API
Redmine My Account API

In Add Task Repository configuration window selected Enable on API-Key field paste your key.

Click on Validate Settigs button and click on Finish button.

Add New Task Repository Filled Form
Add New Task Repository Filled Form

Eclipse will ask if you want to add a query on the Task List for the repository. Click on Yes button.

Add New Query to Task List Repository
Add New Query to Task List Repository

Select << Create a new query>> and click Next > button.

New Task Query
New Task Query

For example you can create a query to view all tickets assigned to yourself.

Create Query
Create Query

In the following picture you can see that I have created two query (in the picture I removed (thank you GIMP) the title of the tickets after the ticket number)

Task List via Query
Task List via Query

In the Taks List view you can create a new ticket using the context menu with right click.

Creating Ticket
Creating Ticket

all the project field will be shown as in your Redmine installation.

Creating Ticket Submission
Creating Ticket Submission

IN SOME CASE YOU CAN GET AUTHENTICATION ERROR. Instead The authentication works but and the ticket is successfully in Redmine, but the creating process inform about a Repository Authentication problem. You can also try to insert your username and password but you will still get authentication error. PLEASE NOTE THAT THE TICKET IS CREATED, SO DOES NOT CLICK ON OK, OTHERWISE THE TICKET IS CREATED ANOTHER TIME AND OVER AGAIN FOR EVERY CLICK.

Creating Ticket  False Failure on Credential
Creating Ticket False Failure on Credential

CLICKING ON CANCEL YOU WILL SEE “Submit Failed: Authentication cancelled”, BUT AS I SAID THE TICKET HAVE BEEN ALREADY CREATED.

Creating Ticket  False Failure
Creating Ticket False Failure

In the Task List view you will see in UnSubmitted group the ticket you have tried to create. If you check in your query (if the ticket you have tried to create match it) or if you browse your Redmine you can check if the ticket have been created. In this case you can safely delete the ticket from UnSubmitted list.

That’s all Folk.

References:

http://www.redmine.org/projects/redmine/wiki/HowTo_Mylyn