Documentation ¶
Index ¶
- func StripKey(key string) string
- type FieldsID
- type Issue
- func (i *Issue) Assignee() *Person
- func (i *Issue) Components() string
- func (i *Issue) Created() time.Time
- func (i *Issue) Creator() *Person
- func (i *Issue) DefaultTitle() string
- func (i *Issue) Description() string
- func (i *Issue) GetKey() string
- func (i *Issue) GetSummary() string
- func (i *Issue) IssueType() string
- func (i *Issue) Labels() string
- func (i *Issue) Link() string
- func (i *Issue) Priority() *Priority
- func (i *Issue) Reporter() *Person
- func (i *Issue) Resolution() string
- func (i *Issue) Status() string
- func (i *Issue) Updated() time.Time
- func (i *Issue) Watches() int
- type Jira
- func (j *Jira) GetByKey(ctx context.Context, issueKey string) (interface{}, error)
- func (j *Jira) GetCurrentUser() (string, error)
- func (j *Jira) GetIssueCtx(ctx context.Context, issueKey string) (*Issue, error)
- func (j *Jira) GetIssues(issueKeys []string) ([]*Issue, error)
- func (j *Jira) ParseKeys(text string) []string
- type Myself
- type Person
- type Priority
- type Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Issue ¶
type Issue struct { ID FieldsID `json:"id"` Self string `json:"self"` Key string `json:"key"` Fields struct { Summary string `json:"summary"` Description string `json:"description"` Created Time `json:"created"` Updated Time `json:"updated"` Priority Priority `json:"priority"` Status struct { ID FieldsID `json:"id"` Name string `json:"name"` } `json:"status"` IssueType struct { ID FieldsID `json:"id"` Name string `json:"name"` } `json:"issuetype"` Resolution struct { ID FieldsID `json:"id"` Name string `json:"name"` } `json:"resolution"` Assignee Person `json:"assignee"` Reporter Person `json:"reporter"` Creator Person `json:"creator"` Watches struct { WatchCount int `json:"watchCount"` } `json:"watches"` Components []struct { ID FieldsID `json:"id"` Name string `json:"name"` } `json:"components"` Labels []string `json:"labels"` } `json:"fields"` // contains filtered or unexported fields }
func (*Issue) Components ¶
func (*Issue) DefaultTitle ¶
func (*Issue) Description ¶
func (*Issue) GetSummary ¶
func (*Issue) Resolution ¶
type Jira ¶
type Jira struct {
// contains filtered or unexported fields
}
func (*Jira) GetCurrentUser ¶
func (*Jira) GetIssueCtx ¶
type Person ¶
Click to show internal directories.
Click to hide internal directories.