youngmon/atlassian-qna huggingface dataset:
Loading Time of Confluence Main Page > 14 seconds
Asked by Thatiparthi Venkatesh:

Loading Time of Confluence Main Page \> 14 seconds


Answers:
author: Thatiparthi Venkatesh
body: Hi [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) ,

I have seen the page contains lot of nested macros(macros inside the macros) in it.

Regards,  
Venkatesh


author: Dan Breyen
body: Hi [@Thatiparthi Venkatesh](/t5/user/viewprofilepage/user-id/5413185) is this happening for all users, or some. Also, does it depend on what browser you are using? Do you have a lot of content on that page? Or do you have a lot of spaces that need to be loaded? You don't mention what version of Confluence Server that you have, are you on the latest version? I found a few issues with performance that have been addressed on Atlassian's Jira site. Here's the query that I was using: [Confluence Server Performance](https://jira.atlassian.com/issues/?jql=project%20%3D%20%22Confluence%20Data%20Center%22%20and%20text%20~%20performance)

Hope that helps.

comments: author: Thatiparthi Venkatesh
body: Hi [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) ,  

Is this happening for all users, or some : All  
Does it depend on what browser you are using : Same issue on edge and Chrome  
Do you have a lot of content on that page? : No  
o you have a lot of spaces that need to be loaded? : No  
Version : 7.19.17  

Please find the above details


author: Dan Breyen
body: I took a quick look at Atlassian's Jira site and saw a few issues fixed regarding indexing and performance in later versions. I see version 8.7 is the latest version for Server.

It might be worth updating, are you planning on migrating to the cloud? There are only a few weeks left of support for the Server release if you wanted to contact them.

Hope the helps


Tags: confluence-server

server
Search content by CQL via IDs not working for specific pages
Asked by Vassia Bravou:

Hello,

I'm trying to run a REST API that searches content by CQL via multiple IDs, but some pages aren't retrieved.

The API I used is the following: /rest/api/content/search?cql=(id=354266936)OR(id=98795583)

As you can see, only the second page is retrieved.

I found [this topic](https://community.developer.atlassian.com/t/wiki-rest-api-content-search-cql-id-stopped-working-for-specific-pages/73182) referring to the same issue but for the Cloud version and the proposed solution of using REST API v2 isn't working in my case. I suppose v2 is not applicable in the server version of Confluence, am I right?

Do you know if there is a reason that some pages aren't retrieved?

Best,  
Vassia


Answers:
author: Vassia Bravou
body: Update: A request has been submitted regarding the issue, as Atlassian informed me that it is not possible to search by multiple IDs at the moment.

<https://jira.atlassian.com/browse/CONFCLOUD-77535>


Tags: confluence-server

cql

rest-api

search

server
Old links to server versions cannot be translated and forwarded
Asked by Niko Papamichail:

Dear all,

former links to a specific server page cannot be translated. The domain part can be translated from e.g. \<confluence.company.de\> to \<company.atlassian.net\> but the page indication is renewed during migration and I cannot see a system. Is there a way or an app to translate this part?

Best regards, Niko


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Niko Papamichail](/t5/user/viewprofilepage/user-id/3823745)

Atlassian actually released a Feature in the Cloud Administration to repair links fairly recently: [Update product links \| Atlassian Support](https://support.atlassian.com/migration/docs/update-product-links/)

Before that, the Atlassian Migration Support was able to assist.

comments: author: Niko Papamichail
body: Hi Rebekka,

thank you very much for your answer and let me apologize if my description of the problem was not clear enough. My question referred to links to server pages that I sent out e.g. in emails before migrating. If the reader now tries to reach that page he will come to the old site \<confluence.company.de\> and we might be able to redirect him from there \<company.atlassian.net\>. But is there a way that he/she is redirected to that specific page that has been migrated to the cloud after creating the link?


author: Rebekka Heilmann _viadee_
body: Hi [@Niko Papamichail](/t5/user/viewprofilepage/user-id/3823745)

It depends if the link contained the page title or the page id. But as far as I know, there are no solutions to your problem. Even if there was, you would still need the mapping of old and new links.

That mapping is used by the Atlassian Feature so the Atlassian Support might be able to provide you with that or futher info, if you find anything that you can use the mapping with.


author: Niko Papamichail
body: Thank you, I will contact the atlassian support and post the answer here if there is any helpful one.


Tags: cloud-migration

confluence-cloud
Limit slack notfication only while new article is posted.
Asked by tcs:

As We added confluence notification to a slack channel, it updates every change happens in confluence, is it possible to limit notification only while adding a new article?


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@tcs](/t5/user/viewprofilepage/user-id/4305485)

