Documentation ¶
Index ¶
- type BoardValues
- type Boards
- type Comment
- type CommentBody
- type CommentBodyContent
- type CommentBodyContentContent
- type Issues
- type IssuesIssue
- type IssuesIssueFields
- type IssuesIssueFieldsAssignee
- type IssuesIssueFieldsAssigneeAvatarUrls
- type IssuesIssueFieldsStatus
- type IssuesIssueFieldsStatusStatusCategory
- type IssuesIssueOperations
- type IssuesIssueOperationsLinkGroup
- type IssuesIssueOperationsLinkGroupGroup
- type IssuesIssueOperationsLinkGroupGroupLink
- type IssuesNames
- type IssuesSchema
- type IssuesSchemaAssignee
- type IssuesSchemaStatus
- type IssuesSchemaSummary
- type Jira
- func (r *Jira) AddComment(issue string, comment string) (string, error)
- func (r *Jira) AddCommentMulti(issue string, comment *Comment) (string, error)
- func (r *Jira) AssignIssue(issue string, account string) error
- func (r *Jira) GetAccount(search string) (string, error)
- func (r *Jira) GetActiveSprint(board string) (string, error)
- func (r *Jira) GetBoards() (string, error)
- func (r *Jira) GetIssue(issue string) (string, error)
- func (r *Jira) GetIssuesViaJQL(jql string) ([]IssuesIssue, error)
- func (r *Jira) GetSprintIssues(board string, sprint int) (string, error)
- func (r *Jira) GetTransitions(issue string) (string, error)
- func (r *Jira) SetDescription(issue string, description string) (bool, error)
- func (r *Jira) TransitionIssue(issue string, transitionId string) (string, error)
- type Location
- type SprintIssues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoardValues ¶ added in v0.0.12
type Boards ¶ added in v0.0.9
type Boards struct { MaxResults int `json:"maxResults"` StartAt int `json:"startAt"` Total int `json:"total"` IsLast bool `json:"isLast"` Values []BoardValues `json:"values"` }
type Comment ¶ added in v0.0.22
type Comment struct {
Body CommentBody `json:"body"`
}
type CommentBody ¶ added in v0.0.22
type CommentBody struct { Content []CommentBodyContent `json:"content"` Type string `json:"type"` Version int `json:"version"` }
type CommentBodyContent ¶ added in v0.0.22
type CommentBodyContent struct { Content []CommentBodyContentContent `json:"content"` Type string `json:"type"` }
type CommentBodyContentContent ¶ added in v0.0.22
type Issues ¶ added in v0.0.23
type Issues struct { Expand string `json:"expand"` Issues []IssuesIssue `json:"issues"` MaxResults int `json:"maxResults"` Names IssuesNames `json:"names"` Schema IssuesSchema `json:"schema"` StartAt int `json:"startAt"` Total int `json:"total"` IsLast bool `json:"isLast"` }
type IssuesIssue ¶ added in v0.0.23
type IssuesIssue struct { Expand string `json:"expand"` Fields IssuesIssueFields `json:"fields"` ID string `json:"id"` Key string `json:"key"` Operations IssuesIssueOperations `json:"operations"` Self string `json:"self"` }
type IssuesIssueFields ¶ added in v0.0.23
type IssuesIssueFields struct { Assignee IssuesIssueFieldsAssignee `json:"assignee"` Status IssuesIssueFieldsStatus `json:"status"` Summary string `json:"summary"` }
type IssuesIssueFieldsAssignee ¶ added in v0.0.23
type IssuesIssueFieldsAssignee struct { AccountID string `json:"accountId"` AccountType string `json:"accountType"` Active bool `json:"active"` AvatarUrls IssuesIssueFieldsAssigneeAvatarUrls `json:"avatarUrls"` DisplayName string `json:"displayName"` EmailAddress string `json:"emailAddress"` Self string `json:"self"` TimeZone string `json:"timeZone"` }
type IssuesIssueFieldsAssigneeAvatarUrls ¶ added in v0.0.23
type IssuesIssueFieldsStatus ¶ added in v0.0.23
type IssuesIssueFieldsStatusStatusCategory ¶ added in v0.0.23
type IssuesIssueOperations ¶ added in v0.0.23
type IssuesIssueOperations struct {
LinkGroups []IssuesIssueOperationsLinkGroup `json:"linkGroups"`
}
type IssuesIssueOperationsLinkGroup ¶ added in v0.0.23
type IssuesIssueOperationsLinkGroup struct { Groups []IssuesIssueOperationsLinkGroupGroup `json:"groups"` ID string `json:"id"` Links []interface{} `json:"links"` }
type IssuesIssueOperationsLinkGroupGroup ¶ added in v0.0.23
type IssuesIssueOperationsLinkGroupGroup struct { Groups []interface{} `json:"groups"` ID string `json:"id"` Links []IssuesIssueOperationsLinkGroupGroupLink `json:"links"` Weight int `json:"weight"` }
type IssuesIssueOperationsLinkGroupGroupLink ¶ added in v0.0.23
type IssuesNames ¶ added in v0.0.23
type IssuesSchema ¶ added in v0.0.23
type IssuesSchema struct { Assignee IssuesSchemaAssignee `json:"assignee"` Status IssuesSchemaStatus `json:"status"` Summary IssuesSchemaSummary `json:"summary"` }
type IssuesSchemaAssignee ¶ added in v0.0.23
type IssuesSchemaStatus ¶ added in v0.0.23
type IssuesSchemaSummary ¶ added in v0.0.23
type Jira ¶
type Jira struct { BaseUrl string ApiPath string AgilePath string User string Token string Client *resty.Client }
func (*Jira) AddCommentMulti ¶ added in v0.0.22
func (*Jira) AssignIssue ¶ added in v0.0.2
func (*Jira) GetActiveSprint ¶ added in v0.0.11
func (*Jira) GetIssuesViaJQL ¶ added in v0.0.23
func (r *Jira) GetIssuesViaJQL(jql string) ([]IssuesIssue, error)
func (*Jira) GetSprintIssues ¶ added in v0.0.12
func (*Jira) GetTransitions ¶ added in v0.0.8
func (*Jira) SetDescription ¶ added in v0.0.24
Click to show internal directories.
Click to hide internal directories.