youngmon/atlassian-qna huggingface dataset:
TOC and anchors don't work on longer pages on Chrome or Edge
Asked by Sondra Menthers:

1. Created TOC using the Insert Table of Contents macro.

* Links do NOT jump down to the desired page positions. Right clicking to open in a new tab DOES work.
* Tested Chrome and Edge. Same problems.
* Tried work arounds I found in the community. Nothing works.

2. Created TOP anchor to jump to top of page using Insert- other macros - anchor and the control K link #top link.

* Links do NOT jump up to the desired page positions. Right clicking to open in a new tab DOES work.
* Tested Chrome and Edge. Same problems.
* Tried work arounds I found in the community. Nothing works.


Answers:
author: Sondra Menthers
body: Confirmed that this particular page does not work on IE, Edge or Chrome. Anchors and tocs work on other pages on Chrome.


author: Sondra Menthers
body: ![confluencelicense.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/32094i8D3AD81F35DEF410/image-dimensions/549x509?v=v2 "confluencelicense.PNG")

![confluencelicense.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/32094i8D3AD81F35DEF410/image-dimensions/549x509?v=v2 "confluencelicense.PNG")

comments: author: Shannon S
body: Sondra,

Thank you for confirming that.

Confluence 5.9.12 has reached [End of Life](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html). I wouldn't recommend running this version at this time. It may be that this issue has already been resolved, so please try to [upgrade to 6.0.\* or more recent](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html).

If you want to do some tests prior to upgrading, my recommendation is as follows:

1. Ensure that there are no special characters in the title of the page, and be sure that the TOC macro isn't being wrapped in a 3rd party add-on (to ensure this wouldn't affect the macro from working).
2. Remove any customizations. We want to confirm it's actually the length of the page causing the issue.
3. You can try to split the page up into smaller pages to check if that resolves the issue.

Let me know if you have any questions.

Regards,

Shannon


author: Shannon S
body: Hi Sondra,

Can you confirm your Confluence version so I can test this out?

You specify it doesn't work in Chrome or Edge, so can you confirm that it does indeed work in Firefox and IE 11?

Thank you!

Shannon
Gliffy: App is not responding. Wait or cancel?
Asked by Cap10Bill:

My Chrome browser is having issues with Gliffy diagrams

I get "App is not responding. Wait or [cancel](https://kareodev.atlassian.net/wiki/spaces/EnDoc/pages/223033210/Article+Galvatron+Architecture+Description#)?" where Gliffy diagrams are suppose to be.  

If I use Incognito mode it works perfectly but not normally. I cleared all atlassian and gliffy cookies and clear all of my cache. Still won't load.

<br />

Please help


Answers:
author: Cap10Bill
body: I disabled Privacy Badger browser extension and it started working.   

So I uninstalled it and reinstalled Privacy Badger and it still works  

<br />

comments: author: Cap10Bill
body: Followed instructions at  

<https://confluence.atlassian.com/jirakb/jira-software-exception-uncaught-typeerror-cannot-read-property-fields-or-html-of-undefined-779159021.html>


