From c9dc85ecd02effbcf0cf30254c740661907b2432 Mon Sep 17 00:00:00 2001 From: Julian Brown Date: Mon, 9 Aug 2021 13:58:20 -0400 Subject: [PATCH] fix assignee: expected Object containing a name property --- jiracli/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jiracli/templates.go b/jiracli/templates.go index 2d0ae170..54097d71 100644 --- a/jiracli/templates.go +++ b/jiracli/templates.go @@ -562,7 +562,7 @@ fields: emailAddress: {{ .overrides.assignee }} {{- else if .fields.assignee }} assignee: {{if .fields.assignee.name}} - emailAddress: {{ or .fields.assignee.name}} + name: {{ or .fields.assignee.name}} {{- else }} emailAddress: {{.fields.assignee.emailAddress}}{{end}}{{end}} {{- end -}}