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.

Thanks

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

619 views 6 12
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