Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &Z.Cmd{ Name: `jira`, Description: helpdoc, Commands: []*Z.Cmd{help.Cmd, progressCmd, reviewCmd, viewCmd, homolCmd}, }
View Source
var Transitions = Transition{
Backlog: 11,
ReadyToDo: 21,
Progress: 31,
Done: 41,
Review: 51,
Homol: 81,
}
Functions ¶
func AutoAssignTicket ¶
func MoveTicketStatus ¶
Types ¶
type AssignTicketBody ¶
type AssignTicketBody struct {
AccountID string `json:"accountId"`
}
type GetTicketResponse ¶
type GetTicketResponse struct { Fields struct { Title string `json:"summary"` Description string `json:"description"` } `json:"fields"` }
func GetTicket ¶
func GetTicket(issueKey string) (*GetTicketResponse, error)
type MoveTicketBody ¶
type MoveTicketBody struct {
Transition TransitionBody `json:"transition"`
}
type Transition ¶
type TransitionBody ¶
type TransitionBody struct {
Id int `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.