Comments
The examples on this page describe how to build a JQL search using JQL Search Extensions.
Comments JQL keywords
commentsCount
Find issues with a specific number of comments.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example
Find issues with comments.
commentsCount > 0 commentedByUser
Search for issues that were commented on by a particular user.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example
Find issues that were commented on by Jane Potter.
commentedByUser = "Jane Potter"commentLastCreatedBy
Search for issues that were last commented on by a particular user.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example
Find issues that were last commented on by admin.
commentLastCreatedBy= "admin"commentLastUpdatedBy
Search for issues with a comment last updated by a particular user.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Example
Find issues with a comment last updated by admin.
commentLastUpdatedBy= "admin"commentedOnDate
Search for issues that were commented on a particular date. This keyword works with date-related JQL functions:
endOfDay()
endOfMonth()
endOfWeek()
endOfYear()
lastLogin()
now()
startOfDay()
startOfMonth()
startOfWeek()
startOfYear()
See also
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Find issues that were commented on the 13th or 14th of March, 2016.
commentedOnDate >= "2016/03/13" AND commentedOnDate < "2016/03/15" Find issues that were commented on at any time in the past.
commentedOnDate < now()commentUpdatedOnDate
Search for issues in which a comment was updated on a particular date. This keyword works with date-related JQL functions.
endOfDay()
endOfMonth()
endOfWeek()
endOfYear()
lastLogin()
now()
startOfDay()
startOfMonth()
startOfWeek()
startOfYear()
Also see
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Find issues with comments updated on 13th or 14th of March, 2016.
commentUpdatedOnDate >= "2016/03/13" AND commentUpdatedOnDate < "2016/03/15"
commentUpdatedOnDate < now()commentLastCreatedOnDate
Search for issues that were last commented on a particular date. This keyword works with date-related JQL functions.
endOfDay()
endOfMonth()
endOfWeek()
endOfYear()
lastLogin()
now()
startOfDay()
startOfMonth()
startOfWeek()
startOfYear()
See also
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example
Find issues that were commented on more than 2 days ago.
commentLastCreatedOnDate < -2dcommentLastUpdatedOnDate
Search for issues with comments updated on a particular date. This keyword works with date-related JQL functions.
endOfDay()
endOfMonth()
endOfWeek()
endOfYear()
lastLogin()
now()
startOfDay()
startOfMonth()
startOfWeek()
startOfYear()
See also
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example
Find issues that were commented on more than 2 days ago.
commentLastUpdatedOnDate < -2duserMentionedInComment
Find issues where a specified user is mentioned (@mentioned) in a comment.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Find issues where ‘Kai Clarke’ is mentioned in a comment.
userMentionedInComment = Kai ClarkFind issues where the current user is mentioned in a comment.
userMentionedInComment = currentUser()Find issues where specified team members are mentioned recently.
userMentionedInComment in (Kai Clark, Lee Carter) AND commendedOnDate > startOfWeek()userMentionedInLastComment
Find issues where a specified user is mentioned in the latest comment.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Find issues where ‘Kai Clarke’ is mentioned in the last comment.
userMentionedInLastComment = Kai ClarkFind issues where the current user is mentioned in the last comment.
userMentionedInLastComment = currentUser()