youngmon/atlassian-qna huggingface dataset:
all comments and their child from a page
Asked by emir:

How I can get all comments and their child from a page under the confluence cloud version ?


Answers:
author: Dario B
body: Hi [@"NEWSCRIPTALERT("1HELLO"1)/SCRIPT](/t5/user/viewprofilepage/user-id/2442165) ,

To get all the comments you can use below REST API endpoint:

* wiki/rest/api/content/{ID}/child/comment?expand=body.view\&depth=all

Another option should be:

* wiki/rest/api/content/{ID}/child/comment?expand=children.comment

For further details please see:

* [Get content comments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-comments/#api-api-content-id-child-comment-get)
* [Confluence REST API examples](https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/) (for Server, but many examples are still applicable changing auth method and endpoint)
* [How to get confluence page comments with limit (incl. child-comments) by REST?](https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-get-confluence-page-comments-with-limit-incl-child/qaq-p/483871)

I hope this helps.

Cheers,  
Dario


author: Rudy Holtkamp
body: Hi [@"NEWSCRIPTALERT("1HELLO"1)/SCRIPT](/t5/user/viewprofilepage/user-id/2442165) ,

It's quite a broad question.

* You could use the REST API if you need to script it: <https://developer.atlassian.com/cloud/confluence/rest/#api-group-Content-comments>
* You could use Analytics which is part of Cloud Premium![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/100767i11F90FAE0CA88733/image-dimensions/310x224?v=v2 "image.png")
* Or you can use apps for it, like [https://marketplace.atlassian.com/apps/1219786/pages-and-attachments-comments-report?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219786/pages-and-attachments-comments-report?hosting=cloud&tab=overview)


Tags: cloud
Some Confluence widgets not always starting
Asked by Dan:

Hi guys,

I am using Confluence server version v7.0.1 in conjunction with Postgres db which are hosted on a server. After the server boots up, 50% of the time the following widgets are not starting when clicking on them:

* Info
* Status
* Gallery
* Table of contents
* Draw.io diagram
* Latex Math block
* Latex Math inline
* Latex Unit
* Other macros

All the other widgets are always starting from the beginning.

Steps to reproduce the problem:

1. Start a new page/Edit an old page
2. Click on the "+" button
3. Select one of the aforementioned widgets

Is any known bug or how can I troubleshoot this problem? For me it's a real pain as I cannot keep plugged in all the time the server which means that 50% of the time I cannot use Confluence.

Thank you,

Dan


Answers:
author: Diego
body: Hello [@Dan](/t5/user/viewprofilepage/user-id/3774843) !

The behavior you described sounds like something that could be connected to a problematic plugin cache in your instance.

Since you restart your instance constantly, I believe that trying the procedure that clears the plugin cache will not be much of a nuisance.

You can see this procedure here:
> * ++***[\[Confluence Server\] How to clear Confluence plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html)***++

Clearing the plugin cache is safe as Confluence will rebuild the cache directly from the database after the restart. It is advisable for you to schedule some downtime for the instance since the startup might take longer than usual due to the rebuilding of the caches.

Let us hear from you!
Confluence plugin development how to convert h2 database to mysql
Asked by zyw:

Confluence plugin development how to convert h2 database to mysql


Answers:
author: Manisha Kharga _Appfire_
body: Hi [@zyw](/t5/user/viewprofilepage/user-id/3986623)

Please refer to this Atlassian link: <https://confluence.atlassian.com/adminjiraserver/switching-databases-938846867.html?_ga=2.245330886.2136526365.1593759054-386166923.1576669434>

Thanks,  
Manisha


Tags: new-to-confluence
how to get rid of horizontal scrollbar when using add section in Page Layout in Confluence
Asked by Anita Pinto:

1) I am creating a template

2) My page has an html image, a css stylesheet, and 2 columns in the system space

3) In the Template editor I have  
i) included the page (point 2)

ii) added a Div for typing text directly into the banner as a topic heading (this is the css in point 2)

