issue

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 12 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 NewCmdIssueAttachment added in v1.100.0

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

NewCmdIssueAttachment returns the `issue attachment` subcommand group.

func NewCmdIssueAttachmentDelete added in v1.100.0

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

NewCmdIssueAttachmentDelete builds `issue attachment delete PROJECT/REPO ISSUE_ID FILENAME`.

func NewCmdIssueAttachmentList added in v1.100.0

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

NewCmdIssueAttachmentList builds `issue attachment list PROJECT/REPO ISSUE_ID`.

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 NewCmdIssueUnvote added in v1.100.0

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

NewCmdIssueUnvote builds `issue unvote PROJECT/REPO ISSUE_ID`.

func NewCmdIssueUnwatch added in v1.100.0

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

NewCmdIssueUnwatch builds `issue unwatch PROJECT/REPO ISSUE_ID`.

func NewCmdIssueView

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

func NewCmdIssueVote added in v1.100.0

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

NewCmdIssueVote builds `issue vote PROJECT/REPO ISSUE_ID`.

func NewCmdIssueWatch added in v1.100.0

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

NewCmdIssueWatch builds `issue watch PROJECT/REPO ISSUE_ID`.

Types

This section is empty.

Directories

Path Synopsis
Package activity implements the `bitbottle issue activity` subcommand.
Package activity implements the `bitbottle issue activity` subcommand.

Jump to

Keyboard shortcuts

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