Attachments

Attachments JQL Keywords

AttachmentsCount 

Searches for issues that have a specific number of attachments.

SUPPORTED OPERATORS 

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

Example:

  • attachmentsCount > 1 finds issues with more than one attachment.

AttachedByUser

Searches for issues with attachments added by a particular user.

SUPPORTED OPERATORS 

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

Example:

  • attachedByUser = "John Smith" finds issues with attachments added by John Smith.

AttachedOnDate

Searches for issues with attachments added on a specific date.

This JQL keyword works with date-related JQL functions:

  • endOfDay()

  • endOfMonth()

  • endOfWeek()

  • endOfYear()

  • lastLogin()

  • now()

  • startOfDay()

  • startOfMonth()

  • startOfWeek()

  • startOfYear()

SUPPORTED OPERATORS 

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

 

Examples:

  • attachedOnDate >= "2024/01/01" AND attachedOnDate <= "2024/01/31" finds issues with attachments added during January 2024.

  • attachedOnDate >= startOfMonth() finds issues with attachments added since the beginning of the current month.

AttachmentExtension 

Searches for issues with attachments of a particular file extension.

SUPPORTED OPERATORS  

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

Example:

  • attachmentExtension IN ("pdf", "docx") finds issues with attachments that are PDF or DOCX files.

AttachmentName

Searches for issues with attachments containing specific text in their names.

SUPPORTED OPERATORS  

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

=

!=

~

!~

>

>=

<

<=

IS

IS NOT

IN

NOT IN

WAS

WAS IN

WAS NOT

WAS NOT IN

CHANGED

Example:

  • attachmentName ~ "proposal" finds issues with attachments whose names include the word “proposal”.