Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Tip

Click on the links to expand panels and see answers.

...

Expand
titleWhy 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.


Expand
titleTemporarily changing the logging level
  1. Choose Image Added > System
  2. Select Troubleshooting and Support > Logging & Profiling to open the Logging page, which lists all defined log4j categories (as package names) and their current logging levels.
  3. To change logging level of a category, click linked logging level associated with the relevant package name. To turn off logging of a category, click the 'OFF' link associated with the relevant package name.


Expand
titleHow to check the enable plugin logs?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 or DEBUG level for pakages packages below just as described here; DEBUG level is more verbose and should be only used temporarily. 
    • com.addonrock.jira
    • pl.craftware.jira
  • rerun the action details of which you'd like to see in the logs;

...