Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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}

...

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
titleFormatting the first word in field "Description" to "Bold", "Italic" or to have a different text color (Red red in the examples) using HTML function
collapsetrue
${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
titleFormatting the first word in field "Description" to "Bold", "Italic" or to have a different text color (Red red in the examples) using Wiki function
collapsetrue
${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();}}

...