Issue Types Public Preview #148715
Replies: 27 comments 72 replies
-
|
Congrats for the feature release. |
Beta Was this translation helpful? Give feedback.
-
|
It would be nice if the issue types were visible on the list of issues in a milestone (ex: https://github.com/dotnet/android/milestone/38). When looking to prioritize work assigned to a milestone, probably the most important information is whether it is a bug or feature. |
Beta Was this translation helpful? Give feedback.
-
|
Can an option to disable this be added please ? As @hyangah @andrewbanchich @@probitcarwyn and @jahirfiquitiva pointed out above, this has a HUGE duplication with labels - and in most repos/organisations, this is already handled via labels. As a developer, I don't like having to maintain duplicate code in multiple places. The field is just noise I can do without. Actually, on that note: why does the "Projects" field still show up when the "Projects" feature has been disabled for a repo ? Again: noise I can do without. |
Beta Was this translation helpful? Give feedback.
-
|
Can you add the ability to select the issue type in the issue templates? Because currently we are limited to labels, and then manually selecting the type, which is less than ideal 🤷🏼♂️ |
Beta Was this translation helpful? Give feedback.
-
|
Feedback: the Action item: Document this outside this discussion @ https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms. |
Beta Was this translation helpful? Give feedback.
-
|
Feedback: Issue Types don't seem to be available in regular GitHub accounts, only in the orgs (some orgs?) Suggestion: Make them available to mere mortals. This may be useful to mass-maintainers who organize their repos under personal accounts rather than creating orgs. Workaround: One would be tempted to create an org just to gain access to such features. It's not a bad thing, it's actually a good way to organize big amounts of projects and get a number of other features that are rather limiting in user accounts. I'm pretty sure people do this for other features already. |
Beta Was this translation helpful? Give feedback.
-
|
feedback: when using a board display in projects, it would be nice to have a view of this in the toasts. Since space is very limited there, might I suggest a colored bar (option ?) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
We're getting issue types before scoped labels? It's been years 😔 |
Beta Was this translation helpful? Give feedback.
-
|
It would be nice to make issue types a repository-level setting. Otherwise, when moving a project to a different org, I imagine weird things will happen. Having that contained in the repository seems more useful to me. |
Beta Was this translation helpful? Give feedback.
-
|
Our org already has issue types in the form of labels, but I can't find any way to bulk-convert from one to the other. Are there any plans to add functionality like the "Convert to discussions" button for switching over to the new format? Alternately I would love to see support instead for scoped labels with organization-level management (like the way workflow secrets work). That would allow us to keep all our existing tags, just move them up to the org level. |
Beta Was this translation helpful? Give feedback.
-
|
Is it possible to create an issue via the REST API with an issue type? I could not find this mentioned in the REST API docs and in this post, only GraphQL was used as an example. |
Beta Was this translation helpful? Give feedback.
-
|
I wonder why is it not possible to assign types to pull requests? I often create pull requests out of the blue without having an issue first, and now while migrating to issue types I found that I end up with a need to keep Feature/Bug labels just to be able to assign them to PRs. P.S: Overall I'm quite liking this for organizations with lots of small repos where doing the work of setting up labels on every repo was too much of a hassle. Thanks 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Great feature! I agree it would be nice for the list to be customizable. One bug we noticed: it seems that if an issue is set to an issue type of "Bug" it doesn't show up in the Bugs section, as that is keyed on "bug" labels only. Ideally, it would be an OR. |
Beta Was this translation helpful? Give feedback.
-
|
This doesn't seem to work in issue templates, unlike what the initial post says: |
Beta Was this translation helpful? Give feedback.
-
|
I like these. Of the basic 3, only Task was one that we didn't already have a label for. Nice to keep these apart. |
Beta Was this translation helpful? Give feedback.
-
|
Why is this only available for organizations? Would be great to be able to use it on personal repos as well. |
Beta Was this translation helpful? Give feedback.
-
|
Feedback: Adding/removing/changing an issue type doesn't show as a timeline item in the issue. When adding/removing labels it's shown in the timeline. |
Beta Was this translation helpful? Give feedback.
-
|
Why is this limited to just organizations? Defining it at an organizational level makes the issue types consistent and available across all repositories in the organization, but not everyone works only in organization repositories. I'm sure I'm not the only one with personal public (and private) repositories that would benefit from having issue types. We should be able to define it at the organization and repository levels. If the repository is part of an organization, you have two choices: you can't redefine issue types and must use the organization ones, or you can. If the repository is personal, you can define it at the repository level. |
Beta Was this translation helpful? Give feedback.
-
|
It's mentioned that:
But it doesn't appear to trigger a webhook event when the type is changed. It does include the "type" when an issue is created or closed, but there doesn't seem to be a way to capture when the type is changed. Both the webhooks docs and graphql docs don't include any mention of the new types. Basically I have two asks:
|
Beta Was this translation helpful? Give feedback.
-
|
It would be nice to be able to disable the "type" feature completely, so it doesn't display at all on issues. We use labels for this and aren't likely to migrate to use types in the near future. We've disabled all of the default types, but having an empty dropdown there is a bit silly. |
Beta Was this translation helpful? Give feedback.
-
|
@rileybroughten I've been trying to use the listed GraphQL mutations to add an issue type to queries using a Github Action but I keep running into the following error: In case it matters, I use https://github.com/octokit/graphql-action and my action looks as follows: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
|
Will transitions of this field be viewable? If someone reclassifies an issue it's helpful to see that it happened, and ideally who did it so you know who to talk if you disagree. We'd been using labels to classify "bug" before and label changes show up in the issue history, so in switching to Issue Type we would lose that functionality. |
Beta Was this translation helpful? Give feedback.
-
|
I think it's important to have PRs also support type, because in our repository, both PRs and issues use the same classification labels. We can replace the classification labels of the issues with type, but PRs are not feasible. |
Beta Was this translation helpful? Give feedback.
-
|
How do I sort issue types after creating them? I'm not seeing an option on the dashboard. I can currently workaround this by deleting each type, and re-creating them where I want them but this process is currently tedious. |
Beta Was this translation helpful? Give feedback.
-
|
My repo is under my personal account (https://github.com/baptisteArno/typebot.io) so I can't use that feature?? |
Beta Was this translation helpful? Give feedback.












-
Feedback wanted
Thank 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 types
Issues 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 types
An 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.
Organization settings page
Adding a type to an issue
When you create a new issue, you can change the issue type using the
Typesection on the right. You can also change the issue type from this location once an issue has been created.Screen.Recording.2024-09-30.at.1.45.49.PM.mov
When 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
typequalifier in issue forms in your repositories, so that each issue created from each template automatically has the type set. See the documentation here.Issue form with `type` field
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
Typefield by copying and pasting or dragging cells.Creating custom views in your project
In a project, you can use the new
Typefield to customize your views by filtering, sorting, slicing, or grouping, so you can visualize and understand the breakdown of your issues.You can even use the
Typefield in the auto-add to project workflow, so you can automatically add these to your project.Auto-add to project workflow
Automating issue types
There are now
typedanduntypedwebhook payload objects for the issues webhook event that trigger a GitHub action.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
issue_types.Objects and Fields
Query Issue.IssueType
Returns issue type based on issue ID
Query IssueType
Returns fields for issue type i.e. private, enabled etc.
Query IssueType.issues connection (w/ repository argument)
Returns total count of issues (with associated fields i.e. title, state etc) with an issue type based on specified repo.
Query issueTypes using global search filter API
Org wide searches for issue type.
Mutations
Create Issue Type
Update Issue Type
Delete Issue Type
Create Issue -> w/ Issue Type
Update Issue -> w/ Issue Type
Update Issue Issue Type
Next steps
We 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