Where is the "current" search (JQL) being stored?


I have the problem that a user did a JQL query that involved subqueries etc (linked issues...). Now that query is too complex an results in JIRA to stop corresponding.

Even after a restart, every time the user tries to search for issues (click on issues) the last search is being performed resulting in the same problem occurring again...

Is there anything in the DB or elsewhere that I can delete or would sth. like entering the following URL help?


Hope you get what I mean:-)


2 answers

1 accepted

Found a solution / SQL query that at least returs the current query:

  ps.propertyvalue, ee.name
  propertytext ps,
  external_entities ee,
  propertyentry pe
  ee.name like 'XXXX' and
  pe.property_key like 'user.search.jql' and
  /*ee.entitytype like 'com.atlassian.jira.user.OfbizExternalEntityStore' and*/
  ee.id = pe.entity_id and
  pe.id = ps.id;


Hi Christian,

Could you just let your user click on a favorite filter or go to a Project Overview and click for example on the All issues link?

That should clear the JQL.

Best regards,



Could it be stored here : public.searchrequest

I ask this based on this file : https://developer.atlassian.com/display/JIRADEV/Database+Schema

Best regards,


I cleared it using issues/?jql= but I'd still like to know where the current search is being stored...

The searchrequest table only stores filters not the current search request...

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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

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