Tuesday, November 25, 2014

Developing Utils for Redmine (notes)

I'm trying to develop a report page for selected task in redmine (in .net), so the journey started with:-

Links: http://www.redmine.org/projects/redmine/wiki/Rest_api

Where i learned that 


This is where i see my issues > http://myredmine:88/redmine/issues/3239

This is where i see it in XML > http://myredmine:88/redmine/issues/3239.xml

This is where i see it in json > http://myredmine:88/redmine/issues/3239.json

But it keeps asking me to login, and i cant figure out where the API key will i re-read and found that:-
You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the default layout.

Hence Now you just modify and add a querystring with your API key and it loads

Loading an Issue as XML:

http://myredmine:88/redmine/issues/3239.xml?key=bf13332d3dda.....


Then i found a .NET library with very little documentation:- API .NET Library: https://code.google.com/p/redmine-net-api/

It allows you to add, search, delete, but with the very little doc kind of hard to make it work when u used alot of custom fields.

No comments: