Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

tempo log posting

Dmitry Alabyan
Contributor
February 6, 2025

 

Greetings, community!
perhaps, anyone has encountered something similar yet?
I tried asking also the tempo developer community in slack - got no response for this one specifically.

is there a possibility to have a post web-request in Jira automation that would create a tempo log on a period?
Idea is: we’re using work management project as a calendar with inputs as holidays, sick leaves, etc.
I want to set up a process that when an issue type is resolved - it would trigger a tempo log over the duration of that issue.

Currently only aware of how to make posts for one day only, so if you had like one day of holiday/sickness/etc > upon resolution the web request would be ok

example body of a request in this case:

POST in  

https://api.tempo.io/4/worklogs 

{ "issueId":"51031", "timeSpentSeconds":28800, "startDate":"{{now.format("yyyy-MM-dd")}}", "description":"Sick Leave", "authorAccountId":"{{Author}}", "attributes": [ { "key": "_Typeofwork_", "value": "SickLeave)" } ] }

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Kseniia Trushnikova
Community Champion
July 7, 2025

Hey @Dmitry Alabyan,

Just in case this question is still relevant or someone stumbles upon it in the near future :)

I asked the Tempo support team regarding this matter. 

Currently, it is only possible to create a work log for one day in one REST API request. So, if you need to log time for multiple days, you need to send multiple REST API requests -- one for each day.

Dmitry Alabyan
Contributor
July 8, 2025

oh, @Kseniia Trushnikova thanks for remembering!

any ideas, if they are planning to introduce this feature to the API?
have they opened a feature ticket?

 

Kseniia Trushnikova
Community Champion
July 8, 2025

@Dmitry Alabyan, no ideas :) I didn't ask that. I was just wondering if it was possible to make API requests to log multiple days at once, so I created a ticket in the Tempo help center.

Feel free to contact the Tempo team at https://tempo-io.atlassian.net/servicedesk/

Like Dmitry Alabyan likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events