Entity property are not sent as part of webhooks request body

I have this in my atlassian-connect.json file

    {
        "event": "jira:issue_updated",
        "url": "/issue-updated",
        "propertyKeys": [
            "com.hervinhio.plugins.jira.rattatat.enabledForProject",
         ]
    },

The property is well defined in the descriptor as well. Now when I receive a request through the hook I have defined,

  {
    timestamp: 1657110753769,
    webhookEvent: 'jira:issue_updated',
    issue_event_type_name: 'issue_updated',
    user: {
      ...,
    },
    issue: {
      id: '10104',
      ...,
    },
    changelog: { id: '11093', items: [ [Object] ] },
    properties: []
  }

As you see the properties array is empty and that’s my problem. Any idea ?

4 Likes