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

Question: How to Copy Issues? #203

Closed
FabioOrsi opened this issue May 14, 2018 · 4 comments
Closed

Question: How to Copy Issues? #203

FabioOrsi opened this issue May 14, 2018 · 4 comments
Assignees

Comments

@FabioOrsi
Copy link

Hello again!

In Redmine's GUI it's possible to make copies of issues, including their attachments.
I was wondering if it's possible to do the same action using the API, including copying the attachments.

The current solution I found is to get each issue, download their attachments, create the new issues and reupload the attachments. This approach is not very practical considering the attachments are over 20MB and that there are about 40000 issues to be copied.

Thanks!

@maxtepkeev maxtepkeev self-assigned this May 15, 2018
@maxtepkeev
Copy link
Owner

Hi @FabioOrsi

Yes, issue copying isn't supported in the REST API, only in GUI, also, there's no way to re-associate an already uploaded attachment to an issue without re-uploading it. There's even an issue about that.

Unfortunately right now the only way to copy an issue is to do what you're already doing.

@maxtepkeev
Copy link
Owner

I can try to mimic the copy functionality from GUI, but not sure that it will work, so can't promise you anything. Let's keep this issue open until I try and we'll see if that works or not.

@maxtepkeev
Copy link
Owner

Implemented in b5252b2. Will be released in v2.5.0.

@GitHubGavin
Copy link

GitHubGavin commented Jul 4, 2023

Great!! Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants