Connect-on-Forge Confluence macro: is adding write:confluence-file (maps to WRITE) eligible for forge version bulk-upgrade without admin approval?

Hi all,

We maintain a Marketplace app for Confluence Cloud that is currently a Connect-on-Forge hybrid, and we are moving its macro to Forge Custom UI. We want to confirm the rollout path before we commit to a design.

Where we are

  • Production runs one major version (2.x) with about 100 installations. The manifest has app.connect.key, app.connect.remote and a remotes entry, and declares the Connect scopes read:connect-confluence and write:connect-confluence, plus several Forge scopes (for example write:attachment:confluence, read:attachment:confluence, read:content:confluence, write:content:confluence, write:confluence-content).
  • On a development environment we replaced the Connect macro with a Forge macro that reuses the Connect macro key. Existing macros render, open in the editor and save. Removing connectModules and app.connect.authentication was a minor version; removing remotes was a major version. That all matches the docs.

The problem

  • The macro stores a generated PNG as a page attachment. From Custom UI, requestConfluence with PUT or POST on /wiki/rest/api/content/{id}/child/attachment (a FormData body and X-Atlassian-Token: no-check) returns 401 Unauthorized; scope does not match, on pages, blog posts and unpublished pages.
  • The required scopes for that endpoint are write:confluence-file, or read:content-details:confluence together with write:attachment:confluence. We cannot add either without a major version (forge lint reports MAJOR_VERSION_RULE, “Change due to scope modification”).

What we found in the docs and in the community

  • The scope mapping page lists write:confluence-file as WRITE and read:content-details:confluence as READ, which our installations already hold through the Connect scopes.
  • In the thread linked below, an Atlassian reply from February 2026 says a scope change is always a major version, but that installations can be brought to the later version with forge version bulk-upgrade when permissions are not elevated.
  • The versions documentation says the same for “eligible major version updates that don’t require an escalation in privilege”.

Questions

  1. For our situation (production already declares the Connect READ and WRITE scopes, and we would add only write:confluence-file, mapped to WRITE), will the resulting major version be eligible for forge version bulk-upgrade without site admin approval?
  2. The mapping page mentions apps that “opt in to the preview of minor updates”. Do we need to opt in, and how?
  3. Can we check eligibility before deploying to production (for example, does forge version bulk-upgrade start show a “not eligible” reason), or is a dry run possible?
  4. Installations we do not upgrade stay on the current major. Is it correct that they keep working unchanged on the version they are on?
  5. If this path is not available for our case, is there another supported way to store a generated image together with a macro using only the existing scopes?

Thank you. Happy to share manifest details privately if useful.

Related thread: community.developer.atlassian.com/t/understandin…-mappings/99114

Addendum: On our development environment, forge version bulk-upgrade moved the installation to the new major with write:confluence-file without any admin step, and printed no eligibility information. Two follow-ups: (1) For a Marketplace-listed app, do we also need to publish a new Marketplace listing version after adding a scope, and can that block the bulk upgrade? (2) Is there any way to see per installation whether the upgrade will be applied without admin approval before we start it in production?

Hi @stepashka,

I reproduced this with a minimal Connect-on-Forge Confluence macro app with your scopes (read:connect-confluence, write:connect-confluence, read:attachment:confluence, write:attachment:confluence, read:content:confluence, write:content:confluence, write:confluence-content), then deployed a version that adds write:confluence-file.

Yes. Any scope change makes a new major version, which is why forge lint reports MAJOR_VERSION_RULE and forge deploy asks you to confirm. But write:confluence-file maps to WRITE, which write:connect-confluence already grants in your existing permissions set, so it doesn’t elevate permissions. That’s the “Addition of Forge-specific OAuth 2.0 scopes that inherit permissions already granted by a Connect scope the customer has already accepted” row in the update criteria. Installations don’t move on their own; you start the upgrade with forge version bulk-upgrade start, and no admin action is needed. In my test with your scopes, the bulk upgrade moved installations as expected.

Not that I’m aware of.

There’s no dry run, but you can see eligibility before you confirm anything. Run forge version bulk-upgrade start --verbose and pick the source version. The verbose output then shows upgradeableByRollout: true or false for each target version. This is the same check the upgrade itself runs. forge version compare also shows exactly what changed between two versions, but doesn’t help explain the scope nuances :frowning:

The rules are the same in every environment, so you can deploy the change to development or staging first, check there, and expect the same result in production.

Yes. Existing Forge versions keep working unchanged on the major version they’re on.

Not that I know of, but adding a scope isn’t a problem here as discussed above. Besides write:confluence-file, you could store the image in Forge Object Store instead of as a Confluence attachment. That needs storage:app, and adding that scope to the same test app was also eligible for bulk upgrade without admin approval.

You don’t need a new listing version. You can start the bulk upgrade as soon as the new version is deployed to production; see Distributing an app update to existing installations. For a paid app, also make sure the licensing information stays the same between the two major versions, or the upgrade won’t be eligible.

There’s no per-installation view. Eligibility is decided per pair of versions, so every installation on the source version gets the same answer. Use the check in answer 3; the interactive prompts also show how many installations are on each version.

Let me know if any of this is unclear and I can chase up some SMEs.

Cheers,

Mitch

Thanks for the prompt and detailed reply.