youngmon/atlassian-qna huggingface dataset:
In Confluence Questions is there any way of editing reputation thresholds?
Asked by John Charlton:

In Confluence Questions is there any way of editing reputation thresholds?

For example: By default users need 500 points to be able to edit a topic, if I wanted to change this to be 250 points is there any way of achieving this?


Answers:
author: Joe Clark
body: There's not yet an official, supported \& documented way to do this. However, there is a secret REST API that allows this. You'll need to write and execute a script to make the change. Here's an example in Python using the [Requests](http://docs.python-requests.org/en/latest/) library:

```
import sysimport requestsconfluence_url = "http://localhost:1990/confluence"username = "admin"password = "admin"s = requests.session()# Login with Admin username/passwordr = s.post(confluence_url + "/dologin.action", data={"os_username": username, "os_password": password})if r.status_code != 200:    print "Login failed"    print r.text    sys.exit(1)# Change the topic reputation threshold to 250 pointsr = s.post(confluence_url + "/rest/questions/1.0/admin/permissionThreshold", data={"EDIT_TOPIC": "250"})if r.status_code != 200:    print "Failed to update permission threshold"    print r.text    sys.exit(1)    print "Permission Threshold updated successfully"
```

**Edit:**

Here are the permissions which can be controlled by reputation limits, and their default thresholds. You can update them all in a single POST request to the REST API by specifying each one as an individual form parameter.

* CREATE_DOWN_VOTE - 15
* UPDATE_QUESTION_TOPICS - 100
* DELETE_COMMENT - 500
* UPDATE_QUESTION - 500
* UPDATE_ANSWER - 500
* CONVERT_COMMENT - 1500
* CONVERT_ANSWER - 1500
* EDIT_TOPIC - 500
* ACCEPT_ANSWER - 1500
* UNACCEPT_ANSWER - 1500

comments: author: John Charlton
body: That's great - thank you for that.We will be wanting to customise all of the reputation settings, could you let me know the data tags for each one (vote down, delete, etc)?Thank you for your help.


author: Joe Clark
body: I updated my answer with the full list


author: John Charlton
body: Thank you very much


author: Joe Clark
body: No problem! :)


author: Fred Bunting
body: One key question would be how to GET the current value of these settings?

(So that we can verify that the POST works.)

(It appears that the permissionThreshold resource only provides a POST method, no GET method.)


author: Fred Bunting
body: What I am trying to do is *prevent non-admins from creating new topics*.

Raising the **UPDATE_QUESTION_TOPICS** threshold (using the Python + REST script) seems to *partially* accomplish this -- it prevents someone from creating a new topic for a question *asked by someone else*.

But none of these seem to affect the user's ability to create a new topic for a question*they have asked*. Is there a way to do this?
Do I need a user license to ask questions in Confluence Questions?
Asked by Martin Vobr:

Currently we use an OSQA site as a support forum for our users. Something similar to answers.atlassian.com. We are considering migrating to Confluence Questions. It works like this:

* Questions can be asked by anyone.
* Answers are almost always provided only by our internal support staff.

How many licenses would we need?

1. Only users answering questions would need a license. No license is needed for asking questions. It would be similar to agents/users licensing in JIRA Service Desk.<https://www.atlassian.com/software/jira/service-desk/pricing>  

   or  

2. A paid license is needed for both asking and answering questions.

Which one is correct?


Answers:
author: Norman Abramovitz
body: Here is the licensing page for CQ.

<https://www.atlassian.com/licensing/confluence-questions#serverlicenses-5>

Since Confluence Questions a plugin, the license user count must match your Confluence license.

comments: author: Martin Vobr
body: JIRA Service Desk is also a JIRA plugin, but customers are not required to have JIRA license. Only JIRA service desk agents do. It seems that with this ConfluenceQuestions licensing creation public QA site (similar to answers.atlassian.com) where anyone can join and ask question would be quite expensive. Cost for self-hosted variant with unlimited users looks like $24.000(Confluence) + $12.000 (Confluence Questions). Cost are much lower and perfectly suitable for internal QA sites. Do you plan to offer a more competitive pricing for Q/A sites where unlimited number of users can ask questions?


