Open link in a new tab

Content

Expand project menu

importing Activity comments with the API, with the original creation date

Hi all,

I'm planning to migrate my current (and very old) Jira instance out to OpenProject and I'm doing a Python program that imports Jira issues to OpenProject. When I try to create new comments with api/v3/work_packages/68/activities, the creation date is the current date. I see in https://www.openproject.org/docs/api/endpoints/activities/#local-properties that the createdAt is read-only; so, I suppose there is no way of changing this field (as I can with the work packages).

Could I import comments in a work package using the original createdAt value? or maybe could I update the database using SQL for editing the createdAt field?

Thank you in advance