jira

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (c Client) CreateIssue(draconResult document.Document) error

CreateIssue creates a new issue in Jira.

func (Client) SearchByJQL

func (c 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