Source / scripts / mass_reassign

Full commit
# This sample script reassigns all "open" "Documentation"
# issues assigned to "georg.brandl" to "docs@python"
import sys
import roundup.instance

tracker ='.')
db ='admin')

open = db.status.lookup('open')
olduser = db.user.lookup('georg.brandl')
newuser = db.user.lookup('docs@python')
component = db.component.lookup("Documentation")

edit = db.issue.filter(None, {'status':open,
print len(edit), edit; raise SystemExit

for issue in edit:
    # Use set_inner, so that auditors and reactors don't fire
    db.issue.set_inner(issue, assignee=newuser)