Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • 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
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

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

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. 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 7 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...