So the URL that appear when I open our tempoo on Jira to log work hours is:
https://XXX.atlassian.net/
When I look up:
https://www.tempo.io/server-api-
documentation/timesheets#tag/Worklogs/operation/createWorklog
It says I should use the following URL:
https://XXX.atlassian.net/rest/tempo-timesheets/4/worklogs/
But when I do that I get an response 404 not found.
So I've tried to use the URL that appears in the Browser Console under Network tab when I log the hour manually on:
https://XXX.atlassian.net/plugins/servlet/ac/io.tempo.jira/tempo-app#!/my-work/week?type=TIME
and use the exact same JSON that is in payload.
https://app.tempo.io/rest/tempo-timesheets/4/worklogs/
JSON:
But then I get response 401 unautorhized, even though I provide the API Token generated under:
https://id.atlassian.com/manage-profile/security/api-tokens
And input it in the Postman as Bearer Token/API Key/Basic Auth (where I give my user-email as login and Api Token as password) and every time I get 401 unauthorized.
So I don't get it how I suppose to do that. What I want to achieve is to send and HTTP Post Request to log an given hours for given tasks on given day, based on some information given in JSON.
Hello Jan,
For API inquiry we invite you to join our developer community here:
https://www.tempo.io/developers
You can also create an support ticket via:
https://tempo-io.atlassian.net/servicedesk/customer/portal/6
Best Regards,
Steven
Tempo Support Team
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.