Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
Development
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Development
  5. importing Activity comments with the API, with the original creation date

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

Added by Alberto Jiménez Ramiro 10 months ago

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


Loading...