Documentation
¶
Index ¶
- func ApiError(err error) error
- func AquireCookie(host string, user string, password string) (map[string]string, error)
- func DoTransition(host string, issueID string, transitionName string) (*jira.Status, error)
- func FindUsers(host string, username string) ([]jira.User, error)
- func GetFilter(host string, filterID int) (*jira.Filter, error)
- func GetIssue(host string, issueID string, opts *jira.GetQueryOptions) (*jira.Issue, error)
- func GetIssueTransitions(host string, issueId string) ([]jira.Transition, error)
- func GetProject(host string, project string) (*jira.Project, error)
- func ListComponents(host string, project string) ([]jira.ProjectComponent, error)
- func ListFilters(host string) ([]*jira.Filter, error)
- func ListIssueTypes(host string, project string) ([]jira.IssueType, error)
- func ListIssues(opts *ListIssuesOptions) ([]jira.Issue, error)
- func ListPriorities(host string) ([]jira.Priority, error)
- func ListProjectCategories(host string) ([]jira.ProjectCategory, error)
- func ListResolutions(host string) ([]jira.Resolution, error)
- func ListStatusCategories(host string) ([]jira.StatusCategory, error)
- func ListStatuses(host string) ([]jira.Status, error)
- func NewClient(host string) (*jira.Client, error)
- func String(s string) *string
- type ActivityStream
- type ListIssuesOptions
- type ListProjectOptions
- type ProjectListEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AquireCookie ¶ added in v0.1.1
func DoTransition ¶ added in v0.1.5
func GetIssueTransitions ¶ added in v0.1.5
func GetProject ¶ added in v0.1.1
func ListComponents ¶
func ListFilters ¶
func ListIssueTypes ¶
func ListIssues ¶
func ListIssues(opts *ListIssuesOptions) ([]jira.Issue, error)
func ListPriorities ¶
func ListProjectCategories ¶ added in v0.1.3
func ListResolutions ¶
func ListStatusCategories ¶
func ListStatuses ¶
Types ¶
type ActivityStream ¶ added in v0.1.5
type ActivityStream struct { XMLName xml.Name `xml:"feed"` Entry []struct { Title string `xml:"title"` Content string `xml:"content"` Author struct { Name string `xml:"name"` } `xml:"author"` Updated string `xml:"updated"` Category struct { Term string `xml:"term,attr"` } `xml:"category"` Object struct { Title string `xml:"title"` Summary string `xml:"summary"` } `xml:"object"` } `xml:"entry"` }
func ListActivities ¶ added in v0.1.5
func ListActivities(host string, project string) (*ActivityStream, error)
type ListIssuesOptions ¶
type ListIssuesOptions struct { Host string Project []string Type []string Status []string NotStatus []string StatusCategory []string NotStatusCategory []string Assignee []string Component []string Label []string Priority []string Resolution []string Fields []string Filter int Jql string Query string Limit int }
func (*ListIssuesOptions) ToJql ¶
func (o *ListIssuesOptions) ToJql() (string, error)
type ListProjectOptions ¶ added in v0.1.3
type ListProjectOptions struct {
Category []string
}
type ProjectListEntry ¶ added in v0.1.5
type ProjectListEntry struct { Expand string `json:"expand" structs:"expand"` Self string `json:"self" structs:"self"` ID string `json:"id" structs:"id"` Key string `json:"key" structs:"key"` Name string `json:"name" structs:"name"` AvatarUrls jira.AvatarUrls `json:"avatarUrls" structs:"avatarUrls"` ProjectTypeKey string `json:"projectTypeKey" structs:"projectTypeKey"` ProjectCategory jira.ProjectCategory `json:"projectCategory,omitempty" structs:"projectsCategory,omitempty"` IssueTypes []jira.IssueType `json:"issueTypes,omitempty" structs:"issueTypes,omitempty"` }
func ListProjects ¶
func ListProjects(host string, category []string) ([]ProjectListEntry, error)
Click to show internal directories.
Click to hide internal directories.