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

Problems when showing a new page with system.top.navigation.bar web-item

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 13, 2012

I added a new Menu item to the top navigation bar of JIRA to render a new page on click of the web item. When i click that link, it is calling the action class and rendering the vm file. But the problem is the menu items are not rendering. How to embed my page with in the work area? Do i need to add any meta information for the vm page? Can some one advise please?

<web-section key="Calendarsection" name="Calendar Dropdown"

location="calendar-link" >

<label>Calendar</label>

<tooltip>Calendar Report</tooltip>

<condition class="com.atlassian.jira.plugin.webfragment.conditions.UserLoggedInCondition" />

<link >/ReportViewAction.jspa</link>

</web-section>

<web-item key="calendar" name="Calendar"

section="system.top.navigation.bar" >

<label>Reports</label>

<tooltip>Reports</tooltip>

<!--<condition class="com.atlassian.jira.plugin.webfragment.conditions.UserLoggedInCondition" /> -->

<link linkId="calendar-link">/ReportViewAction.jspa</link>

</web-item>

{code}

vm file

-----

<html>

<head>

<title>Calendar</title>

</head>

<body>Welcome to Calendar Report

</body>

</html>

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
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 14, 2012

Just added /secure to the link and it is coming with JIRA UI standards.

<link linkId="calendar-link">/secure/ReportViewAction.jspa</link>

TAGS
AUG Leaders

Atlassian Community Events