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

1 vote

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 views 0 5
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