Tempo doesn't return Service Desk worklogs

Hello,

Do you know how I can fetch Service Desk worklogs from Tempo?

We use two project types : Software and Service Desk. My problem is that we have a very limited number of 'Service Desk' accounts.

My account doesn't have access to Service Desk, but I have a read-only access to all issues and to their worklogs.

I use the Tempo API to fetch the worklogs from all projects so that I can build reports for the management.

 

The problem is that, when I use Tempo API, it doesn't return me the Service Desk worklogs.

When I use the worklog API, I can get all worklogs, even the Service Desk's, but I don't want to make 13000 calls to fetch all my worklogs, it will kill the server

 

I don't understand why Tempo would add a restriction over my native access.

 

I guess there is a configuration that I have missed? Thanks in advance!

 

API call:

  • Tempo API: https://{{host}}/rest/tempo-timesheets/3/worklogs?projectKey={{ProjectKey}}&datefrom=2017-01-01&dateTo=2017-12-31&format=xml
  • Worklog API: https://{{host}}/rest/api/2/issue/{{IssueKey}}/worklog/

Environment:

  • JIRA Server 7.1.7
  • Tempo Timesheets - 8.3.1
  • ScriptRunner v. 5.1.6

1 answer

Same issue here, any solutions?

Hi, 

this problem depends on the version of Service Desk you are using. Older versions of Service Desk did override JIRA project permissions and limited therefore the information that can be retrieved via api.

You can use the Permission helper to check on the permission you have in the Service Desk Project. Very likely it returns a summary saying that JIRA Service Desk has overridden this permission and that users need to be Agents to have this permission. This affects the information that can be fetched by api's as the permission check fails.

This behavior has been changed in later versions of JIRA Service Desk ( not exactly sure about the version, but we got the update that Service Desk does no longer override the JIRA project permission in Januar 2018).

Regards.
Susanne Götz
Tempo team

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

143 views 3 4
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