If this question has been tagged correctly, you're using Jira cloud? Then I would go with the first link that you gave, because it is for cloud and is also using the latest API, v3. This is the document that I use
The other links seem to be related to the server version
Hi @Warren ,
As a backend API developer, trying to get access to Tempo sheets without any frontend whatsoever, I don't understand too what to put in the Redirect URI too. Can you assist what to put there in this case?
In the meantime, I'll try using access token from API Integration section, since it doesn't seem to require some redirects and so on.
If you're looking at the Tempo documentation link above and trying to connect as an individual user, there is no need for a Redirect URI. You just use your own email address and the API token. Working through that process, you are never asked for a Redirect URI.
If that is not what you're doing, let me know exactly what it is that you're trying and where it asks for this URI.
For anyone struggling to make the API work:
You actually have to pass the term "Bearer " in the request. I spent two hours passing my email id.
Also you SHOULD'NT encode the API_TOKEN. Code below FYR :
def TEMPO_URL = "https://api.tempo.io/core/3/worklogs/issue/CTI-1";
def TEMPO_TOKEN = "yHq0o232323Rr9sdsdsS61n1IufgfggTAEOOAj4";
String basicAuth = "Bearer " + TEMPO_TOKEN;
def connection = new URL(TEMPO_URL).openConnection() as HttpURLConnection;
connection.setRequestProperty( "Authorization", basicAuth );
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