Hi,
I've created the following code in a velocity template:
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_10900"))
#if ($issue.getCustomFieldValue($customfield))
#-> $stringUtils.leftPad($customfield.name, $padSize): $issue.getCustomFieldValue($customfield)
#end
#if ($issue.getDueDate())
#-> #text("Fälligkeitsdatum"): $issue.getDueDate()
#end
#->$stringUtils.leftPad($i18n.getText("common.concepts.url"), $padSize): ${baseurl}/browse/${issue.getKey()} The result is ok, but not perfect:
#-> Service: Servicename
#-> Fälligkeitsdatum: 2019-08-15 00:00:00.0
#-> URL: https://domain.net/xyz
How could I reduce the blanks and the blank lines to get the following result?
#-> Service: Servicename
#-> Fälligkeitsdatum: 2019-08-15 00:00:00.0
#-> URL: https://domain.net/xyz
Best,
Sebastian