Customfield's object data convert to a string in a webhook changelog

Hello

I implemented two types of customfield with an object as data type. Schemas are below.

      schema:
        properties:
          key:
            type: string
          view:
            type: string
      schema:
        properties:
          key:
            type: array
            items:
              type: string
          view:
            type: array
            items:
              type: string

But the object is converted to a string in the webhook’s changelog. See imagines below.


In other places of webhook JSON and REST JSON the data is displayed as an object.
And my general questions: Why? Is it a bug?

Hi, @Alex_Basatski,

It’s not a bug. In changelogs, all values of all fields are returned as strings.

1 Like

Thank you for your answer @kkercz . Could you tell me if the changelog of Jira Server/DC has the same implementation?

Yes, it should be the same there.

1 Like