We’re using Jira Cloud with Tempo Timesheets. I’m an admin for both.
Upon a certain trigger in Jira Software, I want to automatically send a web request to the Tempo REST API and handle the result.
In its configuration pages, Tempo offers two authentication methods with different setting required and credentials generated:
Which one should I use in Jira Cloud Automation and how do I need to configure the Web Request Action exactly?
Since I’m in Europe, I’m using the base URL https://api.eu.tempo.io/4/ and append the respective end point from the documentation.
I tried the REST API integration with full access using a GET request to ./accounts. The request body is left empty. I added custom headers:
- key “Authorization” with value “Bearer TheVeryLongSecretTokenGeneratedByTempo”
- I also tried without “Bearer ”.
- key “Accept” with value “application/json”
Yet, I get a 401 response. 