-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue_export page size parameter needed #118
Comments
Hey @vikoalucard The page size default is 1k and it cannot be reduced or increased. Since page 3 is the one breaking things from your example, you can omit it by doing the below # import statement
issue_export(jql, page=(0, 2), final_file="file1.csv") do another export for page 4 # import statement
issue_export(jql, page=(4, 4), final_file="file3.csv") Then attempt page 3 export alone # import statement
issue_export(jql, page=(3, 3), final_file="file2.csv") Once done, you can use the # import statement
files = ["file1.csv", "file3.csv"]
issue_export(merge_files=files, check_auth=False)
# import statement
files = ["file1.csv", "file2.csv", "file3.csv"]
issue_export(merge_files=files, check_auth=False) If the download for certain pages keeps timing out, probably some data within the export is attempting to download some content from the project that might be taking too much time for your Jira environment to respond. |
Hey @princenyeche , thanks a lot for your help! |
About your question on a limit parameter, that isn't used in the Include Specific Custom Fields in the Export:
Export Only Current Fields:
In your script, construct it like this: # Import statement
issue_export(jql, field_type="current", page=(3, 3)) What this does:
|
Hello, First, thanks a lot for this lib !
Are you still supporting it ?
Is there any way to change the page size for the issue_export method ?
I have some instances so large that the "default max" (1k isses per page) will crash, especially in cloud:
Downloading issue export in CSV format.
<Response [200]> OK ::downloading issues at page: 0 of 4
<Response [200]> OK ::downloading issues at page: 1 of 4
<Response [200]> OK ::downloading issues at page: 2 of 4
<Response [504]> Gateway Timeout ::downloading issues at page: 3 of 4
<Response [200]> OK ::downloading issues at page: 4 of 4
=> results in a crash in the merge (1 file containing the CSV error...)
Thank you in advance !
The text was updated successfully, but these errors were encountered: