forge lint fails when using "type: object" for custom fields and custom field types

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      forge lint fails when using "type: object" for custom fields and custom field types modules.

      Object is one of the valid options for type in these modules (see documentation).

      Steps to Reproduce

      1. create a custom field app with a custom field or a custom field type template
      2. update the manifest to use "type: object

      Expected Results

      The validation allows type: object" to be set.

      Actual Results

      The validation fails with the following error:

      error    jira:customField required properties are 'description, name, type, key' or 'description, name, type, view, key' or 'description, formatter, name, type, key'  valid-document-required
      
      error    jira:customField property type 'object' allowed values are 'number', 'string', 'user', 'group', 'date', 'datetime'  valid-document-required 

      Workaround

      When using "type:object" for custom fields, the property `view.formatter.expression` must also be set.

            Assignee:
            Unassigned
            Reporter:
            Caterina Curti
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: