Added false to the configeration section of maven-jira-plugin. Still no luck. All my code:
plugin.xml
<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}" />
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="menu"/>
<!-- add our web resources -->
<web-resource key="menu-resources" name="menu Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="menu.js" location="/js/menu.js"/>
<resource type="download" name="images/" location="/images"/>
<context>atl.general</context>
</web-resource>
<web-panel key="ChangeCSS" location="com.atlassian.jira.plugin.headernav.right.context" weight="1">
<resource type="velocity" name="view" location="/js/menu.vm"/>
</web-panel>
</atlassian-plugin>
VM file:
#disable_html_escaping()
<script>
function bulkOff(){
var box = document.getElementById("sendBulkNotificationCB");
if(box){
box.checked = false;
}
};
function changeCSS() {
var name = "ghx-board-name"
var x = document.getElementById(name);
if(document.getElementById(name) != null && x.innerHTML == "Test"){
$("span.ghx-extra-field.ghx-fa").css("margin-left", "30px");
$(".ghx-issue .ghx-extra-fields").css("margin-top", "5px");
$(".ghx-issue .ghx-extra-fields").css("display", "flex");
$(".ghx-issue .ghx-flags").css("left", "20px");
$(".ghx-issue .ghx-flags").css("top", "5px");
$(".ghx-issue .ghx-highlighted-fields").css("margin-top", "5px");
$(".ghx-issue .ghx-type").css("left", "5px");
$(".ghx-issue .ghx-type").css("top", "5px");
$(".ghx-issue-content").css("font-size", "12px");
$(".ghx-issue-content").css("margin-top", "3px");
$(".ghx-issue-content").css("padding", "5px");
$(".ghx-issue-content").css("display", "flex");
$(".ghx-issue-content").css("margin-bottom", "-30px");
$(".ghx-issue-fields .ghx-key ").css("margin-left", "30px");
}
};
window.onload = function() {
changeCSS();
bulkOff();
};
</script>