check out this documentation: [Use Slack and Confluence together \| Confluence Cloud \| Atlassian Support](https://support.atlassian.com/confluence-cloud/docs/use-slack-and-confluence-together/)

There are different types of integrations (personal or channel subscriptions per Space or page). You can configure both and change on what type of actions you want to get notified. For a space it's under space settings \> Integrations. For pages it's under More Actions (3 dots).

![Screenshot 2024-01-31 160534.png](https://community.atlassian.com/t5/image/serverpage/image-id/303539i022358D855F81D99/image-size/large?v=v2&px=999 "Screenshot 2024-01-31 160534.png")


Tags: cloud

confluence-cloud
Link in whiteboard opens in a new tab
Asked by john:

While making a whiteboard and adding a link to another confluence page, the page opens already in a new tab, even though there is a button "Open in new tab". Is this something that can be changed? Or is this the behaviour that is expected or wanted? I would rather see a button to either change if it would open in a new tab or not. Thanks in advance :)  

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


Answers:
author: Vronik
body: Hello  
I think this information could help you.

<https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/>


Tags: cloud

confluence-cloud
Passwords of all accounts no longer work
Asked by NP Applications:

Dear support,

After a restart of our confluence server, we are no longer able to logon to confluence with our accounts. When we try to logon, we receive the message: Sorry, an error occurred trying to log you in. Please try again later. This is also the case for our admin users.  
We still have some articles on Confluence server that we need to migrate. Could you help us to get back in?

Regards,

Menno Dubbelman.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

You are going to need to ask your admins what is wrong. My guess is that the Confluence server has been reconfigured for some reason - specifically the user ID system it was using has been disconnected or misconfigured. It could also be that that ID system is offline, unreachable, or has been reconfigured. Could be as simple as Confluence cannot log into it any more.

However, the place to start is the logs. When you get this login error, it will be writing the reasons into \<confluence home\>/logs/atlassian-confluence.log . Your server admins need to read that to find the reasons.


author: NP Applications
body: Dear community,  

Sorry, thought I was addressing support. If anyone in the community has an answer, please feel free to respond.


Tags: confluence-server

server
Page View, Copy and Download
Asked by Harsha Vardhini R:

I am planning on integrating Confluence with my App. But it seems like some APIs or URLs are not provided for the below actions which are the main stream goal for my integration as below.

1. Exporting Page as Word

2. Copying contents of the Page to clipboard

3. Need URL to redirect to the Page

As of now I can only copy the page and place it in another resource and I cannot find the way to copy to clipboard.


Answers:
author: Vronik
body: Look at this

<https://developer.atlassian.com/server/confluence/confluence-server-rest-api/>

<https://developer.atlassian.com/cloud/confluence/rest/v1/intro/#auth>


Tags: cloud

confluence-cloud

rest-api
Searching for Page by Content
Asked by Harsha Vardhini R:

I need to use a search API for retrieving the page by using text search.

There is a v2 rest API to get Page by title (<https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-get>). But this does not satisfy my use case.

It seems there are 2 v1 rest APIs with the same use case. Can anyone please explain me which is preferable. And are these safe to use or it may be soon deprecated ?

And I need to construct the download, redirect and copy url from these result. Please help me on a workaround for this scenarios.


Answers:
author: Aron Gombas _Midori_
body: The best way to search for Confluence content using various fields, operators is the [CQL query language](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/).

This is the end-point you should use to run CQL searches using the REST API: <https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-wiki-rest-api-content-search-get>

For example, this search will find you all pages with a title that contains "Data":

```
https://YOUR_SITE_NAME_HERE.atlassian.net/wiki/rest/api/content/search?cql=title~Data
```

comments: author: Harsha Vardhini R
body: [@Aron Gombas _Midori_](/t5/user/viewprofilepage/user-id/502447) Appreciate your reply. But I need to do a search across keyword and get their redirect url, download url and copy content. Is there any way to get those details on the API you have suggested.

Thanks in Advance


author: Aron Gombas _Midori_
body: Well, the response returned by the \`/content/search\` REST API end-point does include content IDs!

Using the IDs you can build all the URLs you mentioned.


author: Harsha Vardhini R
body: I got the html content from the search API using the query param expand=content.body.storage which can be used for copy.

I constructed the redirect url, I have appended the base in _links and also webui or should I use the field url or tinyui instead of webui.

I constructed the download url by appending the base in _links and [exportword?pageId={page_id}](https://jeonsha.atlassian.net/wiki/exportword?pageId=426006)

Is this fine as the base in _links is https://{domain}.atlassian.net/wiki

Is it safe to use this url /wiki/rest/api/search as this is not mentioned in Deprecation note ?

[@Aron Gombas _Midori_](/t5/user/viewprofilepage/user-id/502447) Thanks for your continuous assistance


Tags: cloud

confluence-cloud

rest-api
Get rid of header Buttons/Items
Asked by Christian Schimmel:

We're using the confluence cloud as public documentation. "Anonymous" can see stuff.

Someone have an idea how we can hide some header Buttons, since we don't need them if not logged in? Especialley the very big "Create" Button makes no sense, since anonymous can't create sites.

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


Answers:
author: Kristian Klima
body: Hi [@Christian Schimmel](/t5/user/viewprofilepage/user-id/3863323)

There are themes for Confluence that might help.

Some can be applied directly over a Confluence space:

- [Refined for Confluence](https://marketplace.atlassian.com/apps/1221322/refined-for-confluence-cloud?hosting=cloud&tab=overview)

- [Spacecraft for Confluence](https://marketplace.atlassian.com/apps/1230544/spacecraft-theme-for-confluence-cloud-color-your-space?tab=overview&hosting=cloud)  
(Free - I'm using this for my private project)

Some can create a bona fide doc center independent of Confluence with extra features

- [Scroll Viewport by K15t](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview)  
(using this for our Doc site at Emplifi)  

All of those allow you to hide Confluence page furniture and add custom links and modals.


author: Sven Schatter _K15t_
body: Hi [@Christian Schimmel](/t5/user/viewprofilepage/user-id/3863323),

Unfortunately, there is no way to get rid of these elements as that is simply not the use case Confluence was designed for. This is also the exact reason my team has created our app [Scroll Viewport for Confluence](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview) with which you can create a proper help center from your Confluence content that also e.g. has a proper custom domain and is SEO optimized.

If you want to check out some example help centers built using Scroll Viewport, you can look here: <https://help.k15t.com/scroll/example-help-centers>

Hope this helps!

Cheers,  
Sven


author: Christian Schimmel
body: Same for other Buttons. They can be hidden globally, since we don't use these features.

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


Tags: cloud

confluence-cloud
conflunce rest api returns 200 status ok with empty results
Asked by ShahajaKalivarapu:

Hi,

I'm trying to connect to confluence rest api using Python requests module. the request returned a 200 status ok but shows empty results \`  
{\\"search.ui.recent.link.text\\":\\"View more recently visited\\",\\"search.ui.search.results.empty\\":\\"We couldn''t find anything matching \\\\"{  
0  
}\`  

*** ** * ** ***

<br />

below is the code snippet generated from Postman:  

import requests

url = "[https://confluence.sp.vodafone.com/confluence/rest/api/content/search?cql=spaceKey='BDPL'\&text\~'BIF'\&type=page\&title='Neuron-BIF](https://confluence.sp.vodafone.com/confluence/rest/api/content/search?cql=spaceKey='BDPL'&text~'BIF'&type=page&title='Neuron-BIF) Documentation'"

payload = {}  
headers = {  
'Accept': 'application/json',  
'X-Atlassian-Token': 'no-check',  
'Authorization': 'Bearer XXXXXXXXXXXXXXXXXXXXXXX',  
'Cookie': 'JSESSIONID=61ADDC1D0BE92FD3E276024CD6A8044A'  
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

*** ** * ** ***

Also a little more look into the permission from the request output json shows \`  
\<meta name="ajs-remote-user-has-browse-users-permission" content="true"\>  
hasEditPermissions\\":false  
applinks.docs.insufficient.remote.permission\`  
I looked into the internet and couldn't find much information on any of these. Could you help identify the issue here? if it's insufficient permissions, what permissions are required to do the job?  
Thank you


Answers:
author: David Bakkers
body: Hello [@ShahajaKalivarapu](/t5/user/viewprofilepage/user-id/5418257)

A 200 code means that the request was successful. The response from the API was just stating a fact... it couldn't find anything that matched your CQL

This is because your CQL contains many mistakes:

1. There is no such field as **spaceKey** . The field is **space.key**.
2. You cannot use ampersands (**\&** ) as keywords. The keyword is **AND.**
3. You didn't put spaces around the keywords and the operators.

All of this is described on the Confluence Server CQL documentation pages.

comments: author: ShahajaKalivarapu
body: Thank you for pointing the cql syntax errors. [@David Bakkers](/t5/user/viewprofilepage/user-id/1575730)


author: ShahajaKalivarapu
body: what worked for me is the response from this thread -https://community.atlassian.com/t5/Confluence-questions/Does-the-Confluence-REST-documentation-work/qaq-p/1654183

My organisation Confluence is installed at root, so I had to remove /confluence from the path.

The final working URL in my case was - https://\<org confluence domain name\>/rest/api/content/search?cql={cql}. This URL returned a response as described here in Confluence Rest api documnetation (<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/#api-wiki-rest-api-search-get>).


Tags: confluence-server

rest-api

server
Confluence document search is not working
Asked by jay_mfine_co:

We have noticed a odd thing today, it was working perfectly before.   

Search for document titles is not working, even with entire document title.   
If you land on the page with a link, and search for the same it is working.   

Seems like the search is broken. Also its not allowing to reindex the spaces.   

Thanks in Advance.


Answers:
author: Sebastian Krzewi?ski
body: Hi [@jay_mfine_co](/t5/user/viewprofilepage/user-id/1709376)

Looks like today Confluence had some maintenance issues - <https://confluence.status.atlassian.com/>

Maybe those issues affect search also. You can ask Atlassian Support (<https://support.atlassian.com>).

Regards,

Seba

comments: author: jay_mfine_co
body: Thanks [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725)   
will followup with the support


Tags: cloud

confluence-cloud
Confluence export and hyperlinks
Asked by Lena Sargsyan:

Hi Dear Community,

I am the org admin in our Confluence instance. When I export any space to PDF I get all the links in the document directing to the instance. Please advise what to do for the following outcome: when clicking on the hyperlink in the exported PDF file it turns to the respective page in the PDF instead of directing to the URL page.

Thank you.

Lena


Answers:
author: Barbara Szczesniak
body: I just created a PDF of my space for the first time to test this. I see similar issues to [@Lena Sargsyan](/t5/user/viewprofilepage/user-id/5048167) including:

1. Links to heading (anchor) on same page within Confluence seem to work fine in the PDF.
2. Links to heading (anchor) on a different page within Confluence or just to a different page cause a **Security Warning popup that the document is trying to connect to my Confluence site**, rather than jumping to the location within the PDF.
3. Where my Table of Contents macros on a page show up in the PDF (most do not), click a link works fine---probably because these also link to a location in the same page in Confluence.

On a separate note, I see that none of my custom emojis transfer to the PDF. Since I will be using Scroll Viewport to generate a web site of my output, rather than a PDF, I'm hoping those emojis transfer there.


author: Nikola Perisic
body: Hi [@Lena Sargsyan](/t5/user/viewprofilepage/user-id/5048167)

Interesting problem. I have tested this from side and everything seems to be working properly.

Here is the article where this issue has happened, where Jacob explained the solution:

<https://community.atlassian.com/t5/Confluence-questions/Hyperlinks-not-working-in-Confluence/qaq-p/1807620>

comments: author: Nikola Perisic
body: ![Screenshot 2024-01-31 at 10.33.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/303459i2E9A52CC93E378DD/image-size/large?v=v2&px=999 "Screenshot 2024-01-31 at 10.33.50.png")

Export space in PDF

After clicking on the Figma link:

![Screenshot 2024-01-31 at 10.34.41.png](https://community.atlassian.com/t5/image/serverpage/image-id/303460i15879815AA832BA9/image-size/large?v=v2&px=999 "Screenshot 2024-01-31 at 10.34.41.png")


author: Lena Sargsyan
body: I may have wrongly named my question.

My question is: when I export to pdf a Space in Confluence then I open the pdf document and then I click on any page link it leads me to the URL of that confluence page, whereas it should have taken me to the respective page within the pdf. If I click on the link which is just the header of the next chapter in my document on the next page, why it takes me to the URL instead of taking to that page in pdf?

How to solve this? Please advise.

Thank you.

Lena


Tags: cloud

confluence-cloud
resolved comments export list
Asked by Ifat Keren:

Hello

Can I Export to PDF (or other format) all the resolved comments on a page?  

Thanks


Answers:
author: Ifat Keren
body: Hey Fabio

People can comment on my Confluence pages, and I have the option to mark their comments as "resolved".

BR

Ifat


author: Fabio Racobaldo _Herzum_
body: Hi [@Ifat Keren](/t5/user/viewprofilepage/user-id/4947239) ,

what do you mean with "resolved comments"?

Fabio


Tags: cloud

confluence-cloud
Confluence page Version Control
Asked by Lena Sargsyan:

Hi Community,

We create and keep our IP documentation in Confluence. I would like to know if there is any solution for version control i Confluence. Like in GitLab we have different versions - we would like to have that versions aligned with the GitLab versions. So as we know that this concrete version of documentation is related with the exact separate IP version. And we would like to do this automatically - if the code is updated in the GitLab repo then the respective documentation version is created and if we want to make respective changes we do, otherwise we just publish the same content of documentation for that version as well.

Thank you!

Lena


Answers:
author: Kristian Klima
body: [@Lena](/t5/user/viewprofilepage/user-id/5261864)

[Scroll Documents](https://marketplace.atlassian.com/apps/1217608/scroll-documents-for-confluence?tab=overview&hosting=cloud) app by K15t allows you to do just that.

Work on you content's update, once ready, create a snapshot - that becomes your new version.

You always have one Working Version - and create snapshots of it as you need.

Your content can be defined as a full Confluence space, or you can create multiple 'documents' with that app and version them differently. It's really extremely pliable.

Scroll Docs pair well with Scroll Viewport that allows you to create a doc site with any version combination you want. For example, here <https://agent-docs.emplifi.io/home/Production/> we're using it to create a pre-production (Training) and the Production version. Production is always the latest snapshot of Training. Which would be, I guess, your case.

Disclaimer: I'm just a user of Scroll apps, I'm not working for K15t.

Alternative:

Once you have a new version of your content ready, create a copy of your tree (there are apps for that) and create a new space. The downside is, obviously, that you'll have a new space for each new version.

comments: author: Lena Sargsyan
body: Thanks [@Kristian Klima](/t5/user/viewprofilepage/user-id/5074962) for your answer.

I would rather like to have any built-in, free of charge solution to this. But, anyway thank you for the response.


author: Kristian Klima
body: [@Lena Sargsyan](/t5/user/viewprofilepage/user-id/5048167) There might be a free app in the marketplace, it's worth the search :)


Tags: cloud

confluence-cloud