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

This widget could not be displayed.

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>"

This widget could not be displayed.

Thanks - that's perfect!

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
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

281 views 5 0
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