You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider allowing repository owners to create back-dated issues and issue comments (that is, issues/comments with specific timestamps that are in the past) via the API. As with #7790, this is needed to import issues from other issue trackers using an external tool.
API fields affected
According to Swagger, the API endpoints and fields in question are:
POST /api/v1/repos/{owner}/{repo}/issues
closed_at
created_at
POST /api/v1/repos/{owner}/{repo}/issues/{index}/comments
created_at
updated_at
Workaround
As with #7790, the desired timestamps can be set directly in the database instead.
The text was updated successfully, but these errors were encountered:
I am also working on a migration from JIRA using the API. But it is currently not possible to preserve the timestamps via the API. (My workaround is to set the timestamps via a shell script which is quite tricky for docker containers)
But I'd suggest to add a parameter like sudo to override the current time. So it would be available for ALL api calls.
[x]
):Description
Please consider allowing repository owners to create back-dated issues and issue comments (that is, issues/comments with specific timestamps that are in the past) via the API. As with #7790, this is needed to import issues from other issue trackers using an external tool.
API fields affected
According to Swagger, the API endpoints and fields in question are:
POST /api/v1/repos/{owner}/{repo}/issues
closed_at
created_at
POST /api/v1/repos/{owner}/{repo}/issues/{index}/comments
created_at
updated_at
Workaround
As with #7790, the desired timestamps can be set directly in the database instead.
The text was updated successfully, but these errors were encountered: