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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

510 views 3 18
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