Open kroky opened 2 years ago
What should I use when importing?
Sorry, this needs to be clearer in the docs.
The "session" you see in the report is a generated internal identifier. We should probably hide that.
When importing, the "session" key in the JSON should be the timesheet identity (in your case, yes, victor/api-integration
).
If you report on the imported data, you will see that the session has been switched to a new generated key.
Note that I think both Prejournal and Tiki doesn't use the concept of Timesheet records as individual entities. Is it possible to keep the timesheet record for one user as one entity and use that for all entries?
You can certainly do that, yes. However, it seems strange that there would be only one timesheet for everything the user ever does. Maybe you mean "keep the timesheet record [in a project] for one user as one entity"? In that case, maybe concatenate the project name and the user name to make a timesheet name, e.g. fedb-george
.
Thanks George. That definitely works!
I'll leave the ticket open to deal with this part:
Sorry, this needs to be clearer in the docs.
The "session" you see in the report is a generated internal identifier. We should probably hide that.
I currently have this data in my sample timeld.org timehseet:
API docs suggest that session key of the timesheet entry should point to the Timesheet record. Here, I think it points to my local timeld device I used timeld cli on to create these entries. First row suggest ID of the timesheet record as "victor/api-integration" while the actual entry session ID is wDvUoLR9heTXa9ff7rE4SW. What should I use when importing?
Note that I think both Prejournal and Tiki doesn't use the concept of Timesheet records as individual entities. Is it possible to keep the timesheet record for one user as one entity and use that for all entries?