Public
Documentation Settings

Mantis Bug Tracker REST API

Mantis Bug Tracker (MantisHub) REST APIs.

REST API calls have to be authenticated by creating an API token for the user doing the calls, and then passing the API token in the 'Authorization' header. However, for anonymous access, the API key and header are not needed.

Postman Environment Variables:

There has been significant improvements and feature additions for REST API in each of the recent releases. Hence, it is highly recommended to use latest release when leveraging the REST APIs.

REST API is enabled by default since MantisBT 2.8.0 release.

AUTHORIZATIONAPI Key
Key

Authorization

Value

{{token}}

Issues

A set of REST API for handling issues.

AUTHORIZATIONAPI Key
This folder is using API Key from collectionMantis Bug Tracker REST API

GETGet an issue

{{url}}/api/rest/issues/:issue_id

Get issue with the specified id.

Available since MantisBT 2.3.0. Issue history included since MantisBT 2.9.0.

AUTHORIZATIONAPI Key
This request is using API Key from collectionMantis Bug Tracker REST API
HEADERS
Authorization

{{token}}

PATH VARIABLES
issue_id

123

The issue id

GETGet an issue (specific fields)

{{url}}/api/rest/issues/:issue_id?select=id,summary,description

Get selected fields for issue with the specified id.

Ability to select fields is available since MantisBT 2.26.0.

AUTHORIZATIONAPI Key
This request is using API Key from collectionMantis Bug Tracker REST API
HEADERS
Authorization

{{token}}

PARAMS
select

id,summary,description

PATH VARIABLES
issue_id

1

The issue id

Loading