Retrieving issues data from external tool.

Added by Valerio Bonfatti about 12 years ago

Hi all,
i'm trying to develop a tool to retrive Redmine issues data.
I've noticed that Redmine generates a "key" parameter that is in GET on the URL to request a specific ATOM feed.
(Example: http://www.redmine.org/projects/redmine/issues.atom?key=######################)

How i can generate the key parameter?
Do i need the username and the password of the user?
I will be able to generate enough complex requests (example: issues of this user, for this project, that are open)?
If this is not possible can i do his using the CSV files?

Otherwise i think i will nedd to go and access directly the Database, but is a solution tha i prefer to not use.
Thansk for any help.

Bonfo

Replies (6)

RE: Retrieving issues data from external tool. - Added by Felix Schäfer about 12 years ago

There is a REST API coming, the API keys are generated and can be retrieved on the settings page by each user in the right-hand sidebar (if the REST API is activated).

RE: Retrieving issues data from external tool. - Added by Valerio Bonfatti about 12 years ago

How can i check if the REST API is activated ?

Moreover my issue is to create the key in an external tool.
Where is the API "code" that i can use?

Thanks.

Bonfo

RE: Retrieving issues data from external tool. - Added by Felix Schäfer about 12 years ago

AFAIK the key are randomly generated, sorry.

RE: Retrieving issues data from external tool. - Added by Valerio Bonfatti about 12 years ago

Ok.
But then, how Redmine matches the key with the user?

RE: Retrieving issues data from external tool. - Added by Felix Schäfer about 12 years ago

Have a look at the tokes table.

RE: Retrieving issues data from external tool. - Added by Valerio Bonfatti about 12 years ago

I suppose you meant "tokens" ;)
Thanks for the help, i will study!

Bonfo

(1-6/6)