how to display data in a select custom field and get the selected input in the java file ?

Ashish Biswal February 15, 2019

I have a select field in my velocity template

<select name="parent_version">
<option value="1" name="1">1</option>
<option value="2" name="2">2</option>
</select>

Java :-

public class DueDateIndicator extends AbstractJiraContextProvider{

@Override

public Map<String, Object> getContextMap(ApplicationUser applicationUser, JiraHelper jiraHelper) { Map<String, Object> contextMap = new HashMap<>(); {}

how can i get the selected option value in my java file?

Being a newbie to JIRA development Need help!!!!!

0 answers

Suggest an answer

Log in or Sign up to answer