Link branches and PRs to issues
Name the branch with the issue's code — or reference the issue in the PR — and the Projects module shows branches and PRs in the issue's Development panel, and can move the status when the PR merges.
Create the branch with the right name

- 1
Open the issue.
The
Developmentpanel, in the issue's properties, shows the suggested branch name. It appears on the full page and in the overlay panel. - 2
Copy it with `Copy branch name` or `Copy git checkout command`.
The suggestion follows the
iss-N-...pattern, with the issue's number — that's what links the branch to the issue. - 3
Create the branch and publish it to GitHub.
bashgit checkout -b iss-42-corrigir-exportacao-csvresultThe branch appears on the issue, under “Branch created”, with a link to GitHub.
Link the PR
A PR opened from an iss-N-... branch is born linked. Without a branch in the pattern, write closes #N in the PR description — N is the issue's number. The panel shows each PR with the state Open, Merged, or Closed, with a link to GitHub.
While nothing references the issue, the panel shows the hint “Open a PR from this branch or use closes #N to link automatically.” Whoever edits issues can also link an already-open PR with the Link pull request button in the panel.
Move the issue along the promotion path
When the merge of a linked PR reaches a stage of the repository's Promotion path, the issue changes to the status set in On reach, for example Ready to test or Done. With no stages, no status changes. See how to set it up in Connect GitHub.
The branch helper works without GitHub connected
The copy-name and copy-command buttons appear on every issue. The PR list and branch detection, though, depend on the GitHub integration being installed.