---
url: /howto/connecting-to-issue-trackers/commit-message-issues.md
description: >-
  This article describes how you can extract issue IDs from commit messages
  without connecting directly to your issue tracker.
---

# How to Parse Issue IDs from Commit Messages

If your issue tracker is not yet supported by Teamscale or you cannot connect to it for other reasons, you can instead parse issue IDs from your commit messages.
You can also use it to [aggregate quality data to SAP transport requests](../../sap-integration/teamscale-abap-project/#grouping-changes-by-transport-request-or-task).
This is done through regular expressions.

:::tip General Option Reference
This guide only covers the options specific to the Commit Message-based Issue Tracker.
A general overview of connector options
is [available here](../../../reference/connector-options/#issue-tracker-connector-options).
:::

1. In Teamscale, go to *Project Configuration* > *Projects* perspective and edit
   or [create a project](../../creating-a-project/).

2. In the *Connector Configuration* section, click `+` and choose *Issue Tracker* > *Commit Message Issues*.
   ![How to select the commit message issue tracker from the issue tracker dropdown](commit-message-issue-tracker.png)

3. Fill out the fields in the connector settings:

   * `Issue ID pattern in commit messages`: Regular expression that recognizes relevant commits (required). Example: `(TS-\d+)` matches issue IDs of the form `TS-12345`.
   * `Issue subject pattern in commit messages`: Regular expression that extracts an issue subject from the commits (optional).

   ![Settings of the commit message issue tracker](commit-message-issue-tracker-connector-settings.png)

4. Use the *Preview Repository Commits* button to validate that your regular expressions work as intended.

5. Click `Save project` and wait for the finished analysis.

6. The issues can be found under *Activity* > *Issues*.
