Simon Taranto
34c3b3c809
Add databaseId to assignees GraphQL fragment
...
The assignees query fragment only requested id, login, and name but the
GitHubUser struct includes a DatabaseID field. Since the field was never
requested from the API, it always defaulted to Go's zero value (0) in
JSON output. This adds databaseId to the fragment so the actual value is
returned.
Also adds ExportData test cases for assignees on both Issue and
PullRequest to verify databaseId round-trips correctly through JSON
serialization.
2026-02-25 10:26:46 -05:00
Azeem Sajid
ee281fd9ba
Add closedByPullRequestsReferences JSON field to issue view ( #10941 )
...
* [gh issue view] Expose `closedByPullRequestsReferences` JSON fields
* Incorporate GitHub Copilot review suggestions
* Incorporate review changes
2025-05-07 13:59:22 +01:00
Azeem Sajid
9ed733fa5e
Add closingIssuesReferences JSON field to pr view ( #10544 )
...
* [gh pr view] Support `closingIssuesReferences` JSON field
* Support pagination
* Support pagination
* Fix typo
* Add more fields
2025-04-29 11:48:20 +01:00
Matthew Ruggio
83418cba54
export status optionId and name for pull request projectItems
2023-10-16 21:06:30 -05:00
Matthew Ruggio
8a868779a6
Add status column for each projectItem object.
...
This should be comparable to classic project's notion of column, although not _exactly_ the same since new projects are much more configurable.
2023-10-16 21:06:30 -05:00
Sam Coe
08a1231178
Allow retrieving projectItems in JSON and allow adding/removing user owned projects ( #7007 )
2023-02-15 22:14:59 +00:00
Mislav Marohnić
dea1af1227
pr checks: avoid deduplicating same-named checks under different workflows ( #5919 )
2022-07-12 09:48:39 +00:00
Mislav Marohnić
42155c7d2d
Export more IDs in issue/pr JSON payload
2021-05-18 18:19:28 +02:00
Mislav Marohnić
e758f30073
Fix preloading of pr reviews, checks, and issue/pr comments
2021-05-18 17:13:27 +02:00
Mislav Marohnić
5f0301c990
Have Exporter.Write automatically call ExportData on given data structure
2021-05-12 17:05:15 +02:00
Mislav Marohnić
a8e025291f
Fix exporting milestone for issues and PRs
...
There was a weird pointer bug which would cause a null milestone to
erase "milestone" fields for previous entries in the list.
2021-04-28 18:28:18 +02:00
Mislav Marohnić
78e48e2dfd
Tests for GraphQL query builder and JSON exporter
2021-04-14 18:52:02 +02:00