Documentation ¶
Index ¶
- type Campaign
- func (c *Campaign) AddTickets(tickets []*Ticket, fileOnly bool) int
- func (c *Campaign) FillTicket(t *Ticket) error
- func (c *Campaign) GetGithubUrl(ticket *Ticket) string
- func (c *Campaign) GetJiraUrl(ticket *Ticket) string
- func (c *Campaign) GetPublishedGithubTickets() []*Ticket
- func (c *Campaign) NextGithubUnpublishedTicket() *Ticket
- func (c *Campaign) NextJiraUnpublishedTicket() *Ticket
- func (c *Campaign) PrintList(publishedOnly, printLinks bool)
- func (c *Campaign) PrintStatus()
- func (c *Campaign) PrintUserReport()
- func (c *Campaign) RemoveDuplicateTickets(fileOnly bool) int
- func (c *Campaign) RepoComponents() (string, string)
- type ConfigGithub
- type ConfigJira
- type Ticket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Campaign ¶
type Campaign struct { Jira ConfigJira `json:"jira"` Github ConfigGithub `json:"github"` Summary string `json:"summary"` IssueTemplate string `json:"issue_template"` Tickets []*Ticket `json:"tickets,omitempty"` }
ToDo: add key-value extra params as a map to allow for customfield_whatever = team
func (*Campaign) FillTicket ¶
func (*Campaign) GetGithubUrl ¶
func (*Campaign) GetJiraUrl ¶
func (*Campaign) GetPublishedGithubTickets ¶
func (*Campaign) NextGithubUnpublishedTicket ¶
func (*Campaign) NextJiraUnpublishedTicket ¶
func (*Campaign) PrintStatus ¶
func (c *Campaign) PrintStatus()
func (*Campaign) PrintUserReport ¶
func (c *Campaign) PrintUserReport()
func (*Campaign) RemoveDuplicateTickets ¶
func (*Campaign) RepoComponents ¶
type ConfigGithub ¶
type ConfigJira ¶
type Ticket ¶
type Ticket struct { GithubLink int `json:"github_link,omitempty"` GithubStatus string `json:"github_status,omitempty"` GithubAssignee string `json:"github_assignee,omitempty"` JiraLink string `json:"jira_link,omitempty"` JiraStatus string `json:"jira_status,omitempty"` Summary string `json:"summary,omitempty"` Description string `json:"description,omitempty"` Data map[string]interface{} `json:"data,omitempty"` }
func (*Ticket) IsAssigned ¶
func (*Ticket) IsPublishedGithub ¶
func (*Ticket) IsPublishedJira ¶
func (*Ticket) PrintStatus ¶
func (t *Ticket) PrintStatus()
Click to show internal directories.
Click to hide internal directories.