Installation

Legroom adds retention rules and a storage report to Confluence Cloud. On the Atlassian Marketplace its full name is Legroom: Version and Trash Retention Rules for Confluence.

Before installing

Install

  1. Open the listing of the app on the Atlassian Marketplace and select Try it free, or find the app in the Marketplace view inside Confluence.
  2. Choose the site, read the permissions and confirm.

Where the app appears

Page Who sees it Where
The admin page Confluence administrators Confluence settings → Legroom
The space page Administrators of the space Space settings → Integrations → Legroom

The first visit

A person who opens a page of the app for the first time is asked to allow access: the app may then act on their behalf. Atlassian shows every permission of the app in that question. The app uses the permission of the person for one thing only: it asks Confluence whether they are an administrator before it answers requests from the page. A yes for a Confluence administrator is reused for up to a minute; on the page of a space the question is asked with every request.

What happens after installation

  1. The first call creates the tables of the app. A page opened in that moment can take up to 20 seconds to load, or show “The app is still setting up” and “Reload the page in a minute”; it works when reloaded.
  2. The app reads the site into its index: spaces, pages, blog posts and files, with sizes, version numbers and dates. This is the first read. It starts by itself at a moment picked at random within 15 minutes of the first run of the app, which follows the installation, and the timer that wakes the app every five minutes begins it then: within about 20 minutes of the installation in all. Read the site now, under Support tools on the Overview tab, starts it at once.
  3. Until the first read starts, the message above the tabs says “The site has not been read yet” and when reading starts; while it reads, it says “The site is being read” and how many pages and files it has read. A license or pause message takes that place when needed. When the whole site has been read and its figures counted, the Overview tab shows what can be freed.

A small site is read in one run, within a minute. A large site takes several runs: the app limits what it asks of Confluence to 50,000 points of the REST quota per hour, which reads up to about 48,000 pages and files. A site of 50,000 pages and files takes an hour at best. Without an active license the limit is 3,000 points per hour, and the first read takes about sixteen times as long. The line on the Overview tab says when reading continues if its hourly allowance is used up, or Confluence asks it to slow down. Support tools has the details to send with a support request.

Nothing is deleted during any of this. The next page, First steps, goes from the first report to the first rule.

License

The app is sold through the Atlassian Marketplace and is priced by the number of Confluence users of the site. During a trial the app works in full, as with a paid license.

Without an active license the app keeps reading the site, and the reports, the previews and the list of unused files keep working. No rule deletes anything and no file is moved to the trash. The app reads more slowly then: 3,000 REST points per hour instead of 50,000. The admin page says “The app has no active license” while that is the case. Settings are kept and take effect again when the license is active.

A license that does not plainly say it is active counts as none. So does a run for which Atlassian gives the app no readable context: in doubt the app deletes nothing.

Updates

Atlassian installs new versions by itself. A version that changes the permissions of the app waits until an administrator of the site approves the update; until then the site keeps the version it has.

Uninstalling

Uninstall the app on the Connected apps page of Atlassian Administration, or under Manage apps in Confluence.