diff --git a/cmd/standalone.go b/cmd/standalone.go index 2d26131..b9aa978 100644 --- a/cmd/standalone.go +++ b/cmd/standalone.go @@ -89,7 +89,7 @@ func createJiraTicketStandaloneCmdF(cmd *cobra.Command, _ []string) error { varMap, err := getVarMap(vars) if err != nil { - return fmt.Errorf("error processing vars: %w") + return fmt.Errorf("error processing vars: %w", err) } sumTmpl, err := template.New("").Parse(summaryTmplStr) diff --git a/jira/jira.go b/jira/jira.go index fbb5431..57e0912 100644 --- a/jira/jira.go +++ b/jira/jira.go @@ -22,7 +22,7 @@ type JiraIssueFields struct { } type JiraIssue struct { - Key string `json:"key"` + Key string `json:"key"` Fields JiraIssueFields `json:"fields"` }