Skip to main content

move_task

Function move_task 

Source
pub async fn move_task(
    r: &Resolver<'_>,
    task: &TaskRef,
    list: &str,
    status_map: &BTreeMap<String, String>,
    move_fields: bool,
) -> Result<Value>
Expand description

Move to a new home list. status_map maps old status name → new status name. When the current status doesn’t exist in the target list and no mapping covers it, returns Resolve { kind: "target status", .. } whose suggestions are the target list’s statuses.