Skip to main content

Integrating Shortcut into LinearB

LinearB integrates with Shortcut to associate project management stories with Git activity, providing visibility into development progress, issue tracking, and team iterations. Deprecated integration…

Steven Silverstone
Updated by Steven Silverstone

LinearB integrates with Shortcut to associate project management stories with Git activity, providing visibility into development progress, issue tracking, and team iterations.

Deprecated integration: The Shortcut project management integration is deprecated but has not been removed from LinearB. This article is retained for customers using Shortcut integrations who need to configure or maintain their connections. For current project management integration options, see Project Management Integrations - Start Here .

Overview

Connecting Shortcut to LinearB enables you to:

  • Synchronize Shortcut stories and project management data.
  • Associate Git branches and pull requests with Shortcut stories.
  • Track development progress using LinearB Iterations.
  • Analyze engineering activity alongside project management data.

Shortcut connections use an API token generated in Shortcut.

Before You Begin

Before configuring the integration, ensure that:

  • You have access to the relevant Shortcut workspace.
  • You can generate an API token in Shortcut.
  • You have the required LinearB permissions to manage project management integrations.

Generating a Shortcut API Token

Step 1: Sign In to Shortcut

  1. Open Shortcut .
  2. Sign in to your Shortcut account.

Step 2: Open API Token Settings

  1. Click your profile avatar in the upper-right corner.
  2. Select Settings.
  3. Navigate to API Tokens.

Step 3: Create an API Token

  1. Click Create New API Token.
  2. Enter a descriptive name, such as LinearB Integration.
  3. Click Generate Token.
  4. Copy the generated token and store it securely. The token will not be displayed again.
Security: Treat Shortcut API tokens as passwords. Do not share them publicly or store them in unsecured locations.

Connecting Shortcut to LinearB

After generating the API token, configure the Shortcut integration in LinearB.

  1. Log in to LinearB.
  2. Navigate to Company Settings → Project Management.
  3. Locate Shortcut in the available integrations.
  4. Click Connect.
  5. Paste the Shortcut API token into the designated field.
  6. Click Connect to complete the setup.

After successful authorization, LinearB begins synchronizing Shortcut project management data.

Linking Shortcut Stories to Git Activity

LinearB uses Shortcut story identifiers to associate Git branches, pull requests, and commits with the corresponding project management stories.

For accurate issue matching, include the Shortcut story identifier in the branch name, pull request title, or commit message.

Shortcut Branch Naming Conventions

For example, suppose a Shortcut story is named Infrastructure story and has the story ID 4584.

Include the identifier ch4584 in the branch name. Matching is not case-sensitive.

Valid examples:

  • ch4584-Add-repository-backfill-status
  • ch4584-Enhance-repository-status-enrichment

Both branches can be associated with Shortcut story 4584, even when they belong to different repositories.

Matching Git Activity to Shortcut Stories

LinearB identifies Shortcut story references using the following Git information:

  • Branch names: Include the Shortcut story identifier in the branch name.
  • Pull request titles: Include the story identifier in the PR title to associate the pull request with the story.
  • Commit messages: LinearB can also use story identifiers in commit messages when matching Git activity.

Consistent naming conventions help prevent unlinked branches and improve the accuracy of project management reporting.

Best Practices

  • Include the Shortcut story identifier when creating branches for related work.
  • Use the same identifier in pull request titles where appropriate.
  • Apply consistent naming conventions across all repositories.
  • Ensure team members understand the relationship between Shortcut stories and Git activity.
  • Store Shortcut API tokens securely and replace them when necessary.

Troubleshooting

Unable to Connect Shortcut

  • Verify that the Shortcut API token is valid.
  • Confirm that the token was copied correctly.
  • Check that you have the required LinearB permissions to manage integrations.

Shortcut Stories Are Not Linked to Git Activity

  • Verify that the branch name, PR title, or commit message contains the correct Shortcut story identifier.
  • Confirm that the relevant Git repository is monitored in LinearB.
  • Check that the Shortcut integration is connected and synchronizing data.

If the problem persists, contact LinearB Support .

How did we do?

What are Goals?