<h3 dir="auto">Description</h3>
<p dir="auto">Ability to clear or mark task groups as success/failure and have that propagate to the tasks within that task group. Sometimes there is a need to adjust the status of tasks within a task group, which can get unwieldy depending on the number of tasks in that task group. A great quality of life upgrade, and something that seems like an intuitive feature, would be the ability to clear or change the status of all tasks at their taskgroup level through the UI.</p>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">In the event a large number of tasks, or a whole task group in this case, need to be cleared or their status set to success/failure this would be a great improvement. For example, a manual DAG run triggered through the UI or the API that has a number of task sensors or tasks that otherwise don't matter for that DAG run - instead of setting each one as success by hand, doing so for each task group would be great.</p>
<h3 dir="auto">Related issues</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit a PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>
<h3 dir="auto">Description</h3>
<p dir="auto">Hi,</p>
<p dir="auto">It would be very interesting to be able to filter DagRuns by using the state field. That would affect the following methods:</p>
<ul dir="auto">
<li>/api/v1/dags/{dag_id}/dagRuns</li>
<li>/api/v1/dags/~/dagRuns/list</li>
</ul>
<p dir="auto">Currently accepting the following query/body filter parameters:</p>
<ul dir="auto">
<li>execution_date_gte</li>
<li>execution_date_lte</li>
<li>start_date_gte</li>
<li>start_date_lte</li>
<li>end_date_gte</li>
<li>end_date_lte</li>
</ul>
<p dir="auto">Our proposal is to add the state parameter ("queued", "running", "success", "failed") to be able to filter by the field  "state" of the DagRun.</p>
<p dir="auto">Thanks.</p>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">Being able to filter DagRuns by their state value.</p>
<h3 dir="auto">Related issues</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit a PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>