Skip to content

fix: return project item id usable for updates#2169

Open
njoppi2 wants to merge 1 commit intogithub:mainfrom
njoppi2:fix/projects-write-item-id
Open

fix: return project item id usable for updates#2169
njoppi2 wants to merge 1 commit intogithub:mainfrom
njoppi2:fix/projects-write-item-id

Conversation

@njoppi2
Copy link

@njoppi2 njoppi2 commented Mar 7, 2026

Summary

  • include fullDatabaseId in the GraphQL response for projects_write / add_project_item
  • return a numeric item_id that can be passed directly to update_project_item and delete_project_item
  • keep the existing node id in the response for backwards compatibility

Closes #2153.

Validation

  • ran go test ./pkg/github -run "Test_ProjectsWrite_AddProjectItem|Test_ProjectsWrite_UpdateProjectItem" in a Go 1.24 Docker container
  • formatted touched files with gofmt in the same container

@njoppi2 njoppi2 requested a review from a team as a code owner March 7, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

projects_write: item_id parameter typed as float64 instead of string

1 participant