IQSS / IQSS/dataverse

Feature Request: Add Dataset duplication feature

Open
#11,430 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Feature
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Overview of the Feature Request
Add a "Duplicate" button in the "Edit Dataset" menu that will allow users to duplicate an existing Dataset with all its metadata but without the associated files.

What kind of user is the feature intended for?
This feature is intended for users with Dataset creation rights (Depositor).

What inspired the request?
Currently, to create a Dataset similar to an existing one, users must manually recreate all metadata, which is time-consuming and error-prone. Adding a duplication feature will improve efficiency and user experience.

What existing behavior do you want changed?
No existing behavior will be modified. This request is for adding a new feature.

Any brand new behavior do you want to add to Dataverse?

Image

We want to add a new "Duplicate Dataset" button to the existing "Edit Dataset" menu. When a user clicks this button:

  • A new Dataset is created
  • All metadata from the original Dataset is copied to the new Dataset
  • The title of the new Dataset has the prefix "Copy of " (e.g., "Copy of Original Dataset Title")
  • Files from the original Dataset are NOT copied
  • The user is redirected to the edit form of the new Dataset to finalize its creation

Technical details:

  • No relationship is maintained between the original Dataset and its copy
  • Identifier uniqueness is ensured by not duplicating the DOI

Any open or closed issues related to this feature request?
SPA issue :

  • IQSS/dataverse-frontend#659

Are you thinking about creating a pull request for this feature?
This is not currently prioritized in the team

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing Edit Dataset menu and the linked SPA issue IQSS/dataverse-frontend#659 to locate the current entry points. Define the duplication flow so metadata is copied, files and the DOI are not, the title gets a "Copy of " prefix, and the user reaches the new dataset's edit form. Done means the feature works for users with Dataset creation rights and preserves identifier uniqueness.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.