Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Seb Kouba
Contributor
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
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events