Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Project Administration Web-Sections

srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2012

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.

7 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Daniel Tarpey January 23, 2014

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:

&lt;web-resource key="resources" name="Tutorials Web Resources"&gt;
    &lt;dependency&gt;com.atlassian.jira.jira-project-config-plugin:project-config-global&lt;/dependency&gt;
...
&lt;/web-resource&gt;

Resloved this issue

(I also have the lines Jobin Kuruvilla mentioned in my vm)

0 votes
Daniel Tarpey January 20, 2014

Has this been resolved? I have the same issue.

0 votes
srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2012

Hi Atlassians, Any comments please??

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2012

Try adding these in the header and see if it helps:

&lt;meta name="decorator" content="atl.admin" /&gt;
&lt;meta name="admin.active.section" content="atl.jira.proj.config"/&gt;
&lt;meta name="admin.active.tab" content="your web-item key"/&gt;

srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2012

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>

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2012

Strange, which version of JIRA?

srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2012

JIRA version 4.4.5

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2012

Should have worked. I am not sure what's wrong.

0 votes
srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2012

Hi Atlassians, Any ideas please??

0 votes
srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2012

Any ideas please? I am in bad need.

0 votes
srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2012

Hi Atlassians, Any ideas please??

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events