Mantis BT integration

Authentication

Supported authentication methods

Personal token

Log into your Mantis, click on your username in the top right hand corner and select "My Account" from the drop down list. Then click on the "API Tokens" tab. Type in a descriptive name for the token and click "Create API Token".

Reveal user menu

In "My Profile Settings" popup switch to Apps tab. Click "Manage Developer Apps" at its bottom.

Profile settings

Copy and save the generated token. Be sure not to lose it as it will only displayed this one time. If you do mis-place it, you will need to revoke it and generate a new token.

Now, when you've obtained a token, lets configure integration in Bugsee. Select "Personal token" authentication type and click "Next".

Select personal token

Specify the URL of your Mantis in "Host" field and paste generated token into "Personal token" field and finally click "Next" to proceed.

Paste personal token

Configuration

There are no any specific configuration steps for Mantis. Refer to configuration section for description about generic steps.

Custom recipes

Bugsee can accommodate all these customizations with the help of custom recipes. This section provides a few examples of using custom recipes specifically with Mantis. For basic introduction, refer to custom recipe documentation.

Setting tags field

By default Bugsee creates Mantis issues with Bugsee issue labels as Mantis tags. But labels list can be overridden inside your custom recipe. For example you can add some new label (Mantis tag) to existing ones:

function create(context) {
    // ....

    return {
        // ...
        labels: [...issue.labels, "My awesome tag"]
    };
}