Add summary field to get-jira-ticket
This commit is contained in:
parent
378fcbe65a
commit
d5778abbd6
2 changed files with 3 additions and 2 deletions
|
@ -136,5 +136,5 @@ func getJiraTicketStandaloneCmdF(cmd *cobra.Command, args []string) {
|
|||
ErrorAndExit(cmd, err)
|
||||
}
|
||||
|
||||
fmt.Printf("Key: %s\nStatus: %s\n", issue.Key, issue.Fields.Status.Name)
|
||||
fmt.Printf("Summary: %s\nKey: %s\nStatus: %s\n", issue.Fields.Summary, issue.Key, issue.Fields.Status.Name)
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ type JiraIssueFieldsStatus struct {
|
|||
|
||||
type JiraIssueFields struct {
|
||||
Status JiraIssueFieldsStatus `json:"status"`
|
||||
Summary string `json:"summary"`
|
||||
}
|
||||
|
||||
type JiraIssue struct {
|
||||
|
|
Loading…
Reference in a new issue