issue

package
v1.5.18 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(option *ApplyOption) error

func Assign

func Assign() error

func BatchDelete

func BatchDelete(issueSlice []jira.Issue)

func Delete

func Delete(option *DeleteOption) error

func Epic

func Epic() error

func Export

func Export() error

func List

func List(option *issue.Search) error

func NewCommandApply

func NewCommandApply() *cobra.Command

func NewCommandAssign

func NewCommandAssign() *cobra.Command

func NewCommandDelete

func NewCommandDelete() *cobra.Command

func NewCommandEpic

func NewCommandEpic() *cobra.Command

func NewCommandExport

func NewCommandExport() *cobra.Command

func NewCommandList

func NewCommandList() *cobra.Command

func NewCommandStatus

func NewCommandStatus() *cobra.Command

func NewCommandUpdate

func NewCommandUpdate() *cobra.Command

func SelectAssignee

func SelectAssignee() (*jira.User, error)

func Status

func Status() error

func Update

func Update() error

Types

type ApplyCommand

type ApplyCommand struct {
	Value  *issue.ApplyValue
	Result []jira.Issue
}

func (*ApplyCommand) Request

func (cmd *ApplyCommand) Request(s *spinner.Spinner) error

func (*ApplyCommand) Response

func (cmd *ApplyCommand) Response() error

type ApplyOption

type ApplyOption struct {
	FilePath string
}

type AssignCommand

type AssignCommand struct {
	Issue    *jira.Issue
	Assignee *jira.User
}

func (*AssignCommand) Request

func (cmd *AssignCommand) Request(s *spinner.Spinner) error

func (*AssignCommand) Response

func (cmd *AssignCommand) Response() error

type DeleteCommand

type DeleteCommand struct {
	Issue jira.Issue
}

func (*DeleteCommand) Request

func (cmd *DeleteCommand) Request(s *spinner.Spinner) error

func (*DeleteCommand) Response

func (cmd *DeleteCommand) Response() error

type DeleteOption

type DeleteOption struct {
	Interactive bool
	IssueIDList []string

	Search *issue.Search
}

type EpicCommand

type EpicCommand struct {
	Result []jira.Issue
}

func (*EpicCommand) BeforeRequest

func (cmd *EpicCommand) BeforeRequest(s *spinner.Spinner) *spinner.Spinner

func (*EpicCommand) Request

func (cmd *EpicCommand) Request(s *spinner.Spinner) error

func (*EpicCommand) Response

func (cmd *EpicCommand) Response() error

type ExportCommand

type ExportCommand struct {
	Issue      *jira.Issue
	Transition *jira.Transition
}

func (*ExportCommand) Request

func (cmd *ExportCommand) Request(s *spinner.Spinner) error

func (*ExportCommand) Response

func (cmd *ExportCommand) Response() error

type ListCommand

type ListCommand struct {
	Option *issue.Search
	Result []jira.Issue
}

func (*ListCommand) Request

func (cmd *ListCommand) Request(s *spinner.Spinner) error

func (*ListCommand) Response

func (cmd *ListCommand) Response() error

type StatusCommand

type StatusCommand struct {
	Issue      *jira.Issue
	Transition *jira.Transition
}

func (*StatusCommand) Request

func (cmd *StatusCommand) Request(s *spinner.Spinner) error

func (*StatusCommand) Response

func (cmd *StatusCommand) Response() error

type UpdateCommand

type UpdateCommand struct {
	Value  *jira.Issue
	Result []jira.Issue
}

func (*UpdateCommand) Request

func (cmd *UpdateCommand) Request(s *spinner.Spinner) error

func (*UpdateCommand) Response

func (cmd *UpdateCommand) Response() error

Jump to

Keyboard shortcuts

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