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 vote

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.

Cheers,

Rodrigo

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,916 views 27 12
Join discussion

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