You can register gadgets from external sites (such as JIRA applications), so the gadgets appear in the macro browser and people can add them to Confluence pages using the gadget macro.
There's two ways to register external gadgets:
Both methods are described below. First, consider whether you need to set up a trust relationship between Confluence and the other application.
On this page: Related pages: |
In addition to registering the external gadgets, we recommend that you set up an OAuth or Trusted Application relationship between the application that serves the gadget (the service provider) and Confluence (the consumer). The trust relationship is required for gadgets that access restricted data from the external web application.
See how to configure OAuth or Trusted Applications Authentication, using Application Links.
If the external web application provides anonymous access to all the data you need in the gadgets, then you do not need a trust relationship.
For example, if your gadgets will retrieve data from JIRA and your JIRA server includes projects and issues that are restricted to logged-in users, then you will need a trust relationship between Confluence and JIRA. If you do not set up the trust relationship, then the gadgets will show only the information that JIRA makes visible to anonymous users.
You can add all the gadgets from your JIRA, Bamboo, FishEye or Crucible site – or from another Confluence site – to your Confluence gadget directory. People can then pick and choose the gadgets to add to their Confluence pages.
To subscribe to another site's gadgets:
http://example.com/jira or http://example.com/confluence.Screenshot: Subscribing to a gadget feed

If you cannot subscribe to an application's gadgets, you will need to register the gadgets one by one. This is necessary for applications and websites that do not support gadget subscription, and for applications where you cannot establish a trusted relationship via Application Links.
First you will need to get the gadget URL and copy it to your clipboard.
If your application is another Atlassian application:
If the gadget comes from a non-Atlassian web application or web site, please consult the relevant documentation for that application to get the gadget URL.
Now that you have the gadget's URL, you can register it in Confluence, so that people can add it to their pages. You need system administrator permissions to register a gadget.
To register the gadget in Confluence:
Screenshot: Registering external gadgets one by one

To remove a single gadget from Confluence, click the Delete button next to the gadget URL.
If you have subscribed to an application's gadgets, you will need to remove the entire subscription. You cannot unregister a single gadget. Click the Delete button next to the gadget feed URL.
The gadget(s) will no longer be available in the macro browser, and people will not be able to add them using the Gadget macro. Any pages that already use the gadget will show a broken gadget link.