1
0
Fork 0

Add custom field allowed values example to readme

master
Kyle Chaplin 2013-09-19 20:22:55 -05:00
parent 7b27bcb9be
commit 10acce0800
1 changed files with 5 additions and 0 deletions

View File

@ -133,6 +133,11 @@ public class Example {
);
for (CustomFieldOption cfo : cfselect)
System.out.println("Custom Field Select: " + cfo.getValue());
/* Print out allowed values for the custom multi-select box. */
List<CustomFieldOption> allowedValues = jira.getCustomFieldAllowedValues("customfield_5678", "TEST", "Task");
for (CustomFieldOption customFieldOption : allowedValues)
System.out.println(customFieldOption.getValue());
/* Set two new values for customfield_5678. */
issue.update()