It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL query for a Work Week

Ashleigh Friloux Feb 06, 2017

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

1 vote
Answer accepted
Jobin Kuruvilla [Go2Group] Community Leader 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)
Ashleigh Friloux Feb 06, 2017

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

Jobin Kuruvilla [Go2Group] Community Leader 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. 

Ashleigh Friloux Feb 06, 2017

Thank you! makes sense

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

742 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you