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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,739 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot