It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How does DiffOnly on the tempo servlet work?

Tom McCluskey Nov 03, 2017

I'm working with the Tempo API and the servlet to get a bunch of information about worklogs. I'd like to minimize the amount of stuff that we pull, so being able to get just a diff seems ideal. The servlet documentation says about DiffOnly:


  • External applications use diffOnly=true to get only changed records since last GetWorklogs
  • diffOnly returns only records that have changed since last update (UpdateWorklogs) or are marked as external error (external_result is not OK)

In the data we've got, external_result is coming back as an empty element; does it need to literally be <external_result>OK</external_result> to not be marked as an external error? Does external_result get automatically set somewhere, or is that something we need to do? Also, does DiffOnly return things that have changed since the last GetWorklogs, or since the last UpdateWorklogs?

To be clear, what we'd like to do is pull info from the servlet once, and then the next time only get the data that has changed since last time we pulled, regardless of what time period that worklog is from.

Thanks for any help!


0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Marketplace Apps & Integrations

Demo Den Ep. 4: Continuous Integration with CircleCI & Jira Software

Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...

709 views 0 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you