Smart Questions and Answers for Confluence Server and Data Center
- 1 What is it?
- 2 Legal and policy documents
- 3 Getting started
- 4 Working with the overview
- 5 Working with notifications channels
- 6 Working with questions and their answers
- 7 Advanced use cases
- 7.1 Define your own template for questions
- 7.2 Getting some statistics
- 7.3 Define side content in the "Community style"
- 7.4 Get a list of question topics
- 7.5 Get all questions in a space or the entire instance
- 7.6 Prevent isolated pages from being rated as a question
- 7.7 Using the REST interface
- 7.8 Importing from Questions for Confluence
- 7.9 View a question topic elsewhere
- 7.10 Create a hierarchical topic tree
- 7.11 Migration to Cloud
- 8 Trouble shooting
What is it?
The Smart Questions and Answers plug-in brings flexible question and answer functionality to Confluence Server and Data Center. Unlike the alternatives this app uses pages as questions and comments as answers. This approach allows you to use all features of Confluence (including all your apps) to be used when raising questions and giving answers. Furthermore it allows you to define your own template for questions.
Legal and policy documents
The following legal documents apply for all of our apps:
Getting started
Understanding the idea
Smart Questions and Answers uses normal Confluence pages as questions and comment as answers.
A topic is a page holding the Smart QA question overview macro. The child pages of that topic page are the questions. Due to this setup you can define as many topics as you like even in a single space. With the permission system of Confluence you can easily protect certain topics.
Configuration
Basic configuration
Anonymous access
Create your first topic
Include the Smart QA Overview macro on any page with no child pages (why: child pages are questions). When done you will see a search field, a button to create a new question a row of filter tabs and most likely the information that there are no questions (yet).
Figure: UI of the Smart QA Overview macro
Configure your topic
The Smart QA Overview macro has a couple of parameters you can configure. Please note that some of those parameters won't change the overview's behavior or look and feel itself but the way the app handles the questions and answers under this overview.
Working with the overview
The image below shows the output of the Smart QA question overview macro.
We hope that the UI is self explaining. In case it is not some hints:
The title of the page (here QM questions) is the topic.
Search within this topic will search for the expression in questions and answers.
Please note that the search is a little different to the Advanced Confluence search. In case you type term1 term2 the search will try to find all questions/answers which contain both terms (term1 and term2). In case you want to search for questions/answers containing term1 or term2 type term1 OR term2.When you click on a label like “audit” only questions containing this label are shown.
The cross symbol will reset the search.
The “Ask question” button is used to create new questions.
Use the eye symbol to manage notifications (next release).
The line “All”, “Answered”, … are the filters you can apply.
In the sorting dropdown you can select how your questions should be sorted in the overview.
The used labels section on the right shows all labels used in this topic. When you click on a label only questions with this label are displayed.
Working with notifications channels
When clicking on the eye symbol right of the “Ask question” button a dialog opens which allows you add or remove your notification channels or, in case you are a content manager (see above under Permissions tab), also delete other notifications. Currently Smart Questions and Answers supports the following notifications:
Slack (via a webhook)
Microsoft Teams (via a webhook)
Email to your personal mail account
All notification channels will notify on new questions and answers (an email notification however is not send out for to you for your own questions and answers). When setting up a notification you can decide whether you want to receive a notification for all questions and answers or only those which contain at least one of the defined labels (in the example above Andreas Purde and QM Team only receive notifications in case the question contains the audit label).
No view permission = no notification
For security reasons no notification is sent out in case the creator of a notification does not have the permission to view the content. Please keep this in mind in case a colleague leaves the company who created a Slack or Teams notification.
Configuring a Slack webhook
In contrast to the Cloud version of this app the Server and Data Center version only connects to Slack via webhooks. In order to configure a webhook you have two options:
Use the Incoming WebHooks App
Create you own app as described here
Don’t forget to let an admin allow the connection in Confluence’s Allowlist
Configuring a Microsoft Teams webhook
In order to get notifications to Microsoft Teams you have to configure a webhook as explained here for example and insert the webhook URL into the notification.
Don’t forget to let an admin allow the connection in Confluence’s Allowlist
Working with questions and their answers
Basics
As you already know a question is a regular Confluence page which is enriched (depending on the settings by certain UI elements).
UI element | What the UI element does |
---|---|
The navigation links allow a quick navigation to the instructions (which you can customize) to the overview page (main page) and to ask a new question. | |
| The section with similar questions allows a quick navigation to questions which are rated similar based on the search results. |
The comment section is enriched by UI elements allowing to use comments as answers.
UI element | What the UI element does |
---|---|
An answer is enriched by UI elements to vote the answer up and down (if activated). In case you are the owner of the question or a content manager you may also accept the answer. Below the answer the owner of the answer or any content manager may convert an answer to a comment or vice versa. |
Locking and featuring questions
The defined content manager for a topic have the possibility to lock or feature a question. A locked question does not accept further responses, a featured questions always shows up in front of all other questions in the overview. The UI for locking and featuring is located on the question page:
Advanced use cases
Trouble shooting
Frequent support cases
No current ones
Known limitations
The plug-in has the following known limitations:
For temporary limitations please refer to the issue tracker.
One overview page for one topic: Smart Questions and Answers only allows one overview page for one topic.
Confluence mobile view is only partly supported (read only).
Due to limitation in the Confluence API Smart Questions and Answers needs at least one user in the confluence-administrators group to extract the likes. In case you are not using the group you may alternative add a user to the group smart-qa-liker-extractor-group. This user should be allowed to view all questions in your instance.
Getting support
Please use our ticketing system to create a support ticket regardless whether you found a bug, have a feature request or questions.