youngmon/atlassian-qna huggingface dataset:
Anchor Links Not Working from Different Page
Asked by Charisma Riley:

For some reason, I cannot get the anchor links on a different page to go to that anchor--it just opens the entire page. What am I doing incorrectly? The link is formed like:

```
SpaceKey:Page Name#anchor name
```

Any thoughts?


Answers:
author: Rambabu Patina _Appfire_
body: Hi [@Charisma Riley](/t5/user/viewprofilepage/user-id/1901166),

Are you trying to navigate to the anchor in the different page then please try just:
> page name#anchor name

If you are trying to navigate to the anchor in the page on different space then:
> spacekey:page name#anchor name

Please make sure you have given correct page name and anchor names.

Thanks,  
Ram.


author: Bill Bailey
body: Make sure the anchor name has no spaces, if you are trying to link to a heading, or if your anchor name has spaces.


Tags: cloud

confluence-cloud
Space permissions by organization?
Asked by Derek Chisholm:

I'm pretty new to Confluence and working wrapping my head around permissions and user access so bear with me and my ignorance.

I have a space that I'm creating as a knowledge base for employees at our company. I don't want to make publicly available for the wide internet but I don't want to add every person who needs access to the space as a paid user to Confluence either.

Is there a way to allow view access to a space for an unnamed group of internal users without making it available to anonymous users outside of the organization? I'm thinking similar to the Customer concept in Service Desk.


Answers:
author: Ollie Guan
body: Hi [@Derek Chisholm](/t5/user/viewprofilepage/user-id/1369348),

Conf's permissions are divided into two parts: global and space.You can restrict the permissions of two types of users by using user groups.

<https://confluence.atlassian.com/confcloud/global-permissions-overview-724765488.html>

<https://confluence.atlassian.com/confcloud/space-permissions-overview-724764760.html>

![global.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/42547iEA124230796233E5/image-size/large?v=v2&px=999 "global.JPG")

comments: author: Derek Chisholm
body: i Ollie,

Thanks for your response, it got me on the right track!

My goal was to give JSD customers access to a Confluence space without having to license them for Jira or Confluence while keeping it private.

