HTML formatted custom field values not showing up in searches

I have created a cusotm field with the values in a a drop list consisting of;

  • In Progress
  • Approved
  • Declined
  • Restricted

I've added HTML colour formatting to the values e.g. - <font color ="Green">Approved</font color> this shows up as intended in the issue pages with the colour formatting intact.

However when searching, and adding filters to the search to narrow down the results to just those containing one of the the predefined values, the results cannot be found.....

project = "Methods & Tools" AND component = "New Tool Request" AND issuetype in (Task, Sub-task) AND "Tool Request Status" = Approved

The option 'Approved' for field 'Tool Request Status' does not exist.

If i remove the HTML fromt he values the filtered search shows the desired resutls - but obviously the colours associated with the values are lost.

I'm looking to see if there's a way to keep the formatting and still be able to bring up the search results? ideally without the need of a plug in.


2 answers

1 accepted

Hi Chris,

We have some custom fields with HTML as well, you will need to add the HTML code in the JQL search as well to get the results. Here's an exemple:

project = TEST and "Sub Issue Type" = "<span 04 style='background-color: rgb(255, 156, 0); color: rgb(255, 255, 255);'><b>New Request</b></span>"

Thanks - that's perfect!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot