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

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

Chris Riggins Apr 01, 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

2 answers

1 accepted

Chris Riggins Apr 02, 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 Jul 01, 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

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

1 vote
Jens Iwanenko Jun 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,035 views 7 17
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