Exception referring to javascript error after update of JIRA agile

Hi,

according to @Daniel Leng proposal we'd like to raise the question/issue below:

After we updated JIRA agile to the version 6.6.0 we face lots of javascript errors in all our agile boards only when using firefox (31,32,33a).

We are using latest version of the script runner (tested with 3.0.5 and 3.0.6) on JIRA 6.3.4 

Steps to reproduce

Open up work mode of any JIRA agile board and execute an action (e.g. change status of the issue) in firefox

Error message:

"Exception: TypeError: j is null
Resource: https://jira.xing.hh/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_USc4g8e9/6332/47/a6e7ec965e52e68ee9a220d865c55c9b/_/download/contextbatch/js/jira.general/batch.js
Line: 16
Exception: TypeError: j is null
Resource: https://jira.xing.hh/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_USc4g8e9/6332/47/a6e7ec965e52e68ee9a220d865c55c9b/_/download/contextbatch/js/jira.general/batch.js
Line: 16"

Important

The action is executed although the error message is shown. Thus this issue is not a blocker!

Workaround

We temporarily disabled the script-runner module "Displays messages to the user generated from script workflow functions(userMessageUtil)" 

 

We have the strong assumption that the script runner has any bad crosslinked javascript-handling with the newest agile boards. We do not use any scripted post functions, but according to this description the script runner polls at each screen refresh.

Anyone might help us out? @Jamie Echlin [Adaptavist] ?

 

Cheers

Carlo

2 answers

This widget could not be displayed.

I am actually unsure of how to reproduce the problem. In a test workflow, I added the following script post function: {code} import com.onresolve.scriptrunner.runner.util.UserMessageUtil UserMessageUtil.success("Transitioned!") {code} And then transitioned some issues on the Agile board, but I can't seem to reproduce the error in Firefox at all. (or any browser for that matter) Perhaps I'm missing something but I am unaware of it. Also, Carlo mentioned that he has no postfunction scripts that use the UserMessageUtil.

This widget could not be displayed.

Daniel, thanks for trying to reproduce. Carlo, F12 tools should be able to show you a javascript stacktrace, can you post that? Might be best to create an issue at http://jamieechlin.atlassian.net/browse/GRV.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,482 views 10 12
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