jiracmd

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2017 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdAssign

func CmdAssign(o *oreo.Client, globals *jiracli.GlobalOptions, opts *AssignOptions) error

CmdAssign will assign an issue to a user

func CmdAssignRegistry

func CmdAssignRegistry() *jiracli.CommandRegistryEntry

func CmdAssignUsage

func CmdAssignUsage(cmd *kingpin.CmdClause, opts *AssignOptions) error

func CmdAttachCreate added in v1.0.8

func CmdAttachCreate(o *oreo.Client, globals *jiracli.GlobalOptions, opts *AttachCreateOptions) error

func CmdAttachCreateRegistry added in v1.0.8

func CmdAttachCreateRegistry() *jiracli.CommandRegistryEntry

func CmdAttachCreateUsage added in v1.0.8

func CmdAttachCreateUsage(cmd *kingpin.CmdClause, opts *AttachCreateOptions) error

func CmdAttachGet added in v1.0.8

func CmdAttachGet(o *oreo.Client, globals *jiracli.GlobalOptions, opts *AttachGetOptions) error

func CmdAttachGetRegistry added in v1.0.8

func CmdAttachGetRegistry() *jiracli.CommandRegistryEntry

func CmdAttachGetUsage added in v1.0.8

func CmdAttachGetUsage(cmd *kingpin.CmdClause, opts *AttachGetOptions) error

func CmdAttachList added in v1.0.8

func CmdAttachList(o *oreo.Client, globals *jiracli.GlobalOptions, opts *AttachListOptions) error

func CmdAttachListRegistry added in v1.0.8

func CmdAttachListRegistry() *jiracli.CommandRegistryEntry

func CmdAttachListUsage added in v1.0.8

func CmdAttachListUsage(cmd *kingpin.CmdClause, opts *AttachListOptions) error

func CmdAttachRemove added in v1.0.8

func CmdAttachRemove(o *oreo.Client, globals *jiracli.GlobalOptions, opts *AttachRemoveOptions) error

func CmdAttachRemoveRegistry added in v1.0.8

func CmdAttachRemoveRegistry() *jiracli.CommandRegistryEntry

func CmdAttachRemoveUsage added in v1.0.8

func CmdAttachRemoveUsage(cmd *kingpin.CmdClause, opts *AttachRemoveOptions) error

func CmdBlock

func CmdBlock(o *oreo.Client, globals *jiracli.GlobalOptions, opts *BlockOptions) error

CmdBlock will update the given issue as being a duplicate by the given dup issue and will attempt to resolve the dup issue

func CmdBlockRegistry

func CmdBlockRegistry() *jiracli.CommandRegistryEntry

func CmdBlockUsage

func CmdBlockUsage(cmd *kingpin.CmdClause, opts *BlockOptions) error

func CmdBrowse

func CmdBrowse(globals *jiracli.GlobalOptions, issue string) error

CmdBrowse open the default system browser to the provided issue

func CmdBrowseRegistry

func CmdBrowseRegistry() *jiracli.CommandRegistryEntry

func CmdComment

func CmdComment(o *oreo.Client, globals *jiracli.GlobalOptions, opts *CommentOptions) error

CmdComment will update issue with comment

func CmdCommentRegistry

func CmdCommentRegistry() *jiracli.CommandRegistryEntry

func CmdCommentUsage

func CmdCommentUsage(cmd *kingpin.CmdClause, opts *CommentOptions) error

func CmdComponentAdd

func CmdComponentAdd(o *oreo.Client, globals *jiracli.GlobalOptions, opts *ComponentAddOptions) error

CmdComponentAdd sends the provided overrides to the "component-add" template for editing, then will parse the edited document as YAML and submit the document to jira.

func CmdComponentAddRegistry

func CmdComponentAddRegistry() *jiracli.CommandRegistryEntry

func CmdComponentAddUsage

func CmdComponentAddUsage(cmd *kingpin.CmdClause, opts *ComponentAddOptions) error

func CmdComponents

func CmdComponents(o *oreo.Client, globals *jiracli.GlobalOptions, opts *ComponentsOptions) error

CmdComponents will get available components for project and send to the "components" template

func CmdComponentsRegistry

func CmdComponentsRegistry() *jiracli.CommandRegistryEntry

func CmdComponentsUsage

func CmdComponentsUsage(cmd *kingpin.CmdClause, opts *ComponentsOptions) error

