php-github-api icon indicating copy to clipboard operation
php-github-api copied to clipboard

Is there a way to add a issue to a personal project?

Open lincolnaleixo opened this issue 6 years ago • 1 comments

I have projects (user, not organization) and use the project automation to move new issues to projects but I want to automate from my code as well , creating issues and moving to a specific project. Is that possible?

I tried both

$card = $client->api('org_projects')->columns()->cards()->configure()->create($column, array('issue' => $issue));

and

$card = $client->api('repo')->projects()->columns()->cards()->configure()->create($column, array('issue' => $issue));

PS: Issue creation is working properly adding label,milestones and assignees without a problem

Thanks

lincolnaleixo avatar Jan 16 '19 12:01 lincolnaleixo

also curious

Goddard avatar Feb 05 '21 22:02 Goddard