Update a task run and its current state
Mainly used to "Manually clear" a task
Example payload:
{ "current_state_id":"<TASK_RUN_STATE_ID>", "task_run_state_update": { "status_alert_override":"clear" }, "comment": { "body":"this is a comment" } }
current_state_id can be found with route GET /task_runs/<TASK_RUN_ID> root.current_state.id
This is particularly interesting when editing a manual task.
Example payload:
{ "current_state_id":"\<TASK_RUN_STATE_ID>", "task_run_state_update": {"status_alert_override":"clear"}, "comment": {"body":"this is a comment"} }
current_state_id can be found with route GET /task_runs/<TASK_RUN_ID> root.current_state.id