author: Norman Abramovitz
body: I am a user like you. The original license 1.x for Service Desk was a matching license for customers and agents unlike the 2.x license. The backlash about the 1.x license was very strong. Atlassian rarely announces their future plans, so I would doubt if you would get an answer about future CQ license types.I do agree with your logic though.


author: Nic Brough -Adaptavist-
body: Service Desk is the (recent) exception because it has a special use-case of needing to support "Agents"


author: Martin Vobr
body: Thanks Norman for your answer. And sorry for not realizing that you are not from Atlassian.


author: Sascha Schwegelbauer
body: Hm, still no answer if a license is needed for asking questions.


Tags: confluence

server
Can I add a Search box to the main Questions page?
Asked by Jennifer Kollmer:

I'm looking at using Questions for an internal forum, and we need to give our users access to an easy way to search only in Questions and Answers (most of our users simply won't take the extra step of adding the filter--we need to give them a simple "search the forum" option).

How would I do this?


Answers:
author: Dust Alerts
body: I second that this would be useful. Additionally, bringing up Questions on a mobile device doesn't provide a search box at all. So unless you are lucky that you enter terms that are part of the question title, you will not be able to find matching questions.
Will temporarily uninstalling Confluence Questions delete existing questions?
Asked by Dave Hergert:

If I need to uninstall and reinstall Confluence Questions, will my Questions data remain intact and available after the reinstallation?


Answers:
author: Timothy
body: I believe the answer is no. No data will be deleted. But please try with a test instance to confirm.

comments: author: Dave Hergert
body: Correct - all data remained intact.


author: SHIP Support
body: How DO we delete all questions and start over?

We disabled questions ages ago because we needed per-space permissioning. That was later introduced and we'd like to start using it but the old questions (instance-wide) are still there and reinstalling doesn't wipe the slate clean.
Getting a stack trace when clickin on a Confluence Question post
Asked by Fernanda Souza:

Two days ago we were able to click and even add comments into a Confluence Questions post in my company, however now when we try to click in the question we got below error:

```
com.google.template.soy.tofu.SoyTofuException: In template CQ.Templates.feature.viewquestion.comment: When evaluating "cqLinkify($comment.body)": Error while computing function "cqLinkify($comment.body)": Illegal group reference    at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:347)
```

Any ideas?

Regards,

Mitch


Answers:
author: Deividi Luvison
body: Hey Mitch,

