I have a system where I am querying all the features under a large number of capabilities (200+). I am constructing my filter like "parentId eq key1 or parentId eq key2 ..." and so on. I have observed if the total query (including endpoint url) exceeds 4096 characters I get a 404. It doesnt seem to be documented, but can there be such a limit or could I be doing something wrong.
As a sub question, is my way of querying correct, in JQL we can pass an array and check if a key is in that array but I dont see documentation for something similar in Jira Align API thus the large chaining of ORs.
By definition, the size of an HTTP request is unlimited. In practice, various implementations do enforce some limit. The 4096 just so happens to equal 2 to the power of 12 which seems to be too coincidental to not be a Jira Align API server enforced limitation.
I understand the mathematics of this, but can I get any confirmation on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian does not specify a size limit or token count limit.
The answer to the second part of your question is also "no".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.