Forums

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

How to filter by days of the week?

Peter_Stuart
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 18, 2020

Hi, 

Does anyone know how to filter issues by what day of the week they were created on? I want to see for example all issues that were created on a Monday since the start of the year. 

Thanks!

 

1 answer

0 votes
Tom Lister
Community Champion
May 18, 2020

Hi @Peter_Stuart 

I've have only done this using ScriptRunner to create a script field that returns a formatted portion of the date. e.g. year-mth



import java.text.SimpleDateFormat
import java.util.Date SimpleDateFormat

DATE_FORMAT = 
new SimpleDateFormat("yyyy-MM");

String date = DATE_FORMAT.format(issue.created);
 

return
 date

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events