Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Cannot filter by "Last Comment" text

Hello all!!


I used to be able to filter by "Last Comment" keyword search, for example 


project = "XYZ" AND "Last Comment" ~ "\"<<UDF_UP>>\"" AND "Last Comment Date" <= now() AND "Last Comment Date" >= -10d


However, now I get that the "Last Comment" field does not support the CONTAINS operator (~), this worked before we started using Jira Cloud. 


Can anyone help me out here? I need to be able to filter text within the "last comment" field.

2 answers

Hi Luic,

You can achieve this by using   JQL Search Extension plugin , you can use the query lcommentedOnDate = "2016/03/14" OR commentedOnDate = "2016/03/13"commentedOnDate in ("2016/03/14""2016/03/13")commentedOnDate < now()

Please refer to the documents it contains examples and other necessary information related to the usage of plugin

Hello! thank you for your answer....

But how can i look for a specific text within a "last comment" type of field? I used to be able to do this:

 "Last Comment" ~ "\"<<UDF_UP>>\""

But with Jira Cloud it says that "last comment" does not accept the CONTAINS (~). Can you help me with that?

Hi Luis,
The options that I posted are made available through a plugin and currently the plugin does not offer this feature

Hi @Luis Pereira ,

You can try the Comment Enhancer app to query issues with CONTAINS (~) operator.

All you need to do is to create the Last Comment custom field in your Jira. After creating comment custom fields, add these fields to the relevant screens. Then you'll see that these fields are populated automatically by Comment Enhancer. For historical data, meaning to show data in already existing issues, just perform a regeneration and you're done.

Comment Enhancer custom fields are sortable and searchable.

Last comment.pngcfddd5f0-35a0-47a1-8f23-d62e8e7d91a0.png


Please let me know if you have further questions.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

165 views 0 4
Read article

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