It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

live data feed to Confluence

Is there an confluence API available using which I can have a live data feed to my confluence fields. For ex: Can I connect an application data to Conflunce so that whenever the application data is changed it gets reflected in my Conflunce page. This applications is not a Atlassian product. Please advise

1 answer

I'm not sure which tools you refer to when you speak about "confluence fields". I assume that you employ some macro or table on your Confluence pages to specify properties (if you use a third party add-on there may be other solutions than the following ones).

The page properties can be accessed via a REST API, but I do not know of an API that allows to change them. You may use the Confluence REST API to update pages. I do not know if the API allows to update only parts of a page. But if it is fine for your use case to download the whole page, update the relevant parts and upload it, the REST API can probably do this (if the page is only updated automatically, the page can be just updated without prior read). Your remote information systems needs to call this REST API on change events or provide an API so that you could program the sync process.

I personally use our projectdoc Toolbox that allows to define document properties (very similar to page properties) and sections. Via an extension it also provide a REST API to update these properties and sections (on the server the whole page will be saved, but from the client side view it seems that the property is an independent resource). This way we can update information on our Confluence pages using (for example) cURL. Besides the use of bookmarklets this is currently our only use case. 

The usage tip "Confluence as the Information Hub" on our website gives a short overview over the tools of the projectdoc Toolbox to link or transclude content.

The projectdoc Toolbox is a commercial add-on for Confluence server. It is available on the Atlassian Marketplace. For the REST API you would need to install the Web API Extension (which is based on the commercial add-on, but is free of charge). Please note that I am one of the authors of this add-on (so may answer may be biased :) ).

More information on the projectdoc Toolbox can be found in the online manual.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,764 views 15 37
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you