Find the context id associated with a task

task_context_id(ids, db)

Arguments

ids

Vector of task ids

db

Something that can be converted to a context db object (a database, root or context).