How to create custom labels for issues on GitHub?
GithubIssue TrackingGithub Problem Overview
I've noticed that some organizations on GitHub have different labels that they can apply to issues.
For example, one organization that I am a part of allows any of these labels to be applied:
However, on my personal account, I am limited to only these labels, and I can't find a way to create my own custom ones:
Any ideas on how I can go about creating my own?
Github Solutions
Solution 1 - Github
It looks like you might be accessing GitHub on a mobile device, which likely exposes a somewhat different interface.
On the full web interface, simply navigate to https://github.com/:user/:repo/labels
and click the green "New label" button at the top right. Existing labels can be edited or deleted on the same page.
You can also get to this page by clicking on "issues" and then "labels".
Solution 2 - Github
Here's a quick GIF to make the process as easy as it can be. (recorded at my GitHub profile)
> ⚡️ GIF —
Labels can be applied to issues and pull requests to signify priority, category, or any other information that you find useful.
▶ On GitHub, navigate to the main page of the repository.
-
Under your repository name, click Issues or Pull requests.
-
Issues Labels buttonNext to the search field, click Labels.
-
Click New Label to create a new label, or click Edit to edit an existing one.
-
In the text box, type your new label name.
-
Select a color for the label from the color bar. You can customize this color by editing the hexadecimal number above the color bar.
- Click Create Label to save the new label.
I hope it helps. Upvote it if it does.
Solution 3 - Github
The ui makes it hard to find!
You should be able to go to https://github.com/your_username/your_repo/labels
There's a github blog post that explains this in detail. https://help.github.com/articles/creating-and-editing-labels-for-issues-and-pull-requests/
Solution 4 - Github
If you find yourself doing this a lot, then you might want to try using my python script (or creating something similar) so that you can set up your own labels for each new repository...