That is a know BUG, as you can see in [here](https://confluence.atlassian.com/display/CONFKB/Confluence+Question+post+fails+to+open+with+cqLinkify%28%24comment.body%29%3A+Illegal+group+reference+error), this happens when you have URL commented with the dollar sighn ($), just upgrade Questions to latest and that error should be resolved.

Hope it helps,

David

comments: author: Fernanda Souza
body: Quick and Painless, thanks a ton for your help Deividi.


author: Deividi Luvison
body: Glad I was able to help.
Error in pages ask question, comment, save after DB Update
Asked by Prameesha Samarakoon:

Hi,

I have added some questions manually to the confluence database 'Content' and other related tables. The question gets added and displayed accurately. But commenting , adding answers to the question, asking new questions do not work and throw the following error.

```
org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: [com.atlassian.confluence.core.BodyContent#9470043]; SQL []; ORA-00001: unique constraint (CONFLUENCE0707.SYS_C00137563) violated; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (CONFLUENCE0707.SYS_C00137563) violated
```

I've checked the cause for this and it seems to be due to confluence maintaining the max ID of the content table pre-record insertion. So obviously as I have manually entered a record for that ID, an error is thrown. The workaround for this was to refresh the ask questions page till the content ID

```
[com.atlassian.confluence.core.BodyContent#9470043];
```

exceeds the actual max ID of the content table. I've also tried re-indexing confluence and committing the database to no avail.

The question is:

**How does confluence get the next ID for the content/ BodyContent table when a user tries to add a question and why does it keep incorrect values for the maxID . Also how could this error be eliminated.**

Your suggestions on this would be much appreciated.

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: You should not have inserted anything into the database, especially while it was running.

I would strongly recommend stopping confluence, removing what you added, restart it, reindex it and then do your inserts via the API.

It's keeping "incorrect values" because you've told it to basically.


Tags: confluence
What reports can be generated from Confluence Questions?
Asked by Scott Kullman:


Answers:
author: Norman Abramovitz
body: Not much. You can get some very basic usage statistics.

<https://confluence.atlassian.com/display/QUESTIONS/Administer+Confluence+Questions>

comments: author: John Hilberts
body: It would be great if these weren't locked down to an administrator, or if an Admin had the option of sharing these somehow, be it via a regular report, embedded confluence element or partial access.For instance, as a champion of CQ at my company, I would love to be able to see all sorts of statistics to see where we can improve and generally if (and what) people are using CQ :)
NullPointerException when importing valid ICS-File (iCAL)
Asked by Timo Stricker:

I checked my ICS File with <https://icalendar.org/validator.html> and got **no Error**, just some warnings.

When I **import** the ICS File to Confluence Team Calendar I receive the following error messages:

Frontend:

(48e94487-e874-474b-ab9e-14e802cbb57f)\\:java.lang.NullPointerException

Log File:

-- referer: <http://xx.xx.de/confluence/display/IO/xx> \| url: /confluence/rest/calendar-services/1.0/calendar/events.json \| traceId: f56489657bfe60ff \| userName: xx.xx  
2020-02-14 14:15:12,308 ERROR \[http-nio-8090-exec-4\] \[extra.calendar3.rest.AbstractResource\] getEvents **Unable to load events of sub-calendar** 3e872c5f-4013-46f1-ac68-fd08725f9b4b

\[extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator\] **load Could not load calendar content from cache key**

com.atlassian.confluence.extra.calendar3.exception.CalendarException: calendar3.error.subscription.cannotread

This worked well a time ago!


Answers:
author: Timo Stricker
body: I fixed this via import ICS to Google Calendar and follow ical feed


Tags: calendar

ical

import

ms-outlook
Sprints are not appearing
Asked by Jamie Scott:

Hi there

We have our Team Calendar showing RELEASE events, but not SPRINTS.

We have sprints in the list (ticked) but despite us being in a sprint, it's just not showing on the calendar.

Any ideas?

![Screenshot 2020-01-06 at 15.36.19.png](/t5/image/serverpage/image-id/77957i059279E5AE8E2D45/image-size/large?v=v2&px=999 "Screenshot 2020-01-06 at 15.36.19.png")


Answers:
author: Rory Standley
body: I had this same problem. I added a "New Event" and selected the Jira Sprint type, this gave me options to select the correct project etc. once I added this, the Sprints were then visible
How do I use the Team Calendar Macro?
Asked by Matthew Buchanan:

I have added Calendars to my Confluence account and have created a calendar that I have added events on.

I have the events categorized and using different colors for each event type.

I want to display upcoming events on a different page and am (attempting to) using the Team Calendar macro - this is where the problems are.

I point to the calendar name, fill in how I want to display the calendar (list, month, etc.), height and width, etc., but for whatever reason the Team Calendar macro doesn't recognize the name of the calendar that I've created and doesn't pull in the events to populate the calendar. I can tell that in the preview as well as if I click save and display on the page.

I am the administrator of my account so security/roles should not be the problem. Does anyone else have experience with using Calendars and the Team Calendar macro that could help me out?

I did find a similar question: <https://community.atlassian.com/t5/Team-Calendars-for-Confluence/can-t-see-calendar-in-Confluence-even-after-adding-team-calendar/qaq-p/1156400> and asked this question there too (sorry for the duplicate).![TeamCalendarMacro_Confluence.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/77554i77EF5B01FCA68843/image-size/large?v=v2&px=999 "TeamCalendarMacro_Confluence.PNG")


Answers:
author: Matthew Buchanan
body: I was able to solve this issue by using the CalendarID instead of using the calendar name.


author: Dean Bigbee
body: Having the exact same issue, and the ID workaround fixed. However, this is a non-ideal workaround. Any clues on to how to get it fixed so we can use the calendar name instead?


author: Hermance NDounga
body: Hello Matthew,   

I'm really not sure what the issue is, based on what you describe, but it works quite well for me.   
Maybe it's because you're typing the calendar name manually?   
If we agree that the calendar you're trying to reference does exist in Confluence, in that same space (or a space you have rights on), maybe you should start back from the "create" prompt.

<br />

Insert **a new** Team calendar macro. Choose "add an **existing**Calendar". then you can use the search the bar, or click the "popular calendars" at the bottom of the pop-up window. Maybe there is a space in your calendar's name? Anyway, are you able to find back your calendar from this prompt? if not, but that you are able to find other calendars, maybe the calendar itself might have an issue? If you try with another calendar, does it pull events?

comments: author: Matthew Buchanan
body: Thank you! I eventually was able to get this to work using the CalendarID. Apologies for not marking this as solved and I do appreciate your assistance.


author: Hermance NDounga
body: Well that's great to hear tho! Hope it will help some other community members :)


Tags: calendar

cloud
Team Calendar Email Reminder Link Problem
Asked by Tim Patton:

The event reminder link in the email for team calendars lands on a strange page. Team Calendar V6.0.47. Seems like the link in the team calendars reminder email is incorrect.

Email:

![2019-12-31_10-22-23.png](https://community.atlassian.com/t5/image/serverpage/image-id/77466iFB256792A02026BE/image-size/large?v=v2&px=999 "2019-12-31_10-22-23.png")

Actual Landing Page - That is Incorrect and weird. Expected to land on the (sub) calendar.![2019-12-31_10-21-34.png](https://community.atlassian.com/t5/image/serverpage/image-id/77467iF7DB4E19D1B18491/image-size/large?v=v2&px=999 "2019-12-31_10-21-34.png")

The Sub Calendar I expected to land on.![2019-12-31_10-21-43.png](https://community.atlassian.com/t5/image/serverpage/image-id/77468i665090E7667E4F5F/image-size/large?v=v2&px=999 "2019-12-31_10-21-43.png")


Answers:
author: Tristan Albach
body: Our team sees the same issue in Confluence 7.1.2, Team Calendars 6.0.48.

comments: author: Tristan Albach
body: We updated to Team Calendars 6.0.49, but that didn't fix it. The issue is known and is being tracked here:

<https://jira.atlassian.com/browse/CONFSERVER-52893>

Our workaround was simply to add a link to the calendar in the description and teach people not to click on the title link.


Tags: server
How can I add a calendar into a page?
Asked by jhonas reis:

Hi there?

I'm trying to add a calendar to a page but I cannot find this possibility. I've searched but I only found paid calendar. It's been a while since I use confluence for the last time and now I want to use again but I'm quite skeptical that is necessary to pay for it!


Answers:
author: Manisha Kharga _Appfire_
body: Hi [@jhonas reis](/t5/user/viewprofilepage/user-id/2296307) ,

You can install the app Team calendars for confluence ([https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server\&tab=overview).](https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview)Create a page and use the**/** to include the add-on on the page.

Thanks,  
Manisha

comments: author: jhonas reis
body: Hi Manisha,

I found this solution before, thank you very much, however its hard to believe that I have to pay for a so basic addd-on! Disappointed!

Thanks!


Tags: cloud
How to remove confluence version from email notification?
Asked by Rafa? ?ydek:

Confluence server version leaking version of the app via email.

I've edited footer template for confluence notification plugins. It works fine for all confluence itself emails.

But email from team calendar stills have confluence version in the footer. It's a big vulnerability for our company.


Answers:
author: Rafa? ?ydek
body: To fix this you need to unpack team calendar jar /obr. and after that you need to edit email templates inside and repack jar and reinstall on confluence.

We can replace the parameter "**$generalUtil.versionNumber**" with a blank space in the following 3 email templates from Team Calendar apps:

* reminder-event-notification.vm
* reminder-single-event-notification.vm
* event-notification.vm

path to files: /com/atlassian/confluence/extra/calendar3/templates/velocity


author: Jorden Van Bogaert
body: Hi [@Rafa? ?ydek](/t5/user/viewprofilepage/user-id/1201030)

I'm not sure if this will fix it, but have you tried [customizing the email templates](https://confluence.atlassian.com/doc/customizing-email-templates-168001822.html?_ga=2.94565276.1835633267.1576495088-949965942.1575460893)? (This is only available if you are using confluence server).

Kind regards  
Jorden

comments: author: Rafa? ?ydek
body: Yes, like I mentioned above:

I've edited footer template for confluence notification plugin. It works fine for all confluence itself emails (for example request for access to the page).

Bus still if we get email from team calendar plugin, we got version in the footer:

"This message was sent by Atlassian Confluence 6.13.8"
Export of Calendar to Excel
Asked by Pooja:

Hi Team,

We are using a Team calendar for confluence.

We want to export some of the calendars to excel formate,

Is it possible to export the calendar to Excel?


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Pooja,

Here is a [post](https://stiltsoft.com/blog/2017/11/table_filter_and_charts_with_team_calendars/) on how to get Team Calendar in the table form, make it possible to filter, aggregate, visualize and export to CSV.

comments: author: Agrawal_ Ashutosh _Noida_
body: Not found any script. If URL can be provided then that will help a lot employees


author: Ivan Nikolov
body: Hi Pooja,  

Searching for the same answer today, I managed to do this via 1st - importing the Confluence calendar into Outlook and 2nd - exporting it from Outlook in **.csv** format *(you can then save as .xlsx)*.

These are the steps to follow as it worked for me;

1. Choose to the right of the Confluence calendar and choose **Export to iCalendar**
2. Save the .ics file to your computer
3. Open Outlook desktop application and choose **File** \> **Open \& Export** \>**Import / Export**
4. Choose **Import an iCalendar (.ics) or vCalendar file (.vcs)**
5. Locate and select the .ics file you saved and follow the prompts to import it.
6. Go to Outlook desktop application
7. Go to **File** \> **Open** **\& Export** \>**Import/Export** \>**Export to a file** \>**Comma Separated Values** \> click **Next** \> Choose your calendar from section 'Calendar' in 'Select folder to export from:'  
   Click **Next** to save in a preferred name and location
8. Click **Finish**
9. Select date range for the downloaded calendar and click '**OK**'
10. Enjoy!
How is it possible to stick a header column so that it remains visible while scrolling to the right?
Asked by robert lichtenfeld:

to make *really* long tables easier to read


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@robert lichtenfeld](/t5/user/viewprofilepage/user-id/3668978)

It is possible to stick a row header natively in Confluence with a few exceptions as listed in [this article](https://confluence.atlassian.com/doc/tables-136463.html?_ga=2.152072377.1811923491.1575972729-748161253.1533556773#Tables-stickytableheadersStickytableheadingsinviewmode). For a sticky column header (Also row) try using [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview&_ga=2.77175061.1811923491.1575972729-748161253.1533556773) app.

Let us know how it goes.

Thanks

Sireesha

comments: author: robert lichtenfeld
body: Thanks, for your helpful information. We need a sticky column header.
In the team calendar, all events have shifted an hour ahead
Asked by ???????_?????????:

Hello! In the team's calendar all the events were shifted an hour ahead. Maybe someone had a similar problem?


Answers:
author: ???????_?????????
body: ????? ????????. Eruope/Moscow, Eruope/Minsk +300 ???????? ? ????????? ?? ??????/?????? ????? (? ???? ??????? ??? ??? ???????? ?? ??????/?????? ?????). ?????????? ????????? ?? Africa/Nairobi +300 ?????? ????????? ???????? ?????????.