FAQ for Administrators - Search Attachments

 Why I see this in logs: com.atlassian.jira.util.RuntimeIOException: org.apache.lucene.index.IndexFormatTooOldException

When you see this exception in logs then this means you upgraded JIRA to version 8. Index must be rebuild to work properly.

Plugin will not run automatic indexing because it could impact your JIRA performance. You need to manually execute re-indexing. Please check our guide.

 Why add-on shows that license is empty when I provided valid license at plugin management page?

Probably there is a problem with UPM and Plugin License Storage plugin bundled with your JIRA. You can check this in logs looking for PluginLicenseStoragePluginUnresolvedException. Any users using JIRA 5.0.1+ could run into this problem because these versions of JIRA come bundled with UPM 2. Update the UPM in JIRA and re-install add-on fix this problem

 Why issue in havingAttachments(...) returns incomplete results or even no results?
The plugin may give incomplete results in the following situations:
  • when issue index wasn't created yet (you have to schedule it manually after plugin installation);
  • or when the index creation above is in progress;
  • or when an attachment was just added to a JIRA issue and its indexing is in progress (indexing of such individual attachments is fired automatically and you don't have to schedule it, but it may be still in progress);
  • or when indexing of some attachments failed. In that case you'll need to check the logs. If logging wasn't configured previously, you also need to reindex all issues, or at least re-attach the single files that seem to be not indexed;
  • or when you made a mistake in query - see User Guide - Search Attachment.
 Setting up plugin logging

The plugin logs are present in the usual atlassian-jira.log file, however if logging for the plugin wasn't enabled previously, you have to:

  • enable INFO level for pakages below just as described here;
    • com.addonrock.jira
    • pl.craftware.jira
  • rerun the action details of which you'd like to see in the logs;

Click on the links to expand panels and see answers.

Other problems and questions?

Try checking the logs first. If that doesn't help, please contact us at our Support Portal. Don't forget to add the important snippets of the logs to your message.