Simple JQL aliases

Available from 1.6.1 version

Plugin provides simple aliases for havingAttachments JQL.

You can use:

AliasEquivalent havingAttachments JQLResult
issue in attContent("word")issue in havingAttachments("content: word")returns list of issues which have an attachment, which contains a 'word' inside file content
issue in attType("pdf")issue in havingAttachments("type:pdf") all issues with 'pdf' attachments
issue in attName("sample")issue in havingAttachments("sample")all issues that have attachment with name 'sample'

Advanced function - havingAttachments

The add-on provides havingAttachments("query") JQL function, where syntax of the query is a bit similar to Google or Bing search engine query syntax, for example:

In general, you can use any Lucene query, with the following fields available:

Advanced syntax

Syntax used for writing queries is Lucene syntax. More details how to write advanced queries can be found in Lucene documentation.