Forge customfield Type does not perform as expected on transition screens

Hi all

I’m not sure if this is a bug or if I’m doing something wrong.

With my Forge customfield Type.

Use Case
i try to build a customfield with type object.

Manifest code

modules:
  jira:customFieldType:
    - key: cf-type-demo-ui-kit-hello-world
      name: cf-type-demo-ui-kit
      description: A hello world custom field type.
      icon: https://developer.atlassian.com/platform/forge/images/icons/issue-countries-icon.svg
      type: object
      formatter:
        expression: "`${value.label}`"
      function: cfView
      resolver:
        function: resolver
      edit:
        resource: frontend
      contextConfig:
        function: configureContext
  function:
    - key: resolver
      handler: index.handler
    - key: cfView
      handler: index.runView
    - key: configureContext
      handler: index.runContextConfig
resources:
  - key: frontend
    path: frontend/custom-ui/build
    tunnel:
      port: 3000
...

frontend

{ 
....
return  <>
{context.moduleKey == "cf-type-demo-ui-kit-hello-world" ? (
        ["issue-view"].includes(context.extension?.renderContext) ? (
          <CustomFieldTypeEdit context={context} />
        ) : ["issue-create","issue-transition"].includes(context.extension?.renderContext)    ? (
          <CustomFieldTypeCreate translations={t[locale]} context={context} />
        ): <>other issue context</>
}
</>

In issue-view and issue-create it works. but in issue-transition ,it not works.

but

it becomes a textarea.

thanks for help.

Hi @huang ,

the transition screen looked like this for a long time, but Atlassian is working on it and you can enable the new experience in the “labs” section.

Have a look at this: https://community.atlassian.com/t5/Jira-articles/Now-GA-try-the-new-issue-transition-experience-in-Jira/ba-p/2734436

Hope this helps!

Cheers,
paul

Thanks for your reply. I have given up using transition to update custom fields. Maybe the plug-in should make more views to update some custom fields.