Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field TypeReturn TypeComments
Checkboxes
Collection<com.atlassian.jira.issue.customfields.option.Option>
 
Date Picker
java.util.Date
 
Date Time Picker
java.util.Date
 
Labels
Set<com.atlassian.jira.issue.label.Label>
 
Number Field
Double
 
Radio Buttons
com.atlassian.jira.issue.customfields.option.Option
 
Select List (cascading)
Map<String, com.atlassian.jira.issue.customfields.option.Option>

The key in the map represents the field depth of the select list. A key of null is the first level, and a key of "1" (the string "1") is the second level select list.

Select List (multiple choices)
Collection<com.atlassian.jira.issue.customfields.option.Option>
 
Select List (single choice)
com.atlassian.jira.issue.customfields.option.OptionString
 
Text Field (multi line)
String
 
Text Field (single line)
String
 
URL Field
String
 
User Picker (single user)
com.atlassian.crowd.embedded.api.User or
com.atlassian.jira.user.ApplicationUser (depending on JIRA version)
 

...