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

Where exactly is the data of Questions for Confluence stored in the DB?

I found different suggestions for this so far. Some Page claimed that it is stored in a Questions space (which I can't find) another Page said it is stored in the CONTENT Table under a plugin key. There too I can't find anything which refers to questions.

Also the AO Tables seem to be misleading.

The documentation is lacking this information as well.

We are on the evaluation and this question where it stores the data is quite crucial for us. 

Please give me a hint if you have more insight.

2 comments

Danyal Iqbal Community Leader Jun 11, 2018

We are on the evaluation and this question where it stores the data is quite crucial for us. 

 

I dont see any reason why this info is crucial for you. Please explain your use case.

It is stored in the database. 

For us it is a crucial point to being able to keep the data even if the eval has the outcome that this questions is not the correct solution for out purposes.

Can you point me to the tables where the data is stored?

Hi Frank,

The Q&A stores data in following tables:
- AO_B1DBB9_ACCEPTANCE   
- AO_B1DBB9_BOUNTY
- AO_B1DBB9_VOTE
- CONTENT
- BODYCONTENT


All question can be found using that query:

SELECT * FROM %YOURCONFLUENCEDBNAME%.CONTENT
where PLUGINKEY in
('com.atlassian.confluence.plugins.confluence-questions:question)

All answers can be fetched using this query:

SELECT * FROM %YOURCONFLUENCEDBNAME%.BODYCONTENT b
where b.CONTENTID in (
SELECT a.CONTENTID FROM %YOURCONFLUENCEDBNAME%.CONTENT a
where a.PLUGINKEY in
('com.atlassian.confluence.plugins.confluence-questions:answer'
))

Hi Hubert,

 

thanks a lot!! That is the answer I needed.

Very useful. Thanks.

Comment

Log in or Sign up to comment
Community showcase
Published in Jira

Big refresh for Jira Software Cloud’s Public roadmap

It’s been a busy year in 2019 so far! There has been a lot of innovation happening in Jira Software Cloud, from new features in next-gen to Jira Software Premium to brand new integrations. Get the fu...

81 views 0 2
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