Format calculated text fields


I have a calculated text field that is primarily used when a filter is exported from Jira to Excel for offline usage.

I have used "s.append ("< strong>")" and "s.append ("< /strong>")" and also tried it with "s.append ("< b")" and "s.append ("< /b>")". Both options do turn that portion of my calculated text bold in my webbrowser, but when I export it to Excel, it shows the tags as text.

what should I do in order to show this bold in the exported Excel?

Thank you,


2 answers

1 accepted

This widget could not be displayed.

Unfortunately, Excel imports CSV as text only. To my knowledge, you cannot forward any formatting on to Excel this way.

Hello David,

Thanks for your quick reply.

Agreed, but the JIRA export is in the .xls format. When I open this file in for instance Notepad++ and edit the content with < strong> and < /strong>, it does show correct in Excel. So for some reason, JIRA is not including the format in the export it creates. It does however include formatting in other cells, like the headers.

I find it strange, since "\n" for a line break does work in the XLS export, but is not shown in JIRA.


I'm not sure I understand. After exporting to Excel, did you try opening the resulting file in Notepad++? What is it showing where <strong> should be? Initially, you said the tag is shown as text in Excel, and then you said the tags are removed from the XLS export?

Let me clarify: your questions are pushing me in the right direction I think :-) :

  • In the edit section of my custom field:
    • s.append("< strong>")
    • s.append("test")
    • s.append("< /strong>")
  • In the jira issue overview:
    • test
  • In Notepad++: &lt;strong&gt;test&lt;/strong&gt;
  • In Excel: < strong>test</ strong)

The text that is exported in bold to Excel by default (for instance in the header: "Displaying x issues...":

  • In Notepad++: <strong>test</strong>
  • In Excel: test

So: if we can get "<" into the export instead of "&lt;", I think it should work.

(I only added the spaces here for visibility)

The thing is, this is the standard behavior of the Excel export in JIRA. JIRA escapes all HTML tags for security reasons.

You will need to unescape the tags as a post-process on the exported file, before you feed it into Excel.

This widget could not be displayed.

Ok, that's unfortunate :-).

Thanks for your time to look into this.


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

729 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you