youngmon/atlassian-qna huggingface dataset:
Collect search queries and results
Asked by Doug:

We're trying to gather detailed analytics on our Confluence (7.3.1) environment. I know we can enable the tomcat access logs to get the search query parameters, but that adds a good amount of overhead to the server and the logs quickly grow. We also don't have budget to purchase any plugins (I know eazyBI says it captures this data) so please don't recommend that approach.

We're looking at another approach with click monitoring like Google Analytics. We don't want this data going outside of our network though so I've set up a [Matomo](https://matomo.org/) server as a POC. I've added the javascript via the Custom HTML --\> End of HEAD section and am seeing data in Matomo now. The problem I'm running into is the search data is only being captured on the advanced search page. Looks like the quick search that pops up doesn't trigger the JS. Does anyone have any suggestions on how to capture the data from the quick search modal or have suggestions on how to configure this? Any other suggested approaches on how to gather search analytics data?


Answers:
author: Fabian Lim
body: Hi [@Doug](/t5/user/viewprofilepage/user-id/1097156)

Have you been able to find a solution?

Regards


Tags: analytics

javascript

search
Convert existing template to the new editor
Asked by jess:

When I edit my template to see if I can convert it to the new editor so that it doesn't have to ask me when I create new document with the template there isn't a footer notification to ask me if I want to convert it.

What I'm expecting when I edit my template:![Screen Shot 2020-06-05 at 4.05.45 PM.png](/t5/image/serverpage/image-id/98014i519A4BAEBA6CB89B/image-size/large?v=v2&px=999 "Screen Shot 2020-06-05 at 4.05.45 PM.png")

I tried replacing the elements I know will break every time I try to convert my document to the new editor but it continues to break. I'm hoping I don't have to resort to create a brand new template that is the same as my old one. I need a way for me to use the new editor without having to replace elements that are broken.


Answers:
author: Diego
body: Hey, just updating your thread here [@jess](/t5/user/viewprofilepage/user-id/3158553) because it was one of the top results in Google when searching for this very procedure. The conversion of existing templates into our New Editing Experience.

Take a look at this post in our Community:

* ++***[\[Atlassian Community\] Convert your old templates to the new editor!](https://community.atlassian.com/t5/Confluence-articles/Convert-your-old-templates-to-the-new-editor/ba-p/1477117)***++

I hope this helps!


author: Zsolt Jacs?
body: I'm also wondering if delete / re-create is the way forward?

I have only simple elements on the page but convert is not availabe in the template editor.


Tags: cloud

editor
Exclude certain pages from Confluence knowledge base from Jira Service Desk cloud
Asked by Bin Liang:

I have Jira service desk (JSD) project tied to confluence knowledge base. The page such as overview or other holding/switchboard pages are shown in Jira service desk Help Center to requester. The holding page has children pages that is how-to articles I'd like them to show on Help Center. I do not see much points to show these holding pages.

Is there a way to hide certain pages from JSD Help Center?

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: If you add restrictions to pages, they'll disappear from the helpdesk

comments: author: Bin Liang
body: It would not work because all children pages inherit the page restriction. I want all children page has no view restriction. There is a red open lock on the upper right corner of the page. I do not know a way to break page viewing restriction inheritance


Tags: cloud

jira-service-desk-cloud
How can I have a fixed width page in Confluence Server?
Asked by Luciana Dias:

We were using cloud before and it was possible to change it by clicking on the arrows. Now that we have migrated to server, I cannot see the arrows to change to full width to fixed.


Answers:
author: Matt Reiner [K15t]
body: [@Luciana Dias](/t5/user/viewprofilepage/user-id/3956658)

We just use the three column page layout, where the center column is the widest. It's not an ideal solution, but it makes things like blog posts much more readable.


author: repi
body: [@Luciana Dias](/t5/user/viewprofilepage/user-id/3956658)

If you mean the setting of the width in the editor, it does not exist in the current editor of the server version.In the side view you can reduce the left sidebar either to the icon size with the double arrow.  
The size is set with the central element "collaps sidebar"


Tags: cloud
Confiforms How to create a line break in multi user field that is displayed in List View?
Asked by its moi:

In my form I have a multi user field. In a corresponding list view I want to display all users in one record below each other. Is that possible? CSS on the form field macro or something? Thanks for any help


Answers:
author: Alex Medved _ConfiForms_
body: Hi

If you are after a CSS only solution then you can place something like this on your page (CSS stylesheet macro or within the HTML macro, style tags)

```
span[cf-field=delegates]>a::after { 
  content: "\A"; 
  white-space: pre; 
}
```

Here I have a field "delegates" that is of type multi-user field. You need to change this to your multi-user field's name

Alex

PS, I should say thank you to Chris, <https://css-tricks.com/injecting-line-break/> for this technique

comments: author: its moi
body: Works like a dream :)


