josephine093 opened a new issue, #23246:
URL: https://github.com/apache/airflow/issues/23246

   ### Description
   
   In the UI you can change the status of a task instance, but there is no API 
call available for the same feature.
   
   It would be nice to have an api call for this as well. 
   
   ### Use case/motivation
   
   I found a solution on stack-overflow on [How to add manual tasks in an 
Apache Airflow Dag]. There is a suggestion to set a task on failed and change 
it manually to succeed when the task is done.
   
   Our project has many manual tasks. This suggestions seems like a good 
option, but there is no api call yet to call instead of change all status 
manually. I would like to use an api call for this instead. 
   
   You can change the status of on a dag run so it also seems natural to have 
something similar for task instances. 
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to