From 43e07f119713323191c9967243ffb2eef198814c Mon Sep 17 00:00:00 2001 From: Matthias Bethke Date: Fri, 5 Jul 2019 09:07:09 +0200 Subject: [PATCH] fix worklog template to allow multiline comments --- jiracli/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jiracli/templates.go b/jiracli/templates.go index 8eb5b6b..78d571c 100644 --- a/jiracli/templates.go +++ b/jiracli/templates.go @@ -547,7 +547,7 @@ transition: const defaultWorklogTemplate = `{{/* worklog template */ -}} # issue: {{ .issue }} comment: |~ - {{ or .comment "" }} + {{ or .comment "" | indent 2 }} timeSpent: {{ or .timeSpent "" }} started: {{ or .started "" }} `