Details
-
Bug
-
Status: In Progress
-
Medium
-
Resolution: Unresolved
-
Xporter Cloud 2.2.1
-
None
Description
Description
JavaScript with Wiki not working on the exportation. The mappings provided on our documentation don´t work.
${wiki:%{var t ='*'+'${Description}'.split(' ')[0] +'*'+' ${Description}'.substr('${Description}'.indexOf(' ') + 1);t.toString();}} ${wiki:%{var t ='_'+'${Description}'.split(' ')[0] +'_'+' ${Description}'.substr('${Description}'.indexOf(' ') + 1);t.toString();}} ${wiki:%{var t ='{color:red}'+'${Description}'.split(' ')[0] +'{color}'+' ${Description}'.substr('${Description}'.indexOf(' ') + 1);t.toString();}}
How to reproduce
- Create a template with the above Javascript with Wiki
- Create a new issue and add some text to the Description field
- Export the template
Actual result/Attachments
It doesn't format the text as the following example:
Expected result
It should format the text according to the Javascript.
Attachments
Issue Links
- relates to
-
XRAYCLOUD-3021 JavaScript with Wiki not working
-
- Blocked
-