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

How to create an project-tabpanel icon for the new Jira sidebar?

Mike Friedrich
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.
April 17, 2015

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? 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Volodymyr Krupach
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.
April 17, 2015

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>
Mike Friedrich
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.
April 17, 2015

I am using {code}<project-tabpanel>...</project-tabpanel>{code}, i will try the param tag inside...

Mike Friedrich
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.
April 17, 2015

doesn't seem to work for project-tabpanel

Mike Friedrich
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.
April 17, 2015

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?

1 vote
Mike Friedrich
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.
April 17, 2015

Got it. Additionally to your answer it also needs <context>jira.browse.project</context> in the web-resource which has the sidebar icon.

TAGS
AUG Leaders

Atlassian Community Events