Single plugin for jira and confluence

I need to build and install a single plugin that work on jira and confluence
Is it possible to install a plugin connect on jira and add macro to confluence?
I am looking for a way to call confluence api from jira connect addon, but i got 403 each time.
/wiki/rest/api/space -> 403


Hi @sohel.pourriel,

Unfortunately it is not possible to display dashboard items from an add-on for JIRA Cloud as macros in Confluence Cloud. In general, it is not currently possible to “install a single plugin that works for JIRA and Confluence”. At the very least, you will need to provide two atlassian-connect.json files, one for JIRA and one for Confluence. However, both of these could point to shared resources on your server.

It shouldn’t be surprising that you’re receiving 403 requests from the Confluence API…your add-on has not been installed in Confluence Cloud, so there is no shared secret between your add-on and that Confluence Cloud instance.


1 Like

thx for your answer !

So, i will build 2 add-on, and find a way to communicate with these 2 shared_secret