youngmon/atlassian-qna huggingface dataset:
Is there a way to show a page tree filtered by a label?
Asked by Mira:

My org's Confluence pages are organized by topic (internal processes, customer processes, professional development, team meetings, etc). However, these topics contain pages that are specific to different teams (starter, plus, premier, elite). Is there a way to show a page tree, but filter it by a label? The "content by label" macro doesn't have the visual organization of a page tree, but the "page tree" macro doesn't have the filtering capability for labels.


Answers:
author: Shannon S
body: Hi Mira,

Welcome to Atlassian Community. I hope you are doing well.

The [Content by Label macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/) is best for displaying content under a particular label, but I understand you want to sort by page tree. Displaying content by labels in the page tree order is not possible right now, but we have two feature requests open that will interest you.

* [CONFCLOUD-59993](https://jira.atlassian.com/browse/CONFCLOUD-59993) *Add Sorting to match page tree order in Macro Sorting*
* [CONFCLOUD-42952](https://jira.atlassian.com/browse/CONFCLOUD-42952) *As a Confluence administrator, I would like to have additional sorting options in the Page Tree Macro*

There isn't a lot of interest yet, but you can help by voting on the request and commenting with your feedback.

I hope this helps,

Shannon


author: Connor Sadler
body: I too would like to filter the page tree by a label

Nothing to do with sorting BTW!

comments: author: Carey Hartmann
body: I agree. In my case, this feature would allow appropriate nesting of pages in an index display, filtered only to pages with a specific label or set of labels.


Tags: cloud

confluence-cloud

filter

label

macro

page
Download all attachments in a confluence workspace
Asked by tscoggin:

I'm trying to export every attachment found in a specific confluence workspace. Is this possible. I see where you can export a pages attachments but I need all the attachments in the entire workspace.


Answers:
author: Oki__PolarisOffice_
body: [@tscoggin](/t5/user/viewprofilepage/user-id/3939703)

Hello,

Addons enable you to manager attachment files easily.   
I would like to recommend [Attachments Manager for Confluence](https://marketplace.atlassian.com/apps/1222381/attachments-manager-for-confluence?hosting=cloud&tab=overview) that allows you to all attachments file in a certain space.

Free trial for a month is also available. Please check it.

comments: author: tscoggin
body: Thanks Oki. We are not looking to buy an addon for this task.


author: Bastian Stehmann
body: Hi [@tscoggin](/t5/user/viewprofilepage/user-id/3939703) ,

I don't think that you can download all attachments directly.

But maybe the Space Export is a workaround. There you can choose to include all attachments and then download this all as zip file. You will have to extract the files then.

But I'm not sure, if the filenames are preserved this way.

comments: author: tscoggin
body: Thanks Bastian,

I gave the Space Export a try and you are right it changes all the file and folder names to a bunch of numbers so figuring out what's what out of hundreds of files and folders isn't going to work.

Appreciate the help.


author: Victor Prasad
body: Is this available for Confluence Server?


Tags: cloud

confluence-cloud
Sign in with Google
Asked by Antonio Marques:

I have start to create the users inside the Confluence limiting just to my company domain.

If I did LOGOUT, I can access using "Continue with Google" button, but also I can login with my corporate email and a different password (the one I have create to login without G Google"

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

Questions for Confluence CLOUD:

- Is it possible in Confluence Cloud, use ONLY the Google Account or I should set up an SSO ?

- Can I disable the "normal" login fields ?

- Can I disable the password change in Confluence ?

Thanks in advance

Antonio S?


Answers:
author: Vero Rivas
body: Hi [@Antonio Marques](/t5/user/viewprofilepage/user-id/4269815)

Look at this posts, maybe can help you

<https://confluence.atlassian.com/cloud/how-g-suite-users-log-in-744721643.html>

<https://confluence.atlassian.com/cloud/enable-or-disable-g-suite-integration-873918510.html>

<https://support.atlassian.com/provisioning-users/docs/require-users-to-log-in-with-google/>

<https://confluence.atlassian.com/cloud/security-with-g-suite-938859740.html>

<https://confluence.atlassian.com/cloud/g-suite-faqs-873871245.html>

Cheers


Tags: cloud

confluence-cloud
Hallo Zusammen, es wird von Dienstags Tipps&Tricks gesprochen. Ist das ein spezieller Frage und Antw
Asked by Gary Amato:

Bin hier ziemlich neu dabei. Versuche ein Organisationshandbuch zu unseren Betriebsabl?ufen zu erstellen. Freue mich ?ber jede Antwort die ich kriegen kann.

Wir sind nicht gro? aber wissenshungrig und lernfreudig. In Euren Computersprachgebrauch - Slang werde ich mich schon reinfinden.

Ein paar Seiten konnte ich schon erstellen und Links dazu. Es fehlt noch an der Struktur.

Aber aller Anfang ist schwer. Bis bald.


Answers:
author: Kurt Klinner
body: Hallo Gary

die Atlassian University hat ein paar freie Kurse verf?gbar, die als Einstieg recht gut sind

<https://training.atlassian.com/confluence-cloud-basics>

<https://training.atlassian.com/confluence-content-management>

und evtl. <https://training.atlassian.com/using-confluence-for-documentation-and-knowledge-bases>

Dar?ber hinaus w?rde ich dir die offizielle Doku empfehlen <https://www.atlassian.com/software/confluence/guides/get-started/set-up>

Viele Gr?sse

Kurt


Tags: cloud

confluence-cloud
How do I save my page modifications?
Asked by Mircea Lutic:

I just edited a page.

How do I save it?

"Publish" says there already is a file with this name.

I don't want to create a new name/file.

I just want to overwrite the existing page with the modifications I made.

How do I do that?


Answers:
author: Walter Buggenhout
body: Hi [@Mircea Lutic](/t5/user/viewprofilepage/user-id/4334924),

Publish is the right and only way to save your page. If you get a message saying there already is a page with the same name, that is most likely because there is. Page names must be unique within the same space in Confluence.

What you could do (to make absolutely sure you don't lose your changes) is to change the name of the page you are currently editing, hit the publish button to save your page and then check if you can find the other page that has the same page name.

It should be no problem to afterwards edit your page again and update its page title.


author: Ismael Jimoh
body: Hi [@Mircea Lutic](/t5/user/viewprofilepage/user-id/4334924)

when you say you edited a page, do you mean you edited a page or a file on a page?

Secondly when editing the page, did you upload a file and if yes can you confirm that no other file with the same name exist?

If there is then you would need to either:

1. Rename your file
2. Delete the existing file and upload your file.

Regards.


Tags: cloud

confluence-cloud
'Related Labels' showing non-related labels
Asked by Sunita Verma:

This query is with regards to the 'Labelled Content' results page after a label has been selected from the Labels List macro.

For example, I have labels 'A', 'B', 'C', 'D', 'E' where only 'B' and 'C' are related to 'A'. When I click on 'A' in the Labels List, the result correctly shows 'B' and 'C' under Related Labels. When I add 'B' and 'C' to the list of required labels (in addition to 'A'), there should ideally be no results in Related Labels. However, in doing so, 'D' and 'E' appears in the list of Related Labels when they are not supposed to.

Is there a workaround for this? What is the logic for Related Labels?


Answers:
author: Walter Buggenhout
body: Hi [@Sunita Verma](/t5/user/viewprofilepage/user-id/4334775),

Although the *labelled content* page is not editable, the list of related labels is most likely populated with the *related labels* macro. That macro pulls in all the labels from pages that have the listed labels on them. From [the documentation](https://support.atlassian.com/confluence-cloud/docs/insert-the-related-labels-macro/):
> The Related Labels macro lists all labels from every page which has one or more labels in common with the current page.

D and E most likely appear in the list of related labels because you probably have pages in your space that combine with label B or C.

It is enough to have only 1 page with both labels on it to impact the related labels macro's result.

comments: author: Sunita Verma
body: got it! so it shows related labels to any of the labels that are already selected, thanks for the clarification


author: Florent R_
body: Hello there,  

There is a strange logic in the actual "related labels" results. When you add suggested labels, despite the "AND" search with all selected labels, it widens the list of related labels instead of narrowing it. And most of the time, the result become empty because suggested labels are scattered across pages that have not many identical labels.  

I contacted the Atlassian support to ask for an improvement but they want to gather interest in the first place.

So, if you are interested, you can vote for this ticket :  
<https://jira.atlassian.com/browse/CONFSERVER-68220>

Have a nice day !


author: Nic Brough -Adaptavist-
body: Welcome to the community!

I think you are misunderstanding is explained when you say "required" in your question. The macro accepts a list of labels to relate stuff to, not doing "only related to". It is not listing labels only related to your parameters, it's for listing labels related to all the labels you are asking about.

I am struggling to explain this clearly, I think, so I'll try to explain with an example.

Using your labels, I can tell you that you have something like the most simple case:

page 1, labelled A, B, C

page 2, labelled B, D, E

So, when you put just A in the macro, it sees page 1 and puts B and C in the list of results. When you then put B in the parameters, it now sees page 2, which has D and E, so it adds them to the list of results because they're related to B


Tags: cloud

confluence-cloud

label

macro
Security bug on Recommended mail ?
Asked by Service CNS:

Hello all,

Some people have received "Confluence recommendation" emails containing large extracts of private documents they were not supposed to read.

They don't the right to read/modify the page but they receive the "Confluence recommendation mail" about this page (with the content)

So, we decided to disable "Recommended mail".

Do you know how to solve this ?

Many thanks

CNS


Answers:
author: Service CNS
body: up


author: Service CNS
body: Hi,

We have already disabled the notification but do you resolve this bug in the future ?..


author: G subramanyam
body: Hi [@Service CNS](/t5/user/viewprofilepage/user-id/3598789) welcome to the Atlassian community.

I'm sorry to hear about the bug that has sent "Confluence recommendation" emails.

At the moment, I would request your Confluence admin look and turn off the "Recommended Updates notification" (enabled/ disabled), check if your confluence has "public signup" enabled or disabled to ease the situation.

You might check this ***[Article](https://confluence.atlassian.com/doc/configuring-the-recommended-updates-email-notification-281480712.html "https://confluence.atlassian.com/doc/configuring-the-recommended-updates-email-notification-281480712.html")***for the steps.

If the above step worked out, your internal team can start with RCA.


Tags: confluence-server

server
Import a Confluence Spaces constantly fails (error: Only Confluence space exports can be imported)
Asked by ilyapoleschuk:

I created backup of Confluence Cloud using Backup manager (button "Create backup for cloud"), download it and tried to restore **original** file (Import spaces menu, selected original zip archive).

Restoring fails right after unzipping on server with error: \<\<Only Confluence space exports can be imported\>\>. Again and again.

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

I unsuccessfully tried to unzip backup and zip it using Terminal to exclude macOS files (.DS_Store and etc). The same error.

So, I cleaned Confluence Cloud and created new backup with only one space and one page and tried to restore it on macOS and Windows 10. Both times it failed.

Looks like restoring backups not working...

How can I restore my data from Confluence Cloud backup?

How can I know why restoring backup fails, can I see logs of Confluence Cloud?

What are the requirements to backup file, why it can't be restored?


Answers:
author: Bastian Stehmann
body: Hi [@ilyapoleschuk](/t5/user/viewprofilepage/user-id/2373357)

You have to create a space export and not a complete backup, if you want to restore only one space.

For this, go to the space, space settings and then export. There you can create a space export.

comments: author: ilyapoleschuk
body: Hi [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496)

I want to restore **all spaces** with complete backup, not only one space.

But even with complete backup of only one space I can't restore it. This was just for example and testing.


author: Bastian Stehmann
body: Hi,

You can import spaces, one at a time, and use the space export for that.

Or you import a complete backup choosing to restore a site. But that will overwrite all existing data. For this, you need a full backup.

You can not import spaces from a full backup.


author: ilyapoleschuk
body: [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496) , thanks!

I finally restored the backup.  
I have to say that the process is difficult to guess yourself that a backup can be restored only if one product is activated.


author: Mbecho Techago
body: hi [@ilyapoleschuk](/t5/user/viewprofilepage/user-id/2373357)

Which product did you activated beofre you were able to restore the entire backup zip file


Tags: backup

cloud

confluence-cloud

free

restore
Monitoring user Activities
Asked by ???? ????:

hey all,

I want to create a dashboard to monitor user's activity to enhance it...

I want to know how much every user edits/adds/delete,

what users saw what pages, and what pages are the most viewed...

if possible I would also like to make surveys between users.

is there any plugin for that? I tried looking on the web but couldn't find anything useful.


Answers:
author: Vero Rivas
body: Hi [@???? ????](/t5/user/viewprofilepage/user-id/4334107)

Look at this addon, maybe can help you

[https://marketplace.atlassian.com/apps/1224662/usage-statistics-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1224662/usage-statistics-for-confluence?hosting=cloud&tab=overview)

Cheers

comments: author: ???? ????
body: hey! thanks for answering, but this addon seems to give only high-level statistics, I need statistics for each user who has been using my space.


author: Vero Rivas
body: Look this:

[https://marketplace.atlassian.com/apps/1212030/spaceauditor-statistics-analytics?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1212030/spaceauditor-statistics-analytics?hosting=server&tab=overview)


Tags: confluence-server

server
curl http request returning bad/illegal format or missing URL for REST Api
Asked by Rchowdhury1:

I am creating a script in python that can gather data from an atlassian confluence wiki page through an http request using the curl command. The confluence website I am trying to access is maintained by my company's server. The command I am currently using is:

    curl -v -w -u admin:admin https://confluence.wdc.com/rest/api/content/494966598 | python -mjson.tool

In place of admin:admin I type my username which is my email then a colon and my password so for eg. ridwan.joshi@wdc.com:thisispassword@ai I know that the link is correct as when I click "[https://confluence.wdc.com/rest/api/content/494966598](https://confluence.ai.com/rest/api/content/494966598)" it directly takes me to the page which gets displayed in a JSON format with all the information but when I try to enter that command in the terminal I get an error saying.

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

How should I securely authenticate to my company's confluence page through the terminal and eventually through my Python script?


Answers:
author: Andy Heinzer
body: Hi,

I understand that you are using the REST API to try to extract some json data from Confluence, but that this is not working as expected here. I believe I know why this happening now.

The output of your curl by itself (without the pipe) tends to show some additional lines of output that are not really json. In this case, since you appear to be looking to format that output, we need to tell Confluence that we are wanting specific content type (json). Also using the -v switch provides a more verbose output than is usually wanted, unless you have to debug some aspect of the connection. With that in mind, try this instead:

    curl -u admin:admin -H "Content-Type: application/json" https://confluence.example.com/rest/api/content/494966598 | python -mjson.tool

As for securely authenticating these REST calls, [OAuth](https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-oauth-authentication-6291692/) is the recommended means to do this, but it is considerably more complex to setup than a basic auth is.

An alternative to OAuth would be to use a [personal access token](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html), this is not as secure as OAuth, but is more secure than just using a password and less complex than configuring OAuth. As a side note about personal access tokens: These have only recently been made available to Server and Data Center editions of Jira (8.14 and higher) and Confluence (7.9 and higher). Atlassian Cloud has had [API Tokens](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/) for quite a while longer. But in the case of using a python script, I'd suggest a personal access token if your version of Jira/Confluence supports it.

I hope this helps.

Andy


Tags: curl

jira-server

json

rest-api

server
can a person with "view only" permission make comments?
Asked by Sean Ross:

I am making a table in confluence to capture comments about a list of topics. I also have status bars on that table. I would like people to be able to make comments but not modify the page in any other way. Can people make comments if i restrict everyone to view only?


Answers:
author: Irina_Bel_Stiltsoft_
body: Hi [@Sean Ross](/t5/user/viewprofilepage/user-id/4333904) ,

I would like to suggest this scheme: enable Comments permission over the space in the [Space tools](https://confluence.atlassian.com/doc/navigating-to-space-tools-379879932.html) to the group or users that you want to be able to comment, but revoke Edit permissions on the specific page that you want to prevent from modifying.

Also, you mentioned that you use the table for capturing comments. [Talk - Advanced Inline Comments for Confluence](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=datacenter&tab=overview) has the Talk Report feature. It helps to see inline comments from different spaces or/and pages. It includes the following information:

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

It might be helpful in your case to get some additional information.


author: G subramanyam
body: Hi [@Sean Ross](/t5/user/viewprofilepage/user-id/4333904) welcome to the Atlassian community.

To answer your query, I would say the confluence user who has "space admin rights" can restrict the viewer from modifying the page, but can enter comments or delete his own comments if no further discussions happening on his comment section.

Here's the overview of the settings page. If you have space admin access, then try your hands (as per the below screen shot). If you are in a free plan, you will not have edit permissions option.

(Note: I'm on free plan tried to reproduce your query. Below is the screen shot of permissions an admin can exercise for there employees)

![Confluence space permissions.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/137298i8F1541A944050569/image-dimensions/605x281?v=v2 "Confluence space permissions.jpg")

I hope my post answers your query. Stay safe and stay healthy.


Tags: confluence-server

server
Creating a new space as a software project sets page titles in Italian
Asked by Lee:

The new space being linked to an existing JIRA project on creation.

If the name of the space in the "new space" dialog contains the word "documentation", Confluence creates a set of software project pages for the space in ++Italian++ , e.g. "Requisiti Prodotto" (*product requirements*).

A workaround is to not include the word "documentation" when creating the space, but to edit the name to include this once the space has been set up (after the project pages have been created in English).

Is this a bug? Is Confluence guessing the language for the newly-created space from the text of the specified space name? Have I missed a configuration setting somewhere in Confluence to ++always++ have space page titles be in English?


Answers:
author: Diego
body: Hello there [@Lee](/t5/user/viewprofilepage/user-id/3799758)!

That is an interesting behavior, to say the least. I still need some details so I can better understand the situation and try to replicate this behavior.

With this in mind, I will ask you the following questions:
> 1. What language is your profile set to?  
>    ![Screen Shot 2021-04-05 at 15.35.03.png](https://community.atlassian.com/t5/image/serverpage/image-id/137479i50264F2DBE33F97E/image-dimensions/299x117?v=v2 "Screen Shot 2021-04-05 at 15.35.03.png")
> 2. What language is your Confluence site set to?  
>    ![Screen Shot 2021-04-05 at 15.35.54.png](https://community.atlassian.com/t5/image/serverpage/image-id/137480i5786D34B9BA9A0BB/image-dimensions/200x176?v=v2 "Screen Shot 2021-04-05 at 15.35.54.png")
> 3. What is the language that your browser is set to?
> 4. Do you type exactly "documentation" in the space name or is it "Documentation"?
> 5. Is there any other word that is part of the space name or is it only "documentation"?
> 6. What happens if other user creates a space of the type "Software project space" and include the word "documentation" in the space title?

I tried to replicate locally, but was unable to. No matter how I included the word "documentation" on my space name.

Let us hear from you!

comments: author: Lee
body: Hi Diego, answers to your questions:

1. Language is set to "English (UK)" at <https://id.atlassian.com/manage-profile/account-preferences>

2. Global default language is set to "English (UK)" at <https://sitename.atlassian.net/wiki/admin/viewlanguage.action> (site name replaced with "sitename" for security)

3. Browser language is set to "English"

4. It was "documentation" not "Documentation"

5. Yes, another word (please send me a private message / email if you need to know this)

6. This hasn't been tried yet, but I can let you know.

<br />

Thanks,  
Lee


Tags: cloud

confluence-cloud