Can I use JQL with day of the week?

JongBum Lee
Contributor
November 20, 2015

Dear all

I want to query the issue generated from Monday to Friday using the JQL.

Is there any way ?

2 answers

1 accepted

1 vote
Answer accepted
Mario Günter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2015

Hi JongBum Lee, 

what about following jql:

created >= startOfWeek() AND created <= endOfWeek() ORDER BY created ASC

 

if you want to query last week you can edit it like that: 

created >= startOfWeek(-1) AND created <= endOfWeek(-1) ORDER BY created ASC

 

Hope this helps?

Cheers, 
Mario 

JongBum Lee
Contributor
November 20, 2015

Thanks Mr. Mario. I can not write English very well. Sorry. I want "Create Issue Monday to Friday (except saturday and sunday)" no matter what week

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2015

I'm afraid you'll need to find/write a JQL function to do that, or do something sneaky with a scripted field

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events