I am trying the jira module customFieldType (use forge create), and execute the forge deploy and forge install, both successful without any error.
After that I go to Issues menu, Custom fields menu and then click the Create custom field button.
In the Select Field Type pop up window I cannot find the custom field type that I created.
Is there any other steps that I might be missed?
The apps is from Forge’s standard jira-custom-field-type template, and I did not do any modification on the code.
This is from the manifest file:
modules:
jira:customFieldType:
- key: fieldtype-hello-world
name: FieldType
description: A hello world custom field type.
icon: https://developer.atlassian.com/platform/forge/images/icons/issue-countries-icon.svg
type: string
validation:
expression: value == null || !!value.match(configuration?.regexp || "^[A-Za-z]+$")
errorMessage: The value must consist only of letters
function: main
edit:
function: edit
contextConfig:
function: configureContext
function:
- key: main
handler: index.runView
- key: edit
handler: index.runEdit
- key: configureContext
handler: index.runContextConfig
app:
id: ari:cloud:ecosystem::app/38ea76b3-72f2-4313-b2de-d9d151f1ee01
Thanks.
Regards,
Benny.