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

1 vote
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,134 views 4 9
Read article

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