Jira Rest Api Nested MaxResults (get the entire working log for a period of time)

I am writing an application that should receive all working logs within a certain period of time for all jira users. I use jira rest api to get this information, however I have a problem with nested maxResults for every problem I get. This is the URL I'm using:

https: // "your_jira_home" / rest / api / latest / search? jql = key in workIssues ("2014/12/8", "2014/12/12", "jira-users") & fields = & amp Event log; maxResults = -1

This will return all problems (up to 1000) within the given time range for all users and their work logs, but it will return 20 work logs for each problem, and I need more (all of them).

{"expand": "schema, names", "startAt": 0, "maxResults": 1000, "total": 98, "questions": [{"expand": "operations, editmeta, changelog, transitions, renderedFields" , "I would": "," I ":", "key": "," fields ": {" worklog ": {" startAt ": 0,                " maxResults ": 20,               " total ": 1, .. .

Is there a way to specify nested maximum results (one in the "workbook")?

Another way to get working logs would be to use this URL:

https: //? "Your_jira_home" / vacation / api / last / search jql = project = your_project_name & fields = & amp event log; maxResults = -1

but the same problem occurs with nested maxResults.

I am developing an application in .NET and I am not using the jira plugin yet.

+4
source share
1 answer

It is not possible to change the startAt or maxResults of the results of nested results in the current Jira API version 2.

, : https:// "your_jira_home" /////{issueIdOrKey}/

, 20 , .

https://answers.atlassian.com/questions/327748/how-do-i-set-maxresults-for-work-logs

0

Source: https://habr.com/ru/post/1569032/


All Articles