Inconsistent Search Results in Jira 8.X

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Search results through the issue navigator and filter results shown on dashboards are showing inconsistent results.

These are a few of the ways that this issue presents itself:

Example 1

  • You have multiple issues with the same word in the summary or other part of the issue within a project.  

  • In this example the world "CLONE".  You then search for "Project = <projectName> and Summary ~ "CLONE".

  • The JQL results only show one of the two expected tickets

  • You then refresh and now it shows the other potential search result

  • You may refresh again and it will now potentially show neither result or alternating one of the previous results.  Each refresh shows a different result.

Example 2

  • Service Management issue queues are sometimes missing issues from the list that are expected to be present.
  • Even though issues are missing the count of the issues is the expected number
  • As in the previous example, refreshing changes the results.


Diagnosis

Environment

  • Jira Environment 8.0 - 8.1.1

Cause

JRASERVER-69646 - Getting issue details... STATUS

A plugin calls thread searcher context but never closes the context. Affected threads are using this old context which contains data from the time when this context was opened. As a result, the user observes issues "jumping" back and forth on boards, Service Management queues and other issue lists.

Workaround

Currently, on several instances, we noticed this behaviour being caused by one of the following add-ons:

To confirm if one of custom add-ons is causing the issue:

  1. Stop Jira
  2. Remove the add-on .jar file from <Jira_HOME>/plugins/installed-plugins directory
  3. Go to <Jira_HOME>/plugins directory and remove the contents of .osgi-plugins and .bundled-plugins directory
  4. Restart Jira
  5. Perform a full locked re-indexing
  6. Check if the issue still appears.

If you discover an add-on that is causing this issue, please contact the respective add-on vendor and let them know about this behaviour. If a bugfix version becomes available, re-install the add-on with this version and see if it resolves the problem.
Also, feel free to raise a support request with us and let us know about affected add-ons that are not on the list above, so we could update this knowledge article with new information.

DescriptionSearch results through the issue navigator and filter results shown on dashboards are showing inconsistent results
ProductJira, Jira Service Management, Jira Software

Last modified on Oct 31, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.