Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
6.3.4, 7.0.4, 7.0.0, 7.10.1
-
6.03
-
4
-
Severity 3 - Minor
-
2
-
-
Description
Summary
Customer reported that when creating custom field (User Picker) and added html tags in description field, text link shows correctly in Custom Field screen under Administration Setting. However when creating new issues, the create issue form for User Picker field shows the HTML code not the text link.
Environment
N/A
Steps to Reproduce
- Log-in in JIRA, JIRA Administration -> Issues - Under Field click Custom Field
- Click on Add Custom Field -> Search User Picker (Single User) and select it
- Enter Field name and HTML code (below) in Description field, click create and select Default Screen or all the screens available in the list then click on update.
<HTML> <BODY> <P> HELLO WORLD </P> <a href="http://www.atlassian.com"> Atlassian Website </a> </BODY> </HTML>
- Back to Custom Field Screen, search the new custom field you created and description shows a text link ( this part is working as expected - see User Picker under Custom image).
- Create a new issue, look for the new custom field on the create issue form. Noticed the description field for that User Picker Type is showing HTML code instead Text link (attached snapshot).
Expected Results
Please see attached snapshot ( User Picker Create New Issue ). Description field for UserPicker_Test type should show as a text link not the HTML code.
Actual Results
Please see attached snapshot ( User Picker Create New Issue ). If you check this image, you will see SelectList field "Atlassian Website" as a text link (this should be the actual result for User Picker Field type) where UserPicker_Test is showing the HTML code.
Workaround
Add the following line to <JIRA_INSTALL>/atlassian-jira/WEB-INF/classes/templates/plugins/fields/edit/edit-userpicker.vm and restart Jira:
#disable_html_escaping()
Attachments
Issue Links
- is related to
-
JRASERVER-61023 Using special charactor in description field will result in the description appearing HTML tag (eg. <p>) and special charactors change to HTML entities (eg. < changes to <)
- Closed
- mentioned in
-
Page Loading...
- relates to
-
RAID-1033 Loading...