Within the linked article [Global Permissions Overview](https://confluence.atlassian.com/confcloud/global-permissions-overview-724765488.html) I found a link to a JSD article titled [Serving customers with a knowledge base](https://confluence.atlassian.com/servicedeskcloud/serving-customers-with-a-knowledge-base-732528995.html) with details on knowledge base permissions.

I had to change the JSD project setting Knowledge base \> Access \> Viewing to "Everyone with access to your service desk can read articles without a Confluence license."

![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/42663i522E77CA370276AC/image-size/large?v=v2&px=999 "Capture.JPG")


Tags: confluence-cloud
Can't connect Confluence to Marketplace
Asked by Adam Lanzafame:

Hi,

I am running Confluence 6.13.0 with UPM 2.22.14.

When I navigate to Settings.. Manage apps I get two error messages which say:

Error 1:

This version of Confluence is unrecognized to the Atlassian Marketplace. It might be a non-standard build or be too new to appear. All app data below is for the latest known product version. **App compatibility with this Confluence version is unverified; install apps at your own risk.**

Error 2:

This version of Confluence is unrecognized by the Atlassian Marketplace. It might be a non-standard build or be too new to app

How can I fix this problem? Is it possible to install apps downloaded from the Marketplace manually?

Adam


Answers:
author: Yoga Reddy {Appfire}
body: Hi [@Adam Lanzafame](/t5/user/viewprofilepage/user-id/2566000)  

Can you please go through the following [article](https://confluence.atlassian.com/upm/problems-connecting-to-the-atlassian-marketplace-273875718.html) and identify the root cause of this issue.  

Thanks

Yoga

To approve a single suggestion, mouse over it and click "?"Click the bubble to approve all of its suggestions.


author: Adam Lanzafame
body: Thanks, Yoga.


Tags: confluence-server

server
Filter tasks based on keywords
Asked by Coco Pearce:

New to Jira/Confluence.

I have a single page for general updates, including a section for Action Items and a section for Risks (both sections are lists of tasks). I want to be able to differentiate these two types of tasks so I can pull them out into a separate page with two distinct Task Report macros, one for Action Items and one for Risks.

Is there a way to label action items with the key word \[Action Item\] and Risks with the key word \[Risks\], and somehow separate them into the two distinct Task Report macros? As far as I can tell, I can only filter tasks based on location, labels (which are page-level, not task-level), create user, etc.


Answers:
author: Diego
body: Hello there!

As of today, there is no feature that allows this kind of tagging / referencing with those macros. However, there is a **workaround for this:**
> 1. Create a page called **risks**
> 2. Tag that page with the tag **risk**
> 3. Create a page called **actions**
> 4. Tag that page with the tag **action**
> 5. In each page, insert an **excerpt macro**
> 6. Create your Task Lists **inside those macros**
> 7. Now, go back to your **General Updates page**
> 8. Insert **two excerpt include macros**
> 9. In one of them, point it to the excerpt under the **risks page**
> 10. In the other, point it to the **actions page**
> 11. Publish the page
> 12. Now, go into your other page and **insert a task report macro** for each tag

This should achieve the desired results. Also, you will need to edit the tasks directly into each page (adding new tasks, removing or editing). However, **checking or unchecking them** can be done **directly into the page with the excerpt include macro.**

Let us know your thoughts on this!


Tags: cloud

confluence-cloud

filter

task

task-report-macro
What happened to David Peterson's Conveyor plugin?
Asked by Andreas Lekas:

Hello, I'm looking to override viewpage.action to handle some special pages in our Confluence instance and came across a few issues that reference David Peterson's Confluence Conveyor project. I'm aware that somewhere along the lines that project was absorbed by ServiceRocket, but then the trail goes cold.

Here's where I found the reference to the plugin: <https://jira.atlassian.com/browse/CONFSERVER-9102>

And here's the current BitBucket source code that hasn't been touched since Confluence 5.8, it looks like: <https://bitbucket.org/servicerocket/confluence-conveyor/src/master/>

I'm very interested in this functionality. Can anyone shed some light on where this project ended up? I can't find much information about Conveyor more recent than about 2015 or so.


Answers:
author: Azwandi _ServiceRocket_
body: Hi Andreas, ServiceRocket does no longer maintain Conveyor (and RandomBits plugins) although it's open sourced. Repo is per your original post.


Tags: confluence-development

confluence-server

conveyor

server
can not connect to postgres database
Asked by Duy Nguyen:

installing confluence in our local server with postgres database but couldn't get to the start page.


Answers:
author: Rambabu Patina _Appfire_
body: Hi [@Duy Nguyen](/t5/user/viewprofilepage/user-id/2565910), Welcome to the Community.

Please verify your postgres database is up and running properly. Below are the useful articles to trouble shoot the similar issue:

[startup check confluence wont start as it cannot connect to a database](https://confluence.atlassian.com/confkb/startup-check-confluence-won-t-start-as-it-cannot-connect-to-a-database-953127209.html)

[Cannot connect Confluence to a postgresql](https://community.atlassian.com/t5/Confluence-questions/I-cannot-connect-Confluence-to-a-postgresql-db/qaq-p/297200)

Hope this helps you.

Thanks,  
Ram.
Is It Possible To Hyperlink To Local Files??
Asked by Michael Campbell:

Hi,

Is it possible to hyperlink to local files within Confluence? I have tried taking the local file path and inserting it as a link under web link section but this doesn't work.

I need to keep the files on the network and not store them on Confluence as other non-Confluence users need to access and edit them too.

Hope you can help.

Thanks


Answers:
author: Sid
body: Hi [@Michael Campbell](/t5/user/viewprofilepage/user-id/2521778)

According to the document - it is not possible - <https://confluence.atlassian.com/confkb/cannot-link-to-local-files-from-within-confluence-216958257.html>

But there are few threads showing the solution -

<https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790>

I have tried it, but if the user have added the drive to his/her network drives it works but most of the times it fails

I would see if anyone have the solution/ work around

comments: author: RobertG
body: Yeah, this is sad, but what I've done is create a non hyper link text only reference such as:

file://corporateServerName/patha/pathb/file.html

file://corporateServerName/patha/pathb/file.doc

file://corporateServerName/patha/pathb/file.pdf

Same for local files:

file://C:\\Users\\me\\DEV\\DOCS\\file.doc

then just paste this into the URL path.

Why Atlassian does not have a simple CTRL\^K equivalent for local files and interpretation that says open new browser page and post this in the URL is just odd.

\<a href="file://corporateServerName/Path/PathToUsefulInfo/"\>UsefulInfo\</a\>


Tags: cloud

confluence-cloud
Error while cleaning the installation directory Confluence server version 6.10 to 6.13
Asked by N Apps:

I am encountering an error while upgrading confluence server version from 6.10 to 6.13 - "Error while cleaning the installation directory"

Steps taken:

1. Back up the confluence folder

2. stopped the confluence and SQL services

3. Ran the installer to upgrade, and it errors out at cleaning the installation directory step.


Answers:
author: Sid
body: Please check if the permission of all the files related to confluence is correct. Ensure that *only the directories* can be written to by this dedicated user account (e.g. 'confluence')

comments: author: N Apps
body: Yes, I did check that. I am the administrator and I have full access to the install directory.


author: Sid
body: It should be a dedicated user. Make sure the dedicated user is owner of the confluence directories. It is always suggested to run confluence with a dedicated user not your personal account.

<https://confluence.atlassian.com/doc/creating-a-dedicated-user-account-on-the-operating-system-to-run-confluence-255362445.html>


author: Sid
body: Also can you confirm the installation directory owner is same as the user account you are using to upgrade the confluence. if they are both different the installer cannot write to the files which is causing the installer to stop.


Tags: confluence-server

server
Will my content still be private to the general public if I invite anonymous users?
Asked by Ian Malott:

I'm trying to find a way to give my team "Read/View only" access to my content without having to create a confluence account for each member. I don't want the content to be viewable by the general public, only the people I invite.


Answers:
author: Nic Brough -Adaptavist-
body: You can't do this as stated because a user either has an account or they do not. There are three ways an individual can see Confluence content:

* They have an account that has "browse" access to a space
* Anonymous access is enabled (which means the user does not need to log in, but you can't tell who they are)
* You have Jira Service Desk hooked up to a "Knowledge base" - these "customer" accounts get access to KBs via their customer-of-JSD account. But the space must be linked to JSD.

comments: author: Ian Malott
body: Thank you for your reply!

So if I am understanding your answer correctly, my team members need to have an account in order to view content on Confluence.


author: Nic Brough -Adaptavist-
body: Yes, you are absolutely right.

The first and third access method require accounts for the users. The first is a confluence account, the third a jira "customer" account.

The second option of "anonymous" opens content up to the world.


author: Ian Malott
body: Thank you! This has been very informative and helpful!


Tags: evaluator-resources
I like the Confluence Cloud look and feel better than the Self-Hosted one
Asked by Mario Garcia:

How can I configure the self-hosted version to look more similar to the Cloud's one?

Thanks


Answers:
author: Mario Garcia
body: So, as long as I know, the answer is: "right now you can't have the Cloud Look in Confluence Server"

Be aware that Cloud and Server versions of Confluence are different.

Also, lots of people are campaigning aganist the current look of Concluence Cloud so maybe we'll never have it on the Server version.


author: Johan Soetens _Dumblefy_
body: Hi Mario,

if I remember correctly the *new look* that resembles the current cloud was introduced in Confluence Server 6.7

comments: author: Mario Garcia
body: Hi Johan, thanks for the reply.

The look I'm having after installing the current 30 days trial version is the one the 6.13 release notes show on the screenshots:

<https://confluence.atlassian.com/doc/confluence-6-13-release-notes-959288785.html>

The one I like is the one that you can see on this page:

<https://www.atlassian.com/software/confluence>

I've been using the Cloud version with this look and liked it a lot, as my coworkers did. But after installing the self-hosted version I found it's a different interface.

Is there any way to switch to the *new look*?


author: Johan Soetens _Dumblefy_
body: Mario,

from what I see on the Confluence product page it's a nice custom template with a collapsed [space sidebar](https://confluence.atlassian.com/doc/the-space-sidebar-777010845.html).

I am not entirely sure about the differences in the Roadmap Planner macro in current cloud \& 6.13.


author: Mario Garcia
body: Browsing around I found this:  
<https://confluence.atlassian.com/jirasoftwarecloud/introducing-your-new-jira-experience-937886012.html>

Those are the changes I'm looking for and the server version lacks of.

It seems like it's not just a template.

I hope this "new experience" is implemented soon in the Server version but I don't see it between the 6.14beta features :-(  
<https://confluence.atlassian.com/doc/confluence-6-14-0-beta-release-notes-962953694.html>

Meanwhile maybe it's possible to improve readability using CSS...


Tags: confluence-server

server
Upload Excel document (.xls) to confluence page via Rest API
Asked by Trevor Schmidt:

I am trying to upload a Excel document (.xls) file to a page within my space in confluence via the Cloud Rest API. However, we are not trying to upload it as an attachment. We want the file to be uploaded to the page itself.

The following command uploads it to the page as an attachment:

curl.exe -v -S -u username:password -X POST -H "X-Atlassian-Token: no-check;" "file=@\<path to file\>" "https://\<environment\>/wiki/rest/api/content/\<page\>/child/attachment"

This is not what we want. Below is a picture of a page with the file upload manually. This is what we are looking for via the rest API.

![image.png](/t5/image/serverpage/image-id/42495iB355501DDB215B96/image-size/large?v=v2&px=999 "image.png")

This is what we are getting from the above command:

![image.png](/t5/image/serverpage/image-id/42496iCEBAC45C0F9F3AAD/image-size/large?v=v2&px=999 "image.png")They get attached to the attachments.


Answers:
author: Stephen Sifers
body: Hello Trevor,

Using the Confluence API is a great way to automate tasks and make repetitive tasks less time consuming. It seems as though you have a solid understand of how to interact with the API.

With this said, the API endpoint you're using is specifically for attaching a file to a parent page. This would cause a file to be a child of the parent adding it to the attachments page (not the page itself).

What you're needing to do is to update the contents of the page itself after the file has been attached. This will not be accomplishable through a single endpoint, you will require at least 3 endpoints to complete this task. Here are the endpoints in the order you must use them:

1. [PUT /wiki/rest/api/content/{id}/child/attachment](https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-child-attachment-put)
2. [GET /wiki/rest/api/content](https://developer.atlassian.com/cloud/confluence/rest/#api-content-get)
3. [PUT /wiki/rest/api/content/{id}](https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-put)

In this order, you will need to PUT the attachment. From there you will need to get the content of the page you want to update. Once you have the page you need to update you will then PUT the new content (using the storage format) of the page back into Confluence to include the storage format of the attachment you wish.

Here if further information on the Confluence page storage format: [Confluence Storage Format (For server but will apply to cloud).](https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html)

The above will allow you to attach a file to a page and then update said page with placing the attachment within using the storage format. If you run into any issues moving forward, please let us know so we may help you accomplish your goal.

Regards,  
Stephen Sifers


author: Todd Ryan
body: Hello, I have the same problem. HOWEVER, I am not automating the process. I just want to insert a living Excel sheet that when selected, just opens as an excel doc that can be edited and re saved.

Thanks


Tags: cloud

confluence-cloud
Is there a way to perform maintenance to reclaim file system space?
Asked by Michael Radzicki:

We have a small confluence install and we seem to be using much more space than we estimated. Currently the application is taking up almost 100% of a 256GB file system, with almost all of that usage being consumed by files in /var/atlassian/application-data (242 GB). Is there a way to clean up the files in this directory to reclaim space?

Thank you.


Answers:
author: Tom Lister
body: Hi [@Michael Radzicki](/t5/user/viewprofilepage/user-id/2487358)

Check where confluence is putting scheduled backup files. Our servers gradually fill up with backup files. Anything more than a week old is not useful to us.


author: Johan Soetens _Dumblefy_
body: Hi Michael,

Confluence has a default maximum attachment size of 100 MB, it's well possible that the admin allows much bigger files.

There's Atlassian documentation on getting more details on which pages have the biggest attachments so you could potentially do some grooming.

It involves querying your database, let us know if you need help adapting them.

[How to find the largest attachment files in your Confluence instance](https://confluence.atlassian.com/confkb/how-to-find-the-largest-attachment-files-in-your-confluence-instance-779295552.html)

[How to get more statistical data (disk space, contents created) from Confluence's usage.](https://confluence.atlassian.com/confkb/how-to-get-more-statistical-data-disk-space-contents-created-from-confluence-s-usage-830284173.html)


Tags: confluence-server

server
How can I insert page id automatically in each pages?
Asked by me:

I need to put id of each page in page automatically, any idea?

thanks


Answers:
author: CARLISLE
body: You can add anything into the header or footer of a DOC in a template. The template has space for this and is mimicked to MSFT Word header/footer functionality. When you export to the template, then it will have any of this kind of metadata inside of it.

The Confluence Pages are just the canvas and not the fully framed product.

comments: author: me
body: 1-You mean only in export doc file able to header?

2-do you have any link how to do this?


author: CARLISLE
body: 1-Yes

2-<https://confluence.atlassian.com/conf612/page-templates-958777484.html>


author: me
body: Thank you

1-now how can I add page ID in header?

2-is it possible to use another method to generate ID? e.g. composition of number and letter?


author: Nic Brough -Adaptavist-
body: 1. To add it to the "header", you have to hack the theme so that it shows the page ID.
2. No. Page IDs are the unique numeric reference in the database. You could, in theory, rewrite Confluence and all the add-ons you might use to have a different scheme, but that would be a massive project and totally unsupportable and un-upgrade-able.

I would question why you want the page id visible to the users at all though - they have some use when you're debugging pages that might not be working, but are otherwise useless to end-users. Far better to use the full url a page is presented on, or, probably better, the short-url you can see on the page's properties.


author: Nic Brough -Adaptavist-
body: See [https://confluence.atlassian.com/pages/viewpage.action?spaceKey=DISC\&title=Show+the+content+ID+(page+ID)+in+a+page](https://confluence.atlassian.com/pages/viewpage.action?spaceKey=DISC&title=Show+the+content+ID+(page+ID)+in+a+page)

comments: author: me
body: Can't open link.

not accept my credential!


author: Nic Brough -Adaptavist-
body: The link does not require a login.


author: me
body: Fixed , mobile version seems have issue with this page.


Tags: identity

page
Is there a way to have multiple comment sections on one page?
Asked by Joanna Shannon:

I would like to create a page with multiple sections and have the ability to comment on each one directly below instead of one big comment thread at the bottom. That way each comment will align with it's intended topic?

Is that possible?


Answers:
author: Xenia_Schmidt
body: Hi Joanna,  
I have the same questions.. how did you solve multiple comments section on one page?  
Your answer is very much appreciated!


author: Fabienne Gerhard
body: Hi [@Joanna Shannon](/t5/user/viewprofilepage/user-id/2556429) - welcome to this wonderful community

my first idea would be an addon I saw on one of our last Usergroups in Munich -\> [Diary for Confluence](https://marketplace.atlassian.com/apps/1218275/diary-for-confluence?hosting=server&tab=overview). Looks like this could probably help you with your problem.

comments: author: Joanna Shannon
body: Thanks [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720), I will check that out!


Tags: confluence-server

server
As administrator is it possible to access another user's content and personal space?
Asked by ACH:

Without changing his password.

I want to access the personal space of one of the users to make this space acessesible to every one.


Answers:
author: Jakub Hanak
body: Hello [@ACH](/t5/user/viewprofilepage/user-id/2561389),

The personal space is like the other ones. Login as System Administrator of Confluence, go to the user space and go to space tools of that space. Then grant permissions to the user that you want to access that space.

Best regards,

Jakub

comments: author: ACH
body: Thank you very much [@Jakub Hanak](/t5/user/viewprofilepage/user-id/1973407)
Application links version
Asked by Marat:

Hello.

We have Jira v6,3.10. And we planned upgrade Confluence to 6.10  
Can there be problems with application links if Jira(6.3) use AppLinks 4.2 but Confluence(6.10) AppLinks 5.4.4?


Answers:
author: Diego
body: Hello there!

Yes there can be major problems when linking Applications that have **different major versions** of AppLinks. Ideally, we should link applications that rely on the **same major version**.

You can check further information about Application links here:

[**Application Links Version Matrix**](https://confluence.atlassian.com/applinks/application-links-version-matrix-779174762.html)

Let us know your thoughts on this!


Tags: confluence-server

server