> For the complete documentation index, see [llms.txt](https://docs.mobb.ai/mobb-user-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mobb.ai/mobb-user-docs/integrating-with-issue-tracking-systems/embedding-ticket-id-in-pull-requests.md).

# Embedding Ticket ID in Pull Requests

## Embedding Ticket ID in Pull Request

Some engineering teams have a strict requirement that every pull request must reference a ticket ID (for example, a Jira or Linear issue). Mobb supports this by allowing you to embed a **Ticket ID** directly into the pull request title, description, and commit message.

This ensures compliance with internal development workflows and makes it easier to track fixes against work items.

***

### How It Works

When creating a pull request (either for a single fix or multiple fixes), you will see a **Ticket ID Indication** field under **More options**.

* The ticket ID you provide will automatically be included in:
  * **Pull request title**
  * **Pull request description**
  * **Commit message**

Hovering over the tooltip `(i)` explains:

> *“This value will be automatically added in any pull request title and commit message.”*

***

### Single Fix Flow

When applying a fix individually, expand **More options** and enter the ticket ID.

<figure><img src="/files/meYH4haxbNj6f2HQ7LB3" alt=""><figcaption></figcaption></figure>

In this example, the user entered `JIRA-123`.

\
Mobb automatically updates the PR metadata as follows:

* **Pull request title**\
  `SQL Injection vulnerability fix (powered by Mobb) JIRA-123`
* **Pull request description**\
  Includes the ticket ID at the bottom:
* **Commit message**\
  Also includes the ticket ID.

***

### Bulk Fix Flow

When applying multiple fixes at once, the **More options** section is available at the bottom of the bulk action menu. Expand it and you should see **Ticket ID Indication**.

<figure><img src="/files/k1Q2myOEW5E3nKMXBaGo" alt=""><figcaption></figcaption></figure>

Entering a value ensures all generated pull requests and commits are annotated with the ticket ID.

***

### Example

Below is a pull request automatically created by Mobb with the ticket ID `JIRA-123`:

<figure><img src="/files/NhxoKj4FQCka40cw10Hl" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6SB0UeyVubgDzbtwBEhd" alt=""><figcaption></figcaption></figure>

***

### Summary

* **Ticket ID Indication** is optional, but recommended if your team enforces PR-ticket linkage.
* Supported in both **single fix** and **bulk fix** flows.
* Applied automatically to:
  * Pull request title
  * Pull request description
  * Commit message