Tags: confiforms

css
SSL Application Link
Asked by Adolfo Ortiz:

Hi.

We have Confluence and Jira over https, with the correct certificates in each keystore and trucerts.

In this configuration, we have a link between both applications works correctly

Now, we want that our users use client certificate to access our servers (confluence and jira). We've created a few user's certificate from same CA than server certificates, and we've modified server.xml (ClientAuth=true). With that setting, our clients make use browsers certificate to access to the servers, but the link between Confluence to/from Jira is broken (Network error or Link unavailable).

Where is the problem? Why is our link broken? Is possible this configuration to link these applications?

Best regards


Answers:
author: Adolfo Ortiz
body: UPDATE

When I try to make the link again, this is /atlassian-jira.log

" javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate"

Which certificate is using Jira to link with Confluence? Server Certificate?


Tags: confluence-server

jira

server
Confluence API - get page content from historical versions
Asked by Chris P.:

*++**Use-Case**++*: I would like to pull the HTML body-content from different "versions" of the same confluence page for comparison.

This is to associate the individual who made a specific change said Confluence-page.

> Using the Confluence API "Get content version":

<https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-id-version-versionNumber-get>

I am able to get all the historical information that I need (Updated by {username}, Date-Time of update, etc), EXCEPT the actual content / body (unless I'm missing it somewhere in one of the expanded sub-branches).

Via the regular Confluence WebUI, you can actually see all the page version, for example:

[https://You_Company_Name.atlassian.net/wiki/pages/viewpage.action?pageId=123456789\&pageVersion=21](https://sentacasolutions.atlassian.net/wiki/pages/viewpage.action?pageId=483393618&pageVersion=200)

*\> but hoping there's a way to pull this HTML body down via the API*

Searching around, there is mention in older versions of Confluence API pulling the content using the flag:

```
Status=historical
```

Here are some folks that have mentioned using the API with this flag:

===

[1)](https://community.developer.atlassian.com/t/confluence-5-7-rest-api-get-content-get-many-versions/24237)

<https://community.developer.atlassian.com/t/confluence-5-7-rest-api-get-content-get-many-versions/24237>

2)

<https://community.atlassian.com/t5/Answers-Developer-Questions/Is-fetching-of-previous-versions-of-a-wiki-page-really-not/qaq-p/538647>

===

> But on the Confluence API site, when reading through the suggesting parameters for "Get content":

<https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-get>

... It mentions that:

"... ***Note, the `historical`*** ***status is currently not supported***..."

Does anyone know a way to pull the HTML body of historical versions of a Confluence page using the API?


Answers:
author: Chris P.
body: Hi everyone, I was able to find the API call where I can grab the HTML of previous versions, and compare to current version:

*Previous version(s):*

https://**YOU_COMPANY_NAME** .atlassian.net/wiki/rest/api/content/**{page id}** /version/**{version number}**?limit=10\&expand=collaborators,content.body.storage

*Which I can compare to the current version by calling:*

https://**YOU_COMPANY_NAME** .atlassian.net/wiki/rest/api/content?title={**YOU_PAGE_NAME}**\&expand=body.storage,version

from where I pullout the **\[value\]** field from each JSON payload responses.

Hope this helps folks.


Tags: api

cloud

history

version
Unable to Save page edits
Asked by Anne_Mohan:

As of this morning, I am unable to save my edits.

So, I CAN click edit but the preview/save/close buttons are not there. This has been going on for 3.5 hours.


Answers:
author: repi
body: [@Anne_Mohan](/t5/user/viewprofilepage/user-id/3956467)

What does confluence system administrator say?  
Your information is too small to provide remote diagnosis here.


Tags: confluence-server

server
File list - view only
Asked by m.szwejczewski:

Hi,

I'm creating a File list on my page and I would like to make it "Preview" by default instead of download when clicking on file name. What do I need to change on my page settings??

Thank you for any suggestions


Answers:
author: repi
body: [@m.szwejczewski](/t5/user/viewprofilepage/user-id/3956433)

How are the files displayed on your site?  
With the macro attachments?  


Tags: cloud

file-list
How can I use Confiforms TableView Merger to display field values from smart drop down field?
Asked by Gil Valentin:

Hello community!

My issue is with the tableview merger macro not loading a field from another form. That field definition has type smart drop down. It derives its values by referencing another page and form. The following is the error message in the table, scope field broken:

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

below from tableview merger:

scope fieldname: scope:(\[entry.scope\])

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

below from releasechecklist form:

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

@Alex_Medved__ConfiForms_ help!

me


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Instead of scope:(\[entry.scope\]) put scope as the field name parameter

Alex

comments: author: Gil Valentin
body: Hi Alex,

Thanks for responding with this! Your suggestion helped lead me to the solution I was looking for. I needed to make this field part of the key, composite primary key. You're the man!

Results:

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

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


author: Alex Medved _ConfiForms_
body: You can accept the answer then ;)


