CARVIEW |
Navigation Menu
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.
All reactions
-
π 33 -
π 2 -
π 2 -
π 1 -
β€οΈ 5
Replies: 80 comments · 147 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.
All reactions
-
π 12
-
@rileybroughten We have standard labels between repositories, so for us, this isn't helpful. Having shared labels between repositories would be amazing though.
We can do the same with labels, I imagine? I'm probably missing something, with the information available it feels like "Issue Types" shouldn't exist in the first place, they add complexity without solving problems. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
I like the org alignment but how about org-wide/shared labels? Having a new property seems confusing and breaks all existing workflows that are based on labels. We have a ton of persisted queries that are all using labels. Adding a new property forces us to update them all and will spark discussions about label vs type |
Beta Was this translation helpful? Give feedback.
All reactions
-
I wish Types and Labels were practically equivalent. Across all of Bevry's repos, we have Also in the announcement, there was also an |
Beta Was this translation helpful? Give feedback.
All reactions
-
We're finding some confusion from using both, especially moving from bug and enhancement labels to types, this is especially the case given you can't use Types on PRs and we were using these labels for automated release notes. I do sometimes wish you could bind certain labels to certain issue types too, a sub-type of sorts. |
Beta Was this translation helpful? Give feedback.
All reactions
-
We had the same initial confusion. What we ended up with, is that a label should be able to fit on multiple types. Types:
Labels:
So e.x. an investigate label can be set on both Bug, Draft, Proposal or task We using this as baseline to experiment and further adjust.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Would |
Beta Was this translation helpful? Give feedback.
All reactions
-
You can customize the set of issue types available for the organization (up to 10) as well as the description to help guide what they should be used for, so you can modify, add, or delete issue types as needed for your organization. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 4
-
Are there plans to eventually allow this to be customized at the repository level? Asking because in github.com/dotnet we have ~500 repositories. The chance that we can collectively agree on the perfect set of 10 issue types to share is pretty low. At the same time there are a lot of labels I'd like to convert to issue types in the repositories I manage. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 9
-
I have a comment that proposes a way to make it configurable... https://github.com/orgs/community/discussions/139933#discussioncomment-10849334 |
Beta Was this translation helpful? Give feedback.
All reactions
-
I agree with @jaredpar that the number of issue types should exceed 10. If we can have as many labels as we want, why can't we have as many issue types as we want? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Wondering the same thing :D |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
We're aware of this bug and will provide an update when a fix is available! Thank you for reporting π |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
This bug also occurs when clicking on a type in a sub-task as well. Thanks! |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
This has been fixed when using the |
Beta Was this translation helpful? Give feedback.
All reactions
-
We have this bug tracked on our end, I will provide an update when this is resolved. Thank you for your patience on this! |
Beta Was this translation helpful? Give feedback.
All reactions
-
@kanahamppari we just pushed a fix for this, let me know if you still encounter this issue! |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
We have it on our backlog to support events in the issue timeline so you can see changes over time, we'll provide an update once this is supported in the future π |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 6
-
This is coming soon, appreciate your patience on this! |
Beta Was this translation helpful? Give feedback.
All reactions
-
Alternatively, if you're unsure or need to check further: |
Beta Was this translation helpful? Give feedback.
All reactions
-
This is actively being worked on, will provide an update when this is released! |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
π 10
-
We don't have plans to add types to pull requests. Do you have other automations or workflows that are relying on the issues and their linked pull requests to have the same set of labels? |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
No, we don't have any label-automations. However, by moving all our labeled issues to specific issue types and removing the respective old labels from the issues, issues and PRs can't be categorized in the same groups anymore, unless we keep the duplicate labels on the issues. This is pretty bad for us organizing/moderating stuff, and for users browsing/finding stuff. The new issue types allow for better semantic categorization. Labels which were previously also used for categorizing stuff can now purly be used for adding additional annotations, which is great. But if PRs lack this feature, then nothing is really gained from this, because both systems are very much intertwined. Why should issues be put into the "bug" category via the issue type attribute, while PRs resolving those kinds of issues can not, and instead still need to be labeled "bug", making both categorization systems incompatible with each other? |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 21
-
On a related use case, we were looking at automation for generating release notes, where issue and PR references would be grouped under a markdown section based on a label. For example:
Generally, an issue holds the label relevant to the release notes. Sometimes, a PR has no corresponding issue and gets the label directly. When moving to issue types, such PRs without issues won't be included in the release notes, and the project would need to create artificial issues to keep the release note generation consistent. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 8
-
@rileybroughten It's hard to see which pull requests address bugs and which pull requests address enhancements now... We used to apply the same label. Now we would need a Bug type and a Bug label, which seems quite inconsistent to me. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 5
-
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.
All reactions
-
π 1
-
Thanks for the feedback. This is similar how labels filtering works today. I am curios would you expect labels also to be lowercased when applying the filter? |
Beta Was this translation helpful? Give feedback.
All reactions
-
You can rename your Types at the org level to be lowercase. |
Beta Was this translation helpful? Give feedback.
All reactions
-
There should be an option to easily migrate labels to types. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 4
-
See this comment above for some tips on how you can make bulk updates from using labels to issue types |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1 -
π 1
-
mutation {
updateIssues(input: {
filter: { labels: ["bug"] }
issueTypeId: "ID" # ID for "Bug" type.
}) {
issue {
id
url
}
}
} This makes it very awkward to switch from labels to types. Edit: I suppose a combination of: search(type: ISSUE, first: 100, query: "label:bug") { id } (paged) and: updateIssue(input: { id: "ID_FROM_PREVIOUS_QUERY", issueTypeId: "ID" }) { id } ... should work. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
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.
All reactions
-
I think you can do this by stacking multiple individual negated task filters.
I agree a |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 3
-
Thank you for this feedback, we have it noted! |
Beta Was this translation helpful? Give feedback.
All reactions
-
β€οΈ 1
-
You can now filter by ![]() |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Good idea! A filter for issues without a type would be helpful for backfilling. I'll share this with the team. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
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.
All reactions
-
π 1
-
Could you provide an example or screen recording of what you are observing? |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
I understand, thank you for providing more details on this! |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
I agree with this one for sure. It would be awesome to have it be sticky. π |
Beta Was this translation helpful? Give feedback.
All reactions
-
The issue template can add labels automatically. Will it support the issue types? |
Beta Was this translation helpful? Give feedback.
All reactions
-
It's in the OP. Click "Issue form with |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 2
-
Oh, I see. Thanks! |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
π 1
-
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.
All reactions
-
Im curious about this too. What I usually do as a workaround(My team is using projects btw) is that we copy past values from the columns on the table view. Something like below: We copy one item and then highlight the columns below and paste it(I assume it would be the same with I don't have any idea how to do bulk from the issues page. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I stumbled across the same and realized there were pull requests between the results, which cannot receive issue types. Adding |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 2
-
Thank you @scordio, that worked! |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
See also https://github.com/orgs/community/discussions/139933#discussioncomment-10824698 |
Beta Was this translation helpful? Give feedback.
All reactions
-
@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.
All reactions
-
This is something that we plan to work on. Do you have any specific action you would like to see as part of it? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Basic operations with types would be fine like assign, get, remove & change type of issue, as of now this would be fine. Thanks |
Beta Was this translation helpful? Give feedback.
All reactions
-
β€οΈ 1
-
Currently, issue types cannot be seen on GitHub Mobile. Is a beta rollout also planned there? |
Beta Was this translation helpful? Give feedback.
All reactions
-
We are working on adding GitHub Mobile support as well. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 2
-
See the comment below, but you can now view and update issue types on GitHub Mobile! |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
Issue Types are not planned for PRs at this time https://github.com/orgs/community/discussions/139933#discussioncomment-10824773 |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
π 1
-
I get an error: ![]() |
Beta Was this translation helpful? Give feedback.
All reactions
-
Oh this is in a fork that is maybe why it doesn't work. |
Beta Was this translation helpful? Give feedback.
All reactions
-
![]() Why don't changes to issue types show the same way as they do for labels? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Is this what you mean? |
Beta Was this translation helpful? Give feedback.
All reactions
-
See the comment here, but we're working on supporting this and it's coming soon π |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
We recently shipped a fix to address this, could you try again and let us know if you continue to see this? Thank you! |
Beta Was this translation helpful? Give feedback.
All reactions
-
This is fixed when I'm viewing an issue in a project, but when I open the issue directly, I still see the issue type dropdown falling past the bottom of the screen. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@astendal are you able to provide a screenshot of what you're observing? I'm not able to see the case when the issue type dropdown is not scrollable so want to reproduce it so we can look into it on our end π |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
π It seems that the public GraphQL API does not include the ![]() |
Beta Was this translation helpful? Give feedback.
All reactions
-
I can confirm that the API doesn't return |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hey there folks π (i.e. using curl you'd have |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 4
-
Thanks for you reply π - Is it in the documentation somewhere? Via their graphql explorer it does not seems to work. Will try another way. |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
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.
All reactions
-
"Epic" should be a default type |
Beta Was this translation helpful? Give feedback.
All reactions
-
Agree! For example we could have an Epic "Tech Debt Q1" that groups different tasks. |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
The diff for comment edit history isn't looking quite right... |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
π 1
-
@rileybroughten When we will be able to change order of issues in org settings? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@joshjohanning @rileybroughten Any update on this? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@labudis can you please share any update on this? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for raising this. We have this tracked on our end as an improvement to make it easier to organize the list of issue types and will provide an update once we have more details to share π |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 2
-
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.
All reactions
-
It's issue or do we something wrong? Where can I send this as a relevant issue? |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
π 1
-
It's resolved it seems . Ignore |
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
All reactions
-
Thank you for this suggestion! We've tracked this feedback on our end π |
Beta Was this translation helpful? Give feedback.
All reactions
-
π 1
-
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.
All reactions
-
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.
All reactions
-
Arguably those are two different sub-issues of one parent? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hmm its possible. For now in my use case we register task lists in the ticket for the idea. What also comes with lists about documentation of that feature. But we have two persons on the project. One writer and a developer. They can select their tickets on the issue type. (Sorry having a hard time to explain it. ) |
Beta Was this translation helpful? Give feedback.
All reactions
-
I think I understand. In GH at the moment the most natural (but has overhead) mapping is to have an sub-issue per part, each assigned to the respective person. The latest sub-issue preview has an option next to checkbox items to convert to sub-issue (but still can't do a batch of them). If you compare to Trello where you can assign a checklist item on a card to person, you stat to see the difference in overhead between the approaches. That said, Trello's notification and tracking of "where do I have checklist items to do" is painful. |
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β¦