Documentation ¶
Index ¶
- Constants
- Variables
- func Apply(v *ApplyValue) ([]jira.Issue, error)
- func BatchDelete(issueIDList []string)
- func ChangeTransition(issueID, transitionID string) error
- func Create(issue *jira.Issue) (*jira.Issue, error)
- func Delete(issueID string) error
- func Epic() ([]jira.Issue, error)
- func Export(issueSlice []*jira.Issue) error
- func Label(i jira.Issue) string
- func List(op *Search) ([]jira.Issue, error)
- func Options(issueList []jira.Issue) ([]string, map[string]jira.Issue)
- func Show(issueID string) (*jira.Issue, error)
- func TransitionList(issueID string) ([]jira.Transition, error)
- func Update(issue *jira.Issue) (*jira.Issue, error)
- func UpdateAssignee(issueID string, assignee *jira.User) (*jira.Issue, error)
- func ViewTable(issues []jira.Issue)
- type ApplyValue
- type Search
Constants ¶
View Source
const ( FieldSummary = "summary" FieldDescription = "description" FieldEpic = "epic" )
Variables ¶
View Source
var (
Fields = []string{
"summary",
"description",
"epic",
}
)
Functions ¶
func Apply ¶
func Apply(v *ApplyValue) ([]jira.Issue, error)
func BatchDelete ¶
func BatchDelete(issueIDList []string)
func ChangeTransition ¶
func TransitionList ¶
func UpdateAssignee ¶
Types ¶
type ApplyValue ¶
type ApplyValue struct { Type string `yaml:"type,omitempty"` Key string `yaml:"key,omitempty"` Labels []string `yaml:"labels,omitempty"` Summary string `yaml:"summary,omitempty"` Description string `yaml:"description,omitempty"` Epic string `yaml:"epic,omitempty"` Assignee string `yaml:"assignee,omitempty"` Subtasks []*ApplyValue `yaml:"subtasks,omitempty"` }
type Search ¶
type Search struct { AffectedVersion string `json:"AffectedVersion"` Assignee string `json:"assignee"` Comment string `json:"comment"` Component string `json:"component"` Created string `json:"Created"` Creator string `json:"Creator"` Description string `json:"description"` Due string `json:"due"` EpicLink string `json:"epic link"` Filter string `json:"filter"` IssueKey string `json:"issueKey"` Summary string `json:"summary"` Labels []string `json:"labels"` Resolution string `json:"resolution"` Parent string `json:"parent"` Project string `json:"project"` Status string `json:"status"` Type string `json:"type"` Updated string `json:"updated"` Reporter string `json:"reporter"` }
Click to show internal directories.
Click to hide internal directories.