Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Xray DC 7.12.4
-
None
-
Jira v10.3.18
Xray 7.12.4-j10
-
Standard
-
Description
Description
Changing fields using Javascript breaks export if field contains an image
How to reproduce
- Create an issue with the following description
_*As*_ a user of Foo *Scenario 1 [Bar]* * Given I Foo * Then I could see ** the corresponding *bar* !screenshot-1.png|thumbnail! |Japan|[Japan@xy.com|mailto:Japan@xy.com]| |South Korea|[South-Korea@xy.com|mailto:South-Korea@xy.com]| |Australia and *New Zealand*|*[australia-helpdesk@xy.com|mailto:australia-helpdesk@xy.com]*|
- Create a template with the following code:
${wiki:%{'${escape:Description}'.replaceAll('{','{').replaceAll('}','}').replaceAll('mailto:',' ')}}
- Export this template, then remove the image from description and try to export again
Actual result/Attachments
When image is present, export gets stuck
Expected result
Description should be exported without issues
Version
- Jira v10.3.18
- Xray 7.12.4-j10