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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

82 views 1 0
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