Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,139
Community Members
 
Community Events
184
Community Groups

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

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 06, 2017

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

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 06, 2017

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

Hopkins_ Kenyon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 05, 2023

But how would you write this for last week? Last week being last Monday thru last Friday. I'm even good with Sun-Saturday. I just need it to be the previous complete week and not the last 7 days.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events