jiraplus

package
v0.0.0-...-3bded81 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

https://developer.atlassian.com/cloud/jira/software/rest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(listFunc func(int) ([]interface{}, error), callbackFunc func(interface{}) error) (int, error)

Types

type BoardEpicsList

type BoardEpicsList struct {
	MaxResults int          `json:"maxResults" structs:"maxResults"`
	StartAt    int          `json:"startAt" structs:"startAt"`
	Total      int          `json:"total" structs:"total"`
	IsLast     bool         `json:"isLast" structs:"isLast"`
	Values     []*jira.Epic `json:"values" structs:"values"`
}

type BoardIssuesList

type BoardIssuesList struct {
	MaxResults int           `json:"maxResults" structs:"maxResults"`
	StartAt    int           `json:"startAt" structs:"startAt"`
	Total      int           `json:"total" structs:"total"`
	Issues     []*jira.Issue `json:"issues" structs:"issues"`
}

type BoardIssuesSearchOptions

type BoardIssuesSearchOptions struct {
	MaxResults    int      `json:"maxResults" structs:"maxResults"`
	StartAt       int      `json:"startAt" structs:"startAt"`
	Jql           string   `json:"jql" structs:"jql"`
	ValidateQuery bool     `json:"validateQuery" structs:"validateQuery"`
	Fields        []string `json:"fields" structs:"fields"`
	Expand        string   `json:"expand" structs:"expand"`
}

type BoardProjectsList

type BoardProjectsList struct {
	MaxResults int             `json:"maxResults" structs:"maxResults"`
	StartAt    int             `json:"startAt" structs:"startAt"`
	Total      int             `json:"total" structs:"total"`
	IsLast     bool            `json:"isLast" structs:"isLast"`
	Values     []*jira.Project `json:"values" structs:"values"`
}

type BoardService

type BoardService struct {
	*jira.BoardService
	// contains filtered or unexported fields
}

func (*BoardService) GetEpics

func (s *BoardService) GetEpics(boardID int, opt *jira.SearchOptions) (*BoardEpicsList, *jira.Response, error)

func (*BoardService) GetIssues

func (s *BoardService) GetIssues(boardID int, opt *BoardIssuesSearchOptions) (*BoardIssuesList, *jira.Response, error)

func (*BoardService) GetIssuesBacklog

func (s *BoardService) GetIssuesBacklog(boardID int, opt *BoardIssuesSearchOptions) (*BoardIssuesList, *jira.Response, error)

func (*BoardService) GetIssuesForEpic

func (s *BoardService) GetIssuesForEpic(boardID, epicID int, opt *BoardIssuesSearchOptions) (*BoardIssuesList, *jira.Response, error)

func (*BoardService) GetIssuesForSprint

func (s *BoardService) GetIssuesForSprint(boardID, sprintID int, opt *BoardIssuesSearchOptions) (*BoardIssuesList, *jira.Response, error)

func (*BoardService) GetIssuesWithoutEpic

func (s *BoardService) GetIssuesWithoutEpic(boardID int, opt *BoardIssuesSearchOptions) (*BoardIssuesList, *jira.Response, error)

func (*BoardService) GetProjects

func (s *BoardService) GetProjects(boardID int, opt *jira.SearchOptions) (*BoardProjectsList, *jira.Response, error)

type Client

type Client struct {
	*jira.Client
	PlusIssue *IssueService
	PlusBoard *BoardService
	IssueLink *IssueLinkService
}

func NewClient

func NewClient(c *jira.Client) *Client

type IssueLinkService

type IssueLinkService struct {
	// contains filtered or unexported fields
}
func (s *IssueLinkService) AddLink(link *jira.IssueLink) (*jira.Response, error)
func (s *IssueLinkService) DeleteLink(link *jira.IssueLink) (*jira.Response, error)

func (*IssueLinkService) GetTypes

func (s *IssueLinkService) GetTypes() ([]jira.IssueLinkType, *jira.Response, error)

type IssueService

type IssueService struct {
	*jira.IssueService
	// contains filtered or unexported fields
}

func (*IssueService) GetComment

func (s *IssueService) GetComment(issueID, commentID string) (*jira.Comment, *jira.Response, error)

func (*IssueService) UpdateComment

func (s *IssueService) UpdateComment(issueID string, comment *jira.Comment) (*jira.Comment, *jira.Response, error)

Jump to

Keyboard shortcuts

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