chore: set issue type on GitHub issue templates - #9559
Conversation
Add the `type:` key to the bug report and feature request issue forms so issues opened from them are automatically tagged with the org-level `Bug` and `Feature` issue types. Also align the bug form with the new org issue fields: rename the `Variant` dropdown to `Edition` (Community/Commercial/Cloud) and add descriptions matching the `Edition` and `Version` issue fields, so triage can copy the values straight into the sidebar. Claude-Session: https://claude.ai/code/session_017DPVwh1J21mZYRHjpTL7zg
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe issue forms now declare explicit GitHub types. The bug report collects edition information using Community, Commercial, and Cloud options and updates its version prompt for Cloud users. ChangesIssue template updates
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s GitHub Issue Forms to align newly submitted issues with org-level Issue Types and to keep form inputs consistent with the org’s Issue Fields (notably renaming “Variant” → “Edition” and matching option values).
Changes:
- Added top-level
type: Feature/type: Bugto the Feature Request and Bug Report issue forms. - Renamed the bug form dropdown from
VarianttoEdition, and updated options toCommunity / Commercial / Cloud. - Added descriptive helper text for the
EditionandVersioninputs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/ISSUE_TEMPLATE/--feature-request.yaml | Adds type: Feature so issues created from the template map to the org “Feature” issue type. |
| .github/ISSUE_TEMPLATE/--bug-report.yaml | Adds type: Bug, renames Variant → Edition, updates dropdown options, and adds descriptions for Edition/Version. |
Description
Wires the GitHub issue forms up to the org-level Issue Types and aligns them with the newly created Issue Fields.
type: Bugto the bug report form andtype: Featureto the feature request form. Issues opened from these templates are now automatically tagged with the corresponding org issue type, so they land correctly in type-based filters and views without manual triage.Variantdropdown toEditionand changed its options fromCloud / Self-hosted / LocaltoCommunity / Commercial / Cloud, matching theEditionissue field exactly.EditionandVersionmirroring their issue-field descriptions.Note on Issue Fields: GitHub issue form YAML has no key or input type for setting issue field values — fields are org-level config, pinned to an issue type, and rendered in the issue sidebar outside the form. The template can't populate them. The form inputs are kept so reporters still supply Edition/Version as part of the submission; a maintainer with triage access copies the values into the sidebar fields. (GitHub doesn't document whether non-collaborators can set sidebar field values at creation, so dropping the inputs risked losing that data on community-filed bugs.)
The
type:values are matched by exact string against the enabled org issue types (Task,Bug,Feature,Documentation) — renaming a type in org settings will silently stop the template from applying it.Type of Change
Screenshots and Media (if applicable)
Test Scenarios
🐛bug/planelabels.Community / Commercial / Cloudand is required, and that Version shows its new description.EditionandVersionissue fields render in the sidebar of a Bug-typed issue (requires them to be pinned to theBugtype in org settings).References
Follow-ups not included here: the
Documentationissue type has no matching template yet, and the🐛bug/✨featurelabels are now redundant with issue types.https://claude.ai/code/session_017DPVwh1J21mZYRHjpTL7zg
Summary by CodeRabbit