Milestones issues of subgroups via API

I’m using the API to fetch issues assigned to a group milestone regarding to

The group with the milestone is assigned to has subgroups with issues assigned to this milestone. The API only returns issues of projects directly assigned to the group the milestone belongs, but not issues assigned to subgroups.

Am I missing something or is this a bug?