Atlassian Connect page location jira.project.sidebar.navigation

Atlassian Connect allows to place a link to content in jira.project.sidebar.navigation, which is where all the pages like Backlog, Reports, etc. are:

Screen Shot 2016-06-22 at 14.48.36.png

I am able to place a link there, with an icon, to a page created by my addon. However, when the page loads, it takes full screen width, i.e. the sidebar navigation is not visible anymore.

How do I load the new page so that the sidebar is visible and the new page icon is selected like Backlog icon is selected in the screenshot above?

1 answer

1 accepted

1 vote
Answer accepted

Please see the following pages for how to use the location jira.project.sidebar.plugins.navigation.

Atlassian Connect also has a Tab Panel module, but it is deprecated as of JIRA 7.0.

Thank you, just what I was looking for.

@Einar Pehrson, I have successfully implemented following the guide in your links. However, one issue that remains is that when my page loads, on the sidebar its icon is not shown as selected (bottom one in the screenshot); in fact, none of the icons/tabs are. How can I fix this?

Screen Shot 2016-06-23 at 11.36.06.png

When you say "when my page loads", you mean at the URL /projects/{project.key}?selectedItem=your-addon__your-panel? If so, I'm not sure why that would be, it may be a bug, and I would recommend you to raise one in the ACJIRA project on ecosystem.atlassian.net.

Hi @Einar Pehrson. Here's our json (search for jira.project.sidebar.plugins.navigation) - do you see anything wrong there that would cause the tab not showing as selected?

Yes, @Arturas Rimkus.

The value for selectedItem in your web item URL should be fontlog__frontlog-backlog-link-to-panel. That way JIRA will know to highlight that web item in the sidebar when the URL loads.

JIRA will then look for web panels at the location with that same value, fontlog__frontlog-backlog-link-to-panel, so you need to update the location of your web panel accordingly.

I think the tutorial could be clearer on this.

Your suggestion worked, thank you very much smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

21 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you