Not working: Gantt chart export as MS Project or MS Powerpoint, javascript errors

This plugin looks fantastic! But we can't export Gantt charts. We've tried in Google Chrome 32.0 and Firefox 26.0 on both Linux and MacOS X Mavericks.

There seems to be a javascript error when the export links are clicked from the Gantt Chart page:

Uncaught TypeError: Cannot read property 'name' of null de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
Backbone.Collection.extend.getDataForExport de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
Backbone.Collection.extend.exporting de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
(anonymous function) de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
jQuery.event.dispatch batch.js:19
elemData.handle.eventHandle batch.js:19

I can't see any clues in Jira's logfile. There is another JS error when the page is first loaded that may be related:

GET https://servername:8443/jira/rest/structure/1.0/structure?_=1390957408625 404 (Not Found) batch.js:26
send batch.js:26
jQuery.extend.ajax batch.js:26
jQuery.(anonymous function) batch.js:26
jQuery.extend.getJSON batch.js:26
Backbone.Collection.extend.loadStructures de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
Backbone.Collection.extend.initialize de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
z.Collection de.polscheit.jira.plugins.gantt:gantt-resources3.js:34
Q de.polscheit.jira.plugins.gantt:gantt-resources3.js:34
(anonymous function) de.polscheit.jira.plugins.gantt:gantt-resources3.js:40
fire batch.js:19
self.fireWith batch.js:19
jQuery.extend.ready batch.js:19

This is on a project that has had its KEY renamed. Does that matter?

More about our server:

  • JIRA: 6.1.5
  • Plugin: 3.0.0-JIRA6
  • OS: Windows
  • JVM: 1.7.0_25
  • Server: Apache Tomcat/7.0.29
  • DB: PostgreSQL 9.0.15
  • DB Driver: PostgreSQL Native Driver PostgreSQL 9.0 JDBC4 (build 801)

3 answers

Update: the error happens on all projects, not just the renamed one. From the user's perspective, they click "MS Project" or "MS Powerpoint" - and nothing happens.

Update2: I've installed now our other projects are working! However, our "renamed" project is more broken than ever!

It actually exports something now, but it's an empty template each time - rather than our actual project.

The bigger problem is that the Gantt chart is no longer visible at all!

So I renamed this project back to its old key, and it started working fully - we can see/use the Gantt page, and also export works fine. But then, restoring the key back to its desired value, Gantt charts and Gantt export is broken...

Are there any work-arounds to allow our renamed project to work properly?

Hi Paul,

please send me an email at frank@polscheit.dedue to your privacy and security not providing internal information to the public: what's your project's old/new project name and project key? Please also copy your browser's console output into this email for further analysis.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

475 views 8 27
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