Is there a way, using Python, to log time into the timesheet.
I have users that always log the same time against the same job each day, and it makes more sense to automate this, if possible.
Hi,
tempo deliveers an api to do that REST API Documentation (4.0)
I personally would prefer an build with jira automation and web rewuests , but this is depend on your concret usecase .
Hope it helps.
BR
Kai
ah the latter part looks more like what I am after. I already automate the creation of Issues. Are you talking about a similar thing, but with the timesheets?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in my opinion it is a cleaner way to keep the things under the control in jira, therefore you can build a similar thing .
But also you can try to create a worklog with standard automation action , and look if the looked time would be proccesed to the clockwork Plugin. So you dont have to use the webrequest action in the automation.
BR
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Alexis Antonakis ,
Jira provide an API for adding worklog, they provide a python script that could help you ;) : https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-worklogs/#api-rest-api-2-issue-issueidorkey-worklog-post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Tempo has their own API. You can write a small script, which sends data to these endpoints:
https://apidocs.tempo.io/dc/modules/timesheets.html#tag/Worklogs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexis Antonakis ,
You can add worklogs using Jira's native API, but if you're looking for an easier method and are open to using a third-party application, I recommend the WorklogPRO app from the Atlassian Marketplace. This app allows you to copy worklogs from one timesheet period to another or clone a previously created worklog with just one action. Additionally, with WorklogPRO's periodic worklog recording feature, you can easily select the start and end dates from the dialog and save the worklog for those dates in a single action.
Disclaimer: I work for the vendor who developed this application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My name is Gracjan, and I'm a Customer Success Expert at HeroCoders, the team behind the Clockwork app.
For the repeating, same worklog you can use Jira native rest API. They support python. Our app works fine with worklogs created by Jira native system. Here you can find documentation about it.
There is also an option to create repeating worklogs in Clockwork.
Open the log work dialog as usual.
Fill in the time and other required details.
Click on More options.
Toggle on the Repeat this worklog option and select the appropriate interval (daily or weekly).
Select the end date when the worklog will cease to be repeated.
Click Save.
Each user can create a repeating work log based on some conditions until a specific date.
Of course, if you want to use API, that's totally fine. Jira rest API should be enough.
If you have any questions, let me know.
Cheers!
Gracjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexis Antonakis ,
Actually, you can also do it without using any programing language. You can use a command line tool. One such tool is our "CLI for Jira" tool. You can add worklog using the following command. It is free for up to 10 users. It has both cloud and DC versions it works in all operating systems.
worklog add --issue=WLPC-359 --comment="Testing CLI for Jira" --timeSpent="2h 30m"
Since this is a shell command you can invoke it from other programs if you want. Or add an alias to make it just one word.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for those, but is Tempo?
I use the time sheet entitled 'Clockwork Timesheet' .
Is this the same thing?
Sorry for my ignorance but I am completely new to Jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Tempo timesheet is a often used Plugin for Jira to build a timesheet . Clockwork timesheet is another. Ok , so we wre talking about clockwork. :D
Do you know ive you used the free or pro version of Clockwork ?
Clockwork also delivers an api, Use the Clockwork API but it is only in the pro Version.
BR
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.