---
title: "Comments"
canonical: "https://support.appfire.com/space/JQLSEARCH/604209943/Comments"
format: markdown
---
> Macro (aura-html)

> ℹ️ The examples on this page describe how to build a JQL search using [JQL Search Extensions](https://marketplace.atlassian.com/plugins/jql-extensions/cloud/overview).

## 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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**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**

- [Note on aggregation of dates](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209257)
- [Note on dates with time](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209245)

 **Supported operators**

| = | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**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**

- [Note on aggregation of dates](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209257)
- [Note on dates with time](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209245)

**Supported operators**

| = | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**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**

- [Note on aggregation of dates](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209257)
- [Note on dates with time](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209245)

**Supported operators**

| = | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**Example**

Find issues that were commented on more than 2 days ago.

```
commentLastCreatedOnDate < -2d
```

### commentLastUpdatedOnDate

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**

- [Note on aggregation of dates](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209257)
- [Note on dates with time](https://appfire.atlassian.net/wiki/spaces/JQLSEARCH/pages/604209245)

 **Supported operators**

| = | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**Example**

Find issues that were commented on more than 2 days ago.

```
commentLastUpdatedOnDate < -2d
```

### userMentionedInComment

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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**Examples**

Find issues where ‘Kai Clarke’ is mentioned in a comment.

```
userMentionedInComment = Kai Clark
```

Find 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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: | :cross_mark: |

**Examples**

Find issues where ‘Kai Clarke’ is mentioned in the last comment.

```
userMentionedInLastComment = Kai Clark
```

Find issues where the current user is mentioned in the last comment.

```
userMentionedInLastComment = currentUser()
```