Save custom field along with the other JIRA custom fields

Sergei_Visotsky September 6, 2019

Hi everyone,

Out company currently want to implement one some functionality which requires a bung of custom fields for JIRA that should be uploaded on JIRA like plug-ins.

The problem I faced when it was needed to save user selected value from the custom field which is a dropdown by itself to the database.

I have tried a huge amount of Java methods described in JIRA  API and nothing helped.

I am holding the value from the Velcity template like that: 

String[] selectedValue = ActionContext.getRequest().getParameterValues("field_id");

This guy works fine but is is impossible to save this value into the database.

There exists a terrible solution to use plain SQL to insert data into the SQL, but it should be painful due to JIRA caches values and consequently the are not being saved, due to this this should be saved using some kind of build-in JIRA API.

Should you help me, please.

 

Kind regards,

Sergei Visotsky

0 answers

Suggest an answer

Log in or Sign up to answer