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!
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<br>import java.util.Date SimpleDateFormat <br><br>DATE_FORMAT =<span> </span>new SimpleDateFormat("yyyy-MM");<br><br>String date = DATE_FORMAT.format(issue.created); <br>return date
import
java.text.SimpleDateFormat<br>
java.util.Date
SimpleDateFormat <br><br>DATE_FORMAT =<span> </span>
new
SimpleDateFormat(
"yyyy-MM"
);
<br><br>String date = DATE_FORMAT.format(issue.created);
<br>return
date
It looks like you're new here. Sign in or register to get started.