This script works great and exactly as I've intended. The correct formatting displays when I show the column on a View screen, in a column in the Issue Navigator, in an exported Excel file, and in a column within a gadget.

However, I'd like to be able to use the values in this field as the basis for a gadget, such as the basis for an Issue Statistics gadget. However, when doing this, the value in the gadget isn't returned as the formatted text (for example, green bolded "Low"), but appears as a string of HTML code. Is there a way to only return the text without the full HTML code when basing a gadget on this field?

You should not be using raw HTML to format the field value with a DIV and styling. You should be exploiting the 'Template' function of your scripted field to achieve the look and feel, and the field-value should be NOTHING except the value.

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...