I am looking for a way to get a list of issues that have logged work between a range of dates or in the laste seven days
I have tryed using the updatedDate field but this shows me any kind of updated
I am looking for something similar to this
Thanks
You can use:
updated >= -7d AND timespent is not EMPTY
Hi Mauricio,
Unfortunately, I don't believe that's possible. We have an open improvement being tracked at: https://jira.atlassian.com/browse/JRA-34527
Please add yourself as a watcher to be notified of future updates.
Cheers,
Clarissa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will acept this as an answer when the feature gets implemented ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.... which is probably never, since so few people voted for the issue.
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.
That makes the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you give us an example how a query for this would look like?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes! Try this:
worklogDate > -7d
or
worklogDate >= "2021/03/29" and worklogDate <= "2021/04/05"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same issue, that is very helpful, thank you. I noticed though when I tried it that the tickets on the results page show the total time worked, not just the time logged during the range I specified. Is there a way to query by worklogDate and get the results to show you only the time logged during that range?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, good question. I don't know how to that with a jira filter. I think it is not possible. You would have to use Jira Resp API or Jira Automation to calculate that, adding the values at "timeSpentSeconds" for each worklog on the period. At Jira Automation, you use {worklog.timeSpentSeconds}. Not sure if you would be able to add different worklogs.
Worklog functions at Jira API:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not possible using only jql filters.
However, it is easily achievable when using one of the worklogs related apps from the marketplace:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are also very interested in this kind of search:
timespent changed AFTER startOfDay(-7)
But unfortunately the 'timespent' field does not yet support it:
History searches do not support the 'timespent' field.
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.
timespent being not EMPTY does not guarantee that the logged worked also happend in the last 7 days..does it ?
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.