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

[Jira] bulk_issue() doesn't support pagination

Open Verequus opened this issue 4 years ago • 0 comments

Compared to the jql() call, there is no "start" parameter support. But when providing really long lists of ticket ids, the bulk_issue() only returns a limited list of tickets (for me 50, which I believe to be the server limit). There is no indication in the code that this is the case and I couldn't find any official documentation for the bulk_issue() method. I was forced to create a wrapper, which always requests the whole list and re-requests the part, where no feedback was given. Considering that bulk_issue() is likely to have a big number of items, this seems to be an oversight of the API design.

I'm not sure, how this could be implemented in a backward-compatible way, so I'm refraining of any particular suggestions.

Verequus avatar Oct 26 '21 13:10 Verequus