Issues and projects
Track bugs, ideas and tasks as GitHub issues, link them to pull requests so merging closes them, and plan the work on a Projects board or table.
Issues and projects
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- An issue is a written record of one piece of work, a bug or an idea, so it survives chat scrollback and has an owner, a discussion and a status.
- Labels, assignees and milestones turn a pile of issues into something you can filter, so use a small set of labels consistently.
- A pull request that says Closes #12 links to issue 12 and closes it when the pull request merges into the default branch.
- A GitHub Project is a table, board or roadmap view over issues and pull requests, and it belongs to a user or organization rather than to one repository.
- A good issue says what you expected, what happened and how to reproduce it, and one issue should describe one problem.
Why issues exist
Every project accumulates a list of things that should happen: a bug someone noticed, a feature someone wants, a question about how something works. Without a shared place, that list lives in chat messages, in people’s heads, and on sticky notes. Some of it gets lost, and some is done twice.
A GitHub issue is a written record of one item of work, attached to the repository. It has a title, a description, a discussion thread, and a status of open or closed. Because it lives next to the code, it can be linked to the commits and pull requests that deal with it, and someone joining the project next year can read why a change was made.
An issue is also where you discuss before you build. Agreeing in a comment thread that a feature is wanted is cheaper than discovering that in a pull request.
Writing an issue people can act on
The most common failure is an issue that cannot be acted on, such as “search doesn’t work”. A good one answers four questions:
- What did you do?
- What did you expect?
- What happened instead?
- Where, meaning version, operating system, and any error text?
For the notes CLI that could be: “Running notes add " " writes an empty note. I expected an error. Version 0.1.0, Node 24.” Keep one problem per issue. Combine three problems and you cannot close it until all three are fixed.
You can ask contributors to follow this shape automatically with templates, which is the CODEOWNERS and templates lesson.
Organising with labels, assignees and milestones
Once you have more than a dozen issues you need to filter them. GitHub’s issue page lets you attach:
- Labels, short tags such as
bug,enhancement, orgood first issue. Keep the set small and consistent, or nobody trusts them. - Assignees, the people working on it, so two people do not pick up the same item.
- Milestones, a group of issues aimed at one release or date.
- Projects, covered below.
GitHub’s docs also describe issue types, sub-issues for splitting large work into smaller issues, and dependencies to mark one issue as blocked by another. I read the “About issues” page on 2026-11-23 and could not use any of them, because I have no GitHub account where I wrote this lesson.
Linking issues to pull requests
When you fix an issue, a pull request closes the loop. Put a closing keyword and the issue number in the PR description, or in a commit message:
Closes #12
The accepted keywords are close, closes, closed, fix, fixes, fixed, resolve, resolves and resolved. For an issue in a different repository use Fixes octo-org/octo-repo#100. When the pull request is merged into the default branch, issue 12 closes automatically. On any other target branch the keyword is ignored. You can also link by hand using the Development section of the PR’s sidebar. I took this from the docs and could not test it.
This ties back to the commit conventions: the same issue number can appear in a commit footer, and release notes can be generated from them.
Projects: seeing the whole board
A list of issues answers “what exists”. A GitHub Project answers “what are we doing, and in what order”. GitHub’s docs describe a project as an adaptable table, board and roadmap that integrates with your issues and pull requests. Those are three layouts over the same items:
- a table: a dense spreadsheet-like list you can sort and filter,
- a board: columns by status, kanban style,
- a roadmap: items laid out on a timeline.
A project item points at an issue or pull request, or is a draft issue that exists only in the project until you convert it. It can carry extra fields. The docs list date, number, single select, text and iteration types, with up to 50 fields per project. That is how you add “priority”, “size” or “sprint” without cluttering the issue itself.
Two details surprise people. First, a project belongs to a user or an organization, not to one repository, so one board can hold issues from several repositories. Second, the docs describe built-in workflows that set fields automatically when items change, archive items that meet a condition, and add items from a repository that match a filter. The docs do not state which defaults a new project has, so look at your own project’s Workflows settings.
Keep it light. A board with five columns and a rule that anything in “In progress” has an assignee beats an elaborate scheme nobody updates. If your team is three people, a labelled issue list may be all you need.
What the video covers
GitHub’s “How to use GitHub issues and projects | GitHub for Beginners” runs about eight minutes and was published around March 2026 (YouTube shows “8 months ago”). Its description says it is part of a season that takes you back to the basics and shows how to stay organised. It is the most recent video in this part of the roadmap, and since GitHub made it, its interface names are likely to match what you see. I could not read a transcript or chapters. English is judged from the title and the channel. It will show the click path for issues and projects, while the habits on this page, such as one problem per issue and when to skip a project board, come from practice rather than the video.
Where this fits
Issues and pull requests are conventions until something enforces them. Keeping main safe by rule is next: branch protection and rulesets.
Check yourself
Why track work in issues instead of in chat messages or a private to-do list?
An issue is attached to the repository, visible to everyone, searchable, linked to the commits and pull requests that address it, and keeps the discussion with the work.
Your pull request description says Fixes #8, but the issue is still open after merging. What is the likely cause?
The pull request was merged into a branch other than the default branch. Closing keywords are only honoured when the target is the default branch.
What is the difference between an issue and a project item?
An issue lives in one repository. A project item is a row or card in a project that points at an issue or pull request, and can carry extra fields such as status and priority. A project can hold items from many repositories.
What should a bug report always contain?
What you did, what you expected, what actually happened, and the environment, such as version and operating system, so someone else can reproduce it.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.