In custom-Field plugin development, we create a custom field as it should appear as below (which have multiple input fields):
CutomFieldName: <Input Textbox> <Input Textbox> <Input Textbox> <sum of input 1,input 2 & input 2>
I am following the tutorial Creating a Custom Field in JIRA to create the plugin.
Below, I have updated edit.vm
as below to include additional two text input but it did not work... Just appear additional textbox... (I m not sure what should be other change require).
#customControlHeader ($action $customField.id $customField.name $fieldLayoutItem.required $displayParameters $auiparams)
<input class="text" id="$customField.id" name="$customField.id" type="text" value="$textutils.htmlEncode($!value)" /><input class="text" id="$customField.id" name="$customField.id" type="text" value="$textutils.htmlEncode($!value)" /><input class="text" id="$customField.id" name="$customField.id" type="text" value="$textutils.htmlEncode($!value)" />
#customControlFooter ($action $customField.id $fieldLayoutItem.fieldDescription $displayParameters $auiparams)
Can any one suggest me how i should update this to achieve additional field inside a customfield and preserver different values and get total of them.