Adding javascript files through a plugin not working in JIRA 7.1

Scott Starkey June 16, 2016

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

0 votes
barbosa_s_alexandre March 2, 2017

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 Sign up to answer