JIRA JQL: assignee was xxx during (date1, date2) returns incorrect results

I am using JIRA 4.4.5. I am trying use JQL to find issues that was assigned to a user: xxxx during a specific period of time.

I have this JQL:

assignee was xxxx DURING ("2014/01/01", "2014/01/31")

First question:

The result set includes closed issues from 2013, I double checked and opened up those issues from 2013 and they have no change history in 2014 at all. Anyone expereinced the same thing? What could be wrong? Is it a bug?

Second question:

Will the JQL above returns issues assigned to xxxx on 2013/12/01 and are still assign to xxxx today (no assignee change between those dates)?
I am aware of JQL's CHANGED TO, but doing 'assignee changed to xxxx DURING ("2014/01/01", "2014/01/31")' won't be right becuase I also want to include issues assigned to xxxx on 2013/12/01 and are still assign to xxxx today.

Thanks in advance.

5 answers

1 accepted

1 vote
Accepted answer

AND assignee was not xxxx before "2014/01/01" AND assignee was xxxx before "2014/02/01"

That JQL gives me the correct answer.

Hmmm... no taker?

Still no taker?

hmm, I guess you query will return all issues where xxx was assignee in that period. So your issues closed in 2013 had still an assignee xxx in 2014, correct? So that is no bug.

To your second question (issues assigned to xxxx on 2013/12/01 and are still assigned to xxxx today (no assignee change between those dates))

assignee changed to xxx on "2013/12/01" and not assignee changed after "2013/12/02"

That should give what you need,or?

I want to see tickets that were assigned to a resource today or =>StartOfDay(), how can I see that?

assignee changed to xxx after startOfDay()

I used the below JQL (thanks to @Udo Brand):

category in (Retainer, "Support and Maintenance") and assignee changed TO (sandhya, vijay, swanand, Nikhil, asad, jahanzeb) after startOfDay() and status not in (Resolved, Completed, Closed, Done) order by created ASC

The result is that one of my overseas teams can see their workload and tickets newly assigned to them no matter what status they are in except Resolved, Completed, Closed or Done.

Jira Dashboard.PNG 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,081 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you