Versions in this module Expand all Collapse all v2 v2.0.1 Nov 10, 2026 v2.0.0 Nov 9, 2026 Changes in this version + const MaxInspect + const ReasonCompleted + const ReasonDuplicate + const ReasonNotPlanned + const StateClosed + const StatusDoing + const StatusDone + const StatusTodo + var ErrAlreadyClaimed = errors.New("ticket is already claimed") + var ErrNoHandoff = errors.New("no open handoff") + var ErrRateLimited = errors.New("GitHub rate limit reached") + type BoardAccessError struct + Account string + Detail string + func (e *BoardAccessError) Error() string + type Client struct + func New(opts Options) (*Client, error) + func (c *Client) AddAttachments(ctx context.Context, number int, body *string, files []string) error + func (c *Client) AddComment(ctx context.Context, number int, body string, files []string) error + func (c *Client) AddComponent(ctx context.Context, repo Repo, dir, component string) (Project, error) + func (c *Client) AddLabels(ctx context.Context, number int, labels []string) error + func (c *Client) AddProject(ctx context.Context, repo Repo) (Project, error) + func (c *Client) AddToEpic(ctx context.Context, epic int, tickets []int, move bool) (int, error) + func (c *Client) ClaimNext(ctx context.Context, project string, tally *Tally) (Ticket, bool, error) + func (c *Client) ClaimTicket(ctx context.Context, number int) (Ticket, error) + func (c *Client) CloseEligibleEpic(ctx context.Context, number int) (bool, error) + func (c *Client) CloseEpic(ctx context.Context, number int, reason string) error + func (c *Client) CloseTicket(ctx context.Context, number int, opts CloseOptions) (Ticket, error) + func (c *Client) CreateEpic(ctx context.Context, opts EpicOptions) (Ticket, error) + func (c *Client) CreateHandoff(ctx context.Context, opts HandoffOptions) (Handoff, error) + func (c *Client) CreateTicket(ctx context.Context, opts CreateOptions) (Ticket, error) + func (c *Client) DemoteEpic(ctx context.Context, number int) error + func (c *Client) DropHandoff(ctx context.Context, name, reason string, freeSlot bool) (Handoff, bool, error) + func (c *Client) EditTicket(ctx context.Context, number int, opts EditOptions) error + func (c *Client) ImportIssues(ctx context.Context, opts ImportOptions) (ImportResult, error) + func (c *Client) InspectEpic(ctx context.Context, number int) (EpicDetail, error) + func (c *Client) InspectTicket(ctx context.Context, number int) (TicketDetail, error) + func (c *Client) InspectTickets(ctx context.Context, numbers []int) ([]TicketDetail, error) + func (c *Client) ListTickets(ctx context.Context, opts ListOptions) ([]Ticket, int, error) + func (c *Client) MoveTicket(ctx context.Context, number int, target string) error + func (c *Client) ProjectIn(ctx context.Context, current Repo, refresh bool) (Project, bool, error) + func (c *Client) ProjectName(repo Repo) string + func (c *Client) ProjectRepo(ctx context.Context, name string) (string, bool, error) + func (c *Client) ProjectSummary(ctx context.Context, project Project) (ProjectSummary, error) + func (c *Client) Projects(ctx context.Context) ([]Project, error) + func (c *Client) PromoteEpic(ctx context.Context, number int) error + func (c *Client) PruneAttachments(ctx context.Context, remove bool) ([]string, error) + func (c *Client) PullAttachments(ctx context.Context, number int, dir string) ([]string, error) + func (c *Client) ReleaseTicket(ctx context.Context, number int) error + func (c *Client) RemoveAttachments(ctx context.Context, number int, files []string) ([]string, error) + func (c *Client) RemoveFromEpic(ctx context.Context, epic int, tickets []int) error + func (c *Client) RemoveLabels(ctx context.Context, number int, labels []string) error + func (c *Client) RemoveProject(ctx context.Context, name string) error + func (c *Client) ReopenTicket(ctx context.Context, number int) error + func (c *Client) Repo() Repo + func (c *Client) ResolveProject(ctx context.Context, name string) (Project, error) + func (c *Client) ScanRepos(ctx context.Context, authors []string) ([]RepoScan, error) + func (c *Client) SetBlockers(ctx context.Context, number int, blockers []int, add bool) error + func (c *Client) SetStatus(ctx context.Context, number int, status string) error + func (c *Client) ShowHandoff(ctx context.Context, name string) (Handoff, error) + func (c *Client) SyncDescriptions(ctx context.Context, projects []Project) (DescriptionResult, error) + func (c *Client) TakeHandoff(ctx context.Context, name string) (TakenHandoff, error) + func (c *Client) UntakeHandoff(ctx context.Context, number int, reason string) (Handoff, error) + type CloseOptions struct + Comment string + LandedPR string + PRs []string + Reason string + type Comment struct + Author string + Body string + CreatedAt time.Time + type CreateOptions struct + Attachments []string + BlockedBy []int + Blocking []int + Body string + DiscoveredFrom int + Epic int + Labels []string + Project string + Title string + type DescriptionResult struct + Boards int + Problems []string + Updated []string + type EditOptions struct + Attachments []string + Body *string + Title *string + type EpicDetail struct + Tickets []Ticket + func (d EpicDetail) Done() int + type EpicOptions struct + Add []int + Attachments []string + BlockedBy []int + Body string + Labels []string + Project string + Title string + type Handoff struct + Branch string + Related int + SHA string + Text string + Ticket Ticket + type HandoffOptions struct + Branch string + Project string + Related int + SHA string + Text string + Title string + type ImportOptions struct + Authors []string + DryRun bool + Limit int + OnMove func(source, ticket int) error + Repo Repo + type ImportResult struct + Moved int + Remaining int + Skipped int + type ListOptions struct + Closable bool + Epic bool + Handoff bool + Label string + Limit int + Now time.Time + Priority string + Project string + Ready bool + Search string + Stale bool + StaleDays int + State string + Status string + Tally *Tally + Unrouted bool + type Options struct + Account string + CacheDir string + Repo Repo + RequirePrivate bool + Token string + Transport http.RoundTripper + type Project struct + BoardID string + BoardURL string + ComponentFieldID string + ComponentOptions map[string]string + LabelID string + Name string + Path string + Public bool + Repo string + StatusFieldID string + StatusOptions map[string]string + func (p Project) Component() bool + func (p Project) Label() string + func (p Project) Root() string + type ProjectSummary struct + Closed int + Open int + Project Project + type Repo struct + Name string + Owner string + func CurrentRepo() (Repo, error) + func ParseRepo(value string) (Repo, error) + func (r Repo) String() string + type RepoScan struct + Movable int + Open int + Others int + Private bool + Repo string + type SubIssue struct + Number int + State string + Title string + type TakenHandoff struct + Moved bool + Unchecked error + type Tally struct + Closed int + ClosedRead bool + Handoffs []Ticket + Open map[string]int + OpenRead bool + type Ticket struct + Activity time.Time + Blockers []int + ID string + Labels []string + Number int + OpenSubIssues int + Parent int + ParentBlocked bool + ParentEpic bool + Project string + State string + Status string + SubIssues int + Title string + URL string + func (t Ticket) Closable() bool + func (t Ticket) Created() time.Time + func (t Ticket) Epic() bool + func (t Ticket) Handoff() bool + func (t Ticket) OtherLabels() []string + func (t Ticket) Priority() string + func (t Ticket) PriorityConflicts() []string + func (t Ticket) Ready() bool + func (t Ticket) Stale(days int, now time.Time) bool + type TicketDetail struct + Attachments []string + Blocking []int + Body string + Comments []Comment + PublicRepo bool + SubIssues []SubIssue Other modules containing this package github.com/alexgorbatchev/issue-tracker-cli