Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get monthly worklog report for all the user under a group through jira rest Api PHP?

Sahil Gupta April 11, 2019

Hello guys,

I need to get cumulative worklog for all the users present in a group for a given month:

   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.

Is there another way to get it? . 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?

0 answers

Suggest an answer

Log in or Sign up to answer