Documentation
¶
Overview ¶
Package issue hosts the `jira issue` command group — the CLI's largest verb — covering the issue lifecycle (create, view, list, edit, clone, move, delete, transition) and its sub-resources: comments, attachments, links, watchers, and rank. It also provides the top-level `jira open` shortcut.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var WatcherCommands = []func() *cobra.Command{
issueWatcherCommand,
issueWatchCommand,
issueUnwatchCommand,
}
WatcherCommands is the public wiring slice the root command-tree dispatcher in commands.go consumes — keeps the registration surface explicit so each new sub-command lands in one place. Exposing it avoids "unused symbol" lint flags while incremental delivery is in flight.
Functions ¶
func IssueAttachmentCommand ¶
IssueAttachmentCommand returns the `attachment` sub-command group for registration under `jira issue`. The lead wires this in commands.go's issueCommand() so the four sub-paths (list/add/delete/download) become available end-to-end.
func IssueListOutputData ¶
IssueListOutputData builds the base `issue.list` envelope data — the issues payload plus the detail flag, and the resolved JQL only under --debug. Exported so the shapes that extend it (boardScopedListData) and the output tests produce identical list output.
func NewCommand ¶
NewCommand returns the `issue` verb and all its sub-commands.
func NewOpenCommand ¶ added in v0.3.0
NewOpenCommand returns the top-level `jira open KEY` shortcut that opens an issue in the browser — the muscle-memory command, sharing openIssueWeb with `issue view --web`.
Types ¶
This section is empty.