issue

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

`jira issue link` command tree.

Sub-command group:

  • link list KEY — flattened inward+outward array, sorted
  • link delete KEY LINK_ID — DELETE /issueLink/{id}, force-gated
  • link types — instance link-type list, cache-backed

Default action (no subcommand): `link KEY --to OTHER --type NAME` retains today's create form for back-compat.

Index

Constants

This section is empty.

Variables

View Source
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

func IssueAttachmentCommand() *cobra.Command

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

func IssueListOutputData(cmd *cobra.Command, issues any, detail bool, query string) map[string]any

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns the `issue` verb and all its sub-commands.

func NewOpenCommand added in v0.3.0

func NewOpenCommand() *cobra.Command

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.

Jump to

Keyboard shortcuts

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