JIRA plugin not working


i have developed a basic plugin for jira.

however when i load script in to the script file it is not working.

i need to change values of custom field even on pop up using javascript.

my js

JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
document.getElementById(“customfield_10000”).value = “working”;


my webresource.

com.atlassian.auiplugin:ajs atl.admin atl.general atl.popup

Hi @gagnms.

When you say your script is “not working”, can you be a little more specific?

  • Are any of your alerts being run? On what pages?
  • Do you know whether your script is being loaded on to any pages? Using a browser’s developer tools, can you locate the contents of your script in one of the product’s batch files at runtime?
  • Are you seeing any JavaScript errors in the console when the code is run?
  • Is the element ID you are looking for present on the page?

It also seems that your XML fragment for the web-resource is incomplete. Could you fix up the formatting so we can see what the actual code looks like?