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)" } ] }

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events