youngmon/atlassian-qna huggingface dataset:
Display parent page in search results
Asked by Anton Kokh:

Hello,  
We are building a portal on top of Confluence and would like to enhance the search results with additional information.  
For every search result item (page or attachment), we would like to display the 1st level parent page this item belongs to.

For example, we have the following hierarchy of pages:  
\* DOCUMENTATION  
\* \* User Guides  
\* \* \* User Guide 1.pdf (attachment)  
\* \* Technical Guides  
\* VIDEO LESSONS  
\* \* Video Lesson 1

If a User Guides page or User Guide 1.pdf attachment is present in the search results, we would like to show a tag next to it saying that it belongs to the 'Documentation' section (sections always being 1st level pages in the hierarchy under the root page of Confluence content).

Couple questions:  
1. When an attachment is found in search results, is it possible to use its attributes somehow to find the page it belongs to (by ID in URL or similar)?  
2. If we know a page, it is possible to trace its hierarchy somehow (for example, using API) to find the 1st level ascendant?

Thank you!  
Anton


Answers:
author: Norris Pouhovitch
body: This is NOT an answer!

It is an end of 2020 and it seems that this trivial but very important aspect has not been addressed by Atlassian at all. We have a site which contains a directory structure of addresses, and we attach various documents associated with each address. We want to search for some documents and know which address they belong to, however, that does not seem to be possible in Confluence (or at least I have not found a way how to do that) without then clicking on each found document and looking in the path above. Why is the found document parent or even the whole path not included in the found result? Why cannot I chose them to be included as an optional choice?


Tags: atl-adm

confluence-server

search

server
Add admin user to a space in confluence
Asked by Asier Hernandez:

I need to add a user to manage the confluence space. I am using a rest api in C #. How can I do it?


Answers:
author: Shawn Masters
body: <https://community.atlassian.com/t5/Answers-Developer-Questions/Is-it-possible-to-change-Confluence-space-permissions-via/qaq-p/507131>

comments: author: Asier Hernandez
body: Sorry, I've been looking at the indicated page and I think it's not worth it. Anyway thank you very much.


Tags: confluence-server

server
Upgrade Conflunce to last version
Asked by Stefano Corbetta:

Hello,

we now use server Confluence 5.8.5-x64. Is it possible upgrade from Confluence 5.8.5 to last version without problem?

Also we must change the server. How can we transfer all data saved in Confluence from old server to new server?

Thanks


Answers:
author: Yogesh Mude
body: HI [@Stefano Corbetta](/t5/user/viewprofilepage/user-id/1410818),

please go through the articles for [Upgrading](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html)and [migrating](https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html)Confluence server between servers.

comments: author: Nic Brough -Adaptavist-
body: I'd strongly recommend treating both processes as separately. Plan and test them independently, even if you're going to do them on the same day, and don't get their parts mixed up.

It does not matter if you migrate 5.8.5 to a new server and then upgrade it to 5.14, then 6.x, or you upgrade first and then migrate.


Tags: confluence-server

server
all users view all spaces
Asked by Qais Sami:

Hello,

How we make any Space created on Confluence by default available for viewing for all users? instead of adding them manually for every space.

thank you


Answers:
author: Alana Fernando
body: Hello [@Qais Sami](/t5/user/viewprofilepage/user-id/1146647),

Below blog post will definitely help you get this done.

