Custom field rending as textbox

We would like to add a textarea field to a screen. The field is visible, but it is rendered as simple text field - the rending function was not called.

mainifest:

  jira:customField:
    - key: review-notice
      name: Review Notice
      description: Note for testing to the customer
      edit:
        function: editReviewNote
      type: string
      function: viewReviewNote
...
  function:
    - key: viewReviewNote
      handler: index.renderReviewNoteView
    - key: editReviewNote
      handler: index.renderReviewNoteEdit

and the functions:

const ViewReviewNote = () => {
    console.log("here1");
    return (
        <CustomField>
            <Text>
                <TextArea label="Test" />
            </Text>
        </CustomField>
    );
};


const EditReviewNote = () => {
    console.log("here2");

    return (
        <CustomField>
            <Text>
                <TextArea label="Test" />
            </Text>
        </CustomField>
    );
};

export const renderReviewNoteView = render(<ViewReviewNote />);
export const renderReviewNoteEdit = render(<EditReviewNote />);

There are no logs visible. The result:
image

Do you have any ideas how to render this field as a text area?

1 Like

I found a solution for this. A workaround is, to create the field over REST instead of forge.