-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
4.4 - EAP
-
None
-
4.04
-
Create a custom field of type Multi Select or Select List
Create an issue and choose some non-empty values for the custom field.
Run the following java code (with the obvious changes).
JiraSoapServiceServiceLocator l = new JiraSoapServiceServiceLocator();
JiraSoapService service = l.getJirasoapserviceV2( new URL("YOUR_JIRA_URL_HERE/rpc/soap/jirasoapservice-v2?wsdl')"));
String auth = service.login("YOUR_USER_NAME_HERE","YOUR_PASSWORD_HERE");
service.getIssueTypes(auth);
RemoteIssue issue = jrc.getService().getIssue(auth,"YOUR_ISSUE_KEY_HERE");
RemoteCustomFieldValue[] rcfv = issue.getCustomFieldValues();
for (int i=0; i<rcfv.length; i++)
It should print out the value that you selected for the custom field (plus the values of other custom fields), but instead it prints out some kind of primary key information that presumably corresponds to Jira's internal representation for these fields. The code works on Jira 4.1.2. I haven't tried it on intermediate versions, but it fails on Jira 4.4-rc2.
- duplicates
-
JRASERVER-25034 Multi-select custom field value handling incompatible with previous releases
- Closed