Attachment JQL functions Cloud
- 1 hasAttachment()
- 2 hasAttachmentAfter()
- 3 hasAttachmentBefore()
- 4 hasAttachmentBy()
- 5 attachmentCountEquals()
- 6 attachmentCountMoreThan()
- 7 attachmentCountLessThan()
- 8 attachedDate()
- 9 hasAttachmentByMe()
- 10 hasAttachmentByMeAfter()
- 11 hasAttachmentByMeBefore()
- 12 hasAttachmentByUser()
- 13 hasAttachmentByUserAfter()
- 14 hasAttachmentByUserBefore()
- 15 hasAttachmenMatching()
: available in Issue Navigator.
hasAttachment()
Search for issues that include any type of attachment.
Examples
issue in hasAttachment("query")
finds the issues that include any type of attachment.
hasAttachmentAfter()
Examples
issue in hasAttachmentAfter("query", "-6d")
finds the issues that added any attachments within dates from the number of days you specify to the present.
hasAttachmentBefore()
Examples
issue in hasAttachmentBefore("query", "-3w")
finds the issues that added any attachments before the given day.
hasAttachmentBy()
Search for issues that include any type of attachments that are added by a particular user.
Examples
issue in hasAttachmentBy("query", "username")
finds the issues that include any type of attachments that are added by a specific user.
attachmentCountEquals()
Search for issues according to the number of attachments.
Examples
issue in attachmentCountEquals("query", "2")
finds the issues with 2 attachments.
attachmentCountMoreThan()
Search for issues according to the number of attachments.
Examples
issue in attachmentCountMoreThan("query", "1")
finds the issues that have more than one attachment.
attachmentCountLessThan()
Search for issues according to the number of attachments.
Examples
issue in attachmentCountLessThan("query", "3")
finds the issues that have less than three attachments.
attachedDate()
Search for issues according to the date added attachments.
Examples
issue in attachedDate("query", "2023-05-10")
finds the issues that are attached on a specific date.
hasAttachmentByMe()
Search for issues attached by current user.
Examples
issue in hasAttachmentByMe("query")
hasAttachmentByMeAfter()
Examples
issue in hasAttachmentByMeAfter("query", "-6d")
finds the issues that added any attachments within dates from the number of days you specify to the present by the current user.
hasAttachmentByMeBefore()
Examples
issue in hasAttachmentByMeBefore("query", "-3w")
finds the issues that added any attachments before the given day by the current user.
hasAttachmentByUser()
Search for issues attached by the user.
Examples
issue in hasAttachmentByUser("query", "Full Name" )
hasAttachmentByUserAfter()
Examples
issue in hasAttachmentByUserAfter("query", "Full Name", "-6d")
finds the issues that added any attachments within dates from the number of days you specify to the present by the user.
hasAttachmentByUserBefore()
Examples
issue in hasAttachmentByUserBefore("query", "Full Name", "-3w")
finds the issues that added any attachments before the given day by the user.
hasAttachmenMatching()
Search for issues that include attachments by their filenames or extensions.
Examples
issue in hasAttachmentMatching("query", "avc")
finds the issues that include attachments named “avc“
issue in hasAttachmentMatching("query", "*avc*")
finds the issues that include attachments whose names include “avc”.
issue in hasAttachmentMatching("query", "*avc*2022*")
finds the issues that include attachments whose names include both “avc” and “2022“ respectively.
issue in hasAttachmentMatching("query", "*.png")
finds the issues that end with “.png”.
issue in hasAttachmentMatching("query", "avc*")
finds the issues that start with “avc”.