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:

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 /issues/ [apache.commons.httpclient.HttpMethodDirector] Unable to respond to any of these challenges: {oauth=OAuth realm=""}
2013-07-09 08:40:59,545 ajp-bio-8019-exec-59 ERROR jskarbek 520x2200x1 1vl78hf /issues/ [jira.groovy.jql.AbstractScriptedJqlFunction] Function failed to execute - 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 Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
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