Issue Types Public Preview (Opt In roll out) #139933
-
Feedback wantedThank you for participating in the issue types public preview. Please leave your feedback below on what is working well, any bugs you encounter, and what else you’d like to see! To provide your feedback on other experiences released at the same time, please visit:
Issue typesIssues types allow you to classify and manage your issues with a shared and consistent language across all repositories in the organization, such as bugs or tasks. Customizing default issue typesAn organization administrator can customize the issue types that makes sense for the organization from the organization settings "Planning" page in the “Issue types” section, with bug, task, and feature provided by default to get you started. These are available for all repositories in the organization. Adding a type to an issueWhen you create a new issue, you can change the issue type using the Screen.Recording.2024-09-30.at.1.45.49.PM.movWhen creating a sub-issue from an issue, you'll find this at the bottom next to the other issue metadata. Additionally, you can specify the If you’d like to add or change the issue type for existing issues, you can update it from the repository page by selecting one or multiple issues using the checkbox to the left of each issue, or from a project using the Creating custom views in your projectIn a project, you can use the new You can even use the Automating issue typesThere are now For the GraphQL API, there is an IssueType object to manage issue types at the organization level to create, update, and delete them. You can also create a new issue with an issue type, update the issue type, and query a repository by issue type. Click to view GraphQL details
Note that these requests will need to include the GraphQL-Features header with a value of Objects and FieldsQuery Issue.IssueType
Query IssueType
Query IssueType.issues connection (w/ repository argument)
Query issueTypes using global search filter API
MutationsCreate Issue Type mutation {
createIssueType(input:{
ownerId: "ID"
name: "NAME"
isEnabled:true
isPrivate: true
}) {
issueType {
id
}
}
} Update Issue Type mutation {
updateIssueType(input:{
issueTypeId: "ID"
name: "NEW NAME"
}) {
issueType {
id
}
}
} Delete Issue Type mutation {
deleteIssueType(input:{
issueTypeId: "ID"
}) {
deletedIssueTypeId
}
} Create Issue -> w/ Issue Type mutation {
createIssue(input: {
repositoryId: "ID"
title:"test-api-2"
issueTypeId: "ID"
}) {
issue {
id
url
}
}
} Update Issue -> w/ Issue Type mutation {
updateIssue(input: {
id: "ID"
issueTypeId: "ID"
}) {
issue {
id
url
}
}
} Update Issue Issue Type mutation {
updateIssueIssueType(input: {
issueId: "ID"
issueTypeId: "ID"
}) {
issue {
id
url
}
}
} Next stepsWe are continuing to improve the Issues experience, and so we’d love to hear your feedback as you try out the new experience and start using issue types. |
Beta Was this translation helpful? Give feedback.
Replies: 81 comments 152 replies
-
What is the main benefit of using types over using labels of the same name? Ie; use a |
Beta Was this translation helpful? Give feedback.
-
Would |
Beta Was this translation helpful? Give feedback.
-
There's a bug when trying to filter issue types which contain whitespace when using the dropdown in the issue list header. It doesn't wrap the issue type name in quotes, so the filter query becomes this for example: The same doesn't happen when clicking the type button directly on an item in the issue list. Here, it properly sets the quotes. |
Beta Was this translation helpful? Give feedback.
-
Btw, is it intentional that when changing issue types that there's no item added to the issue history, like when changing labels? |
Beta Was this translation helpful? Give feedback.
-
Another bit of feedback: In our repos, we've been labeling issues and their respective PRs with the same labels (for example "plugin issue", "bug", etc.). Since PRs (currently) don't have the So the question is, would it make sense adding types to PRs as well? |
Beta Was this translation helpful? Give feedback.
-
Small detail: on the issues page, if you filter by type, it populates the search box with
The casing is inconsistent between these filters, |
Beta Was this translation helpful? Give feedback.
-
There should be an option to easily migrate labels to types. |
Beta Was this translation helpful? Give feedback.
-
There should be a way to filter Issues by a LACK of type, so that PMs could backfill information on already created tickets. |
Beta Was this translation helpful? Give feedback.
-
Table header should be sticky to allow easily assigning labels/types/… without scrolling up after selecting an issue further down the list. |
Beta Was this translation helpful? Give feedback.
-
The issue template can add labels automatically. Will it support the issue types? |
Beta Was this translation helpful? Give feedback.
-
Would you consider displaying the issue type also for pinned issues? See for example https://github.com/assertj/assertj/issues, where assertj/assertj#3489 is pinned and has issue type |
Beta Was this translation helpful? Give feedback.
-
How do I bulk assign a type? https://github.com/gitextensions/gitextensions/issues?q=sort%3Aupdated-desc+is%3Aopen+label%3A%22type%3A+bug+%3Abug%3A%22 |
Beta Was this translation helpful? Give feedback.
-
@rileybroughten can you please share when issue types will be supported in gh cli? shouls i create issue in gh cli repo? |
Beta Was this translation helpful? Give feedback.
-
Currently, issue types cannot be seen on GitHub Mobile. Is a beta rollout also planned there? |
Beta Was this translation helpful? Give feedback.
-
Release changelogs (with a Edit: I just realized that types can't be applied to PRs (or did I look wrong?), so that means we still need labels anyway. So why have two different systems in place? We won't maintain both at the same time. |
Beta Was this translation helpful? Give feedback.
-
Assigning a type in an Issue Form template only works when it's typed in lowercase in the template even if the type name is in fact capitalized. |
Beta Was this translation helpful? Give feedback.
-
Why don't changes to issue types show the same way as they do for labels? |
Beta Was this translation helpful? Give feedback.
-
When creating a sub-issue from an issue, the dialog to assign a type always drops down, regardless of the available space, and the list of types isn't scrollable. This means that the types aren't browsable in this context on a laptop screen - you have to know what to search for (unless it's the first 1 or 2) |
Beta Was this translation helpful? Give feedback.
-
👋 It seems that the public GraphQL API does not include the |
Beta Was this translation helpful? Give feedback.
-
Hi, I would like to discuss about the fact a PR don't have "issue type". I know, I know, PRs are not issues, but they share with issues the same id auto increment inside a repo and they often stand side by side with issues in projects. If you see the picture above, PRs display blank values on the Type column... I think it's fair to display at least "Pull Request" or something. That's what I did when I had a custom field for my types |
Beta Was this translation helpful? Give feedback.
-
"Epic" should be a default type |
Beta Was this translation helpful? Give feedback.
-
Check out last week's changelog which includes a higher limit of 25 issue types for an organization, issue types on GitHub Mobile, and improved searching with the |
Beta Was this translation helpful? Give feedback.
-
The diff for comment edit history isn't looking quite right... |
Beta Was this translation helpful? Give feedback.
-
I would like to be able to sort issue types when I create them and Github to maintain that order when displaying types in a dropdown. Rationale: Some types are used more than others, now it seems alphabetical order is used, so for us, it means |
Beta Was this translation helpful? Give feedback.
-
@rileybroughten When we will be able to change order of issues in org settings? |
Beta Was this translation helpful? Give feedback.
-
I'll try to describe this briefly, and I should mention upfront that I don't have the full context. We needed to implement a search functionality over our projects for various automations, statistics, etc. A colleague started the implementation using From this query, I began filtering issues and noticed that it returns approximately half the issues displayed on the page I therefore created an alternative implementation using Below are two source code examples, one for the Currently, https://gist.github.com/lister169126/122844511db84556c6f153fd0fad5d11 |
Beta Was this translation helpful? Give feedback.
-
https://github.com/trending/developers/ This is the trending developer page which has number of developers and it has index for each developer but it shows number in certain records and in string for other people is this mistakenly done or it's just something. |
Beta Was this translation helpful? Give feedback.
-
Having a default value on issue creation, or better yet having the default issue type be customizable with a project workflow would be awesome. |
Beta Was this translation helpful? Give feedback.
-
Thank you all for taking the time to share your feedback in this thread. 🙇♀️ We’re excited to announce that we have expanded the roll out and made meaningful updates that we believe will enhance your experience. This is a direct reflection of the conversations we’ve had here, and we’re grateful for your role in this process. As part of this rollout, we’ve created a new feedback discussion to gather your thoughts on the latest updates and ensure we continue to improve. If you’ve already shared your experiences here, we’ve taken your feedback on board. However, if you feel there are points worth revisiting or emphasizing, we encourage you to highlight them again in the new discussions to keep the conversation fresh and relevant. We look forward to hearing more of our users exploring the evolution of GitHub issues and sharing their thoughts in the new threads! See you there. 👋 |
Beta Was this translation helpful? Give feedback.
-
hey Github, Thx foàr this neat selution. But i my opinion it would be useful to support multiple issue types on a report. Example: I have a feature issue type. But it is also include documentation work and such. So we the ticket is more then 1 issue type. |
Beta Was this translation helpful? Give feedback.
Thank you all for taking the time to share your feedback in this thread. 🙇♀️ We’re excited to announce that we have expanded the roll out and made meaningful updates that we believe will enhance your experience. This is a direct reflection of the conversations we’ve had here, and we’re grateful for your role in this process.
As part of this rollout, we’ve created a new feedback discussion to gather your thoughts on the latest updates and ensure we continue to improve. If you’ve already shared your experiences here, we’ve taken your feedback on board. However, if you feel there are points worth revisiting or emphasizing, we encourage you to highlight them again in the new discussions to k…