Issue with Author and comment in Worklogs using the Jira API

Following the recent update (sometime in June 2017) to the Tempo Add on for use within the Jira platform, we noticed some strange behaviour when requesting to get the worklogs for a specific issue. When this request is made in the Jira API (api/2/issue/{issueIdOrKey}/worklog), the author and comment associated to the work log is always “Timesheets” and “time-tracking”. Further to our investigations, we discovered that the Tempo API can be used to fetch worklogs (rest/tempo-timesheets/3/worklogs) and the expected Authors and comments. Unfortunately, the logged times received are not whats being displayed in JIRA and we also are unable to see a way to connect/pair the JIRA worklog with the Tempo Worklog even if they have the same issue ID associated and have unique ID’s. We have also found another anomaly with receiving different number of work logs from the Jira API and the Tempo API, The numbers logged appear to to be coherent from eachs perspective since if we see 6 worklogs in the Worklog section of a Jira task, we get 6 from the API and if there are 17 entries in the Jira History section, Jira will also return 17 entries, but there is no real way to know which group to trust and since there is no way to associate a Jira Worklog with a Tempo worklog, it generates confusion when it comes to knowing the time actually logged in for a specific task. I have attached a sample of what we get for a specific worklog on each API for reference. jira2.PNGjira1.PNG

0 comments

Comment

Log in or Sign up to comment
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

182 views 0 4
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