Skip to content

"list index out of range" Error in issue_export Function #147

@avduleekagit

Description

@avduleekagit

Dear JiraOne Support Team,

We are using the issue_export function in the JiraOne library to store ticket details (all fields) returned by JQL queries into a CSV file.

The function call is as follows:

issue_export(folder=folder, jql=jql, final_file=output_file, fields=fields)

Recently, we encountered an issue where the script failed with a "list index out of range" error. Before the error occurred, the script generated 22 temporary files (e.g., temp_file, temp_file_0, temp_file_1000, ..., temp_file_20000). However, the final CSV file was not created, and the process terminated unexpectedly.

We would like to know:

  1. Has there been any recent change to the issue_export function that might affect its behavior?
  2. Could you guide us on how to overcome this issue and ensure successful CSV generation, even with large datasets?

Your assistance in resolving this issue would be greatly appreciated.

Thanks,
Roshinie

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions