Confiforms: how to handle special characters in JIRA summary

Pat L.
Contributor
October 4, 2024

I have a form definition with a field called "jiraissue" that is a "JIRA Issue" type of field.

 

When I use [entry.jiraissue.title] to display the title or summary in a plainview, I got the following error. 

 

Error: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag

; expected . at [row,col {unknown-source}]: [2,294]

 

I found out that it is because the JIRA issue has special characters in it for example < and >.

 

If I remove these characters, it works fine. Is there anyway that I can avoid the errors without having to remove these characters from the returned titles from JIRA server?

 

Thanks,

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2024

Try using escapeXML function with it, so it does not break the storage format

 [entry.jiraissue.title.escapeXML] 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events