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

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

Accepted Answer
1 vote

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
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