Github API: How to promote a PR from draft to ready for review?

I see the create pull request call has a draft: boolean parameter, but the update pull request call does not. Is there another way to promote a pull request from draft to ready for review via the API?

In the update call, can you set state: open to move it from draft to ready to review?

When I call pulls.get(), the state already is open:



Unfortunately this is a known “gap” in our API functionality and we are working towards fixing it, but I don’t have an ETA.

It may not be much of a help but this function does exist in GraphQL.

I’ve added your request to the internal tracking issue and I’ll do my best to update you when we have news.