How to find possible plugin locations in Admin section?

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

2 answers

1 accepted

Accepted Answer
0 votes
Alexey Matveev Community Champion Nov 09, 2017

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

Thank you Alexey!

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.  :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

467 views 7 5
Join discussion

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