[Set Default Permissions for New Spaces](https://www.atlassian.com/blog/archives/quickly-create-and-set-default-permissions-for-new-spaces)

Below content is from above blog post.
> Confluence Administrator's now have complete control over the default permissions applied to newly created spaces. When you upgrade to Confluence 4.2.6 you'll find a new menu item under the *Users \& Security* section of the *Confluence Admin* console -- you guessed it, *Default Space Permissions* .


author: Ollie Guan
body: Please refer to global permission configuration

<https://docs.atlassian.com/confluence/docs-63/Global+Permissions+Overview>


Tags: confluence-server

server
'Search' and 'page jump' maco
Asked by Martin Williams:

I have used the Search macro in a page containing a Table with a large list of terms. What I really wanted was a search function which then jumped to one of the references in the table in the same page. The current search macro just opens up a new page on top with a small part of the description from the table.

I could use links and anchors but there will be over a hundred+ terms in the list.

Is there any macro which a user can search - then jump to - on the same page? (And then a 'return to top' button?)

Cheers


Answers:
author: Aimee Quinn
body: Did you find a resolution to this?


Tags: atl-adm
How much storage we have for our confluence cloud?
Asked by Luda Baklanova:

I need to find out how much storage we have for our confluence company space, maybe we can have breakdown on what we have used and what is left? Are there any options to add more storage if needed?

Thank you!


Answers:
author: AnnWorley
body: Hi Luda,

We don't have reports of how much space you are using, but we also don't usually suspend an instance based on storage. We don't have an option to increase the storage.

Please let me refer you to our [Atlassian Cloud storage policy](https://confluence.atlassian.com/cloud/atlassian-cloud-storage-policy-873871366.html):
> **Can I track my disk usage on Atlassian Cloud?**   
> It's not currently possible to track disk usage in Confluence or Jira products.
>
> **What will happen if I exceed my storage limit?**   
> If your Atlassian Cloud instance exceeds the storage limit, your instance will not be suspended, except in extreme circumstances, and we will not remove any data. If you exceed your storage limit by a small amount, and you're storing acceptable types of data, your products will continue to work (large video files are an example of an unacceptable attachment data type). If you exceed the limit by a large amount, we'll email your technical contact and offer help to reduce disk usage by archiving old Confluence or Jira product attachments.
>
> **Can I increase my storage limit?**   
> Currently it isn't possible to increase your Atlassian Cloud storage limit.

Thanks,

Ann

comments: author: Luda Baklanova
body: Thank you Ann for quick reply.


author: Jessie
body: Hi [@Luda Baklanova](/t5/user/viewprofilepage/user-id/907114) just wanted to share that we've increased the storage limit for both Jira Cloud products and Confluence Cloud from 25GB to 250GB, regardless of user tier.

If you have both Confluence and Jira, each has its own 250GB storage limit (note that all Jira family products have a combined storage limit).

Storage is primarily made up of:

* Attachments from Jira products
* Confluence attachments

It's also important to know that storage limits in Cloud are not currently enforced. We are currently revising our storage policy in Cloud and will roll out more options for purchasing additional storage, along with enforcing the limits sometime in 2019. We will notify customers in advance before we roll out these changes.

If your Atlassian Cloud products exceed the storage limit, your instance will not be suspended, except in extreme circumstances, and we will not remove any data. If you exceed your storage limit by a small amount, and you're storing acceptable types of data, your products will continue to work.


author: Di Chen
body: That's great!


author: Di Chen
body: [@Jessie](/t5/user/viewprofilepage/user-id/226992)That's means that storage limit for confluence cloud will no less than 250 GB no matter what the final storage policy will be?

If so, that would be quite great!


author: Jessie
body: [@Di Chen](/t5/user/viewprofilepage/user-id/1508976) that's correct!


author: Di Chen
body: [@Jessie](/t5/user/viewprofilepage/user-id/226992) Thanks!


Tags: cloud

confluence-cloud
Limit browse by topic display
Asked by Chela Wallace:

The Browse by Topic macro is displaying every tag ever created; is there a way to display just the first 10 for a letter, with a "see more" link? That would shorten the page.


Answers:
author: AnnWorley
body: Hi Chela,

I was not able to find the Browse by Topic macro on my test instance or in our documentation: [Macros](https://confluence.atlassian.com/doc/macros-139387.html).

Was the macro added as part of a user-installed add-on? If so, please let us know which one, to help get the attention of the vendor representatives on the forum.

Thanks,

Ann

comments: author: Chela Wallace
body: I apologize; I'm using the "Labels List" macro ("Browse by topic" is my heading text). I see that I can limit the list to a space; I can also exclude labels, but that's not practical, since there are so many.

I'm using this macro in our knowledge base, and we have a large number of labels, since the range of topics is broad, and I'm wanting to create as many searchable keywords as possible.


author: AnnWorley
body: Someone who knows the Velocity templating language could probably write a user macro to create the "see more" feature you're describing. Here is our intro to User Macros: [Writing User Macros](https://confluence.atlassian.com/doc/writing-user-macros-4485.html)

What do you see when you go to \<Your_Base_URL\>/labels/listlabels-alphaview.action? If the list displays in a way you like, you can add a link to it in the left sidebar of the knowledge base space:

![Screen Shot 2018-05-21 at 3.51.20 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/22580iD771E40FEFFB9171/image-dimensions/311x276?v=v2 "Screen Shot 2018-05-21 at 3.51.20 PM.png")

![Screen Shot 2018-05-21 at 3.51.33 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/22581i9731730D4C992CA0/image-dimensions/552x291?v=v2 "Screen Shot 2018-05-21 at 3.51.33 PM.png")


Tags: confluence-server

server
Is it possible for the CONTENT REPORT TABLE macro to impose an AND requirement for two labels?
Asked by KR Impersonation:

Hi,

The "Label(s)" field on the the CONTENT REPORT TABLE macro allows two labels to be entered with comma separators, but treats this as an OR requirement, displaying any page having Label A *and/or* Label B. I would help me greatly if I could set up this macro (or any macro) to display only pages having *both*Label A and Label B. Anyone know of a way to do this?

The closest I have come is to use the SEARCH RESULTS macro's Search Terms field, where I add: labelText:label-1 AND labelText:label-2. The Content Report Tables result format is nicer, though.

I have this same need for the LIVESEARCH macro. It has a "Restrict to Label(s)" field that accepts multiple label names, but will only perform an OR search with them. I need an AND search that will only display pages that have ALL the labels I list.

Any suggestions would be appreciated.

Thanks,

Kevin Ryan


Answers:
author: Alfie Chen
body: For those like me who stumbled upon this post now in the future, [Content by Label](https://confluence.atlassian.com/doc/content-by-label-macro-145566.html) is what you're looking for.

comments: author: vendorbilling_ssivt_com
body: Alfie,

Sorry for the delay responding. Thanks for this great advice. I did not know that Content by Label could deliver the AND label filter that I wanted.

Kevin


author: debbie.mac
body: This is the closest open question to what I want to do, which is to pull content ONLY if it has all the search parameters, using two tags pulls up everything with either of the tags.

Has anyone found an answer to this?

I note that this can be done using content by label but not the content report table.


author: Jonathan Smith
body: The quick solution would be to combine the 2 labels into 1 label (C). Label A and B are on a page, but add C if you want it to be in your Content Report Table.

I'll look though the knowledge base as well to see if you can do a "this and that" statement in the Content Report Table, but I doubt it.

*I like being proven wrong because I then learn something new.*

comments: author: KR Impersonation
body: Thanks, Jonathan. Combining two labels into one would kind of defeat the purpose of having an AND search. I'm looking to search through only documents that are the union of documents having Label 1 and documents having Label 2 --- not to have to manually re-tag such documents with a Label 3 to achieve my end.

Kevin
Incorporating Public space into a Confluence Instance (security concerns)
Asked by Jeffrey Bistrong:

I am trying to spearhead a change within my organization, to use Confluence as knowledgebase solution for our end users. This involves making one confluence space into a public space. Our organization continually undergoes SOC audits for security, and one of the concerns of my lead engineer is the human factor of a user incorrectly putting a page (internal documentation) into space for our external documentation. This is a security risk

Since I want to move this project forward, I want to have a few bullet points I can use to counter her arguments.

* the one main point I came up with is via user permissions, only select users will have write access to the public-facing space

Any other recommendations would be helpful since the alternative we are considering is Zendesk and I do not think ZD is the right solution for our team


Answers:
author: Davin Studer
body: To mitigate this I would tend to put in an approval workflow that requires multiple person sign-off to make sure that secrets stay secret. There are add-ons in the marketplace that can give you that functionality. The one I am most familiar with is [Comala Workflows](https://marketplace.atlassian.com/apps/142/comala-workflows?hosting=server&tab=pricing).
view deleted attachment activity?
Asked by Craig Comperatore:

The Recent Activity macro shows when a person adds an attachment, but not when he deletes an attachment. Is there a way to configure it to show this information, or is there another macro that can show me who/when an attachment was removed from a page?


Answers:
author: AnnWorley
body: One way for you to know when an attachment is deleted from a page is to watch the page. As it says in [How To Disable Notifications For Attachments Action](https://confluence.atlassian.com/confkb/how-to-disable-notifications-for-attachments-action-862622270.html):
> Whenever an attachment in a page are added, updated or deleted, each action will generate a email notification to the watchers.

comments: author: Craig Comperatore
body: Thanks. I'm going to try watching the space and see if that works
Activity stream gadget
Asked by Yulya Mandarinkina:

Hello!

Can I change the appearance of Activity stream gadget? I want to make it more concise


Answers:
author: Yogesh Mude
body: Hi [@Yulya Mandarinkina](/t5/user/viewprofilepage/user-id/1195606),

Yes, you can but you should have jira administrator permission for this.

Admin --\> User Interface section--\> System Dashboard

Choose Activity Stream Gadget and click on the top right corner bot and edit.


author: Vickey Palzor Lepcha
body: You can always add and delete gadgets - choose the best gadget you need and remove the rest. You can also move gadgets left - right - up and down :-)


Tags: confluence-server

server
How to confirm the existence of the group?
Asked by Mateusz Szumelda:

When I'm adding new group to define space permission

![permission.PNG](/t5/image/serverpage/image-id/22561i9AA8EB091D2032D2/image-dimensions/624x50?v=v2 "permission.PNG")

I receive information to confirm existence of the group. I'm a system admin and I've no idea how to deal with it ;/

![Error.PNG](/t5/image/serverpage/image-id/22562i0ED8E53C1D175528/image-dimensions/525x46?v=v2 "Error.PNG")


Answers:
author: Victor Mutambuki
body: Mateusz,

Are you an admin in confluence?

Victor

comments: author: Mateusz Szumelda
body: Yes, I'm, When I choose User management or Groups in Confluence admin panel it moves me to the Global Users Management Page for all our Atlassian Services, where is no option for extra group existence confirmation. It's just visible there with assigned users.

So it's not empty group, i'm using that group to limit Jira permission too. For Jira it's working.

![panel.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/22563i4A9B24A4A5E0373F/image-dimensions/129x391?v=v2 "panel.PNG")


author: Victor Mutambuki
body: Mateusz,

Are you using confluence cloud? IF so, see the topic [DEFAULT GROUPS and PERMISSIONS in ATLASSIAN CLOUD](https://confluence.atlassian.com/cloud/manage-groups-744721627.html).

victor


Tags: cloud

confluence-cloud
Error when starting own confluence Dockerfile with alpine_java jdk
Asked by Moritz M?nker:

When i start the container i get the following error:

\[FATAL tini (6)\] exec /entrypoint.sh failed: Permission denied

Not sure what to do now?


Answers:
author: gaurav
body: I think you already sloved this problem .   
But as like [@Edwin Kyalangalilwa](/t5/user/viewprofilepage/user-id/255918) says. it is permission issue a conclusion.   

```
chmod +x ~/<path-to-file>/entrypoint.sh
```

Build docker image again.   

It will run


author: Edwin Kyalangalilwa
body: Hi [@Moritz M?nker](/t5/user/viewprofilepage/user-id/1394028),

Either the file entrypoint.sh is not an executable file or the user being used to run the container doesn't have access to run the file.

Check permissions and whether the file is executable.


Tags: atl-adm

confluence-server

docker

install

jdk

server
Limit export to pdf functionality
Asked by Nikita Loginov:

Hi

We've got a problem when a space admins tries to export whole space as pdf. This in many cases leads to a confluence crash and affects performance in general.

Yes there is a way to restrict the export to PDF completely but I wonder if there a more elegant way to

\* disable exporting whole space to PDF

\* putting a limit on how many pages can be exported to PDF at once

I wasn't able to find a plugin for that. We can either try to override this behavior (if it's possible of course) by a self made plugin. Or perhaps there is a way to achieve that by adding some logic to velocity/js files?


Answers:
author: Nils Bier _K15t_
body: Hi Alex,

With Scroll PDF Exporter you can both limit the availability of the PDF export function to certain spaces, but also define a maximum number of pages:

* [Restrict the export functionality in spaces and for users](https://help.k15t.com/scroll-pdf-exporter/latest/restrict-the-export-functionality-in-spaces-and-for-user-groups-137870482.html)
* [Restrict the number of pages](https://help.k15t.com/scroll-pdf-exporter/latest/restrict-the-number-of-pages-that-can-be-exported-in-a-single-export-140542330.html)

You can try Scroll PDF Exporter using a 30 day trial license [via the Atlassian Marketplace](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=server&tab=overview).

Please feel free to reach out to us via support@k15t.com if you have any questions regarding the app.

Best,  
Nils

comments: author: Nikita Loginov
body: Thanks Nils

Do I understand this correctly that you were able to control this because you completely override default pdf export engine with your our pdf processing? Or you hooked somehow in the inbuilt pdf process?


author: Nils Bier _K15t_
body: Hi Alex,

We've implemented our own export mechanism and do (per default) hide the standard export to PDF functionality after Scroll PDF Exporter is installed on a system.

If needed, this can be changed easily, to have [our export functionality and the default PDF Exporter available](https://help.k15t.com/scroll-pdf-exporter/latest/how-can-i-show-the-built-in-export-to-pdf-button-in-the-page-tools-menu-125705680.html) in the tools menu.

Cheers,  
Nils


author: Nikita Loginov
body: Thanks for the info Nils


author: Akshay
body: Hii Nils,

Can I make this export functionality available to all users(user with login or without login). As we designed theme using scroll viewport, and I want this export pdf functionality available in each article, and in each space. As I am new to confluence can you please tell me how can I achieve it?


Tags: atl-adm

confluence-server

export

pdf

server
Active Directory \ LDAP Authentication
Asked by Andrew Ford:

Hello, I am very new to Atlassian products and I've inherited an infrastructure that use many of the products:

Confluense

Crowd

Jira

BitBucket

Bamboo

There is AD / LDAP authentication setup, where do I find the config for this, reason being it must be using the default domain administrator account as when I disable this account logon's stop working, ideally I want to use a dedicated service account and get the admin account disabled.

Can you point me in the right direction.


Answers:
author: Andrew Ford
body: ended up having to edit the SQL table dbo.cwd_directory_attribute :)

comments: author: Grigory Salnikov
body: Glad you've solved this problem.

By the way, in [this article](https://community.atlassian.com/t5/Jira-questions/I-have-an-activedirectory-issue-the-URL-to-ldap-has-changed/qaq-p/6712) the similar situation is described and there's also [another solution](https://confluence.atlassian.com/jira/retrieving-the-jira-administrator-192836.html) to it. May be it could have worked in your case also.

It's always a good practice to have your local admin account. External directories are not so reliable.


author: Andrew Ford
body: I have a Crowd Server Directory Name but it says 'You cannot edit this directory because you are logged in through it, please log in as a locally authenticating user to edit it.'

I don't think I have a local account...

comments: author: Grigory Salnikov
body: In this case you should still be able to create an internal user, grant him Jira Administration rights, log-in with this account and manage Crowd Server Directory.


author: Andrew Ford
body: Great, I can now Edit my Directory Name, although there does not seem to be any LDAP settings and no reference to the domain administrator account?


author: Yogesh Mude
body: The steps is as follows..

1. Choose the cog icon then choose General Configuration
2. Click 'User Directories' in the left-hand panel.

please have a look at this [article](https://confluence.atlassian.com/doc/configuring-user-directories-229838212.html)for more information.


author: Grigory Salnikov
body: Hi!

The setting you're looking for is located here:

![settings.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/22527iD7109F4F9ED21D5E/image-size/large?v=v2&px=999 "settings.jpg") *\> User Management \> User Directories*

There you'll find a list of directories connected. You can add a new directory or edit an existing one.

Hope this helps.

P.S. Haven't configured LDAP connection yet, so can't be more specific, sorry.


Tags: confluence-server

server