I'm getting an unbounded query error with the search jql endpoint. Here is my JQL:
((type IN standardWorkTypes() AND type NOT IN ("Initiative","Phase","Epic"))) AND sprint in (365,333,332,299,266,205) AND resolved >= "2025-08-13"
I'm not quite sure how this is "unbounded". Seems like I have a lot of limitations on it.
The error I'm getting is: Unbounded JQL queries are not allowed here. Please add a search restriction to your query.
Anyone know what I need to add to not trigger that error?
Thanks!
Are you able to pull results if you reduced your sprint list? Have you tried to extract this information using API? From what I read further you have to refine your JQL so it can return the max allowed. I would add one sprint at a time and refine.
Hi @CP
Welcome to the community!
Are you looking for to pull all items that are not ("Initiative","Phase","Epic")? If so just remove the first type IN. It should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm excluding subtasks basically.
The error I get is:
Unbounded JQL queries are not allowed here. Please add a search restriction to your query.
(Sorry, should have put the error in.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Varsha Joshi I also tried all of these with the same error, I can't quite figure out how these count as unbounded:
((type NOT IN ("Initiative","Phase","Epic"))) AND sprint in (365,333,332,299,266,205) AND ((resolved >= "2025-08-13" AND resolved <= "2025-09-23") OR (resolution IS EMPTY AND updated >= "2025-08-13" AND updated <= "2025-09-23"))
((type IN standardWorkTypes() AND type NOT IN ("Initiative","Phase","Epic"))) AND sprint in (365,333,332,299,266,205) AND ((resolved >= "2025-08-13" AND resolved <= "2025-09-23") OR (resolution IS EMPTY AND updated >= "2025-08-13" AND updated <= "2025-09-23"))
((type NOT IN ("Initiative","Phase","Epic"))) AND sprint in (365,333,332,299,266,205) AND ((resolved >= "2025-08-13" AND resolved <= "2025-09-23"))
((type IN standardWorkTypes() AND type NOT IN ("Initiative","Phase","Epic"))) AND sprint in (365,333,332,299,266,205) AND resolved >= "2025-08-13"
My thought is I have to limit it in some other way, but I haven't found that way yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.