JQL query for a Work Week

I need a JQL query to show all issues that were update within a work week, Monday through Friday. I've tried different combinations of the startofweek and startofday but I cannot seem to get it work.

Thanks

 

1 answer

1 accepted

Accepted Answer
1 vote

You can use startOfWeek(1d), endOfWeek(-1) and so on, depending on your work week. 

For example:

updated >= startOfWeek(1d) and updated < endOfWeek(-1d)

So 1d is Monday and -1d is Friday? Im not sure how that is

1d is one day from start of week. 2d is 2 day after start of week and so on. Similarly -1d is 1 day before end of week. 

Thank you! makes sense

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

534 views 0 9
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