Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a filter based on date field

Bar Abergel October 3, 2022

Hey guys! 

I've created a custom field of date which I use in order to have the onboarding/off boarding date of employees. 

 

I would like to have a query which shows me all issues that their on boarding date field (for example) is set for next week. This query should always look for issues which their onboarding date is in 7 days from {{now}}.

 

How can this be done? 

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
October 3, 2022

You can use the endOfWeek() and startOfWeek functions to do this. This one should do it:

custom_date_field > startOfWeek("+1") AND custom_date_field < endOfWeek("+1")

Bar Abergel October 12, 2022

Thank you so much! it works like a charm :) 

Like Mikael Sandberg likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events