author: Cap10Bill
body: content.js:42 Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules  
at injectRestrictedCSS (chrome-extension://pbgafccggboemhmcmnmglkgidbiigoeh/js/content.js:42:18)  
at chrome-extension://pbgafccggboemhmcmnmglkgidbiigoeh/js/content.js:22:3  
injectRestrictedCSS @ content.js:42  
(anonymous) @ content.js:22  
setTimeout (async)  
(anonymous) @ content.js:21  
k @ jquery-1.8.2.min.js:2  
fireWith @ jquery-1.8.2.min.js:2  
ready @ jquery-1.8.2.min.js:2  
load (async)  
p.ready.promise @ jquery-1.8.2.min.js:2  
ready @ jquery-1.8.2.min.js:2  
init @ jquery-1.8.2.min.js:2  
p @ jquery-1.8.2.min.js:2  
(anonymous) @ jquery-1.8.2.min.js:2  
(anonymous) @ jquery-1.8.2.min.js:2  
(anonymous) @ jquery-1.8.2.min.js:2


author: Cap10Bill
body: One Error in concole (Don't get on Ingnito mode)

content.js:1 Uncaught TypeError: Cannot read property 'length' of undefined  
at l (content.js:1)  
at e (content.js:1)  
l @ content.js:1  
e @ content.js:1  
setTimeout (async)  
124 @ content.js:1  
n @ content.js:1  
316 @ content.js:1  
n @ content.js:1  
124 @ content.js:1  
(anonymous) @ content.js:1


Tags: cloud

confluence-cloud
Bob Swift Atlassian Command Line Interface (CLI) 401 Response Code
Asked by Darryl St_ Pierre:

Running a trial of Confluence Cloud and Bob Swift CLI. When I run a command, for example getSpaceList, it returns the error: Remote error: User is not authorized to perform the request. Response code: 401.

I am both an admin and site admin, so it should not be a permissions issue. The CLI Connector is installed, and I'm running the 8.0 client.

We have an older version running in our Confluence server implementation, and it works fine.

Troubleshooting steps?

Verbose out, if it helps:

Response code: 401, message: Unauthorized, url: https://*OurSiteName*.atlassian.net/wiki/rpc/json-rpc/confluenceservice-v2/getServerInfo

Remote error: User is not authorized to perform the request. Response code: 401.  
org.swift.common.cli.CliClient$RemoteNotAuthorizedException: User is not authorized to perform the request. Response code: 401.  
at org.swift.common.cli.helpers.DefaultRequestHelper.handleBadResponseCode(DefaultRequestHelper.java:1241)  
at org.swift.common.cli.helpers.DefaultRequestHelper.makeRequestWithUrlConnection(DefaultRequestHelper.java:918)  
at org.swift.common.cli.helpers.DefaultRequestHelper.makeRequestWithUrlConnection(DefaultRequestHelper.java:912)  
at org.swift.common.cli.helpers.DefaultRequestHelper.makeUrlRequest(DefaultRequestHelper.java:711)  
at org.swift.common.cli.helpers.DefaultRequestHelper.makeRequest(DefaultRequestHelper.java:684)  
at org.swift.confluence.cli.helpers.RpcRequestHelper.rpcRequest(RpcRequestHelper.java:74)  
at org.swift.confluence.cli.ConfluenceClient.getServerInfoAlternate(ConfluenceClient.java:298)  
at org.swift.confluence.cli.ConfluenceClient.getRemoteServerInfo(ConfluenceClient.java:273)  
at org.swift.confluence.cli.ConfluenceClient.getServerInfo(ConfluenceClient.java:231)  
at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:789)  
at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:740)  
at org.swift.common.cli.CliClient.doWork(CliClient.java:674)  
at org.swift.common.cli.CliClient.doWork(CliClient.java:631)  
at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:179)


Answers:
author: Darryl St_ Pierre
body: added verbose output above


Tags: cloud

confluence-cloud
how to send invitation to users
Asked by Rajesh Parmar:

how to send invitation to users , i setup jira on my local machine , how can they access the jira from their local machine, i created the user in my local machine. can you please help me?


Answers:
author: Bastian Stehmann
body: Hi [@Rajesh Parmar](/t5/user/viewprofilepage/user-id/1945074),

is your question about Jira or Confluence?

In Jira, you log in as administrator, go to Cog-Menu-\>User Management, there you can add an user and check the box to send an email to that user. You must have outgoing email configured for this to work.

If you run Jira on your local machine, other users must be able to access your local machine. If you did not change the configuration, Jira will listen on port 8080. The other users then can access Jira this way \<local machine\>:8080 where \<local machine\> is either a domain name or an ip. But have in mind, that Jira will be accessible only when your local machine is running, so it is recommend to run this applications on a dedicated server if you want to use it with other users.


author: Santwana Sarangi {Appfire}
body: Hi Rajesh,

I believe this article will be useful for your question. Please go through the below link