func CmdCreate

func CmdCreate(o *oreo.Client, globals *jiracli.GlobalOptions, opts *CreateOptions) error

CmdCreate sends the create-metadata to the "create" template for editing, then will parse the edited document as YAML and submit the document to jira.

func CmdCreateMeta

func CmdCreateMeta(o *oreo.Client, globals *jiracli.GlobalOptions, opts *CreateMetaOptions) error

Create will get issue create metadata and send to "createmeta" template

func CmdCreateMetaRegistry

func CmdCreateMetaRegistry() *jiracli.CommandRegistryEntry

func CmdCreateMetaUsage

func CmdCreateMetaUsage(cmd *kingpin.CmdClause, opts *CreateMetaOptions) error

func CmdCreateRegistry

func CmdCreateRegistry() *jiracli.CommandRegistryEntry

func CmdCreateUsage

func CmdCreateUsage(cmd *kingpin.CmdClause, opts *CreateOptions) error

func CmdDup

func CmdDup(o *oreo.Client, globals *jiracli.GlobalOptions, opts *DupOptions) error

CmdDups will update the given issue as being a duplicate by the given dup issue and will attempt to resolve the dup issue

func CmdDupRegistry

func CmdDupRegistry() *jiracli.CommandRegistryEntry

func CmdDupUsage

func CmdDupUsage(cmd *kingpin.CmdClause, opts *DupOptions) error

func CmdEdit

func CmdEdit(o *oreo.Client, globals *jiracli.GlobalOptions, opts *EditOptions) error

Edit will get issue data and send to "edit" template

func CmdEditMeta

func CmdEditMeta(o *oreo.Client, globals *jiracli.GlobalOptions, opts *EditMetaOptions) error

EditMeta will get issue edit metadata and send to "editmeta" template

func CmdEditMetaRegistry

func CmdEditMetaRegistry() *jiracli.CommandRegistryEntry

func CmdEditMetaUsage

func CmdEditMetaUsage(cmd *kingpin.CmdClause, opts *EditMetaOptions) error

func CmdEditRegistry

func CmdEditRegistry() *jiracli.CommandRegistryEntry

func CmdEditUsage

func CmdEditUsage(cmd *kingpin.CmdClause, opts *EditOptions, fig *figtree.FigTree) error

func CmdEpicAdd added in v1.0.7

func CmdEpicAdd(o *oreo.Client, globals *jiracli.GlobalOptions, opts *EpicAddOptions) error

func CmdEpicAddRegistry added in v1.0.7

func CmdEpicAddRegistry() *jiracli.CommandRegistryEntry

func CmdEpicAddUsage added in v1.0.7

func CmdEpicAddUsage(cmd *kingpin.CmdClause, opts *EpicAddOptions) error

func CmdEpicCreateRegistry added in v1.0.7

func CmdEpicCreateRegistry() *jiracli.CommandRegistryEntry

func CmdEpicCreateUsage added in v1.0.7

func CmdEpicCreateUsage(cmd *kingpin.CmdClause, opts *CreateOptions) error

func CmdEpicList added in v1.0.7

func CmdEpicList(o *oreo.Client, globals *jiracli.GlobalOptions, opts *EpicListOptions) error

func CmdEpicListRegistry added in v1.0.7

func CmdEpicListRegistry() *jiracli.CommandRegistryEntry

func CmdEpicListUsage added in v1.0.7

func CmdEpicListUsage(cmd *kingpin.CmdClause, opts *EpicListOptions, fig *figtree.FigTree) error

func CmdEpicRemove added in v1.0.7

func CmdEpicRemove(o *oreo.Client, globals *jiracli.GlobalOptions, opts *EpicRemoveOptions) error

func CmdEpicRemoveRegistry added in v1.0.7

func CmdEpicRemoveRegistry() *jiracli.CommandRegistryEntry

func CmdEpicRemoveUsage added in v1.0.7

func CmdEpicRemoveUsage(cmd *kingpin.CmdClause, opts *EpicRemoveOptions) error

func CmdExportTemplates

func CmdExportTemplates(globals *jiracli.GlobalOptions, opts *ExportTemplatesOptions) error

CmdExportTemplates will export templates to directory

func CmdExportTemplatesRegistry

func CmdExportTemplatesRegistry() *jiracli.CommandRegistryEntry

func CmdExportTemplatesUsage

