Skip to content

Commit

Permalink
[#192] fix template usage for 'fixVersions' in transition template
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Jul 29, 2018
1 parent ef9b731 commit c9a4e30
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 @@ -504,7 +504,7 @@ fields:
{{if .meta.fields.fixVersions -}}
{{if .meta.fields.fixVersions.allowedValues}}
fixVersions: # Values: {{ range .meta.fields.fixVersions.allowedValues }}{{.name}}, {{end}}{{if .overrides.fixVersions}}{{ range (split "," .overrides.fixVersions)}}
- name: {{.name}}{{end}}{{else}}{{range .fields.fixVersions}}
- name: {{.}}{{end}}{{else}}{{range .fields.fixVersions}}
- name: {{.name}}{{end}}{{end}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit c9a4e30

Please sign in to comment.