Last updated Feb 27, 2018

Rate this page:

Upgrading and versioning cloud apps

You can upgrade your app any time once it's listed in the Marketplace as either an approved public app or a private listing.

Almost all changes you make to your app will be to code inside your app's web app. For example, tweaking the look of a web panel, adding a configuration option or catching a previously unhandled exception can all be done by writing and deploying new code to your servers. Users see these changes as soon as you update your web app.

In many cases (e.g., catching an exception or adding a configuration option) there isn't an immediate reason why end users should be aware of the change. When you change your descriptor file, we automatically update your version and build number in the Marketplace.

Automatic app polling and versioning

We automatically detect updates to Atlassian Connect apps with a polling service. We poll the app descriptor URL that you included when you submitted your listing every minute. When we detect a change, we automatically update your app in the Atlassian Marketplace with a new version. The way we increment your version number depends on the changes made to your descriptor. 

We poll and update your app so that you can easily release fixes and new features, without having to manually create new version entries on Marketplace. We want to ensure that customers get the latest version of your app with as little delay as possible Connect apps should seem like web services, not versioned software. 

When you change your app descriptor, these changes are automatically deployed to customer instances within a few hours--unless they require manual customer approval. Here's how it works:

automatic app polling and versioning

Major, minor, and micro version update definitions

Updates are published to the Marketplace within a few minutes of detecting changes from your Atlassian Connect descriptor. Customers automatically receive updates via the UPM within six hours. Any change to your service that does not alter your app descriptor will be immediately available to users and will not result in a new version on Marketplace.

We automatically increment the version for your app as follows:

  • The major version is incremented (e.g., from 1.2.3 to 2.0.0) when you specify an API version update (e.g., from 1.0 to 2.0). The new major version matches the API version listed in your descriptor.
  • The minor version is incremented (e.g., from 1.2.3 to 1.3.0) when you specify increase/changed scopes, and/or when you update licensing from free to paid. Customers must manually approve updates for minor version updates.
  • The micro version is incremented (e.g., from 1.2.3 to 1.2.4) when you make any other descriptor changes not included above that do not require manual approval.

Automatic updates

If the changes do not require manual customer approval, they are automatically deployed to all customer instances within 10 hours:

Our polling service uses user-agent Marketplacebot. You can search for this user-agent in your access logs to distinguish normal traffic from our polling service.

Changes that require manual customer approval

Even though your app is automatically updated in the Marketplace, certain scenarios require customers to manually approve your app's update in the UPM. These changes correspond to minor version updates in the table above. In these cases, we automatically send emails to the product administrator so they can approve and update the app.

These scenarios require manual customer approval:

  • Your listing changes from free to paid: Your change triggers a Marketplace approval. Existing customers need to approve the change to start paying for your app, otherwise they will need to uninstall it.
  • Your listing involves additional scopes: Marketplace updates happen automatically (no approval necessary), but customers need to approve the changes to continue using your app.

Before the approval, those customers continue to use the older version of your descriptor. If you can plan ahead, it's a good idea to isolate those changes from any other changes in functionality.

What this means for your app

If the new version of your app is backward compatible (if it is able to handle requests from instances who have an older version of the descriptor) the upgrade will be transparent. All customer instances will be upgraded over a period of up to 10 hours.

However, if the new version of your app is not backward compatible, you should make sure that your solution caters to supporting both the old and the new version of the app:

  • For up to 10 hours (or a day to be safe) if the changes do not require manual customer approval.
  • If the changes require customer approval, until administrators for all instances have approved/rejected the changes.

Viewing automatically added versions

You can view apps in the Marketplace the same way you manage other app versions: 

  1. Log in to with your vendor account.
  2. Click Manage vendor account from the profile menu in the upper right.
  3. Click your app's name from the list.
  4. Click Versions in the horizontal navigation bar.
  5. You'll see updates from Marketplace Hub [Atlassian]: hub versions

Rate this page: