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

0 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
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 yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

39 views 1 6
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