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…
LinearB integrates with Shortcut to associate project management stories with Git activity, providing visibility into development progress, issue tracking, and team iterations.
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
- Open Shortcut .
- Sign in to your Shortcut account.
Step 2: Open API Token Settings
- Click your profile avatar in the upper-right corner.
- Select Settings.
- Navigate to API Tokens.
Step 3: Create an API Token
- Click Create New API Token.
- Enter a descriptive name, such as LinearB Integration.
- Click Generate Token.
- Copy the generated token and store it securely. The token will not be displayed again.
Connecting Shortcut to LinearB
After generating the API token, configure the Shortcut integration in LinearB.
- Log in to LinearB.
- Navigate to Company Settings → Project Management.
- Locate Shortcut in the available integrations.
- Click Connect.
- Paste the Shortcut API token into the designated field.
- 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 .
Related Articles
How did we do?
What are Goals?