Retrieve Data from confluence:globalSettings app to another Macro Template App!

I have created a “confluence:globalSettings” app where i can set data and i want to get them in another "confluence-macro template " App using Storage API, Is it possible or the data stored using the Storage API isn’t shared between Forge apps?

@AITMOUSSAMohamed,

The Forge Storage docs explain:

Data stored using the Storage API isn’t shared between Forge apps on the same site or across different Atlassian sites.

1 Like

Hello, Thanks for your message , any solution for my issue ?
Thanks

@AITMOUSSAMohamed,

For a shared data model, consider Confluence entity properties:

Content properties can be modified by all apps in the system and exist in a global namespace.

1 Like

Hi @ibuchanan ,
Is there any equivalent for Jira? I am working on a set of independant Jira apps that would share settings with a “Suite” app that gather the features of the independant apps together.

@BertrandDrouhard1,

Yes. See Jira entity properties.

Subsequent to this thread, I noticed @AITMOUSSAMohamed also posted an elaboration of his use case mentioning secure REST API integration. Please be aware these are “wide open” values that any app can access by knowing the key. As such both entity property pages warn:

You should never store private or personal data in entity properties.

Please do not store API Tokens (Atlassian or external) into entity properties.

2 Likes

Hello @ibuchanan ,
Thanks for your reply, I understand very well the risk of storing an API Key in Confluence, but what I really want is to store data in a ‘confluence:globalSettings’ app and then retrieve it in another “confluence:macro-template” app, as i know “data stored using the Storage API isn’t shared between Forge apps on the same site”!
so any other solution or idea would be appreciated.
Thanks.