Documentation ¶
Index ¶
- func BuildCommentFromScanner(scanner *bufio.Scanner) (string, error)
- func BuildSummaryAndDescriptionFromScanner(scanner *bufio.Scanner) (string, string, error)
- func CreateIssueSummaryDescription(prefill string) (string, string, error)
- func GetIssueIntoEditor(c jiwa.Client, key string) (string, string, error)
- func ReadStdin() ([]byte, error)
- type Command
- func (c *Command) Cat(issueID string) (jira.Issue, error)
- func (c *Command) Comment(issues []string, comment string) ([]string, error)
- func (c *Command) ConstructIssueURL(issueKey string) string
- func (c *Command) Create(project, srcFilePath, ticketType, component string) (string, error)
- func (c *Command) Edit(issueID string) (string, error)
- func (c *Command) FishOutProject(projectFlag string) (string, error)
- func (c *Command) IssueTypes(projectKey string) ([]jira.IssueType, error)
- func (c *Command) Label(issues, labels []string) ([]string, error)
- func (c *Command) List(input ListInput) ([]jira.Issue, error)
- func (c *Command) Move(issues []string, status string) ([]string, error)
- func (c *Command) ReadIssueListFromStdin() ([]string, error)
- func (c *Command) Reassign(issues []string, username string) ([]string, error)
- func (c *Command) Search(jqlQuery string) ([]jira.Issue, error)
- func (c *Command) StripBaseURL(url string) string
- type Config
- type ListInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommentFromScanner ¶ added in v0.13.0
func CreateIssueSummaryDescription ¶
CreateIssueSummaryDescription takes care of creating an empty tmp file and opening an editor on that, reading the result once the editor is closed then shoving that into a title and a description. SetupTmpFileWithEditor is what you're looking for to just get the file thing.
func GetIssueIntoEditor ¶
Types ¶
type Command ¶
func (*Command) ConstructIssueURL ¶ added in v0.11.3
func (*Command) FishOutProject ¶ added in v0.8.1
func (*Command) IssueTypes ¶ added in v0.10.0
func (*Command) ReadIssueListFromStdin ¶ added in v0.11.1
func (*Command) StripBaseURL ¶ added in v0.11.3
type Config ¶
type Config struct { BaseURL string `json:"baseURL"` APIVersion string `json:"apiVersion"` EndpointPrefix string `json:"endpointPrefix"` Username string `json:"username"` Password string `json:"password"` Token string `json:"token"` Timeout time.Duration `json:"timeout"` DefaultProject string `json:"defaultProject"` }
func (*Config) ReturnCleanEndpointPrefix ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.