Skip to content

API Redmine Integration

Bob Fratantonio edited this page Feb 11, 2015 · 3 revisions

To use any of the Redmine endpoints the following conditions must be met:

  • "redmine" scope required
  • login required

Get All Issues

GET /redmine/ticket/

Get all the available information about all of the issues in a given Redmine project

Example:

GET /redmine/ticket/?project=ooi-ui-api-testing

Arguments

project - REQUIRED - Specify the name of the Redmine project of interest

Get specific issue

GET /redmine/ticket/id/

Get all the available information about a specific issue

Example:

GET /redmine/ticket/id/?id=2290

Arguments

id - REQUIRED - Specify the issue id of the Redmine issue of interest

Get Users

GET /redmine/users/

Get all the users associated with a specified project

Example:

GET /redmine/users/?project=ooinet-user-interface-development

Arguments

project - REQUIRED - Specify the name of the Redmine project of interest

Create new issue

POST /redmine/ticket/

Create a new Redmine issue

Arguments

project_id - REQUIRED - Specify the project that the issue belongs to

subject - REQUIRED - Specify the subject of the issue

Update issue

POST /redmine/ticket/id/

Update an existing Redmine issue

Arguments

resource_id - REQUIRED - Specify the issue id of the Redmine issue that needs updating

project_id - REQUIRED - Specify the project id (number not string) of the Redmine project of interest

subject - REQUIRED - Specify the subject of the issue

notes - REQUIRED - Add user notes

List of possible fields in a Redmine Issue:

  • id
  • assigned_to
  • author
  • created_on
  • description
  • done_ratio
  • due_date
  • estimated_hours
  • priority
  • project
  • relations
  • children
  • journal
  • start_date
  • status
  • subject
  • time_entries
  • tracker
  • updated_on
  • watchers