Skip to main content
Table of Contents

Iterations Naming Conventions - Jira

Ensure seamless tracking of Jira issues in LinearB’s Iterations by following standardized branch and PR naming conventions.

Steven Silverstone
Updated by Steven Silverstone
Table of Contents

LinearB’s Iterations uses Jira issue keys to link Git activity to Jira issues. Use a consistent naming convention so Iterations can match branches and pull requests to the right issues.

Include the Jira issue key in the branch name, the pull request title, or both. You can also include the key in commit messages for reference.

Branch and PR Naming Conventions

Include the Jira issue key (for example, PROJ-123) when you create a branch. If the branch name is missing the key, add it to the pull request (PR) title before merging.

Recommended branch name format <Jira-issue-key>-<descriptive-title>

Example Naming Conventions

Jira Issue Key

Task Description

Branch Name

LINB-397

Add repository backfill status

LINB-397-add-repository-backfill-status

LINB-603

Improve Dockerfiles for better layering

LINB-603-improve-dockerfiles-layering

LINB-775

Fix API response handling

LINB-775-fix-api-response-handling

Example PR title Add repository backfill status (LINB-397)

In this example, branches from different repositories use the same Jira issue key.

How Iterations Matches Git Work to Jira Issues

Iterations uses Jira issue keys, such as PROJ-123, to match Git activity to Jira issues.

  1. Branch names. Include the Jira issue key when you create the branch.
  2. Pull request titles. If the branch name is missing the Jira issue key, add it to the PR title before merging.
  3. Commit messages. You can also include the Jira issue key in commit messages for reference.

How Unlinked Branches Are Identified

LinearB uses Jira issue keys found in branch names, pull request (PR) titles, and commit messages to identify branches associated with Jira issues.

The Unlinked Branches view matches this information in real time. A PR does not need to be merged for its branch to be matched to a Jira issue.

If a branch appears under Unlinked Branches, verify that the Jira issue key is correctly included in the branch name, PR title, or commit messages. If the issue persists, contact LinearB Support.

Example Matching Scenario

  • Jira issue “Repository selection - backfill and statuses”
  • Jira issue key LINB-397
  • Matching branch names
    • LINB-397-add-repository-backfill-status
    • LINB-397-repository-status-enrichment

Both branch names contain LINB-397, so both can be matched to that Jira issue in Iterations, even if they’re in different repositories.

Handling Issues with Subtasks

If a parent Jira issue has multiple subtasks, you can use either the parent issue key or the relevant subtask issue key in the branch name or PR title.

Example parent Jira issue “Improve Dockerfiles for better layering”

  • Parent issue key LINB-603
  • Subtasks
    • LINB-775 (Optimize Docker image size)
    • LINB-776 (Improve build caching)
Branch Matching Rules for Subtasks

Branch Name

Linked Jira Issue

LINB-603-improve-dockerfiles-layering

LINB-603 (Parent Issue)

LINB-775-optimize-docker-image-size

LINB-775 (Subtask)

LINB-776-improve-build-caching

LINB-776 (Subtask)

In the Iterations view, Git activity linked to a subtask appears under its parent Jira issue.

Benefits of Using Naming Conventions

✔ Automatic Issue Linking – Iterations can match Git activity to Jira issues using the issue key.

✔ Improved Iterations Tracking – Linked Git activity appears with its Jira issue in the Iterations view.

✔ Better Collaboration – Teams can quickly identify which Git branches and PRs relate to specific Jira issues.

✔ Consistent Workflow – Teams can follow the same naming convention across repositories.

Best Practices

✔ Always include the Jira issue key when creating a branch.

✔ Use clear, descriptive titles to specify the task being worked on.

✔ Add the Jira issue key to the PR title before merging if the branch name is missing the key.

✔ Maintain consistency across teams and repositories.

✔ Educate developers on how to use the naming conventions.

How did we do?

Iterations Completed View