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

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?

0 votes

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

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

Hi,

 

Do you have an update on this issue?

 

Arjun

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,664 views 18 21
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