Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScopeTypeGroup = "group" ScopeTypeProject = "project" )
scope type constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupWorkItems ¶
type GroupWorkItems struct {
WorkItems WorkItemsConnection `json:"workItems"`
}
helper structs for GraphQL response parsing
type ProjectWorkItems ¶
type ProjectWorkItems struct {
WorkItems WorkItemsConnection `json:"workItems"`
}
type WorkItem ¶
type WorkItem struct {
IID string `json:"iid"`
Title string `json:"title"`
State string `json:"state"`
WorkItemType struct {
Name string `json:"name"`
} `json:"workItemType"`
Author struct {
Username string `json:"username"`
} `json:"author"`
WebURL string `json:"webUrl"`
}
WorkItem represents a work item from the GraphQL API
type WorkItemsConnection ¶
type WorkItemsResponse ¶
type WorkItemsResponse struct {
Data struct {
Group *GroupWorkItems `json:"group,omitempty"`
Project *ProjectWorkItems `json:"project,omitempty"`
} `json:"data"`
}
WorkItemsResponse represents the GraphQL response structure for work items queries
Click to show internal directories.
Click to hide internal directories.