How to set issue comment date using api

Hi,

Is it possible to set/ update the comment created date using api ?
i am using :
POST /rest/servicedeskapi/request/{issueIdOrKey}/comment

Thanks

Hi @TanYikNa ,

I would imagine the comment created date is automatically set in the back end when the comment first gets created and that providing functionality to allow this to be manipulated would erode the field’s trustworthiness.

Regards,
Dugald

1 Like

Hi Dugald,

We want to migrate the issues from another system to Jira using api, we wanna keep the comments date. Is there any other workaround for this?

Thanks

Regards,
Yik Na

Hi @TanYikNa,

Thanks, that makes sense. Have you looked at Jira’s exporting/importing capabilities?

Regards,
Dugald

Hi Dugald,

Thanks . I see that doc is mentioned regarding csv. If using the api method, there is no way we can add/update the comment date ?

We need to import the internal comment also, but i think using csv will set it all to public.

Thanks.