1
0
Fork 0

Merge pull request #6 from chaplinkyle/bug-fix-2

Add custom field allowed values example to readme
master
Kyle Chaplin 2013-09-19 18:23:37 -07:00
commit 8093df9974
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()