Class FieldInputValue
java.lang.Object
com.atlassian.servicedesk.api.field.FieldInputValue
Represents a value passed in via the API when creating a Request. Fields
in the Jira platform can support
RestFieldOperations
and hence the input values are JSON ready objects. The object value will
be interpreted with JSON semantics according to the specific field requirements.
So a simple field like summary or number customer field might take String / Integer while other fields like Multi User Picker will take a more complex object that has JSON semantics.
The JIRA / JSM REST documentation has a reference on what field types take what values.
-
Method Summary
-
Method Details
-
withValue
Create a new instance using the supplied value, which is shaped specific to the field being set.- Parameters:
value
- the object value- Returns:
- a
FieldInputValue
instance
-
value
- Returns:
- The value of the field to be set
-
equals
-
hashCode
public int hashCode() -
toString
-