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.

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.

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:


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

Last updated

Was this helpful?