"Was this helpful Yes/No" that they have at the bottom of every doc page

Chris Riggins April 1, 2016

does confluence provide the intrinsic operations necessary to implement the "Was this helpful Yes/No" feature that they have at the bottom of every confluence doc page

3 answers

1 accepted

3 votes
Answer accepted
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2016
Chris Riggins April 2, 2016

Ann

  thanks - looks like they are all server-only features and right now we are cloud based but should we ever get to server based, I will use one of these plugins

 

-Chris R

Antti Hietala July 1, 2016

Ann, the Knowledge Base Survey Plugin on your list is not supported on Confluence 5.7 or later.

Do you know what plugin provides the simple "Was this helpful?" widget that is at the bottom of many Atlassian pages? Is it available for others to use? I really like it. Is the code public?

wth.png

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2017

I found out that we built a custom theme for our Knowledge base, and  "Was this helpful" is generated with javascript. It is not something we can share as it's neither a macro nor a Scroll Viewport feature. Wish I could help more.

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2017

Update - it is possible to add a survey question, though not the exact one Atlassian uses in our knowledge base spaces.

Please see https://community.atlassian.com/t5/Confluence-questions/Search-for-quot-Was-this-review-helpful-quot-Macro-AddOn/qaq-p/582591

2 votes
Jonathan Appel September 14, 2023

For those landing here looking for a Confluence Cloud based solution, could also try https://marketplace.atlassian.com/apps/1231936/page-feedback-for-confluence?tab=overview&hosting=cloud

2 votes
Jens Iwanenko June 12, 2018

Hi,

for what it's worth 2 years later, I created a small User Macro that kind of works like the Atlassian version. We are not using it right now, because the reporting of the KB Survey macro is a bit messy. You can add an issue collector to the enc-feedback-ticket section, which we didn't do because of the messy reporting.

Note that the order in which the additional survey questions are added is important.

## Macro title: Feedback for Documentation
## Macro has a body: n
## Body processing: none
## Output: HTML
##
## Developed by: Jens Iwanenko
## Date created: 2018/03/07

## Inserts a simple feedback form utilizing the Knowledgebase Survey plugin.
## @noparams
#set($spaceKey = $space.key)
#set($pageId = $content.getId())
<div id="enc-feedback">
<span class="enc-question"><strong>War der Inhalt hilfreich?</strong>&nbsp;</span>
<button class="aui-button enc-feedback-yes" value="Yes" name="${spaceKey}0" id="${spaceKey}0">Ja</button>
<div class="aui-buttons">
<button class="aui-button enc-feedback-no aui-button-split-main" aria-controls="enc-feedback-reasons"
href="#enc-feedback-reasons" name="${spaceKey}0" id="${spaceKey}0" value="No">Nein</button>
<button class="aui-button aui-dropdown2-trigger aui-button-split-more"
aria-controls="enc-feedback-reasons" href="#enc-feedback-reasons">Details</button>
</div>
<span id="enc-feedback-thanks" class="hidden">Danke für dein Feedback!&nbsp;</span>
<span id="enc-feedback-ticket" class="hidden">Können wir etwas verbessern? <a>Erstelle ein Ticket</a></span>
<aui-dropdown-menu id="enc-feedback-reasons">
<aui-item-checkbox interactive class="enc-feedback-incomprehensive" name="${spaceKey}1" value="Yes">Unverständlich</aui-item-checkbox>
<aui-item-checkbox interactive class="enc-feedback-imprecise" name="${spaceKey}2" value="Yes">Ungenau</aui-item-checkbox>
<aui-item-checkbox interactive class="enc-feedback-irrelevant" name="${spaceKey}3" value="Yes">Irrelevant</aui-item-checkbox>
</aui-dropdown-menu>
</div>
<style>
/**<![CDATA[**/
#enc-feedback {
border-top: 1px dotted #c1c6c8;
padding-top: 10.0px;
}
/**]]>**/
</style>
<script>
$('#enc-feedback .enc-feedback-yes, #enc-feedback .enc-feedback-no').click(function(){
var trigger = $(this);
var question = $(this).attr("name");
var answer = $(this).attr("value");
var action = "/plugins/kb/ajaxkb/submit.action?pageId=$pageId";
posting = jQuery.post(action, {
questionId: question,
value: answer});
posting.done(function(data){
console.log('Finished posting feedback');
trigger.addClass('aui-button-primary');
$('#enc-feedback-thanks').removeClass('hidden');
if(answer == "No"){
$('#enc-feedback-ticket').removeClass('hidden');
console.log('Added ticket hint');
}
});
});
$('#enc-feedback').insertAfter('#main-content');
</script>

May it help anyone who wants to collect feedback. I added this in the custom footer for our documentation space. It adds itself to the bottom of the page above the comment section.

--

Jens

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events