Custom Field Types

Hey guys o/

We are currently evaluating Forge for our next app that we want to build. Having the possibility to implement custom field types would help us a lot in our venture. We have seen something being mentioned here regarding custom field types: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-rest-api-3-field-post

Is this just a typo or a sneak peek for whats about to come? :wink: Is there a roadmap for that somewhere?

Thank you in advance :slight_smile:

2 Likes

I think the Custom field types card on the Atlassian platform for developers roadmap covers this:

A custom field type is for a custom field what a class is for an object in Java (or most other object-oriented languages). Or, in other words, it’s a template from which many actual fields can be created. You can have one custom field type, and many different custom fields of that type.

We will create a new module type for apps that they will use to declare new custom field types. It would look something like this in the manifest:

modules:
jira:customFieldType:

  • key: scripted-custom-field
    name: Scripted Field
    descrition: A custom field showing data returned by a script
    configuration:
    function: configureField
    view:
    function: renderView

You can watch the card for updates, though please note that there are only few comms on the cards and they are not always synched with status changes in a timely fashion - I still consider the board a highly valuable overview of the Atlassian team’s current priorities and activities, and it also gets better over time, see Enhancements to our ecosystem roadmap for developers!.

1 Like

Turns out you are in luck @martin.gypser and that has been a sneak peek indeed, today’s Forge release 2021-05-04 delivers jira:customFieldType as a beta module (similar to the jira:customField being beta still as well).

The jira:customFieldType link from the changelog has no target yet, i.e. the docs have not been published, but you can already explore this on your own by means of the resp. jira-custom-field-type-ui-kit app template :slight_smile:

3 Likes

Hihi :slight_smile: Thank you for your replies :slight_smile: Docs are also available now right here :slight_smile: https://developer.atlassian.com/platform/forge/manifest-reference/modules/#jira-custom-field-type--beta- Really excited and looking forward to get my fingers on that one :slight_smile: