You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I need to find a query that allows me create a report with the hours logged by user.
One issue is worked by several people (users) so I've made this:
worklogAuthor = currentUser() AND worklogDate = startOfDay()
And added to the list view the colum "Time Spent".
The problem is that in the column "Time Spent" I don't see the hours logged by user. I see the total.
There is any way in wich I can see just the hours logged per user without any addon or plug in?
Hi @Sofia Grunspan ,
I would suggest looking at the Workload Pie gadget, as this could be used to get a sum of all time per user as you can see :
You can see how to enable this gadget in Atlassian documentation : https://confluence.atlassian.com/jira064/workload-pie-chart-report-720416073.html
Let me know if this helps,
--Alexis
Hi Alexis, unfortunately it doesn't help because the workload pie chart gadget shows me the statistic by assignee. And here I have one issue worked by lot of people besides the assignee.
So I need to see the time logged in the issue by user, not assignee.
Anyways, thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sofia Grunspan,
With our app Dynamic Fields for Jira you can create issue fields that aggregate the time spent by user automatically.
Custom Dynamic Fields can be used for statistics and JQL as any other Jira number field.
This is how the expression for your Dynamic Field could look like:
issue.changelogs.filter(entry => entry.author.accountId == 'USER_ACCOUNT_ID').flatMap(entry => entry.items.filter(item => item.fieldId == 'timespent')).map(item => Number(item.to) - Number(item.from || '0')).reduce((a,b) => a+b, 0)
This will give you the time spent in seconds, which is the default format used in Jira expressions. You can easily get in in minutes or hours by dividing by 60 or 3600 at the end of the Jira expression.
Please note that you would have to create a Dynamic Field for every user individually to create your report.
If you need help in setting up your custom Dynamic Fields, don't hesitate to get in touch with our support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I was actually looking for some way to achieve it without resorting to add-ons or plug-ins, but I will consider this option.
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.