Hi, I added a new Web-Section and a Web-Item for showing some meta data. The problem i observed is when this page renders, project heading is not showing. I checked in the view source and found that project config header section is empty.
<div id="admin-headers"> <div id="project-config-header">...........</div></div>
Any ideas please?? Please find the attached screenshots for more information.
Community moderators have prevented the ability to post new answers.
In my case adding the following to my servlet code:
request.setAttribute("com.atlassian.jira.projectconfig.util.ServletRequestProjectConfigRequestCache:project", project);
adding this to the vm file:
$webResourceManager.requireResource("tarps.plugins.jira.tutorials.Tutorials:resources")
and this to my atlassian-plugin.xml file:
<web-resource key="resources" name="Tutorials Web Resources"> <dependency>com.atlassian.jira.jira-project-config-plugin:project-config-global</dependency> ... </web-resource>
Resloved this issue
(I also have the lines Jobin Kuruvilla mentioned in my vm)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atlassians, Any comments please??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try adding these in the header and see if it helps:
<meta name="decorator" content="atl.admin" /> <meta name="admin.active.section" content="atl.jira.proj.config"/> <meta name="admin.active.tab" content="your web-item key"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jobin,
It is already there. I tried with atl.admin also but not getting.
<head>
<title>$i18n.getText("version.admin.label")</title>
<meta name="decorator" content="admin" />
<meta name="application-base-url" content="$applicationProperties.getBaseUrl()">
<meta name="projectKey" content="$project.getKey()"/>
<meta name="projectId" content="$project.getId()"/>
<meta name="admin.active.tab" content="xproduct-admin-link"/>
<meta name="admin.active.section" content="atl.jira.proj.config"/>
$webResourceManager.requireResource("com.atlassian.plugins.tutorial.xproduct-admin-ui-plugin:resources")
</head>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Strange, which version of JIRA?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA version 4.4.5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should have worked. I am not sure what's wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atlassians, Any ideas please??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any ideas please? I am in bad need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atlassians, Any ideas please??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.