If I am looking at the list of contributions of an event (URL: {event}/manage/contributions ), is it possible to carry out bulk actions on selected abstracts such as assigning them into particular sessions, tracks, or modify the duration?
Thanks to @kolodzie 's reply to Number of reviews by each reviewer and with some trial and error, I have now figured out how to select the contributions I want via Indico shell. Not being much good with Python, I can’t figure out how to carry out a change on the contributions listed.
Contribution.query.filter(Contribution.type_id == <id of the contribution type>).all()
assuming that contributions holds the result of the aforementioned expression, it is enough to run the following code to e.g. modify duration of all selected contributions:
from datetime import timedelta
for contribution in contributions:
contribution.duration = timedelta(hours=1)
db.session.commit()