"An error occurred" on board while loading issue details after enabling jira-threaded-comments add-on

Issue #52 resolved
GOIS Luis (EXT) created an issue

Every time we update (including transitioning) a Jira Service Desk issue on a board (in our case, a Kanban board), the issue details view doesn’t load (remains grayed out) and we get the following error:

An error occurredHide

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.

Details
Exception: Uncaught TypeError: Cannot read property 'append' of undefined
Resource: http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true
Line: 197
Column: 341
Environment
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Stack trace
TypeError: Cannot read property 'append' of undefined
at Object.success (http://<my/jira/host>/s/25c431abd75e42f9dcc71071fe67acd0-T/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/03f657783d5d8ca7e1451dcdd3356e44/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,jira.global,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&spectrum=true&whisper-enabled=true:21167:26)
at j (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:66:58)
at Object.fireWith [as resolveWith] (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:67:361)
at d (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:192:292)
at b (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:204:149)
at Object.send (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:204:191)
at Function.ajax (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:197:302)
at addCommentButtonsToBlock (http://<my/jira/host>/s/25c431abd75e42f9dcc71071fe67acd0-T/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/03f657783d5d8ca7e1451dcdd3356e44/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,jira.global,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&spectrum=true&whisper-enabled=true:21160:11)
at HTMLDivElement.checkAndAddButtons (http://<my/jira/host>/s/25c431abd75e42f9dcc71071fe67acd0-T/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/03f657783d5d8ca7e1451dcdd3356e44/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,jira.global,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&spectrum=true&whisper-enabled=true:21143:9)
at Function.each (http://<my/jira/host>/s/af6c99a0364dd2a13b28b1778d966452-CDN/-ex6hkh/713005/6411e0087192541a09d88223fb51a6a0/484b2eaf39d005d2b73e70e754585289/_/download/contextbatch/js/_super/batch.js?locale=en-US&spectrum=true:60:35)

We’re running Jira Server 7.13.5 with Jira Service Desk 3.16.4 and jira-threaded-comments 1.27.2.

To replicate this bug:

  1. open a board
  2. log work on a Jira Service Desk issue

We’ve disabled the add-on for the Jira Service Desk project only, but that didn’t work either (we’ve disabled both the threaded comments and vote on comments features). Only by completely disabling the add-on we can prevent the error from happening.

Comments (3)

  1. Log in to comment