Attachment JQL functions DC

 

hasAttachments()

Search for issues that include any type of attachment.

Examples

issue in hasAttachment()

finds the issues that include any type of attachment.

hasAttachmentsAfter()

Examples

issue in hasAttachmentAfter("-6d")

finds the issues that added any attachments within dates from the number of days you specify to the present.

hasAttachmentsBefore()

Examples

issue in hasAttachmentBefore("-3w")

finds the issues that added any attachments before the given day.

hasAttachmentsBy()

Search for issues that include any type of attachments that are added by a particular user.

Examples

finds the issues that include any type of attachments that are added by a specific user.

hasAttachmentsMatching()

Search for issues that include attachments by their filenames or extension.

Examples

finds the issues that include attachments named “avc“

finds the issues that include attachments whose names include “avc”.

finds the issues that include attachments whose names include both “avc” and “2022“ respectively.

finds the issues that end with “.png”.

finds the issues that start with “avc”.

 

attachmentsCountEquals()

Search for issues according to the number of attachments.

Examples

finds the issues with 2 attachments.

 

attachmentsCountMoreThan()

Search for issues according to the number of attachments.

Examples

finds the issues that have more than one attachment.

 

attachmentsCountLessThan()

Search for issues according to the number of attachments.

Examples

finds the issues that have less than three attachments.

 

attachedDate()

Search for issues according to the date added attachments.

Examples

finds the issues that are attached on a specific date.