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 :)
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs