Text function not working in list

Kruno December 3, 2020

Heyho,

I am using Jira Automation to send a message via a Webhook. It works in general until today it failed. Reason was quickly found, a special character in the summary causing missformed JSON.

Soon I realized there is a #jsonEncode function but when I use it in a list of issues i simply doesn't do anything. The Request sent doesn't contain the summary at all. Seems like the text function in a list is causing issues.

The code I use

{{#issues}}
[{{key}}](https://ourInstance/browse/{{key}}) | **{{status.name}}** | - {{#jsonEncode}}{{summary}}{{/}}
\n
{{/}}

Can someone help?

Cheers

Kruno

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events