GitHub issues, labels and milestones: write a bug the team can act on
Write a clear bug issue, sort it with labels and a milestone, give it an owner, and link the fix so it closes itself.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a repair form at a bike shop. The form names the fault. A coloured sticker says what kind of job it is. A name says who will do it. A date says when the bike should be ready.
The form is the issue. The sticker is a label. The name is the assignee. The date group is the milestone.
Mei, the test lead at Daily List, a to-do list app, fills in the form. Leo, a developer, needs steps he can follow. Tom, a tester, checks the fix later.
What it is: GitHub is a website that stores Git projects. Git is a different thing. Git is a free program on your computer that keeps a full history of project files, and it works offline. A is a tracked item on GitHub for a bug or a task. are three ways to sort that list. A label is a short tag, such as bug. An assignee is the owner. A milestone groups issues toward a date. A closing keyword is a word such as Fixes before an issue number. It closes that issue when the fix is merged into the default branch. Jira is the nearest neighbour. It is another tracker, with its own fields.
Why it matters: A vague title sits unread, so Leo the bug. A fix with no link leaves the issue open, so Mei still thinks the fault is live. Lily, who uses Daily List, waits on a bug the team has already fixed.
PLAIN WORDS · 4 in this section
- github
- a web site that hosts code and runs checks
- keyword
- a key word used to search or match
- jira
- a tool that teams use to track work
- unread
- not yet looked at by anyone
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB A repair request form at a bike shop.
- Form
- Sticker
- Pickup
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The repair form | The bug issue |
| The coloured sticker on the form | A label |
| The mechanic named on the form | The assignee |
| The pickup day board | The milestone |
WHERE THIS PICTURE STOPS
- A paper form gets lost, but an issue stays easy to search.
- A shop has one mechanic per bike, but an issue can have several assignees.
- A pickup day is a promise, but a milestone date can move.
HOOK
Form and mechanic.
TELL A FRIEND
A repair form.
OFTEN MIXED UP WITH GitHub pull requests and reviews: check work before it joins the main code. That topic reviews a change. This one records the bug and links the fix so the issue closes after the merge.
Sources & standards — 3 sources
- Market practice
Link pull requests to issues ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full operative linking guidance: default branch for PR-description keywords, commit-message closure and manual linking scopes.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
- Market practice
Repository roles ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full role matrix: Triage can apply labels/milestones and assign; creation and rule editing require different applicable permissions.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
- Market practice
About milestones ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full milestone guidance: grouped work and progress, planning dates do not establish release/retest completion.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
Link pull requests to issues ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full operative linking guidance: default branch for PR-description keywords, commit-message closure and manual linking scopes.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
- Market practice
Repository roles ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full role matrix: Triage can apply labels/milestones and assign; creation and rule editing require different applicable permissions.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
- Market practice
About milestones ↗ — GitHub · Current GitHub Docs, accessed 7 November 2026 — Full milestone guidance: grouped work and progress, planning dates do not establish release/retest completion.
Selected publisher sections read for Testing Tools audit. Current GitHub Docs, accessed 7 November 2026. This is not live service testing or a full-publication certification.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.