Reputation: 77
I am trying to get all stories and sub-tasks for a specific user along with how much time spent on each item from starting of this year.
I am using JIRA version v8.5.9, where I have tried running the following query but it is not giving me the expected result, any help is appreciated.
(issuetype = "Sub task") AND time spent > 0 and assignee = test123
Upvotes: 1
Views: 1409
Reputation: 133538
With your shown samples, attempts please try following JQL query.
(issuetype = "Sub task" OR issuetype = Story )AND timespent > 0 AND assignee = test123 AND createdDate >= startOfYear()
Explanation:
Sub task
OR story
first.timespent
(looks like OP has a typo in OP's efforts) is more than 0 here.test123
user.Upvotes: 1