Tags: cloud

confluence-cloud
Confluence/Jira Phobos" (the DB server supporting Jira and Confluence)
Asked by shakeeljaved:

We are currently using **Atlassian Jira Project Management Software (v7.13.5)** and **powered by Atlassian Confluence 6.15.9 Report a bug Atlassian News.**

We are planning to upgrade all servers in our Lab from SQL Server 2016 to SQL Server 2019 soon and need to know if "Phobos" (the DB server supporting Jira and Confluence) can be upgraded to 2019, or if the applications will first have to be updated to support 2019, or if Atlassian's software just isn't supporting 2019 yet (which is also possible, IIRC it took them a while to support 2016 a few years back.)


Answers:
author: Joshua Sneed Contegix
body: Hi Shakeeljaved,  

SQL Server 2019 is not supported by any version of [Jira](https://confluence.atlassian.com/adminjiraserver/supported-platforms-938846830.html) or [Confluence](https://confluence.atlassian.com/doc/supported-platforms-207488198.html). Cheers!


Tags: confluence-server

server
How to license Confluence Starter after a reinstall
Asked by Steven Ellis:

Hello,

We installed the Confluence starter pack. It was licensed but never put it into production. Yesterday we tried applying an SSL cert and managed to take the server down.  
We reinstalled and it generated a new Server ID. How do I regenerate my license key?


Answers:
author: Steven Ellis
body: Hello,

We figured it out. Even though a new Server ID was generated, the original license key still worked. Hope this helps someone in the future.
Is there a way to disable per default the "Admin" permission to space creators?
Asked by Giuliano Arrigo:

We use a company wide user authorization system, which is linked to Jira Groups and therefore to Confluence (if you check permissions in a space, it's the "Groups" section on the top). This section is automatically filled in when a space is created. So far, so good.

Now per default, the space creator get's added in the "Individual Users" section of the space permission, with all possible permissions (including "Admin") enabled. And here is where the issues starts, as we have some "intelligence" user, which think they have to remove the "Groups" entries, in order to deny access to the default Jira Groups.

Now my question, is there a way to:

a) Still allow user to create spaces on their own but b) not allowing them to change the space Permissions (in Space tools/Permissions)?


Answers:
author: Johannes Tegethoff
body: I would also be interested if there is something like this.

best

Johannes


Tags: confluence-server

permission

server
Bulk delete disabled users who have not contributed
Asked by Daniel Dimitrov:

The previous Confluence admin has left the company last winter and now I am trying to take a good care of the server.

