Hey Guys,
I guess, its easy for you guys, but i dont get it.
I'd like to create a filter that shows me incidents created only on a specific weekday; let's say monday.
so i'd like to know which requests are created on mondays.
Got help for me? :)
Thanks and greets
Chris
Hi @Chris,
Welcome to Atlassian Community!
To get issues created on a specific day you can use the startOfWeek() function, which by default starts on Sundays. So in your case the JQL would look something like this:
issuetype = Incident AND created = startOfWeek("+1d")
Thanks for your quick answer @Mikael Sandberg
I did a test but it doesnt seem to work.
It sounds logical and the syntax is correct, but there are no incidents shown.
I testet it already with 2d and 3d and i did a test with "createdDate" instead of "created". but none of them work.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, my brain was thinking faster than I was typing. The correct syntax would be
created > startOfWeek("+1d") AND created < startOfWeek("+2d")
This would give you issues that were created on Monday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Mikael Sandberg
that works.
but: it only shows incdents created on monday this week. In this case only incidents created today.
What i want is to see incidents created on every monday. or especially i'd like to see incidents created on saturdays for the last 4 months.
is this possible?
Thanks again :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mikael Sandberg I dont' wanna be anoying, but i got a little bit of time pressure and did not get to create this filter by myself.
Could you please help me again? :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no function that would allow you to get all issues created on a specific day of the week for all time. You would have to string together multiple created > startOfWeek("xxx") AND created < startOfWeek("xxx") in that case, something like this:
(created > startOfWeek("+1d") AND created < startOfWeek("+2d") OR created > startOfWeek("-6d") AND created < startOfWeek("-5d") OR ... )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.