issue

package
v1.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package issue implements the `bitbottle issue` command group. Issues are a Bitbucket Cloud feature gated by the IssueClient optional interface; invocations against Server/DC surface a typed ErrUnsupportedOnHost.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IssueStateColor

func IssueStateColor(ios *iostreams.IOStreams) func(string) string

IssueStateColor maps Bitbucket Cloud issue states to colours. Active (open / new) renders green; closed states (resolved / closed) magenta; "won't fix" / "invalid" / "duplicate" red — terminal and negative; "on hold" yellow because it's neither active nor done.

Exported so a future `issue view` formatter (or external tooling) can share the mapping. Unknown states pass through uncoloured.

func NewCmdIssue

func NewCmdIssue(f *factory.Factory) *cobra.Command

func NewCmdIssueAssign added in v1.23.0

func NewCmdIssueAssign(f *factory.Factory) *cobra.Command

func NewCmdIssueClose

func NewCmdIssueClose(f *factory.Factory) *cobra.Command

func NewCmdIssueComment added in v1.23.0

func NewCmdIssueComment(f *factory.Factory) *cobra.Command

NewCmdIssueComment returns the `issue comment` subcommand group.

func NewCmdIssueCommentAdd added in v1.23.0

func NewCmdIssueCommentAdd(f *factory.Factory) *cobra.Command

func NewCmdIssueCommentDelete added in v1.23.0

func NewCmdIssueCommentDelete(f *factory.Factory) *cobra.Command

func NewCmdIssueCommentEdit added in v1.23.0

func NewCmdIssueCommentEdit(f *factory.Factory) *cobra.Command

func NewCmdIssueCommentList added in v1.23.0

func NewCmdIssueCommentList(f *factory.Factory) *cobra.Command

func NewCmdIssueCreate

func NewCmdIssueCreate(f *factory.Factory) *cobra.Command

func NewCmdIssueEdit added in v1.23.0

func NewCmdIssueEdit(f *factory.Factory) *cobra.Command

func NewCmdIssueList

func NewCmdIssueList(f *factory.Factory) *cobra.Command

func NewCmdIssueReopen added in v1.23.0

func NewCmdIssueReopen(f *factory.Factory) *cobra.Command

func NewCmdIssueView

func NewCmdIssueView(f *factory.Factory) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL