Documentation ¶
Index ¶
- func MustSetupConfluence(cfg *core.Configuration)
- func MustSetupJIRA(cfg *core.Configuration)
- type Confluence
- type JIRA
- func (j *JIRA) ClaimIssueInActiveSprint(key string) error
- func (j *JIRA) CommentOnIssue(key, body string) error
- func (j *JIRA) CreateBranchFromAssignedIssue() error
- func (j *JIRA) CreateBranchFromIssue(issue *jira.Issue, repoDir string, forceNewBranch bool) error
- func (j *JIRA) CreateIssue(project, summary, description, transition string, reactive, claim bool) error
- func (j *JIRA) IsEnabled() bool
- func (j *JIRA) ListAssignedIssues(showDescription bool) error
- func (j *JIRA) ListWorkDay(date, prefix string, orgFormat bool) error
- func (j *JIRA) MoveIssueToCurrentSprint(i *jira.Issue) error
- func (j *JIRA) OpenIssue(key string, browser bool) error
- func (j *JIRA) OpenIssueFromKey(key string, useBee bool) error
- func (j *JIRA) OpenRecentlyAccessedIssues(useBee bool) error
- func (j *JIRA) PickAssignedIssue() (*jira.Issue, error)
- func (j *JIRA) SearchIssueJQL(jql string, useBee bool) error
- func (j *JIRA) SearchIssueText(text, project string, resolved, useBee bool) error
- func (j *JIRA) SearchText(text, project string, resolved bool) ([]jira.Issue, error)
- func (j *JIRA) TransitionIssue(key, transitionName string) (err error)
- func (j *JIRA) ViewIssue(key string) error
- type PageBody
- type PageBodyValue
- type PageInfo
- type SearchResult
- type SearchResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustSetupConfluence ¶
func MustSetupConfluence(cfg *core.Configuration)
func MustSetupJIRA ¶
func MustSetupJIRA(cfg *core.Configuration)
Types ¶
type Confluence ¶
type Confluence struct {
// contains filtered or unexported fields
}
func MustInitConfluence ¶
func MustInitConfluence(cfg *core.Configuration) *Confluence
func (*Confluence) Search ¶
func (c *Confluence) Search(cql string) []SearchResult
func (*Confluence) SearchAndOpen ¶
func (c *Confluence) SearchAndOpen(isCQL bool, cql ...string) error
func (*Confluence) SearchAndReplace ¶
func (c *Confluence) SearchAndReplace(cql, old, new string, noop bool) error
func (*Confluence) UpdateDocumentation ¶
func (c *Confluence) UpdateDocumentation(m *core.Manifest) error
type JIRA ¶
type JIRA struct {
// contains filtered or unexported fields
}
func MustInitJIRA ¶
func MustInitJIRA(cfg *core.Configuration) *JIRA
func (*JIRA) ClaimIssueInActiveSprint ¶
func (*JIRA) CommentOnIssue ¶
func (*JIRA) CreateBranchFromAssignedIssue ¶
func (*JIRA) CreateBranchFromIssue ¶
func (*JIRA) CreateIssue ¶
func (*JIRA) ListAssignedIssues ¶
func (*JIRA) MoveIssueToCurrentSprint ¶
func (*JIRA) OpenRecentlyAccessedIssues ¶
func (*JIRA) PickAssignedIssue ¶
func (*JIRA) SearchIssueText ¶
func (*JIRA) SearchText ¶
func (*JIRA) TransitionIssue ¶
type PageBody ¶
type PageBody struct {
Storage PageBodyValue `json:"storage"`
}
type PageBodyValue ¶
type PageBodyValue struct {
Value string `json:"value"`
}
type SearchResult ¶
type SearchResult struct { ID string `json:"id"` Type string `json:"type"` Status string `json:"status"` Title string `json:"title"` ChildTypes struct { } `json:"childTypes"` Restrictions struct { } `json:"restrictions"` Expandable struct { Container string `json:"container"` Metadata string `json:"metadata"` Extensions string `json:"extensions"` Operations string `json:"operations"` Children string `json:"children"` History string `json:"history"` Ancestors string `json:"ancestors"` Body string `json:"body"` Version string `json:"version"` Descendants string `json:"descendants"` Space string `json:"space"` } `json:"_expandable"` Links struct { Webui string `json:"webui"` Self string `json:"self"` Tinyui string `json:"tinyui"` } `json:"_links"` }
type SearchResults ¶
Click to show internal directories.
Click to hide internal directories.