Hello,
i got a problem I recently upgraded my JIRA Server from 6.0.6 to 6.3.15.
Now it seems on of my plug-ins dont work correctly any more.
In the Plugin i want to show some table.
generateProjectOverview: function () { jQuery.ajax({ url: contextPath + this.tableServletUrl, type: "GET", data: { "userKey": this.userKey, "projectKey": this.projectKey, "versionId": jQuery("#versionListBox").val(), "table": this.projectOverviewTableId, "depth": jQuery("#depthListBox").val() }, beforeSend: function () { jQuery("#devReportLoadingMessage").fadeIn(0); }, success: function (response) { jQuery("#devReportLoadingMessage").fadeOut(0); jQuery("#project-overview-container").prepend(response).slideDown("slow"); }, error: function () { alert("Could not generate the Project Overview. :-("); } }); },
the response holds an html response from project-overview.vm
<html> <head> $webResourceManager.requireResource("com.btcag.devreport:stylesheet-resources") $webResourceManager.requireResource("com.btcag.devreport:image-resources") <meta name="decorator" content="blank"/> </head> <body> <div id="dev-report-wrapper">
now it seems so that every time <meta name="decorator" content="blank"/> is loaded.
The JIRA on-top dropdown menus create double-clicks, and closes almost instantly.
In difference the JIRA 6.3.15
loads
http://jiradevsystem:2990/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_UK-u7vici/6346/4/6.3.15/_/download/resources/com.atlassian.jira.jira-header-plugin:jira-header/init-dropdown2.js?_=1430720797637
and the JIRA 6.0.6 loads only batch.js and the detect timezone plugin.
Community moderators have prevented the ability to post new answers.
I think I found it. The Response thou the new response was to long. Now I include the necessary css where the anchor is. Works fine on fist sight,
It seems like the new response is to long. I Trim it and only left this Codeblock in the Header. It worked.
The CSS File should come with the $webResourceManager.requireResource("com.btcag.devreport:stylesheet-resources")
$webResourceManager.requireResource("com.btcag.devreport:stylesheet-resources") $webResourceManager.requireResource("com.btcag.devreport:image-resources") <meta charset="utf-8"> <link media="all" href="/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_UK-u7vich/6346/4/2.1.7.6/_/download/resources/com.btcag.devreport:stylesheet-resources/devreport.css" rel="stylesheet" type="text/css">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.