Connect GitHub or GitLab
Connect your account to link issues to pull/merge requests and automate your workflow:
- Link Linear issues to pull requests.
- Automatically update an issue's status when PRs are created or merged.
- Connect one or multiple repos.
Setup tips
How to link a Linear issue to a PR
- Branch name (e.g. "LIN-123" or "username/LIN-123"). To quickly copy branch name for an issue to your clipboard, press
Cmd/CtrlShift. - Pull request title (e.g. "GitHub Workflow LIN-123")
- Pull request description (e.g. Fixes LIN-123, Resolves LIN-123) – it will not work if entered in commits or comments.
When you link a Linear issue to a PR, Linear will:
- Create a link to the PR in the Linear issue.
- Comment on the PR with a link back to the Linear issue.
- Once PR has been opened, Linear will change the status of the issue to "In Progress".
- Once PR has been merged, Linear will change the status of the issue as "Done".
Suggested Workflow
- Select or create the issue you want to work on next.
- Open the command menu (
CmdKon Mac, orCtrlKon Windows) and select Copy git branch name, or use the shortcutCmd/CtrlShift. - This will copy the git branch name to your clipboard (e.g.
username/LIN-123-github-workflow - Paste the branch name to your git checkout command to create a new branch:
git checkout -b username/LIN-123-github-workflow - Make your changes and push the branch to GitHub and open a pull request
- Once the pull request is open, Linear will comment on the PR and change the issue state to In Progress.
- Once the PR merged, Linear will change the status to Done.
Status: Next
Log in to comment and vote
No comments yet
Be the first to share your thoughts.