func CmdExportTemplatesUsage(cmd *kingpin.CmdClause, opts *ExportTemplatesOptions) error

func CmdFields

func CmdFields(o *oreo.Client, globals *jiracli.GlobalOptions, opts *jiracli.CommonOptions) error

Fields will send data from /rest/api/2/field API to "fields" template

func CmdFieldsRegistry

func CmdFieldsRegistry() *jiracli.CommandRegistryEntry
func CmdIssueLink(o *oreo.Client, globals *jiracli.GlobalOptions, opts *IssueLinkOptions) error

CmdBlock will update the given issue as being a duplicate by the given dup issue and will attempt to resolve the dup issue

func CmdIssueLinkRegistry

func CmdIssueLinkRegistry() *jiracli.CommandRegistryEntry

func CmdIssueLinkTypes

func CmdIssueLinkTypes(o *oreo.Client, globals *jiracli.GlobalOptions, opts *jiracli.CommonOptions) error

CmdIssueLinkTypes will get issue link type data and send to "issuelinktypes" template

func CmdIssueLinkTypesRegistry

func CmdIssueLinkTypesRegistry() *jiracli.CommandRegistryEntry

func CmdIssueLinkTypesUsage

func CmdIssueLinkTypesUsage(cmd *kingpin.CmdClause, opts *jiracli.CommonOptions) error

func CmdIssueLinkUsage

func CmdIssueLinkUsage(cmd *kingpin.CmdClause, opts *IssueLinkOptions) error

func CmdIssueTypes

func CmdIssueTypes(o *oreo.Client, globals *jiracli.GlobalOptions, opts *IssueTypesOptions) error

CmdIssueTypes will get available issueTypes for project and send to the "issueTypes" template

func CmdIssueTypesRegistry

func CmdIssueTypesRegistry() *jiracli.CommandRegistryEntry

func CmdIssueTypesUsage

func CmdIssueTypesUsage(cmd *kingpin.CmdClause, opts *IssueTypesOptions) error

func CmdLabelsAdd

func CmdLabelsAdd(o *oreo.Client, globals *jiracli.GlobalOptions, opts *LabelsAddOptions) error

CmdLabels will add labels on a given issue

func CmdLabelsAddRegistry

func CmdLabelsAddRegistry() *jiracli.CommandRegistryEntry

func CmdLabelsAddUsage

func CmdLabelsAddUsage(cmd *kingpin.CmdClause, opts *LabelsAddOptions) error

func CmdLabelsRemove

func CmdLabelsRemove(o *oreo.Client, globals *jiracli.GlobalOptions, opts *LabelsRemoveOptions) error

CmdLabels will remove labels on a given issue

func CmdLabelsRemoveRegistry

func CmdLabelsRemoveRegistry() *jiracli.CommandRegistryEntry

func CmdLabelsRemoveUsage

func CmdLabelsRemoveUsage(cmd *kingpin.CmdClause, opts *LabelsRemoveOptions) error

func CmdLabelsSet

func CmdLabelsSet(o *oreo.Client, globals *jiracli.GlobalOptions, opts *LabelsSetOptions) error

CmdLabels will set labels on a given issue

func CmdLabelsSetRegistry

func CmdLabelsSetRegistry() *jiracli.CommandRegistryEntry

func CmdLabelsSetUsage

func CmdLabelsSetUsage(cmd *kingpin.CmdClause, opts *LabelsSetOptions) error

func CmdList

func CmdList(o *oreo.Client, globals *jiracli.GlobalOptions, opts *ListOptions) error

List will query jira and send data to "list" template

func CmdListRegistry

func CmdListRegistry() *jiracli.CommandRegistryEntry

func CmdListUsage

func CmdListUsage(cmd *kingpin.CmdClause, opts *ListOptions, fig *figtree.FigTree) error

func CmdLogin

func CmdLogin(o *oreo.Client, globals *jiracli.GlobalOptions, opts *jiracli.CommonOptions) error

CmdLogin will attempt to login into jira server

func CmdLoginRegistry

func CmdLoginRegistry() *jiracli.CommandRegistryEntry

func CmdLogout

func CmdLogout(o *oreo.Client, globals *jiracli.GlobalOptions, opts *jiracli.CommonOptions) error

CmdLogout will attempt to terminate an active Jira session

func CmdLogoutRegistry

func CmdLogoutRegistry() *jiracli.CommandRegistryEntry

func CmdRank

