Add projectsV2 support to issue create, issue edit, pr create, and pr edit (#6735)

Co-authored-by: pshevche <pavel.shevchenko.95@gmail.com>
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
This commit is contained in:
Ilya Yatsishin 2023-01-19 23:13:09 +01:00 committed by GitHub
parent 06ae07f971
commit 179e9c256d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1249 additions and 82 deletions

View file

@ -274,6 +274,8 @@ func IssueGraphQL(fields []string) string {
q = append(q, `labels(first:100){nodes{id,name,description,color},totalCount}`)
case "projectCards":
q = append(q, `projectCards(first:100){nodes{project{name}column{name}},totalCount}`)
case "projectItems":
q = append(q, `projectItems(first:100){nodes{id, project{id,title}},totalCount}`)
case "milestone":
q = append(q, `milestone{number,title,description,dueOn}`)
case "reactionGroups":