It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA filters not saving

I'm experiencing an issue saving filters for my boards. After I make the update and select search, I am able to click save and the system yields a validation message, but the filter still indicates "edited" and the query is not saved. 

I checked the response, which yields a 400 with {"errorMessages":["jqlTooComplex"],"errors":{}}

It does not seem to be a complex query:

project = TAX AND (issuetype not in ("Test Set", Precondition, "Sub Test Execution", Test, "Test Execution", "Test Plan", "Code Review Task") OR (issuetype = "Code Review Task" AND status not in ("Completed - Pass", "Completed - Refactor Required", Removed))) ORDER BY Rank ASC



I don't trust order of operations on queries like this and so may have redundant parens -- if there is a different way to write this, then I would appreciate the feedback.

Also, I will figure out where to submit the bug for the false positive on save...

1 answer

0 votes

Hi Trish,

Thanks for reaching out, and pointing this out.

I think the jqlTooComplex is a red herring and possible false positive here and unrelated to the edit directly, I'm still trying to track that particular error down but I am not able to reproduce it locally in my tests so far, but looks very similar to the behavior described in the following BUG for jira Server that occurs on a JQL that takes too long to return a result set, which may be the causal factor as my tests are against a small data sample for the results and may just not be timing out in the same way:

But, I just want to confirm if the save is actually saving the filter in your case even though you get the 400 error.

While I was testing this out on my staging system I found that the change is saved correctly on the board filter for me and just the "edited" notation is left behind.  I also found that  there is a difference between clicking on the search button with your mouse and hitting enter/return key to submit the changes to the search query before you save as to wether the Edited element stays or goes away after saving.

Hit Enter and then save and the Edited element stays behind, but if you Click search with your mouse and then save the edited element will go away after you save.  And I created the following Bug report so we can follow up on this:

Can you verify if you are seeing the same results, and if the jqlTooComplex error goes away when doing this as well?


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you