I’m using the Get votes endpoint and from the response there seems to be missing fields that are described in the documentation. accountType
is one of the fields that are not present for the response. Is this as expected? Or is the endpoint not working correctly?
Hello @AlejandroOviedo
I’ve just tested both the v2 and v3 Get votes endpoint and can confirm the issue you have described. With Basic Auth and a user account that I know for sure has View voters and watchers project permissions, only a subset of the documented properties that are supposed to be in the voters array are returned.
The following properties are not returned:
- accountType
- applicationRoles
- emailAddress
- expand
- groups
- key
- locale
- name
- timeZone
I don’t think the endpoints themselves are at fault, but that the documentation is wrong. It seems unlikely that the endpoints would need to return such detailed information about a member (a user) when that information can be looked up via a subsequent lookup using the Get user endpoint
I suggest you log this bug in the documentation with Atlassian.
2 Likes