Forums

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

Access third party plugin data from confluence database

xhowl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2019

I am building a custom plugin that requires data from another confluence plugin. Will it be possible to grab this data from the confluence database? I am looking at the database and I can't seem to find it.

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2019

Hello Chris and welcome to the Community!

While it may be possible to grab data from the database from a table created by another plugin, it may not be very straight forward how to do this based on how the other plugin developer has structured or encrypted any data within the database.

To understand a bit more about this, which plugin are you attempting to access from the database?

We look forward to your response to help on your path of plugin creation.

Regards,
Stephen Sifers

Tim Draeger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2019

Hi Stephen,

Incidentally, I am facing the exact same issue as Chris. I'm writing a plugin which needs to access the data from another plugin. I've already looked into the structure the other plugin uses and tested what I want to do by manually running queries against the other plugin's DB tables. I am aware of the risk that directly accessing other plugins' data brings, but I see no other way to move forward. Note that the queries I wish to run will not be user-defined but be a relatively static set run by the plugin itself via scheduler.

So, the question now is how would one gain access to arbitrary tables in Confluence's DB from within a plugin I'm developing?
I'm assuming AOs won't do the job. Would the solution detailed in this question do?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events