Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,527
Community Members
 
Community Events
184
Community Groups

Timeout using ScriptRunner

Hi,

 

when using the enhanced search of scriptrunner cloud I often run into the issue, that it raises the error message:

"Search parsing timed out. You probably have a subquery that returns too many issues."

Can anyone tell me what the limitations are and if it is possible to change them?

The query is actually running for about 10 seconds before the message is raised.

 

Thank you in advance for the answers

 

2 answers

1 accepted

0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 22, 2019

Hi Jochen,

Thank you for your question.

I can confirm that the "Search parsing timed out. You probably have a subquery that returns too many issues." error which you are receiving indicates that the sub queries for the JQL functions returns too many issues.

Unfortunately we can only execute queries for a maximum of 30 seconds before timing them out as well as being able to only fetch 100 issues at a time.

In order to overcome this error we would advise that you make your subquery more restrictive, so that it returns less issues. in order to complete within the timeout period. 

One way that you could look to restrict the query would be to look at limiting the query to only return the issues inside a certain project or to return only issues updated within a certain timeframe. 

You can see more details on how the enhanced search functionality works inside of ScriptRunner for Jira Cloud in the documentation page here.

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,

Kristian

Kristian, I have experienced the same problem with searches in my team. Is there any way to adjust the timeout limit to more than 30 seconds? I have tried to narrow down my search results but for some searches I just can't avoid it and need to be able to search across 24k jira issues. Is there a way to change this 30 second max limit?

Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 28, 2019 • edited

Hi Jose,

I can confirm that unfortunately, it is not possible to increase the time out limit for the enhanced search functionality due to the restricted nature in which we execute the searches in a sandbox environment.

This means that you will need to restrict your query to return fewer issues and have multiple search queries if you need to search for a lot of issues.

Regards,

Kristian

What the f***k?

We have about 1000 issues in release, and want to filter them by different links or some other criteria — and you tell me that you can process only 100 issues?

What are you getting paid for?

Like # people like this

I was getting the error as well. I had created 4 filters in scriptrunner, and found if the Filter names were only one word with no spaces, versus a couple of words with spaces I would not get the error.

We are also facing same issue and hope Adaptivist will fix soon
This needs to be fixed soon else data center is best option

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events