View Issue is Broken Due to Incompatible Add-On
Symptoms
The users are unable to see an issue page when clicking from the direct link from issue filter or issue search filter. The browser is loading non-stop and the following can be observed on the browser's console:
Uncaught TypeError: Cannot read property 'attachEvent' of null batch.js:1965
util.addEvent batch.js:1965
PreviewManager.setupEvents batch.js:2476
PreviewManager.init batch.js:2648
PreviewManager batch.js:2656
run batch.js:1772
(anonymous function) batch.js:4106
e.extend.each batch.js:5
e.fn.e.each batch.js:5
B batch.js:4098
f.event.dispatch batch.js:6
h.handle.i batch.js:6
f.event.trigger batch.js:6
(anonymous function) batch.js:6
e.extend.each batch.js:5
e.fn.e.each batch.js:5
f.fn.extend.trigger batch.js:6
JIRA.trigger batch.js:258
Backbone.define.JIRA.Issues.BaseView.extend.addPanel batch.js:2629
(anonymous function) batch.js:2629
w.each.w.forEach batch.js:287
Backbone.define.JIRA.Issues.BaseView.extend._renderPanels batch.js:2629
Backbone.define.JIRA.Issues.BaseView.extend.render batch.js:2629
Backbone.define.JIRA.Issues.BaseView.extend.render batch.js:2635
Backbone.define.JIRA.Issues.BaseView.extend._handleUpdated batch.js:2635
g.Events.trigger batch.js:297
a.(anonymous function) batch.js:1111
Backbone.define.JIRA.Issues.BaseModel.extend.update batch.js:1190
Backbone.define.JIRA.Issues.BaseModel.extend._handleLoadSuccess batch.js:2617
Backbone.define.JIRA.Issues.BaseModel.extend._onLoadFromViewIssueData batch.js:2617
o batch.js:5
p.fireWith batch.js:5
(anonymous function) batch.js:1202
o batch.js:5
p.fireWith batch.js:5
p.fire batch.js:5
(anonymous function) batch.js:1204
setPending.m.error batch.js:1204
(anonymous function) batch.js:1204
o batch.js:5
p.fireWith batch.js:5
p.fire batch.js:5
(anonymous function) batch.js:1200
o batch.js:5
p.fireWith batch.js:5
(anonymous function) batch.js:5
o batch.js:5
p.fireWith batch.js:5
w batch.js:7
d
Cause
This behavior is identified to be caused by the incompatibility of JIRA Markdown plugin. Currently JIRA Markdown plugin doesn't support JIRA 6 version. This improvement is currently being tracked here:
https://bitbucket.org/bbaker/atlassian-markdown/issue/9/jira-6-support
Workaround
Disable the JIRA Markdwon plugin add-on until the improvement request is fixed.