Hi Atlassian Connect developers,
As part of the move to CCP billing, we’re making licensing fields more proactively available. As of today, entitlmentId
and entitlementNumber
will now be fields on the /installed
lifecycle event for Connect cloud apps.
Example payload:
{
"key": "installed-addon-key",
"clientKey": "unique-client-identifier",
"sharedSecret": "a-secret-key-not-to-be-lost",
"serverVersion": "server-version",
"pluginsVersion": "version-of-connect",
"baseUrl": "https://example.atlassian.net",
"displayUrl": "https://issues.example.com",
"displayUrlServicedeskHelpCenter": "https://support.example.com",
"productType": "jira",
"description": "Atlassian Jira at https://example.atlassian.net",
"serviceEntitlementNumber": "SEN-number",
"entitlementId": "Entitlement-Id",
"entitlementNumber": "Entitlement-Number",
"eventType": "installed"
}
The goal is to reduce the time for partners to access vital information and the number of API calls developers will need to make.
Unlike SEN (supportEntitlementNumber
), which was the predecessor to these fields, entitlementId
and entitlementNumber
will be readily available for the relevant installation before the /install
event is sent.
Please note that the addons API may still be needed for sites using our pre-CCP billing system. But as more sites transition to CCP, the relevant licensing fields delivered through the events should drastically reduce the need to rely on this endpoint.
For more details on this event and the new fields, see this documentation.