func CmdRank(o *oreo.Client, globals *jiracli.GlobalOptions, opts *RankOptions) error

CmdRank order two issue

func CmdRankRegistry

func CmdRankRegistry() *jiracli.CommandRegistryEntry

func CmdRankUsage

func CmdRankUsage(cmd *kingpin.CmdClause, opts *RankOptions) error

func CmdRequest

func CmdRequest(o *oreo.Client, globals *jiracli.GlobalOptions, opts *RequestOptions) error

CmdRequest open the default system requestr to the provided issue

func CmdRequestRegistry

func CmdRequestRegistry() *jiracli.CommandRegistryEntry

func CmdRequestUsage

func CmdRequestUsage(cmd *kingpin.CmdClause, opts *RequestOptions) error

func CmdSubtask

func CmdSubtask(o *oreo.Client, globals *jiracli.GlobalOptions, opts *SubtaskOptions) error

CmdSubtask sends the subtask-metadata to the "subtask" template for editing, then will parse the edited document as YAML and submit the document to jira.

func CmdSubtaskRegistry

func CmdSubtaskRegistry() *jiracli.CommandRegistryEntry

func CmdSubtaskUsage

func CmdSubtaskUsage(cmd *kingpin.CmdClause, opts *SubtaskOptions) error

func CmdTakeRegistry

func CmdTakeRegistry() *jiracli.CommandRegistryEntry

func CmdTakeUsage

func CmdTakeUsage(cmd *kingpin.CmdClause, opts *AssignOptions) error

func CmdTransition

func CmdTransition(o *oreo.Client, globals *jiracli.GlobalOptions, opts *TransitionOptions) error

CmdTransition will move state of the given issue to the given transtion

func CmdTransitionRegistry

func CmdTransitionRegistry(transition string) *jiracli.CommandRegistryEntry

func CmdTransitionUsage

func CmdTransitionUsage(cmd *kingpin.CmdClause, opts *TransitionOptions) error

func CmdTransitions

func CmdTransitions(o *oreo.Client, globals *jiracli.GlobalOptions, opts *TransitionsOptions) error

Transitions will get issue edit metadata and send to "editmeta" template

func CmdTransitionsRegistry

func CmdTransitionsRegistry(defaultTemplate string) *jiracli.CommandRegistryEntry

func CmdTransitionsUsage

func CmdTransitionsUsage(cmd *kingpin.CmdClause, opts *TransitionsOptions) error

func CmdUnassignRegistry

func CmdUnassignRegistry() *jiracli.CommandRegistryEntry

func CmdUnassignUsage

func CmdUnassignUsage(cmd *kingpin.CmdClause, opts *AssignOptions) error

func CmdUnexportTemplates

func CmdUnexportTemplates(globals *jiracli.GlobalOptions, opts *ExportTemplatesOptions) error

CmdUnexportTemplates will remove unmodified templates from export directory

func CmdUnexportTemplatesRegistry

func CmdUnexportTemplatesRegistry() *jiracli.CommandRegistryEntry

func CmdView

func CmdView(o *oreo.Client, globals *jiracli.GlobalOptions, opts *ViewOptions) error

View will get issue data and send to "view" template

func CmdViewRegistry

func CmdViewRegistry() *jiracli.CommandRegistryEntry

func CmdViewUsage

func CmdViewUsage(cmd *kingpin.CmdClause, opts *ViewOptions) error

func CmdVote

func CmdVote(o *oreo.Client, globals *jiracli.GlobalOptions, opts *VoteOptions) error

Vote will up/down vote an issue

func CmdVoteRegistry

func CmdVoteRegistry() *jiracli.CommandRegistryEntry

func CmdVoteUsage

func CmdVoteUsage(cmd *kingpin.CmdClause, opts *VoteOptions) error

func CmdWatch

func CmdWatch(o *oreo.Client, globals *jiracli.GlobalOptions, opts *WatchOptions) error

CmdWatch will add the given watcher to the issue (or remove the watcher with the 'remove' flag)

func CmdWatchRegistry

func CmdWatchRegistry() *jiracli.CommandRegistryEntry

func CmdWatchUsage

func CmdWatchUsage(cmd *kingpin.CmdClause, opts *WatchOptions) error

func CmdWorklogAdd

func CmdWorklogAdd(o *oreo.Client, globals *jiracli.GlobalOptions, opts *WorklogAddOptions) error

CmdWorklogAdd will attempt to add (action=add) a worklog to the given issue. It will spawn the editor (unless --noedit isused) and post edited YAML content as JSON to the worklog endpoint

func CmdWorklogAddRegistry

func CmdWorklogAddRegistry() *jiracli.CommandRegistryEntry

func CmdWorklogAddUsage

func CmdWorklogAddUsage(cmd *kingpin.CmdClause, opts *WorklogAddOptions) error

func CmdWorklogList

func CmdWorklogList(o *oreo.Client, globals *jiracli.GlobalOptions, opts *WorklogListOptions) error

// CmdWorklogList will get worklog data for given issue and sent to the "worklogs" template

func CmdWorklogListRegistry

func CmdWorklogListRegistry() *jiracli.CommandRegistryEntry

func CmdWorklogListUsage

func CmdWorklogListUsage(cmd *kingpin.CmdClause, opts *WorklogListOptions) error

Types

type AssignOptions

type AssignOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
	Assignee              string `yaml:"assignee,omitempty" json:"assignee,omitempty"`
}

type AttachCreateOptions added in v1.0.8

type AttachCreateOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
	Attachment            string `yaml:"attachment,omitempty" json:"attachment,omitempty"`
	Filename              string `yaml:"filename,omitempty" json:"filename,omitempty"`
	SaveFile              string `yaml:"savefile,omitempty" json:"savefile,omitempty"`
}

type AttachGetOptions added in v1.0.8

type AttachGetOptions struct {
	AttachmentID string `yaml:"attachment-id,omitempty" json:"attachment-id,omitempty"`
	OutputFile   string `yaml:"output-file,omitempty" json:"output-file,omitempty"`
}

type AttachListOptions added in v1.0.8

type AttachListOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type AttachRemoveOptions added in v1.0.8

type AttachRemoveOptions struct {
	AttachmentID string `yaml:"attachment-id,omitempty" json:"attachment-id,omitempty"`
}

type BlockOptions

type BlockOptions struct {
	jiracli.CommonOptions     `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.LinkIssueRequest `yaml:",inline" json:",inline" figtree:",inline"`
}

type CommentOptions

type CommentOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Overrides             map[string]string `yaml:"overrides,omitempty" json:"overrides,omitempty"`
	Issue                 string            `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type ComponentAddOptions

type ComponentAddOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.Component    `yaml:",inline" json:",inline" figtree:",inline"`
}

type ComponentsOptions

type ComponentsOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Project               string `yaml:"project,omitempty" json:"project,omitempty"`
}

type CreateMetaOptions

type CreateMetaOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Project               string `yaml:"project,omitempty" json:"project,omitempty"`
	IssueType             string `yaml:"issuetype,omitempty" json:"issuetype,omitempty"`
}

type CreateOptions

type CreateOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.IssueUpdate  `yaml:",inline" json:",inline" figtree:",inline"`
	Project               string            `yaml:"project,omitempty" json:"project,omitempty"`
	IssueType             string            `yaml:"issuetype,omitempty" json:"issuetype,omitempty"`
	Overrides             map[string]string `yaml:"overrides,omitempty" json:"overrides,omitempty"`
	SaveFile              string            `yaml:"savefile,omitempty" json:"savefile,omitempty"`
}

type DupOptions

type DupOptions struct {
	jiracli.CommonOptions     `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.LinkIssueRequest `yaml:",inline" json:",inline" figtree:",inline"`
	Duplicate                 string `yaml:"duplicate,omitempty" json:"duplicate,omitempty"`
	Issue                     string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type EditMetaOptions

type EditMetaOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type EditOptions

type EditOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.IssueUpdate  `yaml:",inline" json:",inline" figtree:",inline"`
	jira.SearchOptions    `yaml:",inline" json:",inline" figtree:",inline"`
	Overrides             map[string]string `yaml:"overrides,omitempty" json:"overrides,omitempty"`
	Issue                 string            `yaml:"issue,omitempty" json:"issue,omitempty"`
	Queries               map[string]string `yaml:"queries,omitempty" json:"queries,omitempty"`
}

type EpicAddOptions added in v1.0.7

type EpicAddOptions struct {
	jiradata.EpicIssues `yaml:",inline" json:",inline" figtree:",inline"`
	Epic                string `yaml:"epic,omitempty" json:"epic,omitempty"`
}

type EpicListOptions added in v1.0.7

type EpicListOptions struct {
	ListOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Epic        string `yaml:"epic,omitempty" json:"epic,omitempty"`
}

type EpicRemoveOptions added in v1.0.7

type EpicRemoveOptions struct {
	jiradata.EpicIssues `yaml:",inline" json:",inline" figtree:",inline"`
}

type ExportTemplatesOptions

type ExportTemplatesOptions struct {
	Template string `yaml:"template,omitempty" json:"template,omitempty"`
	Dir      string `yaml:"dir,omitempty" json:"dir,omitempty"`
}

type IssueLinkOptions

type IssueLinkOptions struct {
	jiracli.CommonOptions     `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.LinkIssueRequest `yaml:",inline" json:",inline" figtree:",inline"`
	LinkType                  string `yaml:"linktype,omitempty" json:"linktype,omitempty"`
}

