The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Save custom field along with the other JIRA custom fields

Sergejs Visockis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.