atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

Would be nice to be able to query using CQL with output paged using _get_paged()

Open stevecj opened this issue 2 years ago • 0 comments

For now, I'm maintaining a subclass that implements a cql_paged() method to be able to iterate over long CQL results.

I would be willing to submit a merge request to add this capability, but I would first like to know how it should best be implemented. Should it be an alternate behavior of the cql method depending on whether self.advancedmode is true (like the behavior of get_page_child_by_type)? I'm thinking that would break backward compatibility because advanced mode is off by default.

…so maybe what I have done is best? Having a separate cql_paged() method?

stevecj avatar Jun 03 '22 00:06 stevecj