It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

CommentedBy, CommentedOn don't seem to work

Hi everyone,

I'm looking to perform searches for results using the commentedBy and CommentedOn JQL keywords.

My understanding is that:

  1. CommentedBy should be able to match a person - or also work with the EMPTY command
  2. CommentedOn should be able to match a date - or also work with the EMPTY command

Yet when searching a project that I know has issues with comments on them, it's still not finding any results.

Any ideas on what is occurring?

2 answers

1 accepted

0 votes
Answer accepted

Hi @Andrew_Buckley

Or if this isn't ScriptRunner, what app are you using? These aren't standard JQL functions for Cloud.


Thanks guys.

We do have ScriptRunner installed, so this is why the 'non-standard' JQL keywords for these commands are appearing in the advanced search field.

The issueFunction commands mentioned above do work as expected when using the on-premise version.

Based in the ScriptRunner documentation: "Comparison with ScriptRunner for JIRA Server". The commands being used in cloud are correct, it's simply not returning any matches when looking at comments.


assignee = currentUser() [works in cloud]

commentedBy = currentUser() [does not work in cloud]

I'll ping the ScriptRunner support team to see if they have any ideas but will close this ticket off.

0 votes


Do you have scriptrunner ? It's seems that you are using it.

Try this :

issueFunction in commented('by currentuser()')
issueFunction in commented('after startofmonth()')


You can look at this documentation


Hope this helps

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you