I have some developers working for my project and I would like to remunerate them by analysing the "time spent" on the issues they have recorded withing a time frame (e.g. last 2 weeks).
Is this possible via JIRA query language or should I be poking in the database to get such results?
Hi Jeffery, you may need to use some reports to generate an output detailing the amount of time spent on issues per developer. You cannot query worklog information using JQL.
JIRA does not come with a sophisticated time tracking report feature. But there are plenty of time tracking report plugins are available:
- One of the most popular reporting add-on is https://marketplace.atlassian.com/plugins/jira-timesheet-plugin
- a free REST API to query worklog info: https://marketplace.atlassian.com/plugins/org.everit.jira.worklog.query.plugin.core
There are other timetracking related add-ons available on the marketplace.
You will need to do a manual calculation after retrieving the result from the JQL (Advance Searching) sample below, this will distinguish the time spent for a particular assignee.
project = affectedproject AND assignee = developers AND updated >= -2w ORDER BY created ASC
Then from your issue navigator, configure the column to show the time spent field and export to excel, from there you can sum the time spent up and compile the report for particular user.
I do understand this might involve manual working, you might also consider using the JIRA MISC Custom Field plugin as an assiting tool as they provide the calculate date/time field which will provide a sum or calculation based on the condition provided.
Hope this helps :)
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot