GraphQL createIssue is unable to assign a different branch than default one #183548
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
The API to assign an issue to copilot using GraphQL API is lacking the field to direct copilot using a different branch than default one. Although as explain in this response, one can easily do so from the UI.
I understand we can pre-assign a new branch to an issue, and then eventually re-assign it to copilot but when doing so, the agent is still starting branching out of the default branch. It is not considering the associated branch created earlier.
I also tried to add directions to request the agent to create a branch from stage but it cannot work as, it seems the branch is created 1st and only then the agent starts reading the instruction, so at that point it is already too late.
This is a serious inconsistency between what can be done in the UI and what can actually be automated. As of now, my organization is unable to use this feature as we prevent our developers to change the default branch. Being able to create an issue only on default branch which is most of the time, the production branch, is not practical at all.
When do you plan to make the GraphQL API consistent with what it can do with the UI?
Beta Was this translation helpful? Give feedback.
All reactions