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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,334 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot