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)" } ] }
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.