Hello,
I'm having trouble retrieving anything from the Tempo Planning API call for allocation
https://www.tempo.io/server-api-documentation/planner?hsLang=en#tag/Allocation
As defined there, I've tried multiple of the query parameters to no avail, I always get a 200 Status response with an empty response body no matter how I set up the parameters.
To test it I've tried using postman pointing towards our Jira instance. Some examples of the parameters I've tried:
Hi @Contact IT ,
This REST API returns all plans that you have permission to view in Tempo. When using only the dates as parameters, it should return your own plans.
To retrieve the plans of other users, you need to have the "View Team plans" permission for the team that the plan owner is a member of (the same permission checks apply to the REST API as in the UI, https://tempo-io.atlassian.net/wiki/spaces/THC/pages/386302535/Planner+Permissions+-+Tempo+Server).
In case you have permission to view plans for the team, but no data is returned by the API, can you please create a ticket in our Tempo Support system, https://tempo-io.atlassian.net/servicedesk/customer/portal/6, so we can better investigate this problem.
Best regards,
Susanne Götz
Tempo team
I see, then I should review the level of access of the user we're using to access the API.
Since it is a technical user with nothing planned, that might explain why using the date parameters returns an empty response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That sounds like a good approach.
In case this technical user, who is used for authentication, needs to have access to the plans of all users, you will need to give him the "View team plans" permission for all teams (and all users need to be in at least one of the teams).
Best regards,
Susanne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've reviewed the access, and that was exactly the issue, I can retrieve the info now.
Thanks a lot for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.