inSprint function fails to find boards, or fails communicating with server

We want utilize the 'View Issue in Navigator' link, however it fails. We get different error messages as well, usually one of the following:

  • No Board with that name could be found.
  • Error occurred communicating with the server. Please reload the page and try again.

The board I'm searching in does indeed exist, the sprint I'm searching within also has assigned tickets. This happens across all of our boards as well. Using Chrome Dev tools, I'm able to figure out that we are getting an HTTP 400 error on the GET request that contains the jql query. I am able to repeat the search failure using the "Preview" feature in the plugin configuration page in Jira.

In trying to troubleshoot, I grabbed the URL and tried hitting it directly in a browser which it produces one of two things:

  • a blank page with an HTTP 400 status, or
  • the below will be displayed in the browser with a status 400:
{"errorMessages":["Function failed to execute http method - failed with code: 401"],"errors":{}}

Here's the sanitized URL statement that is throwing the error messages:

https://our.domain.org/jira/rest/issueNav/1/issueTable/?startIndex=0&jql=issueFunction+in+inSprint(%22Sandbox%22%2C+%22Backlog%22)&useUserColumns=true&layoutKey=split-view&_=1372260974474

I'm not sure how to troubleshoot this any further. We are using this behind https, and we have provided java with cert for trusting as noted in the Script Runner wiki.

Script Runner: v2.1.4

Jira: v6.0.2#6097

GreenHopper: v6.2.3

4 answers

1 accepted

1 vote
Accepted answer

This was fixed by updating to version 2.1.8.

I got the same problem, trying to understand why.

In hopes to continue to find out more information about this, I've turned up the logging. I found the following in the atlassian-jira.log (sanitized):

2013-07-09 08:40:59,545 ajp-bio-8019-exec-59 WARN jskarbek 520x2200x1 1vl78hf 10.0.0.1 /issues/ [apache.commons.httpclient.HttpMethodDirector] Unable to respond to any of these challenges: {oauth=OAuth realm="https%3A%2F%2Four.domain.org%2Fjira"}
2013-07-09 08:40:59,545 ajp-bio-8019-exec-59 ERROR jskarbek 520x2200x1 1vl78hf 10.0.0.1 /issues/ [jira.groovy.jql.AbstractScriptedJqlFunction] Function failed to execute https://our.domain.org/jira/rest/greenhopper/1.0/rapidviews/list?query=Sandbox - status code: 401

Venkat - this link does not work, did you hear back any thing on this issue from GRV developers...

You should be able to access the link. If not register and look for the issue id GRV-256

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you