set_tasks_as_benchmark
imerit_ango.sdk.SDK.
set_tasks_as_benchmark(project_id, task_ids, is_benchmark)
Marks or unmarks one or more existing project tasks as benchmarks.
Parameters
project_id: string
The unique identifier for the project. You can find the project ID in the user interface or retrieve it using the
list_projectsfunction.
task_ids: List[string]
The unique identifiers of the tasks to mark or unmark. You can find task IDs in the user interface or retrieve them using the
get_tasksfunction.All tasks must belong to the project identified by
project_id.
is_benchmark: bool, Optional, default True
Set to
Trueto mark the tasks as benchmarks.Set to
Falseto remove their benchmark status.
Returns:
output: dict
A dictionary containing the result of the operation.
Includes a
statusfield indicating whether the request was successful and adatafield containing the updated benchmark status, the number of tasks changed, and their task IDs.
Example
Mark tasks as benchmarks:
Remove benchmark status from tasks:
Last updated