Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL Query Filter: Find time spent for issues with multiple Work Log Authors

Kay Price
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2018

I'm trying to find a way to filter how to accurately find the amount of time a user spent within the last 30 days, for issues with and without multiple work log authors. I want to use this filter to for a gadget within the JIRA Dashboard.

I have tried: project in (<PROJECT>) AND worklogDate >= '-30d' AND worklogAuthor = <user>

Problem: The issue with this is within the Dashboard, it will calculate the total amount of hours spent for the whole issue total, instead of the just the logged work for that particular user. 

Then I tried: project in (<PROJECT>) AND updated >= '-30d' AND assignee in (<user>)

Problem 1: This will only the count the hours for the person who is assigned to the issue. So if multiple users worked on that issue, it will count all the hours, instead of just that one person. 

Problem 2: Since it is only looking for the assignee, it will not count the hours the user has spent on an issue, even if they have logged hours, because they are not the assignee. 

 

Does any one have any advice, aside from purchasing another plug-in?

1 answer

0 votes
Alexey Matveev
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.
February 12, 2018

If you have Power Scripts or ScriptRunner plugins then you could write your own JQL function.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events