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

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

2 answers

1 accepted

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

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

Ann Worley Atlassian Team May 09, 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.

Ann Worley Atlassian Team 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

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
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

154 views 0 3
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