Bug 2101541
| Summary: | Webservice / REST - extra_fields / include_fields returning empty when there are values | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Brad Maxwell <bmaxwell> |
| Component: | WebService | Assignee: | The Bugzilla Team 🤖 <bugbot> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-29 14:38:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Brad Maxwell
2022-06-27 18:29:26 UTC
There is no public data for those fields on that bug, you will need to authenticate to get private data. https://bugzilla.redhat.com/docs/en/html/integrating/api/Bugzilla/WebService.html#authentication Is the WebService using different authentication than the browser? I connected to jira and did not remember seeing a difference. Then hitting [2] in the browser, it gives authentication required. I was able to send the token and see them now, just seemed off that I could be logged into the browser and view these, but then there being a difference when hitting the REST in the browser, though I found a way to test in the browser by adding to the header and can see the fields now. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1713539 [2] https://bugzilla.redhat.com/rest/bug/1713539?extra_fields=external_bugs&extra_fields=cf_partner&extra_fields=flags&extra_fields=cf_last_closed (In reply to Brad Maxwell from comment #2) > Is the WebService using different authentication than the browser? Yes. Thanks, that answers and explains the issue |