Skip to content

[Bug][Customize] Create new field not working #8173

@sstojak1

Description

@sstojak1

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When attempting to create a new field with the Customize plugin, the request returns a 500 status code. Screenshots of the API key and error code are attached.

What do you expect to happen

New field to be created successfully.

How to reproduce

  1. Create a new API key through UI
  2. Run the following curl:
    curl --location 'https://my-devlake-endpoint/api/rest/plugins/customize/issues/fields' \ --header 'accept: application/json' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <my_api_key>' \ --data '{ "columnName": "x_test", "dataType": "varchar(255)", "displayName":"test" }'

Anything else

image
image

Version

v1.0.2-beta3@7cf1a60

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Staleseverity/p1This bug affects functionality or significantly affect uxtype/bugThis issue is a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions