feat: let issue templates set MokoGitea first-class fields (priority / status / type / custom fields) #744
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
MokoGitea adds several first-class issue attributes that vanilla Gitea doesn't have — Priority, Status, Type, and org-level custom fields. But the issue-template system still only understands upstream Gitea's front-matter keys (
name,about,title,labels,assignees,ref). So a template can't pre-populate any of the fork's first-class fields — they have to be set by hand on every new issue.Request: expand the issue-template schema so templates can set the new first-class fields at creation time.
Proposed template keys
Extend both the Markdown-template front matter (
.mokogitea/ISSUE_TEMPLATE/*.md) and the YAML issue-form schema to accept:priority/orgs/{org}/issue_priorities)status/orgs/{org}/issue_statuses)typefields:/custom_fields:/orgs/{org}/custom_fields)Example:
Behavior / requirements
Why
Consuming repos rely heavily on Priority/Status/Type/custom-fields for triage (see the MokoConsulting issue workflow). Being able to bake sensible defaults into each template (e.g. a security template →
priority: High,type: Vulnerability) removes a manual step and keeps triage consistent.Related: the issue-template dedup/standardization effort in Template-Generic#65 — first-class-field support would let the shared templates carry correct defaults org-wide.
Branch created:
feature/744-feat-let-issue-templates-set-mokogitea-f