Create a script that will take a file with a list of Allura ticket numbers (generated with [#7510]) and delete those ticket records. For safety, would be good to save them in some temp mongo collection, or keep them in the current collection but with some new special app_config_id (so we don't risk losing any data). And also create "moved ticket" records for each, with URLs like https://forge-allura.apache.org/p/allura/tickets/NNN
Test this out locally and make sure it will work well as a solution for having some tickets moved out of the SF Allura tracker into the Apache host, and some kept on SF. Make any code changes in ForgeTracker code if needed.
I assume tickets would be moved to Apache preserving numbers, so NNN here is the original ticket number, or it is not the case?
Yes, ticket numbers will be preserved.
Closed #618.
je/42cc_7582
SF needs to run the script as
python scripts/create-moved-tickets.py -f ticket_ids.list --db pyforge