<https://confluence.atlassian.com/doc/add-and-invite-users-138313.html>

Thanks,

Santwana
cli syntax for bulk removal of spaces
Asked by Computing Services:

Hi,

Complete newbie here. I am using the confluence command line interface Bob Swift add on and all I really want to do is bulk remove spaces by using the space key. What is the syntax for multiple spaces?

i've tried

--action removeSpace --space "AD2,AD1,AD3,AD4"

--action removeSpace --space "AD2","AD1","AD3","AD4"

Can't seem to find a definite answer anywhere. Any help would be much appreciated!


Answers:
author: Diego
body: Hello Team! Using CLI can sometimes be tricky. But according to documentation, you could do something like this:

```
--action runFromContentList --cql "space in spc1,spcx,spc23w" --common '-action removeSpace --space @space@' --continue
```

Here is a little explanation of the line above:
> - **[runFromContentList](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/91881522/Documentation#Documentation-runFromContentList)**   
> This will run the command for each entry that is found. For example, the CQL given will return the results as being the spaces that match the search  
>
> - **[removeSpace](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/91881522/Documentation#Documentation-removeSpace)**   
> This will remove the space based on the variable @space@ that is being returned by the runFromContentList  
>
> - **[continue](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/91881522/Documentation#Documentation-continue)**   
> Will keep executing even if errors are found, like a not found error

You can check further information here:
> - [**CLI Documentation**](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/91881522/Documentation "CLI Documentation")  
> - [**How to use replacement variables**](https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/34406959/How+to+use+replacement+variables "How to use replacement variables")

I recommend running the above command in a Test Environment before running in a Live one. Make sure that you only remove the desired content!  

Let us know if this helps your case!

comments: author: Computing Services
body: Hi Diego,

AWesome stuff thank you so much ! this has worked :)


author: Diego
body: Great to know I was able to help you out! Oh, if you vote the answer as accepted, it may help other customers as well.

If you ever need help of want to help other customers, come pay a visit to the Community!


Tags: cli

confluence-server

server
Enable the Confluence Document Conversion Library
Asked by Robert McAllister:

I followed the instructions here to enable previews of documents. The instructions are good... up until enabling the add-on. Enable/Disable does not exist for the Confluence Document Conversion Library.

Using Confluence Cloud

Help!

<https://confluence.atlassian.com/confkb/office-attachments-cannot-be-previewed-in-confluence-new-file-preview-847448358.html>


Answers:
author: Shannon S
body: Hi Robert,

This article is for Confluence Server (specifically version 5.8.5 but may also cover later versions of Confluence Server).

My recommendation is if you're having issues with previous in Confluence Cloud that you reach out to the [support team](https://support.atlassian.com/contact/#/), as they have access to your instance and can see what the problem is.

When reaching out, be sure to include if the preview doesn't work for all documents, only specific ones, and if you're able to replicate the problem in all browsers (not only Chrome or Edge, for example.)

Regards,

Shannon

comments: author: Robert McAllister
body: Thank you Shannon. It appears that the cloud functionality has returned without any adjustments made on my part. Maybe a glitch in the system...

Thanks!


author: Shannon S
body: Glad to hear, Robert! It's likely someone discovered it as well and rolled out a fix in the meantime.

Take care,

Shannon


Tags: confluence-cloud
Where do I find the confluence license key. When I click view it takes me to install
Asked by jtaylor@onclave.net:

Confluence License key ![Confluence.PNG](/t5/image/serverpage/image-id/31839i94EDC9DE393C8C64/image-dimensions/580x303?v=v2 "Confluence.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: That is the screen for generating a licence. I'm not sure what you mean by "when I click view", as there is no view button or link on that page.

comments: author: jtaylor@onclave.net
body: The screen before that one...

![Confluence 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/31843iF34D96913014FF11/image-dimensions/570x141?v=v2 "Confluence 2.png")


author: Nic Brough -Adaptavist-
body: The "view licence" in there takes me to a pop-up box with a licence key in it. What are you seeing?


author: Muhammad Kaleem Akram
body: You need to login into <https://atlassian.com> and then you can see the license keys..
How to link to an anchor in a Confluence blog entry
Asked by Rahav:

The editing experience of a Confluence blog entry is different from a Confluence page. This is annoying but maybe workable, I hope you fix it soon. But there is a challenge that I need help with more urgently. In Confluence one can link to an anchor by specifying the pageName#anchorName but this seems to not work in a Confluence blog. What am I missing here? How do I link to an anchor from a blog entry?


Answers:
author: Sattesh M
body: Hello Rahav, we should be able to use Anchors and links using pageName#AnchorName in blogs, the same way we use them in normal pages.

Can you elaborate more on the "this seems to not work in a Confluence blog" part?  
Is the issue with inserting anchors, or are the links created not bringing the users to the page with the anchor?

Let me know if you have any questions as well.  

Cheers,  
Sattesh Maran

comments: author: Pushkar
body: [@Sattesh M](/t5/user/viewprofilepage/user-id/1244849) OP is right. I am facing the same problem as the OP.

It is really frustrating. Any solutions please?

Creating an anchor works well. But will linking it to a text using Cmd+K, the anchor doesn't show up in the drop-down suggestions of the suggested link. Moreover, there's no advanced linking option in a blog-post feature.

Looks, like anchor linking feature is not available in the Confluence blog feature.


author: Carl Shaulis
body: I am running into this same issue. Additionally if you copy a Google Doc in with anchors already enabled they are not honored.


Tags: anchor

blog

cloud

confluence-cloud

usability
How can I get anchor name without editing the page
Asked by Rahav:

I often would like to link to anchors but don't have their exact spelling available. In particular if they were created a while ago and are on different pages than the one I am creating at the moment. Search while creating a link is not particularly helpful because it does not reveal the anchor name, just pages names. It seems that opening Confluence in another tab, editing that other page, and then clicking on the anchor widget is the only way to get the anchor name but this is very convoluted workflow and this is not why we use Confluence right? We want to be focus on content creation.

Is there a more streamlined way to get an anchor name? In particular one that is on another page that you are not editing at this moment?

Thanks in advance.


Answers:
author: Shannon S
body: Hello Rahav,

We have a feature request below to make linking to anchors easier, which you can find below:

* [CONFCLOUD-25533](https://jira.atlassian.com/browse/CONFCLOUD-25533)

Feel free to comment and vote on that request to show your support. In the meantime, you will still need to know the name of the anchor before linking to it.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: anchor

cloud

confluence-cloud
Task report: how to consolidate tasks from all pages having a given list of labels (AND operator)?
Asked by Olivier Guadagni:

Hello,

I have a "home-page" for a project involving several teams (operating in several Confluence spaces).

I want to display a consolidated list of tasks which appear in all the pages which contain ALL the following labels: A AND B AND C.

Some actions appear in pages which have labels A AND C, but not B--\> I don't want to display those tasks.

My issue is that when I enter in labels field in UI: "A,B,C" (without the quotes), all tasks in pages with either A, B OR C are displayed.

It works perfectly with the "Content by labels" but I don't figure out how to handle this need with "Task report"

Any idea or workaround based on Labels?

Thanks!


Answers:
author: Shawn C
body: Hi Oliver,

I'm afraid that the Task Report Macro currently uses an OR operator when filtering results.

There is this Feature Request to bring in an option to toggle between OR and AND when filtering by Labels on the Task Report for cases when you need to only show pages with labels A and C (and not only A or C):

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

We are still gathering interest at this stage, so it would help if you can vote on the request and comment there with your usage case.

If you have any other questions about this, please let me know.

Regards,

Shawn


Tags: label

report

task
Jira Issues Macro version fields
Asked by Pedro Felgueiras:

I have a page in confluence with a jira issue macro that i want to display with two fields that are of type "Version Picker".

The problem is that the macro is showing the id's instead of the values.

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

You can see the the 2 last columns have ids instead of values.

Is there any thing I can do to fix it?


Answers:
author: Sloan
body: Hey [@Pedro Felgueiras](/t5/user/viewprofilepage/user-id/510378) currently this is a known issue. No fix available.

See [CONFSERVER-43035](https://jira.atlassian.com/browse/CONFSERVER-43035).

Cheers  
Niklas


Tags: confluence-server

jira

macro
Restriction of Space admin rights
Asked by Ireen Klein_Actonic:

Hello,

I'm searching for a function that I can restrict the rights of space admins. They shouldn't be able to add individual users but without loosing other space admin rights.

Is there an on board solution for this requirement or an add-on?

Best regards,

Ireen


Answers:
author: Victor Mutambuki
body: Ireen,

Space admins don't have to be confluence admins.

If all your space admins have global permission of Confluence Administrator, uncheck it, that way, they won't be able to add users.  
<https://confluence.atlassian.com/conf59/add-users-and-set-permissions-792498553.html>

Go to General Configuration --\> Global Permissions

Victor
Need to migrate confluence wiki to another server with mysql database
Asked by Ankush Borse:

Hi,   
I have 2 old servers, on one server confluence/wiki is installed and on another server mysql database is installed.  
So, we are going to decommissioned those both servers.   
So, before decommissioned I want to migrate both, i. e. Mysql database and confluence/wiki to another servers.  
So, can you please help me here, how to do it.   
Regards,   
Ankush Borse


Answers:
author: Shankar Asam {Appfire}
body: Hi Ankush,

If you're going to migrate confluence and mysql db (confluence db) to another servers, here are the procedure (high level)

Backup:

* Backup your confluence install \& home directories and transfer them to new server.
* Backup or run mysqldump on mysql server to take the confluence db backup and transfer it to the new mysql server.

Restore:

* on the new mysql server, create a new db (similar name as your old db , db user / password) and then restore the backup file you've taken before.
* on the confluence server, verify the path to your confluence home directory (check confluence-install-directory/confluence/WEB-INF/classes/confluence-init.properties). This should point to your JIRa home directory path.
* verify or modify confluence.cfg.xml file (in confluence home directory) to include correct db hostname, db name , user, password (incase they are not same).
* Make sure the JAVA is installed and available to the user who owns the confluence.
* Start the confluence and access it

For further info, please see:- <https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html>

comments: author: Ankush Borse
body: Will it worked if I copy confluence install \& home directories from CentOS 6 server to new server with CentOS 7.

How can it create binary i.e. We can use it for restart/stop

e.g. service confluence restart

Regards,

AB


author: Shankar Asam {Appfire}
body: Yes, you can copy the confluence install \& home directories to new server (centOS 7). Please make sure to remember the installation path so you can use them in service or startup script. Please see below Atlassian article on how to create a start up script;

<https://confluence.atlassian.com/doc/start-confluence-automatically-on-linux-183148.html>


author: Suresh
body: Hi Shankar,

* Backup or run mysqldump on mysql server to take the confluence db backup and transfer it to the new mysql server.
* bin/mysql -u confluenceuser -p confluencedb \< /opt/gtnexus/db-backup/confluence_backup_26052019.sql;
* I have taken mysqldump and while importing to the empty db I am getting errors as below. Though I have changed the size innodb_log_file_size in my.cnf file.  

ERROR 1118 (42000) at line 9030: The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size.  

I got struck with these error can any one help me on this?  

Regards,  
Suresh
Test
Asked by Kiodex:

Test


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Why you don't want to do it, as linux utils level?

1. The same file structure

2. Rsync install and home directory.

3. Dump DB

4. import DB.

5. and copy service run files

6. That's all

Cheers,

Gonchik Tsymzhitov

comments: author: Ankush Borse
body: .


author: Alexis Robert
body: Hi [@Kiodex](/t5/user/viewprofilepage/user-id/601885),

[this article](https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html) describes how to proceed when migrating from one server to another.

You will basically need to copy the contents of your home and application directory to the new server.

Let me know if you have any questions,

--Alexis