I am creating a project-tabpanel (extended ProjectTabPanel).
How do i create an icon for the new JIRA 6.4 side bar?
Do i need to add a special resource entry to the panel definition in the atlassian-plugin.xml?
Community moderators have prevented the ability to post new answers.
Hi Mike:
Here is what I see in JIRA 6.4.2 sources for a report panel:
<!-- report page --> <web-item key="report-page" section="jira.project.sidebar.navigation" weight="400"> <label key="project.page.report.title"/> <link>/projects/$pathEncodedProjectKey?selectedItem=com.atlassian.jira.jira-projects-plugin:report-page</link> <param name="iconClass" value="aui-icon-large agile-icon-report"/> </web-item> <web-panel key="report-panel-key" location="com.atlassian.jira.jira-projects-plugin:report-page"> <resource name="view" type="soy" location=":project-subpages-soy/JIRA.Project.Report.Templates.page"/> <context-provider class="com.atlassian.jira.projects.page.report.ReportPageContextProvider"/> </web-panel>
I am using {code}<project-tabpanel>...</project-tabpanel>{code}, i will try the param tag inside...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
doesn't seem to work for project-tabpanel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created a web-item now. I have my link, but the icon does not show (resource is not loaded). Do you know the resource context name for the section jira.project.sidebar.navigation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got it. Additionally to your answer it also needs <context>jira.browse.project</context> in the web-resource which has the sidebar icon.
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.