User parameters for plugin

Mik March 25, 2013

Hi Guys

I have simple own plugin (Servlet module) for Jira 5.2.x

and I need add 3 parameters some can be set by jira administrator.

What is the best way to do it?

Should I make special panel for it or is there any quick way?

Thanks

Mik

2 answers

0 votes
Boris Georgiev _Appfire_
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.
July 7, 2013

You can use ActiveObjects or the SAL Plugin Settings to persist the settings values. And as Timothy said you'll need a configuration screen in order to allow admin users to change these values.

0 votes
Timothy
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.
March 25, 2013
  1. Pull the value from somewhere
  2. Create a configuration screen for admins to store the value and read this value

I don't think that the init-param will work as admins would not have access to that value.

Suggest an answer

Log in or Sign up to answer