Special Characters in Jira Tickets Created by Confiforms Automation

Mystify 9762
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2024

 

Hello,

 

We are using Confiforms IFTTT rules on a confluence page to make Jira tickets.

 

We collect up field info like this:

 

            #set($strAddInfo = "[entry.fnField.escapeJSON]"

 

And then build up the json structure to place values in the "description" field of the ticket.

However, when we use some special characters such as quotes ("), we encounter errors on submission, and some characters such as < and > and & become HTML encoded like &gt;. We worked around the quote issue with the subpar but passable solution of adding string replacement with replaceWith(",'') after the escapeJSON directive. However, we are at an impasse with special characters, and have tried various combinations of the confiforms virtual functions - https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions - especially the urldecode and the renderAs* functions.

 

Is there any further documentation or advice around character escaping?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events