I found that there are more than 3000 disabled users that could be deleted but I'm not sure if any of those has contributed.

I found a [nice article](https://confluence.atlassian.com/conf59/delete-or-disable-users-792499438.html) how to do this for a single user but I am looking for a more scalable or automated solution.

There must be a way to do this in bulk - either by SQL query or some kind of a script with API calls.

Have you guys had to do such bulk deletion?

How did you do it, what worked best for you?

Regards,

Daniel


Answers:
author: repi
body: [@Daniel Dimitrov](/t5/user/viewprofilepage/user-id/3746004)

How are the users managed?  
In the internal confluence directory or via an external user administration (AD, LDAP, crowd ...)?

comments: author: Daniel Dimitrov
body: We are using [**SAML Single Sign On (SSO) Confluence**](https://marketplace.atlassian.com/apps/1212129/saml-single-sign-on-sso-confluence) from *resolution* and the users are synced from Azure AD.

The previously used *LDAP directory* is currently disabled.

Sometime in the past the sync task was not restricted and it synced all AD user objects to Confluence.

Now that the sync is restricted, the unneeded users are disabled in Confluence and we are looking for a smart way to delete them - not manually one by one as in the article I mentioned, and we do not want to delete accounts that have contributed (created content or commented).
Upgrade error from 7.2.1 -> 7.5 - Bootstrap problem
Asked by IT Flyerline Schweiz AG:

Hello

After upgrade the Confluence Server version from 7.2.1 to 7.5.0 on Windows 2019 server i get an error by loading the Confluence instance in the Browser:

Could not load bootstrap from environment

Fatal error

BootstrapException: Unable to bootstrap application: Couldn't save confluence.cfg.xml to C:\\Program Files\\Atlassian\\Application Data\\Confluence directory.

Can anyone help me out?

Thank you,

Steve


Answers:
author: repi
body: We again ...!  
If a file cannot be written under Windows, there are many options.  
No write rights from the update / installation process  
File is opened exclusively by a process  
Disk is full  
You should also install the Confluence in a separate directory, ideally on a separate partition and place the Confluence data and the system in two different directories.  
So you can also use an update via zip file without using the installation routine.  
As already described, a productive incense always with a "decent" sql DB.


Tags: bootstrap
Can I change the layout of multiple pages in confluence at once?
Asked by TSOM:

Hi everyone I am quite new in confluence and I have been asked to restructure an existent wiki.

The wiki has currently hundreds of pages and subpages, and I want to have a new layout for all pages (e.g: all pages with two-column sections with a right sidebar).

Is there a way to do it at once? Someone said to me that I have to do one by one but I can't believe there is no such function :(.

Any tip for a job like this?

thanks


Answers:
author: Joshua Sneed Contegix
body: Hi TSOM,

You can use a [WebDAV connection](https://confluence.atlassian.com/doc/use-a-webdav-client-to-work-with-pages-200704169.html) to run a script from your local machine, similar to Option 2 of [THIS ARTICLE](https://confluence.atlassian.com/confkb/how-to-replace-all-hard-coded-links-after-a-base-url-change-284366235.html). Cheers!


author: Dominic Lagger
body: Hi [@TSOM](/t5/user/viewprofilepage/user-id/3956077)

I think, "the someone" is right. There is no way to change the layout all at once.

Regards, Dominic


Tags: confluence-server

server
Change colors of Buttons / Icons
Asked by Alexander_Stengle:

I'd like to change the color of the Buttons like the one in the login page

Is this possible?

Best option would be to change it permanently for the whole class

Thank you for support.


Answers:
author: repi
body: [@Alexander_Stengle](/t5/user/viewprofilepage/user-id/3956066)

In the administrator menu under look \& feel colour scheme you can change global colour settings.  
The same goes for every single space in the Space Tools.

![color.png](https://community.atlassian.com/t5/image/serverpage/image-id/97962iF2A14A03DE55258D/image-size/large?v=v2&px=999 "color.png")
Is it possible to have Task Report macro pull inline-comment threads into the report as well?
Asked by Nikolai Nekrasov:

In our use case tasks added to a meeting notes page are being actively discussed by users through inline comment threads. After collecting these tasks with a task report macro we would like to have access to these inline comments on the report page.  

Is there a plugin or a clever user macro that can help with it?


Answers:
author: Kate (izi)
body: Hi [@Nikolai Nekrasov](/t5/user/viewprofilepage/user-id/2999721) , if you consider using an app for this, you can try Talk as an alternative to native inline comments: [https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=server&tab=overview)

It comes with [Talk Report,](https://docs.stiltsoft.com/display/public/Talk/Talk+Report) which might be helpful for the use case you shared.

It also allows you to [suggest changes on pages,](https://docs.stiltsoft.com/display/Talk/Suggestions) [decide who can see discussions](https://docs.stiltsoft.com/display/public/Talk/Managing+Permissions#ManagingPermissions-1) and works in the editor.

Kind regards,

Katerina

comments: author: Nikolai Nekrasov
body: This might actually be just what we need. Thanks a lot Katerina!


Tags: confluence-server

inline-comment

server

task-report-macro
Word Macro does not load.
Asked by Mattias Gullgren:

So i am having the same issue as is detailed on this bug report [CONFCLOUD-68979](https://jira.atlassian.com/browse/CONFCLOUD-68979)However the workaround does not work for me. Unless I'm misunderstanding something.

So I tried the following

1. Create an attachment table

2. attach the file on the page I wanted the word macro

3. add word macro, use the current page (With the attached file)

4. Select the correct file

5. Nothing happens, no preview, cannot insert the file.

Does anyone know if I am doing it wrong or has the bug "gotten worse"?  

Thanks for your time!


Answers:
author: Diego
body: Hello [@Mattias Gullgren](/t5/user/viewprofilepage/user-id/3955956) !

As I understand, you are facing the bug described under:
> * ++***[\[Confluence Cloud\] Office macros can't open files from another page on the new editor](https://jira.atlassian.com/browse/CONFCLOUD-68979)***++

I tried to follow the workaround in two ways:
> 1. By specifying the current page
> 2. By leaving the page field blank

When I tried to specify the current page, the macro does not allow me to insert the macro on the page. Which means I can reliably replicate this behavior.

*The second method, leaving the page field blank yields the desired results. I was able to insert the macro and it correctly displays the .XLSX file. Here we have some screenshots of it:*
> *![Screen-Recording-2020-06-08-at-1(1).gif](https://community.atlassian.com/t5/image/serverpage/image-id/98157iFE9F0041C5B70A36/image-dimensions/291x219?v=v2 "Screen-Recording-2020-06-08-at-1(1).gif")*

Since this is not the expected behavior, I have raised another bug report and you can check it here:
> * ++***[\[Confluence Cloud\] Specifying the name of the current page on the Office macro Page Name field makes it impossible to save and insert the Office Macro](https://jira.atlassian.com/browse/CONFCLOUD-70181)***++

I have updated the report to include this piece of information:
> *Attach the Office file to the current page and insert the macro without specifying a page name in the "Page Name" field. This will prompt the macro to look into the current page.*

I hope this helps!

comments: author: drsette
body: Hi all,

I am having this same issue in Confluence Server. By leaving the page name blank I am able to choose the attachment. Is this something the vendor is looking at fixing?

Thanks!


Tags: cloud

macro

ms-word
404 error when to get and publish permission for space?
Asked by fed:

How to get and publish permission for space.  
In the documentation, for example, this:

<https://developer.atlassian.com/cloud/confluence/rest/#api-api-space-spaceKey-permission-post>

/ rest / api / space / BI / permissions

However, this method returns a 404 error.  
I searched a lot on the Internet.

Version 7.4.0


Answers:
author: fed
body: ????? ??? cloud , ? ?? ??? Server, ????? ???????? ?? ???????


author: fed
body: ![Screenshot_22.png](https://community.atlassian.com/t5/image/serverpage/image-id/97892i474A540020419962/image-size/large?v=v2&px=999 "Screenshot_22.png")


Tags: confluence-server

rest-api

server