Forums

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

How do I connect Confluence to an external source?

Michel Russell December 18, 2018

I want to be able to call a REST API on Confluence to grab data in XML files. Any assistance would be greatly appreciated! 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2018

Do you mean you want Confluence to read XML from a remote source, or that you want a remote system to get data from Confluence?

Michel Russell December 19, 2018

I want the remote system ( Edge Technologies) to get data from Conflience which will be XML files.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2018

You'll need to write something to add to Confluence to make it provide a REST endpoint to serve up your xml.

Have you started writing an app for this, or do you have something like the Scriptrunner App?

Michel Russell December 20, 2018

Thats a no to both of your questions. I am pretty new to this so am hoping you could provide some guidance on how to proceed? Thanks again!

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2018

Ok, so it depends on how much coding you want to do.

If you're happy to write your own Apps, there is a software development kit which helps you a lot, and has references to sample code for generating REST end points.

If you want to do a lot less coding, look at the ScriptRunner add-on (yes, it's my company, I'm trying to be open about it, and there may be other apps that can do something similar, but I'm not aware of them).  It allows you to write the code directly inside Confluence, in Java or Groovy (or to support my bad habits - a mix of both!).  This means your coding goes from having to write an entire App and pull in everything you need to get it into Confluence down to "code that returns a load of xml".

Like Michel Russell likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events