lindell / multi-gitter

Update multiple repositories in with one command
Apache License 2.0
866 stars 64 forks source link

Feature request: Add flag to link created pull request with a GitHub project #459

Open bxker opened 7 months ago

bxker commented 7 months ago

The feature request

  1. Use the PR id and the passed in project id to create the link, using this graphql mutation:
    mutation {
    addProjectV2ItemById(input: {
    projectId: "<GH_PROJECT_ID>"
    contentId: "<GH_PR_ID>"
    }) {
    clientMutationId
    }
    }

My use case I want to automate PR openings using multi-gitter and have them automatically be linked to a specified project.

Implementation

lindell commented 7 months ago

This makes sense to add. I assume this is not available through the REST API? I could at least not find it with a quick search. The GraphQL API is already used for a few things, but not for any mutation.