Versions Compared

Key

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

...

Field TypeReturn TypeComments
Checkboxes
Collection<Option>
 
Date Picker
java.util.Date
 

Date Time Picker
java.util.Date
 
Labels
Set<Label>
 
Number Field
Double
 
Radio Buttons
Option
 
Select List (cascading)
Map<String, 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<Option>
 
Select List (single choice)
String
 

Text Field (multi line)
String
 

Text Field (single line)
String
 
URL Field
String
 
User Picker (single user)
User or
ApplicationUser (depending on JIRA version)
 

A lot more custom field types might be available on your JIRA instance, based on the plugins you have installed. The following table shows the return type for the most common "advanced" custom field types:

...

field namereturnsdescription
attachment

Collection<Attachment>

 the collection of attachments to the issue
versions

Collection<Version>

the Affects Version/s field
comment

List<Comment>

a list of all comments for the issue
components

Collection<ProjectComponent>

 


fixVersions

Collection<Version>

 


issuetype

IssueType

 
issuelinks

List<IssueLink>

a list of all inward and outward links
workratio

String

 


issuekey

String

 
subtasks

Collection<Issue>

 


priority

Priority

 


resolution

Resolution

 
status

Status

 


project
Project 
security

Long

security level ID
timeestimate
Long   
timeoriginalestimate
Long   
timespent
Long   
aggregatetimespent
Long   
aggregatetimeestimate
Long   
aggregatetimeoriginalestimate
Long   
assignee
User or
ApplicationUser (depending on JIRA version)
 

reporter
User or
ApplicationUser (depending on JIRA version)
 
description
String 
environment

String

 
summary
String 
duedate
Timestamp 
updated
Timestamp 
created
Timestamp 
resolutiondate
Timestamp 
labels
Set<Label> 
watches

Collection<User> or

Collection<ApplicationUser> (depending on JIRA version)
 

 



Filter by label (Content by label)
showLabelsfalse
max5
spacesJMWEKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("script","groovy") and type = "page" and space = "JMWEKB"
labelsgroovy script

Page Properties
hiddentrue
 
Related issues