I need to use jquery language to create a filter that filter all the jiras that has been created over 24 hours but no comments in there. I searched we can put "comment" field in the jquery but it can only use it to search the jira that contain comment text.
I think you mean JQL (Jira Query Language) rather than jquery (a Javascript library).
There is a "field" called "Number of Comments" that can be used like this:
"Number of Comments" = 0
For the "created over 24 hours" portion (I assume you mean created more than 24 hours ago), you can use this:
created < -24h
So, you can combine them into
"Number of Comments" = 0 AND created < -24h
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.