If you're on JIRA Server and have ScriptRunner installed, there's a JQL function you can use called aggregateExpression. Your JQL will look something like this:
project = TEST and issueFunction in aggregateExpression("Total Time Spent", "timeSpent.sum()")
Once you run the query, you'll see a box appear below the JQL search bar with this information.
More documentation on this here.
JQL does not calculate data the same way a SQL SUM function would. JQL is a query language that will only retrieve data. Please see the Advanced Searching Fields Reference for more information about what fields JQL can search.
In regards to calculating the time worked for each issue, the time tracking function will do that automatically when a user logs work. Once they do that you should see something similar to the screenshot I attached:
Hopefully this helps!
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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