Skip to content

Commit

Permalink
fix edit when priority is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Sep 18, 2017
1 parent 2ddaed2 commit 098eb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jiracli/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ fields:
- name: {{ .overrides.watcher}}{{end}}{{end}}
{{- if .meta.fields.priority }}
priority: # Values: {{ range .meta.fields.priority.allowedValues }}{{.name}}, {{end}}
name: {{ or .overrides.priority .fields.priority.name }}{{end}}
name: {{ or .overrides.priority .fields.priority.name "" }}{{end}}
description: |~
{{ or .overrides.description (or .fields.description "") | indent 4 }}
# comments:
Expand Down

0 comments on commit 098eb99

Please sign in to comment.