Closed timbrammer910 closed 2 years ago
in 1.4.2 is the wrong search endpoint used, https://github.com/ctreminiom/go-atlassian/blob/98b39a3e15b3c293703c8f12287dd8c95de657ea/confluence/content.go#L140 in the main branch this is fixed to use the content search path
Hi @timbrammer910
It was a bug 🐞 but the PR https://github.com/ctreminiom/go-atlassian/pull/103 fixed the Content.Search() method.
FYI: I just released the version v1.4.3
go-atlassian version v1.4.2
go-atlassian component
Describe the bug :bug: Content.Search() does not return fields beyond the title of the content.
To Reproduce :construction: Copy example code - https://docs.go-atlassian.io/confluence-cloud/content#search-contents-by-cql Update host, username, password values
Expected behavior :white_check_mark: Return pages with values in models.ContentScheme
Actual behavior:
Meeting notes <nil> <nil> <nil> <nil> <nil> [] <nil> <nil> <nil> []}
Additional context Using Content.Get with an ID works fine.
Code snippet