iii) 2 columns - so staff can add the published date of doc \& the date

iv) New page layout - this where i get the horizontal scrollbar.

If I delete this - the horizontal scrollbar disappears.

This section is important as staff will be adding their content.

Can anyone help please.

Thanks

Anita


Answers:
author: Anita Pinto
body: Hi

Managed to solve it.

It happens sometimes when you use {include page} macro and then add a page layout section.

To resolve:

1) Place the {include page} macro inside a {Div}

2) add the style **max-width: 100%; overflow-x: hidden;**to the div

![includepage_scrollbar.png](https://community.atlassian.com/t5/image/serverpage/image-id/100730iD487389A06AF863B/image-dimensions/376x124?v=v2 "includepage_scrollbar.png")


Tags: confluence-server

server
SQLState S0001
Asked by frenz cabagnot:

Hi, I am having a hard time in the "set up your database" process to setup our Confluence server. Please see attached photo error. Do you have any documentation that you could share in setting up our SQL server correctly? Thanks.![ConfluenceDBerror.JPG](/t5/image/serverpage/image-id/100706iDC7BC176C538CEC6/image-size/large?v=v2&px=999 "ConfluenceDBerror.JPG")


Answers:
author: Jitu Kotha
body: Game plm


author: Nic Brough -Adaptavist-
body: In most cases, this error is what it says it is - a "login failure". Almost all of those are down to credentials and permissions. You have the wrong username/password, or your valid username/password do not have the right permissions within the database.


Tags: questions-for-confluence
add picture to comment in confluence mobile app
Asked by Georg Pfusterschmied:

Dear Confluence-Team,

how can I add a picture to a comment in confluence mobile app?

Me and my team are working in a lab-environment. Access to confluence is mostly only possible using mobile devices.

Adding pictures to a comment would be a game changer for us.

best regards,

Georg


Answers:
author: Stephanie Zhang _Product_
body: Hey there [@Georg Pfusterschmied](/t5/user/viewprofilepage/user-id/3974093) ! We've recently added in this feature in Confluence Cloud (see images below):  

Side note: would you be willing to speak with the development team regarding more feedback you have for the app? As a token of our appreciation, you'll receive an e-gift card worth $75 USD within 5 days of completing your session.  

<br />

iOS:   

![iosimages.png](https://community.atlassian.com/t5/image/serverpage/image-id/104162i48BE45BAA7330FD7/image-dimensions/334x326?v=v2 "iosimages.png")  

<br />

Android:   

![android media.png](https://community.atlassian.com/t5/image/serverpage/image-id/104163i988B98449C216AD4/image-dimensions/337x320?v=v2 "android media.png")


author: Georg Pfusterschmied
body: That's great! Thank you!


Tags: confluence-server

server
Confluence staging environment won't get past login
Asked by Chris Schulte:

I created a staging platform for confluence using these instructions (<https://confluence.atlassian.com/conf75/create-a-staging-environment-for-upgrading-confluence-1004947887.html>) to test the latest update. I've done this before with no problem.

When I go to it, there is the typical login to enter username and password. I enter these and it looks like it's loading, but it just blanks out the page. I know it's recognizing it because if I enter a wrong username of password, I get an error.

Does anyone know where I can track down what's going on? I don't see anything in catalina.out or catalina.\<date\>.log.

Thanks,

Chris


Answers:
author: licensing
body: We have encountered the same Problem.

Our solution was to fix the connector settings in server.xml since we used an URI that was not reachable. Since our staging confluence accepted the login, it would redirect to the configured URI, that was not existing.

after we corrected our proxy and DNS settings everything worked fine.

Our production ran under <https://confluence.internal.domain>. Staging was meant to be at <https://confluence-test.internal.domain>. Unfortunately "confluence-test" was NXDOMAIN and our Proxy Settings had no host config for confluence-test.

hth


author: charleslcso
body: My instance of production Confluence is using Crowd, so the staging Confluence will also use Crowd.

It happens that Crowd Application only accept IP address from Production server.

Try adding the IP address of the Staging to Crowd.

It works for me.


author: Henrik Juel Petersen
body: Did you ever find a solution to this?

I get an error msg when im using a wrong password.

But using the correct one, always just reloads the login page, nothing else. Even with the recovery_admin login.

/Henrik

comments: author: Chris Schulte
body: Not really, at least not where I could say that I have a solution.

I eventually gave up and just ran the update on the production environment. When there were new updates for both Jira and Confluence, I rsynced -av the environments to the staging server, loaded the current database, and tried again.

This time, neither of the scripts in /opt/atlassian could read /var/atlassian/application-data. I eventually deleted all of the atlassian files, made sure that all directories that they were in had global read and wright privileges, rebuilt the evaluations, and tried again.

That worked. I guess the answer is to trash everything and keep trying until it just works.


author: Shannon S
body: Hello Chris,

Thank you for raising this with us. Does this happen for all users, or is this the only user on the site?

I would recommend instead of looking at the Catalina.out logs, have a look at the [Confluence Server logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html) and see if you can find any hints about what might be happening.

You can also try to [Recover Admin rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html) and see if that helps you get in.

Let me know how that goes!

Shannon
Adding last editor under the page name
Asked by Matteo Gubellini _SoftComply_:

Hello,

Is it possible to add the name of the last modifier of the page under the page title, together with "Created by" and "last modified on"?

I can do it in the body of the page, but I was asked if it is possible to have it by default there.

Thanks!


Answers:
author: Davin Studer
body: If the "created by" and "last modified by" users are different you should see both. See the below screenshots.

**Creator and Modifier same**

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/100685iA45F3E8F2EA4BFDF/image-size/large?v=v2&px=999 "image.png")

**Creator and Modifier different**

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/100686i59A8D534BAECD168/image-size/large?v=v2&px=999 "image.png")

comments: author: Pavol Chromik
body: Hi Davin,

maybe stupid question, but do you think it is possible to change name of "last modified by" from user1 to user2?   
example:  
user1 edited 1000pages, we want to achieve to have this 1000pages has been updated by user2

Is there some db update query for this?

Thx, Pavol


Tags: confluence-server

server
Group Confluence knowledge Base articles in service desk
Asked by Jan Loeper:

Hi Community,   

I really do need you help with the following: Our Help Center goes live in about 5 days and our knowledge base articles are somehow categorized but not grouped to specific fields.   

In that example, (<https://haendlerbund.atlassian.net/servicedesk/customer/portals>) we do see different portals for My Account, IT Support, Legal stuff, etc., followed by the categories and the corresponding articles.   

How can I achieve this awesome and user friendly look and feel? Looks like they've got some more portals that all are linked to the service desk.  

I would say, I am more or less tech savvy, but I cannot find anything about it in the docs - weird, no? Is it a special plugin?   

Ours looks more or less like this (<https://uptain.atlassian.net/servicedesk/customer/portals>) even when there are a lot more articles in the backlog.   

Until now, I did not link those because it's so confusing.   

I appreciate your help! :)   

<br />

<br />


Answers:
author: Davin Studer
body: To get that kind of layout they created multiple Service Desk projects and linked them to confluence spaces for the documentation. When you have multiple projects you will see each in that card format on the portals page.


Tags: cloud

design

featured-groups

group

jira

knowledge-base
Create organization without a domain
Asked by Sorin Silaghi:

I'm trying to create an organization and it's asking me to verify a domain. I'm not interested in this, is there any way to get around it?


Answers:
author: Shannon S
body: Hello Sorin,

Thank you for contacting us about this.

In Atlassian Cloud, [by setting up an organization](https://confluence.atlassian.com/cloud/set-up-an-atlassian-organization-938859734.html), you will be able to manage a collection of users from a single company across multiple Cloud sites. This provides you with more permissions than a single Atlassian Cloud site-admin would have.

In order to prove that you have the proper access on your company's side to manage these users, it's required for you to verify your company's domain.
> Verify one or more domains for your organization to prove you own those domains. Once you verify a domain, all the Atlassian accounts that use email addresses from that domain become *managed* accounts of the organization. Learn more about [verifying a domain for your organization](https://confluence.atlassian.com/cloud/verify-a-domain-for-your-organization-873871234.html).

Since you're not looking to verify a specific domain, can you help me to understand more about the organization you want to manage? Does your company not have its own domain? If I can understand more about your organization, and what you are looking to do, I can help you with a solution.

Take care,

Shannon


Tags: cloud
Can't access a restricted page even though I'm an admin
Asked by Thi Thuy Duong Dinh:

So when I access this restricted page, it shows sth like this:

![1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/100643i00DEF8EC49CF86F9/image-dimensions/297x202?v=v2 "1.PNG")

This is one page in the whole space that I'm the admin of.

I tried to go to "Space Permission" but no hope.

Can someone help me out here please?

Thank you


Answers:
author: Rudy Holtkamp
body: On space level do you (admins) have 'Restriction permissions?

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/100649i9849B569AFA3C987/image-dimensions/586x95?v=v2 "image.png")

comments: author: Thi Thuy Duong Dinh
body: Hi,

we do have this permission, in fact we have all permissions in this space. That's why it's so weird to me.

Thank you,

Duong


author: Rudy Holtkamp
body: If you first install the [user switcher app](https://marketplace.atlassian.com/apps/1220850/user-switcher-for-confluence?hosting=server&tab=overview), then click on Request access, you should be able to see who will get an email. You see something like this:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/100844iDDAA19DEB3D59298/image-dimensions/233x88?v=v2 "image.png")

Now you can use the user switcher to become that user (use X+X followed by the user name) and change the restriction settings. And use X+X to switch back to your own user account.


Tags: confluence-server

permission

restriction

server

space
Excel Plugin freeze first row
Asked by Felix Occhionero:

Hello out there,

I would like to freeze the first line of a table made with the excel plugin. How can I make this work please?

I couldn?t find a thread describing this problem. The found results where all abut the normal confluence table.

Greetings :)


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Felix Occhionero](/t5/user/viewprofilepage/user-id/3985552)

I'm not sure if you mean the Office Excel macro or the Excel for Confluence app by Bob Swift by saying about the excel plugin.

But in both cases you can try to use our app - T[able Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview). Its [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro has the option to freeze rows and columns both for original Confluence tables and for the tables created with the help of other macros/apps.

comments: author: Felix Occhionero
body: Hello Katerina,

I ment the Excel PlugIn for Confluence by AppTeq. Is this the one by Bob Swift?


author: Katerina Kovriga {Stiltsoft}
body: Do you mean the [Excellentable Spreadsheet for Confluence](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence) by AddTeq? Cause I couldn't get any results for the AppTeq on the Marketplace.

If it is, then you can read their docs <https://www.addteq.com/exc/user-guide/faqs-how-to-use-excellentable/how-to-freeze-rows> (they have section related to freezing).

And originally I meant [this app](https://marketplace.atlassian.com/apps/197/advanced-tables-for-confluence?hosting=datacenter&tab=overview).


author: Felix Occhionero
body: I got an answer by AppTeq. It says: Select the second row and click freeze pane. Simple like that :D Thank you!


author: Shardul Juyal {Addteq}
body: Thanks [@Felix Occhionero](/t5/user/viewprofilepage/user-id/3985552) and [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746)   

Also, you can look at :

[How to freeze columns](https://www.addteq.com/exc/user-guide/faqs-how-to-use-excellentable/how-to-freeze-columns)  
[How to freeze rows (also includes how to freeze both rows and columns)](https://www.addteq.com/exc/user-guide/faqs-how-to-use-excellentable/how-to-freeze-rows)


author: gregscher
body: Is there a way to improve concurrent exccel spreadsheet editing on confluence? I have many excel docs that are uploaded to confluence, but the shared editing is not feasible. If edit using the atlassian plugin, you run the risk of squashing the edits of someone else, who also updated the same doc and uploaded it. Is this really a gap, or am I missing something?

comments: author: Shardul Juyal {Addteq}
body: Hi [@gregscher](/t5/user/viewprofilepage/user-id/4100435)

For collaborative editing of excel sheets in confluence, you can try our plugin [Excellentable](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence)


Tags: confluence-server

server
Cant create new Space (or Space with Template)
Asked by Manuel Henny:

Hi,

i made a fresh installation of Confluence Server. It seems that all is working except creating a new space (Ein unbekannter Serverfehler ist aufgetreten. (An unknown server error has occurred.))

If i try to add a new space with template, it loads endless - with no error.

Health Check is all green.


Answers:
author: Rudy Holtkamp
body: Have you taken a look at the logs?

```
<Confluence data dir>/Confluence/logs/atlassian-confluence.log
```

comments: author: Manuel Henny
body: Okay, i think i got it ...

REFERENCES command denied to user 'confluence'@'localhost' for table 'confluence.AO_54C900_CONTENT_BLUEPRINT_AO'

but if i try to fix it;

    GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on <JIRADB>.* TO '<USERNAME>'@'<JIRA_SERVER_HOSTNAME>' IDENTIFIED BY '<PASSWORD>';flush privileges;

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTIFIED BY '\<PASSWORD\>'' at line 1

i tryed the "

```
GRANT ALL ON
```

but this isnt working....


author: Rudy Holtkamp
body: Does this give an error too:

GRANT REFERENCES ON jira_db.\* TO jira_user@'localhost' IDENTIFIED BY 'jira_user_pwd';

And replace jira_db, jira_user and jira_user_pwd, but leave all quotes.

And restart Confluence afterward.


author: Manuel Henny
body: okay, solved it :)

stopped and restarted sql, confluence, server several times ... and now it works ... :)
How to mark an existing page as a space template
Asked by Eve Anij?rv:

I have an existing Confluence page that I would like to mark as a space template so it would show up as one when someone's starting to create a new page in that space.

I can see that I can edit or delete existing templates and create a new template from scratch, but is there a way to mark an already existing page as a template? Otherwise I would need to create a new template from scratch based on the existing page and this would be very time consuming.


Answers:
author: Maltavius
body: Open up two browser windows,

1. In one browser window navigate to Create a new template.
2. In the other, browse to the page you want to use as a template.  
   * Select Edit
   * Select the Whole page
   * Copy
3. In the "New Template"
   * Paste
4. Profit!

comments: author: Eve Anij?rv
body: I was just wondering if there is a less manual and less hacky way to do this. But good to realize this while I only have one page created I guess. :)

Thanks!


author: Maltavius
body: That's how we did it, just make a page skeleton until it looks like you want and then cut-n-paste it into a template, fix all the macros and then save.


Tags: cloud
I want functionalities like export pdf, share, attachments for user with no login in scrollviewport.
Asked by Akshay:

I want to add functionalities like export pdf, share and all as shown in below image for all users with and without login in my scroll viewport theme.

![functionalities1.PNG](/t5/image/serverpage/image-id/100613i6D5A8F9960CBB39A/image-size/large?v=v2&px=999 "functionalities1.PNG")

![functionalities1.PNG](/t5/image/serverpage/image-id/100613i6D5A8F9960CBB39A/image-size/large?v=v2&px=999 "functionalities1.PNG")


Answers:
author: Matt Reiner [K15t]
body: Hi [@Akshay](/t5/user/viewprofilepage/user-id/3887192)

To use most of these features, you must be logged into Confluence. However, you can enable PDF exports: for your readers

If you're using the Help Center theme, you can enable the [Scroll PDF Export integration](https://help.k15t.com/scroll-viewport/latest/server/integrations-168363871.html#id-.Integrationsv2.15-ScrollPDFExporter).

If you're using a custom theme, you can [use this recipe](https://help.k15t.com/scroll-viewport/latest/server/exporting-with-scroll-exporters-from-a-viewport-134488391.html).


Tags: scroll-viewport