Issue Types Public Preview #139933
Replies: 64 comments 104 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.
-
The only thing so far that's causing some friction for us is issue types being org global, while issue templates are per repo. In some cases this is useful (certain repos need more info for a given type). But in other cases you want to keep them all in sync. |
Beta Was this translation helpful? Give feedback.
-
As issue types are introduced, would it be possible to extend the list of automations currently available in Project Boards? It would indeed be nice if, when an issue is created in a Project Board (by converting a draft project card into an issue), an issue type could be automatically added to the new issue. We could consequently imagine having a "Task" issue type added to all project board items as they get created from a board. |
Beta Was this translation helpful? Give feedback.
-
Bug: if a project has already had a custom "Type" field, then the new, organizational-wide Type attribute does not show up in the list when configuring boards: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Once issue types are more integrated with projects I would expect that the custom fields can be set by types. For example, a parent "feature" type issue may have dates schedule where as individual "task" type issues would be assigned to an iteration/sprint. "Bug" types issues could have a ranking field. Right now we have many of these custom fields which show up regardless of type and is confusing to users. Is this a planned functionality? |
Beta Was this translation helpful? Give feedback.
-
For me I'd love to see what types others are using and then perhaps someone could put together a guide on how best to set them up. Some which I think could be considered:
Feel free to reply with the issue types which have worked for your projects |
Beta Was this translation helpful? Give feedback.
-
It would be nice if the hierarchy between the types could be configured. E.g. so that subissues from Epics always get issue type Feature - or whatever... |
Beta Was this translation helpful? Give feedback.
-
This seems topical to #16682, scoped labels are so important, and give similar capabilities to labels. |
Beta Was this translation helpful? Give feedback.
-
I Love GitHub Projects and Sub-issues Few improvements to consider for Projects and Sub-Issues. We have some Tasks to do when onboarding a new Customer to our Software. The Opertunity to create an Issue template to automatically generate all the Issues needed (In our case almost 83 with sub Tasks and more) Would be Great to Create such Tasks with one Click. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Hey! I'm wondering what is the difference between project's fields & issue types? |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Can I get added to this public preview? |
Beta Was this translation helpful? Give feedback.
-
Can we add the |
Beta Was this translation helpful? Give feedback.
-
Is it currently possible to access an issue type in a GH Action yml? For instance, should this work? I'm currently getting a blank value in ISSUE_TYPE.
|
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
Type
section 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
type
qualifier in issue forms in your repositories, so that each issue created from each template automatically has the type set.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
Type
field by copying and pasting or dragging cells.Creating custom views in your project
In a project, you can use the new
Type
field 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
Type
field 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
typed
anduntyped
webhook 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