Scriptrunner causes Error when I click on "View on Board" in the Agile Section

 

Steps to Reproduce:

1) Open a Ticket

2) Click on 'View on Board' in the Agile Section

Expected Result: A popup window shows all the Boards the ticket is listed on

Actual Result: The following exception is displayed:

 

image2015-7-8 15:20:30.png

5 answers

This widget could not be displayed.

Could be what Nic said, or it could be that you are using a query like linkedIssuesOf to drive your board, which may be causing a problem. Are you? 

What versions of everything have you got?

This widget could not be displayed.

I suspect you have a broken scripted field. - the board tries to display something and the script behind the field is failing.  You might want to read the application log to get the full error and see if that gives you more information

This widget could not be displayed.

Thanks for your replies.

 

We have JIRA v6.3.1 and ScriptRunner v3.0.16

Ok, the next step is to find out what fields are on the "view" screen for that project/issuetype and find out what scripted fields are on that list. Then look at the scripts behind them.

> or it could be that you are using a query like linkedIssuesOf to drive your board, which may be causing a problem. Are you? You missed a bit of my question.

Ah, yes, sorry, that needs answering first. The coffee has worn off here.

Yes, We are using linkedIssuesOf. Is that the culprit?

I don't know - how are you using it, as the board filter? Can you give the full filter?

So this is an example of a filter that is using linkedIssuesOf and driving an Agile Board : project in (ENG, DEVOPS, SI, DB) AND (labels = cross-team OR issueFunction in linkedIssuesOf("issuetype = Epic AND labels = cross-team", "is Epic of") OR issueFunction in linkedIssuesOf("labels = cross-team", "has Epic")) ORDER BY Rank ASC

What version of SR have you got? I fixed something related to this in the most recent version.

We recently upgraded to 3.1.3

And that did not fix the issue

This widget could not be displayed.

Hi,

 

Do you have an update on this issue?

 

Arjun

This widget could not be displayed.

@Jamie Echlin (Adaptavist) we are still waiting on this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

141 views 1 3
Join discussion

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