KnpLabs / KnpLabs/php-github-api

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

Open
#768 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
2.2k
Forks
587
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the org_projects and repo projects columns/cards create calls shown in the issue, then check how the GitHub API exposes personal projects. Confirm the supported path for adding an issue card to a user-owned project and document or implement it consistently with the existing project APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, php
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.