Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can Forge Apps Share Storage Across Jira Software and Confluence?

Andrii
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2024

Hello Atlassian Community,

I am working on a Forge app that uses Jira Software and Confluence integration. The app supports a Jira Software plugin and Confluence macros. Right now, I’m trying to figure out if it’s possible for these two parts of the app to share the same storage

 

It looks like Jira and Confluence each have their own separate storage (via the Storage API), so any data I save in Jira isn’t available in Confluence, and vice versa. Is there a way for both Jira and Confluence to access the same storage in a Forge app? Or, if not, is there another way I can get them to communicate or share data with each other?

I’d really appreciate any tips or advice on how to make this work!

Thanks a lot!

2 answers

1 vote
Aron Gombas _Midori_
Community Champion
October 21, 2024

Forge Storage cannot be shared between two apps.

But, your use can be rephrased as "can two Forge apps communicate and exchange information in a standard way"?

And for that, there are 2 approaches:

  1. There is already an RFC, where Atlassian develops a specific solution for the problem.
  2. Until that is not available, you can do this:
    1. From app X, which wants to share the data, publish a web trigger. It is a standard module type in Forge.
    2. From app Y, which wants to consume the data, call the web trigger.
    3. App X can send the info in the response.
    4. Bingo, you have a way to communicate using standard Forge tools!
Andrii
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2024

thank you advice and this interesting workaround how they could communicate

0 votes
Sarp Egemen
Community Champion
October 20, 2024

Hi @Andrii ,

Although we have master developers among us (kudos to them 🎩), you might receive a quicker response by asking your question in the Atlassian Developer Community.

Here is the link:
https://community.developer.atlassian.com/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events