Rate this page:
Forge apps are able to store, retrieve, and delete data from storage in Atlassian's cloud using two different APIs.
The app storage API is a key-value storage API, which enables your app to store data for specific Jira or Confluence sites. The app storage API stores data partitioned by product and site, and is accessible only to your app.
The app storage API requires your app to have the
storage:app scope. See
Add scopes to call an Atlassian REST API
guide to add new scopes to your app.
Custom entities and complex queries are available right now as part of Forge's Early Access Program (EAP). Send us your feedback through this Atlassian Developer Community post.
Forge’s EAP offers experimental features to selected users for testing and feedback purposes. These features are not supported or recommended for use in production environments. They are also subject to change without notice.
For more information about EAPs, see What's coming.
Custom entities are user-defined data structures for storing app data. Forge's storage API lets you query data stored in these structures using a wide array of query conditions. These query conditions make it possible to build advanced, complex queries to suit your app's operations.
See Complex queries (EAP) for more detailed information about setting custom entities and building queries for them.
When using the app storage API, we strongly recommend that you:
The Atlassian Cloud backs up the entire hosted storage for disaster recovery. This includes content stored from the Forge storage API.
We will add admin-driven backup (and restore) capabilities for app-level data in a future update.
Properties are a set of APIs backed by entity properties in Jira and content properties in Confluence. These APIs allow your app to store and retrieve data for a specific Jira or Confluence site. This data is accessible to all apps installed within the site as well as users.
Use UI kit hooks reference documentation for information on the functions that let you manage the data you need to render your app.
If you’re storing data relating to a particular instance of a Forge macro, you should use Forge macro configuration. Macro configuration enables different instances of the macro that appear on the same page or blog to store their data separately.
Use the Properties API in the runtime for modules that don't support UI.
Rate this page: