Hello,
I'm new to JIRA development and I'm following this page on adding plugins to the Admin section, but it seems the documentation is no longer correct? (https://developer.atlassian.com/jiradev/jira-platform/jira-architecture/web-fragments/administration-area-locations#AdministrationAreaLocations-predfinedplugindropdownmenusections)
I've tried adding a Web Section module with location="admin_plugins_menu" but I cannot see the web section anywhere when I run JIRA (version 7.2.7). In fact, on my Administration page I don't even see a "Plugins" menu item anywhere.
But later on that page it says:
To find the values of JIRA's existing web items and sections for the system.admin
location, view the following file in JIRA's source archive:<source-installation-directory>/jira-project/jira-components/jira-core/src/main/resources/webfragment/system-admin-sections.xml
So I managed to get the source code for JIRA 7.2.7 and searched in it's entirety for the system-admin-sections.xml file but it does not exist.
How does one figure out what possible locations are available to use when creating plugins?
Thanks,
victor
Hello,
The easiest way to install Adaptivist ScriptRunner plugin and use fragment locator. You can read more here
https://scriptrunner.adaptavist.com/4.3.9/jira/CustomisingUI.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your help Alexey. I would just like to add that I was unable to find the file:
<source-installation-directory>/jira-project/jira-components/jira-core/src/main/resources/webfragment/system-admin-sections.xml
because I thought I had the complete source code, but I did not. Once I confirmed I had the complete source code I searched again and did find this file, and within this file it did contain the location names of different areas in the admin section which you could analyze to use for injecting your own web-sections and/or web-items in those areas.
This would be the "free" solution to this problem. The Adaptavist Scriptrunner plugin is very nice but it is a paid solution, just fyi. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.