I have a question about menus in the new pages. When I have two almost identical pages, lets say Page 1 and Page 2
<form action="secure/admin/Action2.jspa" method="post" class="aui">
<!--some form fields-->
<button class="aui-button aui-button-primary">Goto Page2</button>
Now I am trying to create configuration pages for a plugin. So I have placed a new item into the menu and that item links to /secure/admin/Action1.jspa, which displays page1. From page1, I submit a form with /secure/admin/Action2.jspa and display page2.
The question is, even though there is no content like
<meta content="admin" name="decorator" />
on either of the pages, they each display in a different way. Page 1 is displayed in the Addons menu with the sidebar and the plugin administration link highlighted.
But, when I go to page2 from this page, the sidebar menu disappears.
How do I get the sidebar back on page2?
Thank you, this is exactly what I was looking for. Is there some list of the existing locations? I have looked at this https://developer.atlassian.com/jiradev/jira-platform/jira-architecture/web-fragments/administration-area-locations but it seems very outdated, as the structure of the admin menu is completely different now from the screenshots.
For example, if I wanted to have Issues - Custom Fields menu position?
I have tried this
<meta name="admin.active.section" content="admin_issues_menu/custom_fields/"/>
which gives me the Issues menu correctly, but I do not know the key for the Custom Fields link.
I look at all available contexts in Adaptivist Scriptrunner. There is the fragment locator functionality which shows you all available contexts. You can read more here
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot