[BUG] Issue Type not editable #721
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?
After a issue is created the type is not editable. Type should be able to be multi select like labels, also we should be able to connect a type to a issue template like we do with labels
Branch created:
feature/721-bug-issue-type-not-editableThe core bug — type not editable after creation — is fixed in PR #726 (merged to
main).Root cause: the type sidebar (
templates/repo/issue/sidebar/issue_type.tmpl) gated its edit form on{{$canModify := and .FieldEditFlags .FieldEditFlags.CustomFields}}, but no handler ever setsFieldEditFlags→ it was always nil → the type was permanently read-only. Its twinissue_priority.tmplcorrectly usesHasIssuesOrPullsWritePermission; the type field now matches. Users with issue write permission get an inline dropdown that posts to the already-write-protected/issues/{id}/custom-typeendpoint.Leaving this issue open for the two remaining enhancement requests, which are separate from the bug:
type_id).If preferred, I can split those into a dedicated
enhancementissue and close this one.