Projects
Split Projects
The following script splits a source Project into a number of child projects, each containing a specified number of labels from the source Project. The number of child Projects created depends on the total number of labels contained in the source Projects, and how many labels each child Project contains.
The script can be re-run if it fails, since it checks for existing Project names before creating new Projects.
In the main function of the following script, ensure that you:
- Replace <private_key_path> with the file path to your private key.
- Replace <project_hash> with the hash of the Project you want to split.
- Replace <projectsize> with the maximum number of labels you want each child Project to contain.
- Replace <start_number> with the index of the child Project you would like the code to start from. For example, if there are 5 child Projects, <start_number> = 1 will start from the second Project.
Was this page helpful?