Does Confluence's API allow you to feed outside data into your site?

I'm currently trying to get my company to start using Confluence but one of the major issues that they have is the ticketing service. We currently have a in house built ticketing service and do not use JIRA. I'm curious if either the API or another aspect of Confluence will allow me to feed tickets/data to Confluence in some form? 

3 answers

2 votes

Yes, there are a couple of approaches.

Confluence's REST API is available to Cloud users, but this is quite a static thing - it will allow you to create and update pages from your ticketing system, but updates will cause page changes, so you'll rapidly build up very long histories on pages, and you will need to build potentially complex structures and code to keep things updated.

The other option is to examine what your system can expose that Confluence can pull out.  Not knowing your system, I can't use it as an example, but if you look at what JIRA exposes, you'll see that Confluence has a couple of macros that can pull data from JIRA issues for display and also read search results and draw them up.

I'd prefer the second approach if possible, as it's more dynamic and less work generating extra histories for Confluence, but it does depend on your system having the integration points.

Here are some options for dealing with the add-on limitations of Atlassian cloud:

  1. Automate the export of your ticket information to CSV, use the addAttachment action from Confluence Command Line Interface (CLI), and then have it displayed on a Confluence page using the CSV Macro.
  2. You can update Confluence page content directly using storePage or similar from Confluence Command Line Interface (CLI).
  3. A more sophisticated automation solution using SQL is possible: How to publish SQL queries to Atlassian Cloud.


0 votes

As far as I know this should be possible. if you use the API that Confluence and JIRA provides to add content it will work. Doesn't matter how you run the APi command, but it matter that the syntax is correct.

Here are the API for Confluence and JIRA. I hope this helps.




Suggest an answer

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

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

206 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you