@PublicApi public class FieldInputValue extends Object
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.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
Object |
value() |
static FieldInputValue |
withValue(Object value)
Create a new instance using the supplied value, which is shaped specific to the field
being set.
|
public static FieldInputValue withValue(Object value)
value
- the object valueFieldInputValue
instancepublic Object value()
Copyright © 2023 Atlassian. All rights reserved.