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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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