Hello there,
I am trying to add a jira:customFieldType
with UI Kit. Documents are confusing as always unfortunately. In the module description Object
data type is listed as a valid type:
However, in the example, jira:customField
is used. How can I add a custom field type with object data type?
In the same page there are also some indicators that Object
When I try to use it, it gives me the following error:
jira:customFieldType property type 'object' allowed values are 'date', 'datetime', 'group', 'number', 'string', 'user'
According to the example here this must be correct:
modules:
jira:customFieldType:
- key: aip-assets-field-type
render: native
name: Forge Assets Type
description: A custom field with forge
type: string
formatter:
expression: "This string is used to represent the value if the rendering function is not provided, or where the rendering function is not supported."
readOnly: false
resource: cf-view
resolver:
function: cf-resolver
function:
- key: cf-resolver
handler: ?
resources:
- key: cf-view
path: src/frontend/custom-field-type/index.jsx
However, I couldn’t figure it out how to handle function with this example? Where is handler here?
Kind regards,