Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request Not Added to Repository When Migrating via API #33712

Open
VinothKumar-Ganesan opened this issue Feb 25, 2025 · 2 comments
Open
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug

Comments

@VinothKumar-Ganesan
Copy link

Description

During the repository migration process using the API, the expected pull requests were not successfully transferred to the target repository but while using the UI for migration it was added properly

Gitea Version

1.23.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

git version 2.48.1.windows.1

Operating System

windows

How are you running Gitea?

docker

Database

PostgreSQL

@lunny
Copy link
Member

lunny commented Feb 26, 2025

Please give more details, what's your parameter when invoking the API.

@lunny lunny added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Feb 26, 2025
@VinothKumar-Ganesan
Copy link
Author

VinothKumar-Ganesan commented Feb 26, 2025

i used the following command

curl -X POST "http://localhost:3000/api/v1/repos/migrate" -H "accept: application/json" -H "Authorization: token 343e0d92f65f42c5ca649694da769fb92effd474" -H "Content-Type: application/json" -d "{"auth_token":"","clone_addr":"clone url","description":"Migrated project from GitHub","issues":true,"labels":true,"milestones":true,"private":true,"pull_requests":true,"releases":true,"repo_name":"continue-ai-curl-git","repo_owner":"Sample-Organisation","wiki":false}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug
Projects
None yet
Development

No branches or pull requests

2 participants