jira

package
v0.18.11 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.16.0

type Client struct {
	JiraClient    *jira.Client
	DryRunMode    bool
	Config        config.Config
	DefaultFields defaultJiraFields
}

Client is a wrapper of a go-jira client with our config on top

func NewClient

func NewClient(user, token, url string, dryRun bool, config config.Config) *Client

NewClient returns a client containing the authentication details and the configuration settings

func (Client) CreateIssue added in v0.16.0

func (Client Client) CreateIssue(draconResult map[string]string) error

CreateIssue creates a new issue in Jira

func (Client) SearchByJQL added in v0.16.0

func (Client Client) SearchByJQL(jql string) ([]jira.Issue, error)

SearchByJQL searches jira instance by JQL and returns results with history

Jump to

Keyboard shortcuts

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