JQL in JIRA advance search bar vs Inserting JQL in Structure

Saurabh Thaker
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!
July 9, 2020

JQL in JIRA advance search bar vs Inserting JQL in Structure

JQL query (project = ABC AND issueFunction in linkedIssuesOf("project != ABC")) works fine in JIRA advance search bar and returns result. But when the same JQL is inserted in Structure it gives "We couldn't load the structure". It seems like some performance issue.

I also tried saving the query as a filter and creating a Board. But the results are not even generated with that.

1 answer

1 accepted

1 vote
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 9, 2020

What is the count of issues returned by the query? In Structure, you can setup "max load time" in Manage Structures menu -> Configure on row with your structure and adjust Time limit field

Saurabh Thaker
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!
July 9, 2020

Thanks, Martin for such a prompt reply. What you suggested was exactly the problem. The time limit was set to 30 seconds. I changed it to 300 seconds and it worked. Although the results returned were just 20, in my opinion "issueFunction in linkedIssuesOf("project != ABC")" was probably taking long to run.

Thanks again for solving this issue.

Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 9, 2020

Great, I also remember I had problems with boards if the query took to long to run. So the problem will be the same. Can you accept the answer pls, so other can find the answer? :) thank you

David Niro
Atlassian Partner
July 10, 2020

Hello!  David from ALM Works here.  Great suggestion, Martin!

Saurabh, you are correct that "issueFunction in linkedIssuesOf("project != ABC")" would be the piece slowing things down.  We may be able to help write something which would run faster, if we knew more about the use case.  If you are interested, feel free to contact our support team at support.almworks.com.

Look forward to hearing from you!

Best - David

Suggest an answer

Log in or Sign up to answer