How many logs to get at once with Tempo getWorklog()?

Seb Kouba July 29, 2015

We are using getWorklog to pull the logged hours of ~600 users into SAP. That ends up being about 14k worklogs per month. The query takes about 5 minutes to run which seems like a very long time.

My first idea was to not run the query for the whole month and instead break it down into weeks or days.

I'm curious how everybody else is dealing with worklogs. How many do you get at a time? Is the speed we're seeing normal? JIRA runs pretty nicely otherwise...

Cheers

1 answer

1 accepted

1 vote
Answer accepted
Susanne Götz [Tempo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 30, 2015

Hi Seb,

the performance of the query for 14k worklogs depends on your system, but shortening the timeperiod will increase performance. 

Many users (including ourselves at Tempo) run this query once every hour and use the "dffOnly=true" parameter to get only the changes since the last run. 

Please take a look at https://tempoplugin.jira.com/wiki/display/TEMPO0713/Tempo+Servlet+Manualhttp://blog.tempoplugin.com/2011/integrating-atlassian-jira-using-tempo-plugin-part-1/ and http://blog.tempoplugin.com/2011/integrating-tempo-with-your-business-solution-part-2/ for more information.

Regards,

Susanne

Suggest an answer

Log in or Sign up to answer