diff --git a/cmd/standalone.go b/cmd/standalone.go index 9250099..0f1b738 100644 --- a/cmd/standalone.go +++ b/cmd/standalone.go @@ -68,7 +68,11 @@ func createJiraTicketStandaloneCmdF(cmd *cobra.Command, _ []string) error { } // process template - description := TBD() + tmpl, err := template.ParseFiles(template) + if err != nil { + ErrorAndExit(cmd, err) + } + tmpl.Execute() // ToDo: write in a description var jiraClient, err := jira.NewClient(username, token) if err != nil {