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,293,414
Community Members
 
Community Events
165
Community Groups

JQL to get the next Monday and Monday after that

Hey there,

Per the subject, I am trying to come up with a filter for our onboarding staff members.

Basically it is 'Next Weeks New Starters'

It would be >= Next Monday and < Following Monday after (next monday +7d)

I have no idea if you can build stored expressions in JSM for JQL or if I can pick dates like this or in any sort of fashion to get a specific Monday to Monday view.

Thanks.

1 answer

0 votes
Gaurav Community Leader Apr 27, 2022

Hello @Steven Lees-Smith 

For this purpose, please use the in-built function startofweek(). This is assuming that the week is set to start on Monday, in the Jira instance.

An indicative usage is  shown below:

"Planned start[Time stamp]" >= startOfWeek(1)

This provides all issues that have the planned start in the next week. This can be customised as per your requirements.

Kindly accept the answer if this helps.

Regards,

GG

Thanks I actually sorted it out by putting the date in a startofWeek and endOfWeek bracket so I have a check that now catches the next Monday to the following Sunday to catch the range.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

176 views 0 4
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