api

package
v0.0.0-...-6bf8785 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IssuesPerRequests int = 200
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (*Client, error)

func (*Client) BaseURL

func (client *Client) BaseURL() string

func (*Client) GetAllBoards

func (client *Client) GetAllBoards(ctx context.Context, projectKeyOrID string, word string) ([]jira.Board, error)

func (*Client) GetBoardByID

func (client *Client) GetBoardByID(ctx context.Context, boardID int) (*jira.Board, error)

func (*Client) GetBoardByName

func (client *Client) GetBoardByName(ctx context.Context, name string) (*jira.Board, error)

func (*Client) GetFilterByID

func (client *Client) GetFilterByID(ctx context.Context, filterID int) (*jira.Filter, error)

func (*Client) GetIssue

func (client *Client) GetIssue(ctx context.Context, issueID string) (*jira.Issue, error)

func (*Client) GetProjectByID

func (client *Client) GetProjectByID(ctx context.Context, prjID string) (*jira.Project, error)

func (*Client) GetProjects

func (client *Client) GetProjects(ctx context.Context) (*jira.ProjectList, error)

func (*Client) GetSprintsInBoard

func (client *Client) GetSprintsInBoard(ctx context.Context, boardID int) ([]jira.Sprint, error)

func (*Client) MyFilters

func (client *Client) MyFilters(ctx context.Context) ([]jira.Filter, error)

func (*Client) SearchFilters

func (client *Client) SearchFilters(ctx context.Context) ([]jira.FiltersListItem, error)

func (*Client) SearchIssues

func (client *Client) SearchIssues(ctx context.Context, jql string) ([]jira.Issue, error)

type Config

type Config struct {
	APIToken string
	BaseURL  string
	Email    string
}

Jump to

Keyboard shortcuts

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