Open link in a new tab

Content

Expand project menu

Importing comments via API - cannot set author

Hi,

I'm working on a script to import from Jira Server into OpenProject. most of it is fine so far.

But I cannot set author name when importing comments. I use POST /api/v3/work_packages/[ID]/activities.

{
     "user": {
         "href": "/api/v3/users/[id]"
     }
}

The above seems to be completely ignored. also the API documentation mentions only adding/editing comment field, no other fields.

Is there any method I'm missing to import comments? Or is this just not possible currently?