How to extract time spent between two dates ?


We use the 6.1 version of JIRA (on auto-hosted instance), and I face a problem on extracting statistics from our tickets.

In fact, we use the "Time spent" feature to log the time our developers spend on each ticket (sometimes the tickets are re-opened to add extra time).

So, I'm trying to extract the time spent on some tickets "between two dates" (and not the total time spent for these tickets).

But I didn't find any option to filter the timeSpent data.

Have anybody an idea about it ?

Thanks !

2 answers

1 accepted

This widget could not be displayed.

I used finally a MySQL query (we have access to the database) :

select distinct
  P.pname as Projet
,CONCAT(PK.PROJECT_KEY,'-',Child.issuenum) as Ticket,
Child.Summary as Nom
  ,replace(sum(WL.timeworked)/3600,'.',',') as Heures
, Type.pname as Type
from worklog WL
join jiraissue Child on WL.issueid = Child.ID
join issuetype Type on Child.issuetype = Type.ID
join project P on Child.PROJECT = P.ID
join project_key PK on PK.PROJECT_ID = P.ID

where 1=1
and WL.STARTDATE >= '2013-12-01'    
and WL.STARTDATE <= '2013-12-31'      


This widget could not be displayed.

you can use the tempo plugin, that will give you the ability to find time logged between two calendar dates,


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

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...

106 views 2 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you