如何通过jira rest Api PHP获取组下所有用户的月度工作日志报告

I need to get cumulative worklog for all the users present in a group for a given month using jira rest api php.

As jira api provides worklog corresponding to an issue key. I need to first find all the issues and corresponding to each issue I am internally calculating worklog hours.

I need the above response for a list of users at a single time. Response what I am getting is really slow because there is no direct api to calculate worklog for a user.

I tried rest/api/latest/search?group?groupname=abc&expand=users'; first,

then for each user I am fetching all the issues and then from issue key I am fetching worklog hours for a specific period of time.

I'm trying to find a way to get everything with single query to avoid additional network collaboration. Could you advice anything please?