...
If the fields to be exported are configured to use a Wiki Markup Renderer, it´s possible to you can place the wiki rendering in the result document.
...
Info |
---|
When creating an Excel template document, you should use: ${wiki:Description} |
...
Info |
---|
When creating an Excel template document, you should use: ${link:title=${Key},href=${BaseURL}/browse/${Key}} |
...
If the fields to be exported are configured to use an HTML renderer, such as the one provided by the JEditor plugin, it´s possible to you can place the HTML rendering in the result document.
...
Info |
---|
When creating an Excel template document, you should use: ${html:Description} |
...
JavaScript with Wiki or HTML
Xporter allows applying Wiki or HTML functions in the text rendered based on javascriptJavaScript. For example, if the fields to be exported are configured to use the " Default Text Renderer" renderer, provided by Jira, it is possible to use Javascript you can use JavaScript to format the field using the notation explained in Javascript here and then apply the Wiki or HTML functions. It is You can also possible to use Javascript JavaScript to format fields that are configured to use use the Wiki Markup Renderer or an HTML renderer, such as the one provided by the JEditor plugin and then apply the Wiki or HTML functions. To achieve that, the Javascript JavaScript function should be defined as a field in the template and the function to be applied to that field.
...
Code Block | ||||
---|---|---|---|---|
| ||||
${html:%{var t ='<b>'+'${Description}'.split(' ')[0] +'</b>'+'${Description}'.substr('${Description}'.indexOf(' ') + 1);t.toString();}} ${html:%{var t ='<i>'+'${Description}'.split(' ')[0] +'</i>'+'${Description}'.substr('${Description}'.indexOf(' ') + 1);t.toString();}} ${html:%{var t ='<b>'+'<font color="Red">'+'${Description}'.split(' ')[0] +'</b>'+'</font>'+'${Description}'.substr('${Description}'.indexOf(' ') + 1);t.toString();}} |
Code Block | ||||
---|---|---|---|---|
| ||||
${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();}} |
...