Skip to main content

move_item

Function move_item 

Source
pub async fn move_item(
    project_dir: &Path,
    id: &ItemId,
    to: &str,
) -> Result<BacklogItem>
Expand description

Move PBI id to workflow status to and return the saved BacklogItem.

Only statuses configured in config.toml are valid. Reject an unknown status with Error::UnknownStatus without changing the item. Return Error::NotInitialized for an uninitialized board or Error::NotFound when the ID does not exist.