Adding javascript files through a plugin not working in JIRA 7.1

I have a plugin that adds a javascript file which controls some display elements on the create screen of one of my projectsin JIRA 6.1.3. It does not work in JIRA 7.1. Shouldn't I be able to create a basic plugin skeleton and add a javascript file to src/main/resources/js/. I was only using a console.log in the javascript file just to see if it would load but it is not working. 

1 answer

I have the same problem. I create a plugin with a section in the admin_plugins_menu to display a configuration. I'm create a velocity file to display my configuration page without any problem. In that page I have a button, and I want to display a dialog when it is clicked. (very similar to the issue types, when we try do add a new issue type). For some reason, the javascript resource created in the plugin creation (using maven archetypes, atlas-create- ... ), is not attached. (i now that because I put a console.log and a alert in the javascript and nothing is happen).

Did you find a solution?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

594 views 2 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot