Issue Summary
Exception Uncaught TypeError:cannot read property 'scrollheight' of undefined when creating an Epic from Backlog.
Environment
Jira 8.x
Steps to Reproduce
- Go to the backlog view
- Create Epic from the create button on top of the window.
Expected results
Epic is created without issue.
Actual results
There's a JavaScript exception when creating Epic.
An error occurred Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues. Details Exception: Uncaught TypeError: Cannot read property 'scrollHeight' of undefined Resource: http://localhost:8080/s/8c2f45ef8fc6957e031b995ae8a24625-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/5e54071918fb0279415770191a35c35d/_/download/contextbatch/js/gh-rapid-plan,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK Line: 6731 Column: 10477 Environment Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36 Stack trace TypeError: Cannot read property 'scrollHeight' of undefined at Object.GH.EpicView.scrollToBottom (http://localhost:8080/s/8c2f45ef8fc6957e031b995ae8a24625-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/5e54071918fb0279415770191a35c35d/_/download/contextbatch/js/gh-rapid-plan,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK:6731:10477) at Object.F._showCreatedEpicsMessage (http://localhost:8080/s/8c2f45ef8fc6957e031b995ae8a24625-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/5e54071918fb0279415770191a35c35d/_/download/contextbatch/js/gh-rapid-plan,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK:3037:9733) at Object. (http://localhost:8080/s/8c2f45ef8fc6957e031b995ae8a24625-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/5e54071918fb0279415770191a35c35d/_/download/contextbatch/js/gh-rapid-plan,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-UK:3037:9458) at c (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:22895) at Object.fireWith [as resolveWith] (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:23652) at Object.a. (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:24631) at c (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:22895) at Object.add [as done] (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:23189) at Object. (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:24287) at c (http://localhost:8080/s/c9f0ce38758565a63a5cdaabb5109255-CDN/4ffetv/800010/6411e0087192541a09d88223fb51a6a0/527ab6cb8db8e0b715fcef781f7fd0ca/_/download/contextbatch/js/_super/batch.js?locale=en-UK:65:22895)
Workaround
Epic can be created from a different page e.g. the Issues page.