-
Type:
Suggestion
-
Resolution: Won't Do
-
None
-
Component/s: Issue - Fields
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
The description field doesn't escape the special character (e.g. & , < , > , ' , " ) even with the XML Syntax as shown as below in the JELLY scripts with the Default Text Renderer in the Field Configuration.
& > < ' "
Sample of JELLY Scripts for replication:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log"> <core:set var="description"> This is some text This line has a greater-than > in the middle This line has a greater-than at the end > >This line has a greater-than at the start This line has an amper > in the middle This line has an amper at the end > >This line has an amper at the start </core:set> <jira:CreateIssue duplicateSummary="ignore" summary="xml test 1" description="${description}" project-key="TST" issueType="Bug" reporter="admin" assignee="admin" /> </JiraJelly>
The result will display as screenshot-1![]()
- relates to
-
JRACLOUD-13833 Description field doesn't escape the special character with XML syntax in JELLY
- Closed