java.lang.Object | |||
↳ | com.atlassian.jira.issue.fields.AbstractField | ||
↳ | com.atlassian.jira.issue.fields.AbstractOrderableField<V> | ||
↳ | com.atlassian.jira.issue.fields.CommentSystemField |
Defines a comment in Jira.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CREATE_COMMENT | ||||||||||
String | EDIT_COMMENT | ||||||||||
String | PARAM_COMMENT_ID | ||||||||||
String | PARAM_COMMENT_LEVEL | The parameter name of the user-chosen group or role-type "level" for restricting the comment visibility | |||||||||
String | PARAM_COMMENT_OBJECT | ||||||||||
String | PARAM_COMMENT_PROPERTY | ||||||||||
String | PARAM_GROUP_LEVEL | The parameter name of the user-chosen group-type "level" for restricting the comment visibility | |||||||||
String | PARAM_LEVEL_PRESENT | ||||||||||
String | PARAM_ROLE_LEVEL | The parameter name of the user-chosen role-type "level" for restricting the comment visibility | |||||||||
String | REMOVE_COMMENT |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns lower level Information about the field.
| |||||||||||
Return The default data for this system field.
| |||||||||||
Return a FieldJsonDataPair containing a json representation of the raw data for this field, and if required, a json representation
of the rendered data for easy display.
| |||||||||||
Return a description of the shape of this field when represented as JSON.
| |||||||||||
Gets the value stored for this field on the provided issue.
| |||||||||||
Defines if a field determines itself as renderable.
| |||||||||||
Extracts comment values from the fieldValuesHolder and places them in another map to be used by the WorkflowManager.
| |||||||||||
Sets the value as a modified external field in the issue so that this
field will be updated along with all the other modified issue values.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Defines the object that will be passed through to the create method
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
The parameter name of the user-chosen group or role-type "level" for restricting the comment visibility
The parameter name of the user-chosen group-type "level" for restricting the comment visibility
The parameter name of the user-chosen role-type "level" for restricting the comment visibility
JSONException |
---|
Returns lower level Information about the field. This information contains allowed values and/or the autocomplete url
fieldTypeInfoContext | the FieldTypeInfoContext contains context information that is relevant to generate the FieldTypeInfo
|
---|
Return The default data for this system field. May be null if there is no default.
issueCtx | Issue (This should really only need to be an issue context, but for historical reasons we need an issue object. |
---|
Return a FieldJsonDataPair containing a json representation of the raw data for this field, and if required, a json representation of the rendered data for easy display.
issue | to get field data from |
---|---|
renderedVersionRequired | whether the use requested the return of rendered/pretty data as well as raw data |
fieldLayoutItem | field layout for this field. Will only be supplied if the field is also an ordereable field. |
Return a description of the shape of this field when represented as JSON.
Gets the value stored for this field on the provided issue.
issue | identifies the issue that will contain the value for this field. |
---|
Defines if a field determines itself as renderable. This is needed because of the way that customfields are implemented. Since all the real work is done in CustomFieldTypes, if we want to treat system fields and custom fields the same way in the renderers then all custom fields must implement this interface. We therefore provide this method so that the CustomFieldImpl can delegate to the CustomFieldTypes to determine if a given custom field is renderable.
Extracts comment values from the fieldValuesHolder and places them in another map to be used by the WorkflowManager. These additional inputs are required by the CreateCommentFunction to successfully create a comment.
fieldValuesHolder | a map containing comment values from a BulkEdit. Obtained from BulkEditBean. |
---|---|
additionalInputs | a map to be passed onto a WorkflowManager. |
FieldValidationException |
---|
Sets the value as a modified external field in the issue so that this field will be updated along with all the other modified issue values.
Defines the object that will be passed through to the create method
params | is a representation of the request params that are available |
---|