Custom field contexts causes "this criteria contains invalid values" message on my filter


I've got a saved filter that uses a custom field in its criteria, but when I click on my filter I see a red exclamation mark by my custom field and if I hover over the exclamation mark it says, "this criteria contains invalid values".

The custom field is used in seven projects. My users can browse each others projects, but only create issues in their own, except when creating a subtask. I created a different context for my custom field so that when a user creates an issue it defaults to 'a' for one project and 'b' for the next etc... This works great.

But when I save filters using this field I see the message above. And if I click on the criteria there is a long list of repeated exclamation marks by 'a', 'b', 'c' etc... which makes editing the filter very unfriendly.

Can anyone suggest any help? I thought I was applying this context default feature as it was intended (although I have deliberately had to leave one context as Global otherwise users can't filter with that criteria at all), it seems setting these contexts means technically I shouldn't be able to search across my projects with this field.

I guess the question is, is there a better way to set the default value in each project? And avoid this filter problem.



2 answers


To better help you on it, could you please let me know the whole filter criteria that you're using?

Kind Regards,
Henrique Lechner


This is the JQL query.

"Commissioning Edition" = "a" ORDER BY createdDate DESC

Commissioning Edition is the custom field.

It gets changed by JIRA to.

"Commissioning Edition" in ("a", "a", "a", "a", "a", "a", "a", "b") ORDER BY createdDate DESC

If I add another value.


HI Jean,

Do you have any suggestions on how I can get around this problrm?



What is the type of custom field?


It is a "Select List".

Using the "Multi Select Searcher" template.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

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

1,180 views 5 10
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