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>
Community moderators have prevented the ability to post new answers.
Just added /secure to the link and it is coming with JIRA UI standards.
<link linkId="calendar-link">/secure/ReportViewAction.jspa</link>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.