type IssueTypesOptions

type IssueTypesOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Project               string `yaml:"project,omitempty" json:"project,omitempty"`
}

type LabelsAddOptions

type LabelsAddOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string   `yaml:"issue,omitempty" json:"issue,omitempty"`
	Labels                []string `yaml:"labels,omitempty" json:"labels,omitempty"`
}

type LabelsRemoveOptions

type LabelsRemoveOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string   `yaml:"issue,omitempty" json:"issue,omitempty"`
	Labels                []string `yaml:"labels,omitempty" json:"labels,omitempty"`
}

type LabelsSetOptions

type LabelsSetOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string   `yaml:"issue,omitempty" json:"issue,omitempty"`
	Labels                []string `yaml:"labels,omitempty" json:"labels,omitempty"`
}

type ListOptions

type ListOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jira.SearchOptions    `yaml:",inline" json:",inline" figtree:",inline"`
	Queries               map[string]string `yaml:"queries,omitempty" json:"queries,omitempty"`
}

type RankOptions

type RankOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	First                 string `yaml:"first,omitempty" json:"first,omitempty"`
	Second                string `yaml:"second,omitempty" json:"second,omitempty"`
	Order                 string `yaml:"order,omitempty" json:"order,omitempty"`
}

type RequestOptions

type RequestOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Method                string `yaml:"method,omitempty" json:"method,omitempty"`
	URI                   string `yaml:"uri,omitempty" json:"uri,omitempty"`
	Data                  string `yaml:"data,omitempty" json:"data,omitempty"`
}

type SubtaskOptions

type SubtaskOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.IssueUpdate  `yaml:",inline" json:",inline" figtree:",inline"`
	Project               string            `yaml:"project,omitempty" json:"project,omitempty"`
	IssueType             string            `yaml:"issuetype,omitempty" json:"issuetype,omitempty"`
	Overrides             map[string]string `yaml:"overrides,omitempty" json:"overrides,omitempty"`
	Issue                 string            `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type TransitionOptions

type TransitionOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Overrides             map[string]string `yaml:"overrides,omitempty" json:"overrides,omitempty"`
	Transition            string            `yaml:"transition,omitempty" json:"transition,omitempty"`
	Issue                 string            `yaml:"issue,omitempty" json:"issue,omitempty"`
	Resolution            string            `yaml:"resolution,omitempty" json:"resolution,omitempty"`
}

type TransitionsOptions

type TransitionsOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type ViewOptions

type ViewOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jira.IssueOptions     `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type VoteAction

type VoteAction int
const (
	VoteUP VoteAction = iota
	VoteDown
)

type VoteOptions

type VoteOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string     `yaml:"issue,omitempty" json:"issue,omitempty"`
	Action                VoteAction `yaml:"-" json:"-"`
}

type WatchAction

type WatchAction int
const (
	WatcherAdd WatchAction = iota
	WatcherRemove
)

type WatchOptions

type WatchOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string      `yaml:"issue,omitempty" json:"issue,omitempty"`
	Watcher               string      `yaml:"watcher,omitempty" json:"watcher,omitempty"`
	Action                WatchAction `yaml:"-" json:"-"`
}

type WorklogAddOptions

type WorklogAddOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	jiradata.Worklog      `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

type WorklogListOptions

type WorklogListOptions struct {
	jiracli.CommonOptions `yaml:",inline" json:",inline" figtree:",inline"`
	Issue                 string `yaml:"issue,omitempty" json:"issue,omitempty"`
}

Jump to

Keyboard shortcuts

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