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 Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

304 views 5 2
Join discussion

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