jira_client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: AGPL-3.0-or-later Imports: 8 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 {
	// contains filtered or unexported fields
}

func New

func New(config *Config, logger *zap.Logger) (*Client, error)

func (*Client) DoJQL

func (c *Client) DoJQL(JQL string) (*[]domain.Ticket, error)

type Config

type Config struct {
	TicketsPerJQL uint32
	AppUserName   string
	AppPassword   string
	AppBaseURL    string
}

type TicketRequest

type TicketRequest struct {
	JQL        string   `json:"jql"`
	StartAt    uint32   `json:"startAt"`
	MaxResults uint32   `json:"maxResults"`
	Fields     []string `json:"fields"`
}

Jump to

Keyboard shortcuts

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