Is it possible to edit plugin parameters using administration web panel?

MB
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.
June 6, 2013

When developing a plugin for atlassian products, usually there is a need for some configuration parameters, related to that plugin only. I've read so far about using atlassian-plugin.xml to store these parameters, using <param> or using plugin .properties file (in src/main/resources).

Does JIRA (or atlassian in general) provide administrators with a way to configure plugin parameters through the web administration panel in contrast to editing files manually?

To make this more clear, when an administrator logs in to the administrative area of the JIRA (for example) and clicks on Plugins (to manage all the installed plugins), the list of all the plugins will be presented with the possibility to check each plugin details. Is there a way to click something in those plugin details to get the simple configuration dialog (hopefully defined in atlassian-plugin.xml file, as a list of fields, with their name/type definitions) for that plugin?

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 6, 2013

Yes, you can include administration panels and code in your addons.

Exactly how you include one depends on the plugin type you are writing, but it's generally as addon panels to the administration screens, rather than via the UPM screens, and each panel for each plugin tends to be different - some plugins simply can't support "a list of fields". You need to define the full chunk of code behind the panel (so the classes it needs, and the velocity macro to draw it, at the very least)

MB
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.
June 16, 2013

Ok, thanks.

Suggest an answer

Log in or Sign up to answer