Creating new app versions for Data Center addon using Marketplace REST API

Hello,

Using the Marketplace REST API to create a new version for an app, I now get this error:

{"errors":[{"message":"Sorry! You can no longer publish a new Data Center app with server compatibility. Learn more: https://community.developer.atlassian.com/t/end-of-new-server-sales-resources-and-support-for-the-ecosystem/42325."}]}

I assume it’s related to the changes for server compatibility versions after February 15. But I am not sure how to use the API correctly after this change.

I am using this endpoint:
https://developer.atlassian.com/platform/marketplace/rest/v2/api-group-app-versions/#api-addons-addonkey-versions-post

...
"compatibilities": [
             {
               "application": "jira",
               "hosting": {
                 "dataCenter": {
                   "min": {
                     "build": 940000
                   },
                   "max": {
                     "build": 10040002
                   }
                 }
               }
             }
           ],
                "deployment": {
                "server": false,
                "cloud": false,
                "connect": false,
                "autoUpdateAllowed": false,
                "permissions": [],
                "dataCenter": true,
                "dataCenterStatus": "compatible"
              },
...

Anyone else having these issues or know what I could be doing wrong? :slight_smile:

1 Like