How to Set Threshold Points for Questions for Confluence Contributions

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

Based on the Questions for Confluence official documentation - Votes and experts, there are preset rules for points earned or lost by users for different actions.

Earn points by contributing to your Q&A community:

  • 15 points when your answer is accepted
  • 10 points each time your question or answer is upvoted
  • -2 points each time your question or answer is down voted. 

You're not awarded points for answering or up voting your own questions!

These settings don't match the preferences of all users, but cannot be modified in the admin interface. 

Solution

The Threshold Points can be modified using API requests.

Please note that API usage is out of scope of Atlassian Support Offerings.

To modify the Threshold Points, you can use the following POST requests:

Unix Systems
  1. Run the following curl command in your terminal.

    curl -X POST -H "Content-Type: application/json" -d '{"pointsPerAction": {"DOWNVOTED": -2, "UPVOTED": 25, "ACCEPTED": 50}}' http://<confluence-url>/rest/questions/1.0/admin/reputation/config -u username:password
    tip/resting Created with Sketch.

    Please replace the following parameters in the curl command:
    • <confluence-url>
    • username
    • password

Windows Systems
  1. Download the JAR of the rest-client: RESTClient GUI.

  2. Open the JAR file to run the RESTClient application. Note: you'll need JDK/JRE configured on your machine to execute the file.
  3. Insert the POST command using the following parameters:

    POST /rest/questions/1.0/admin/reputation/config (Content-Type: application/json)
    {
      pointsPerAction: {
        DOWNVOTED: -2,
        UPVOTED: 10,
        ACCEPTED: 15
      }
    }

Last modified on Nov 12, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.