KnpLabs / KnpLabs/php-github-api
Is there a way to add a issue to a personal project?
- Vorherrschende Sprache
- PHP
- Sterne
- 2.2k
- Forks
- 587
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, php
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100