Replies: 1 comment 4 replies
-
You can start and stop tasks, which will link the new timesheet to the task. The task is the leading object here and only the task knows which timesheets are linked to it, not vice versa. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the user interface of Kimai 2, each tasks has a list of the time sheets booked on it. However, I could not figure out how to connect tasks and time sheets when using the API.
My expectation would have been, that the
timesheet
API route includes a fieldtask_id
that has anint
referring to a task or isnull
in case it was booked without a task.But when I go to the "empty demo" and create a single customer, project, activity, task and then a time sheet connected to this task, the results come up as seen below.
How how are time sheets connected to tasks in the API?
Query for time sheets:
Query for tasks:
Beta Was this translation helpful? Give feedback.
All reactions