This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring Redmine Operations

To use the Redmine connector, add the <redmine.init> element in your configuration before carrying out any other Redmine operations. Redmine requires authentication, and to enable API-style authentication follow the following steps,

  • Create a fresh account in Redmine using the URL http://m.redmine.org/.
  • Login to the administrations panel of the account created using the login credentials with the specific API URL.
  • Go to Administration -> Settings -> Authentication and enable the check box in "Enable REST web service".
  • Go to /my/account URL of your Redmine site and copy the API Key from the right hand side of the screen.

The API key must be passed in to each request as an "X-Redmine-API-Key" HTTP header.  Click here for more information on the authentication process.

init
<redmine.init>
	<apiUrl>{$ctx:apiUrl}</apiUrl>           
    <apiKey>{$ctx:apiKey}</apiKey>           
    <responseType>{$ctx:responseType}</responseType>
</redmine.init>	  
Properties  
  • apiUrl: URL for the Redmine REST API. 
  • apiKey: The generated API key for the user.
  • responseType: The type of response to be returned (XML/JSON).

Now that you have connected to Redmine, use the information in the following topics to perform various operations with the connector.