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

Hi,

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.

Thanks.

Jan

2 answers

Jean,

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

Kind Regards,
Henrique Lechner

Henrique,

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.

Jan

HI Jean,

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

Thanks.

Jan

What is the type of custom field?

Vijay,

It is a "Select List".

Using the "Multi Select Searcher" template.

Jan

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,726 views 2 7
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