Documentation
¶
Index ¶
Constants ¶
const ( // Group-level work items TypeEpic = "EPIC" TypeObjective = "OBJECTIVE" TypeKeyResult = "KEY_RESULT" // Project-level work items TypeIssue = "ISSUE" TypeTask = "TASK" TypeIncident = "INCIDENT" TypeTicket = "TICKET" TypeRequirement = "REQUIREMENT" TypeTestCase = "TEST_CASE" )
IssueType enum values from GitLab GraphQL API Used in workItems(types: [IssueType!]) filter parameter NOTE: These types will become customizable in future GitLab releases. This list is for reference only - API is source of truth for validation.
Variables ¶
var AllKnownTypes = []string{ TypeEpic, TypeObjective, TypeKeyResult, TypeIssue, TypeTask, TypeIncident, TypeTicket, TypeRequirement, TypeTestCase, }
AllKnownTypes contains current default work item types for reference. NOTE: This list will become outdated when work item types become customizable. Do not use for validation - API is the source of truth.
Functions ¶
func DetectScope ¶
func DetectScope(groupFlag string, baseRepo func() (glrepo.Interface, error)) (*api.ScopeInfo, error)
DetectScope determines the appropriate scope (group or project) for work items queries.
func DisplayWorkItemList ¶
DisplayWorkItemList formats and displays work items as a table
func ValidateTypes ¶
ValidateTypes performs minimal format validation on work item types. Only checks that types are non-empty and non-whitespace. The GraphQL API is responsible for validating actual type names.
Types ¶
This section is empty.