Hi All,
using JIRA 6.3. We have a custom field called start date.
I am trying to run a query to capture all tickets that will start as of next week. However the query is not working for me. I am following the guidelines here from the Advanced searching doc:
https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-startOfDay%28%29
I have created a ticket with a start date in 3 days, In a very simple statement like:
"Start date" = startOfWeek()
I get no results.
What I would like is to get a view for all the tickets with a start date in this week. And also for next week so that we can view team resource.
Can anyone assist. Thanks in advance!
Hi Andrew, thanks for the prompt response. Got it, I will give your statements a bash and revert.
In the meantime I seem to have got it to work this morning by using the following:
"Start date" >= startOfWeek(1w) AND "Start date" <= startOfWeek(2w)
Statement not as clean as yours though.
Nick
Hi Nick,
startOfWeek() is actually the date of the start of the week, so Start Date = startOfWeek() only searches for issues that have a Start Date that is the same as the date at the start of the week. To search for everything with a Start Date this week you would need ("Start Date" AFTER startOfWeek() and "Start Date" BEFORE endOfWeek()).
For the next week you can use ("Start Date" AFTER startOfWeek(7d) and "Start Date" BEFORE endOfWeek(7d)). The 7d says "look for issues with a Start Date after the date 7 days from the start of this week.
Andrew
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.