Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Limit of Jira Align REST API query URL

Paresh Mathur
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2025

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. 

1 answer

0 votes
Allan Maxwell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2025

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. 

Paresh Mathur
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 30, 2025

I understand the mathematics of this, but can I get any confirmation on this?

Allan Maxwell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2025

Atlassian does not specify a size limit or token count limit.

 

The answer to the second part of your question is also "no".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events