Can I use startOfDay() with commented() JQL query

I'm using the commented() JQL function (link) to find issues that not have been commented for 1 day.

My current query looks like this:  status = "In Progress" AND issuefunction not in commented("after -1d")

But really, I want to use the "startOfDay()" function instead of "-1d" because if an issue is commented at 5pm on Tuesday, I want it to appear in the query results at 9am on Wednesday. Using the -1d means it won't show up until after 5pm on Tuesday.

I could change the query to -8h or -10h but startOfDay seems better. I can't figure out how to do it.

2 answers

Hmm, maybe the answer is to use -0d to get the beginning of the day?

AFAIK, this is not possible - commented() is using JqlDateSupport and there is not precision rounding for single date.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

110 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you