youngmon/atlassian-qna huggingface dataset:
Linux install with SQL Server on Ubuntu
Asked by Chris Palmer:

I have a new instance (Stand-alone) of Confluence. I have installed SQL Server on the local Ubuntu Server. I opened up firewall ports (TCP 1433 and UDP 1434). I can connect to SQL Server DB with SSMS to validate. I have created a DB, User with dbo rights and the appropriate Collation and Multi user settings accorinng to Atlassian docs.

I also have SQL Server JDBC driver and copied in place for Confluence to connect to SQL.

Test Connection does not give feedback and Next does nothing as well. What am I missing?


Answers:
author: Chris Palmer
body: I was able to solve my issue. The jar files that I downloaded, and copied in, for SQL Server support, had 3 different compiled versions. Not thinking, I copied in all 3 JAR files into WEB-INF/lib folder. I removed all except the working version: **mssql-jdbc-8.4.1.jre8.jar**

With this jar file in place, the SQL Server setup Tested and Completed without issues. All is good with this new Confluence Instance (ver. 7.4.3) with SQL Server (ver. 2019) on Ubuntu Linux (ver 18.04)

Thank you Brant for the guidance!


author: Brant Schroeder
body: I would check and make sure that you did not miss a step when setting up the connection. [https://confluence.atlassian.com/doc/configuring-a-datasource-connection-937166084.html](https://confluence.atlassian.com/doc/configuring-a-datasource-connection-937166084.html??)

You should also be able to check the logs and see what information is being provided there.

comments: author: Chris Palmer
body: Found this error in the log: atlassian-confluence.log

UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 55.0 (unable to load class \[com.microsoft.sqlserver.jdbc.SQLServerDriver\])

So now looking into the SQL Server jar files that I copied into place.


Tags: confluence-server

linux

server
Confluence Jira Macro: You do not have permission to create issues on this Jira server
Asked by Thomas Wohlwend:

Hi I have reported the problem in the community but I am not getting any usefull answers.

<https://community.atlassian.com/t5/Confluence-questions/Confluence-Jira-Macro-You-do-not-have-permission-to-create/qaq-p/1474471#M188483>

Please help.

Thank you, Thomas


Answers:
author: Diego
body: Hello [@Thomas Wohlwend](/t5/user/viewprofilepage/user-id/3308409) !  
I replied on your original thread, we could keep the discussion on the same thread so the content is easily accessible.

Thanks for reaching out!


Tags: confluence-server

jira

macro

server

ssl
Synchrony not starting on Docker or Kubernetes Data Center
Asked by Chris Mooney:

Hi all,

We're having issues getting Synchrony started in the latest version of Confluence Data Center in Docker locally on my machine and in Kubernetes.

We receive the error "Hazelcast CANNOT start on this node. No matching network interface found.\\nInterface matching must be either disabled or updated in the hazelcast.xml config file."

If I look at the confluence.cfg.xml this system property doesn't exist:

```
<property name="confluence.cluster.interface">eth0</property>
```

I've tried adding this property in the confluence.cfg.xml file but this does not fix the issue. I've also added confluence.cluster.interface=eth0 to my synchrony-args.properties file in my shared home directory. If I look at the atlassian-confluence.log I see:

\[plugins.synchrony.bootstrap.DefaultSynchronyProcessManager\] debugPrintEnvironment /opt/java/openjdk/bin/java -classpath /opt/atlassian/confluence/temp/4.0.0-master-85ceb9cf.jar:/opt/atlassian/confluence/confluence/WEB-INF/lib/postgresql-42.2.8.jar -Xss2048k -Xmx1g **-Dconfluence.cluster.interface=eth0** synchrony.core sql   

However, this still doesn't fix the issue.

Is there a fix for this issue? Has anyone been able to get Synchrony started in Data Center?


Answers:
author: Corey Dyson
body: Hey Chris,

Were you able to resolve this issue? I'm having the same problem.


Tags: confluence-server

docker

kubernetes

server
Confluence Column Formatting
Asked by Ann Knackstedt:

Is there a way to set text in Confluence to automatically wrap in 2 or 3 columns. For example, on a meeting notes page, there is often a list of attendees at the top. I want to take that list of attendees and make it wrap in 3 columns (in Microsoft Word, I would highlight the list of attendees, then select the column formatting dropdown, select 3 for the number of columns and hit "ok.")

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/109893iCB8D35744A9509FC/image-dimensions/491x89?v=v2 "image.png")

From there, as I sort, add, or remove names from the list, the columns automatically adjust and the overall height of the newly-created section of the document increases or decreases as names are added or deleted.
> Sorting the names automatically shifts all names to keep the columns even (note how the last 4 names are sorted and moved):

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/109895i2CF5FDC603260F29/image-dimensions/506x75?v=v2 "image.png")
> Adding two new names and sorting; MS Word moved each line item to keep the columns even:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/109898iAE29E3F7E1943DBF/image-dimensions/519x96?v=v2 "image.png")

Is there a way to do this in Confluence?

I know about the column macros, but for those, I have to manually move the names for each column into the "column" that it will be displayed in, so, if I add a name and want to sort alphabetically, I have to manually move it to the right spot and move other names over a column to even out the columns.

We currently have Confluence 6.13.10

Thanks in advance!


Answers:
author: Bill Bailey
body: In a word, no. In the Adobe world, this function is referred as flowing text (wrapping has to do with text within a column or around an image). It is an advance function that an HTML editor can't handle.

BUT, you can fake it "easily" with CSS (using the [Multiple Columns](https://www.w3schools.com/css/css3_multiple_columns.asp) function). What you need is a simple user macro that wraps a classed div tag around the body content of the macro. Then CSS, either in the macro (gives more programmatically) or in the space CSS, can do the actual styling.

When you edit the page, your list of people would be one long list inside the macro body, but when displayed, the content would flow into three columns.


Tags: confluence-server

layout

server
While exporting to Word Document, the table of contents doesn't work
Asked by dilipmaharjan:

Hi  
I am trying to export a confluence page with links to other pages. How do I retain the page links and table of contents behavior i.e that click the links or toc navigates as desired?


Answers:
author: Aline
body: Hi Dilipmaharjan,

thank you for your question.   
I am afraid this is a known bug for the, see here : <https://jira.atlassian.com/browse/CONFSERVER-26052>  

What you could do after you export the word is to use FIND+REPLACE to fix the broken links and replace the missing confluence-URL in your file. Well, just an idea.  

Cheers  
A.   

<br />

<br />


Tags: cloud

confluence-cloud
Anyone else get timeout errors saving to confluence?
Asked by Tanya Cashorali:

This has been happening lately only in Confluence. I'm not sure why and my internet connection is lightning fast (Verizon Fios small busine![wiki.png](/t5/image/serverpage/image-id/109878i40F22A4F71EFFEE1/image-size/large?v=v2&px=999 "wiki.png")ss internet).


Answers:
author: Tanya Cashorali
body: It seems to happen when I use the \[ \] shortcut to create a new page.


Tags: cloud

confluence-cloud
Pull only Specified Open Tasks into the Task Report
Asked by Ann Knackstedt:

I have a "landing page" (screenshot below) for a series of working sessions. On the landing page, there is a button to create a "working session notes" page; we take notes for each working session on a notes page.

I am using a task report at the bottom of the landing page to list all the open actions items from all of the working sessions, which are pulled from the (child) working session notes pages. In my working session notes pages, I want to use checkbox functionality (as shown in the 2nd image below) for the attendees of each working session so that I can check the boxes for the people who show up to the working session.

![image.png](/t5/image/serverpage/image-id/109889iE99D6F8F72D0F691/image-dimensions/389x289?v=v2 "image.png")

Unfortunately, if I use check boxes anywhere on the page, all those items that are unchecked including attendee names, are pulled into my task report.

![image.png](/t5/image/serverpage/image-id/109886iB7CA6A7FB2BF2393/image-dimensions/296x88?v=v2 "image.png")

I saw a very complicated way to filter tasks by creating "sub-pages" with excerpts for each "category" of tasks and then displaying the excerpts on the main page. This solution would be rather messy in my scenario because for each page of notes, would have to have corresponding task excerpt pages associated to it, meaning, as we take notes, we would have to bounce back and forth among the pages.

Is there a way to either exclude the items in the Attendees list on our notes pages from the task report on the landing page OR to include only the items in the action items on each notes page in the task report on the landing page?

Our company is on Confluence 6.13.10

Thanks in advance for any ideas!


Answers:
author: Thomas Bowskill
body: Hi [@Ann Knackstedt](/t5/user/viewprofilepage/user-id/4081743)

So I use a similar format to what you are describing, but I don't use checkboxes for attendees.

I simply have a row in a table that contains the attendees and I put present in one line and apologies in another. I don't track any MI off of this (e.g. cross checking that everyone has attended at least one meeting), so I've never needed to get too sophisticated with it.

The table I use is wrapped up in a Page Properties macro, and I have a summary page for all the meetings that are descendants. Looks like this

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

If you want to get a bit more into using this to actually track, then I's say you are looking at sub pages so that you can separate out the reporting -- that feels like it could become quite convoluted as you mentioned.

Hopefully this gives you some ideas, and if you want any more detail on what I do, let me know :)


Tags: confluence-server

filter

server

task-report-macro
Error persisting CustomContentEntityObject
Asked by robert_egan_305:

I would like to create a custom content entity object, so that it may delivered as a notification to a watcher, who may then access it. However, when I try to create the notification, it throws a hibernate exception claiming my entity is not a sub class of ContentEntityObject.

So, what am I doing wrong? My instinct says I need to provide *something*in my class definition, but the documentation in this area is sorely lacking, to put it nicely.

org.springframework.orm.hibernate5.HibernateSystemException: Unable to resolve entity name from Class \[com.\*\*\*\*\*\*\*.atlassian.confluence.report.content.DownloadableContent\] expected instance/subclass of \[com.atlassian.confluence.core.ContentEntityObject\]; nested exception is org.hibernate.HibernateException: Unable to resolve entity name from Class \[com.\*\*\*\*\*\*\*.atlassian.confluence.report.content.DownloadableContent\] expected instance/subclass of \[com.atlassian.confluence.core.ContentEntityObject\]  
org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:296)  
org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:364)  
org.springframework.orm.hibernate5.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:328)  
org.springframework.orm.hibernate5.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:706)  
com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.saveRaw(HibernateObjectDao.java:242)  
com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.save(HibernateObjectDao.java:202)  
com.atlassian.confluence.impl.mail.notification.persistence.CachingNotificationDao.save(CachingNotificationDao.java:74)  
com.atlassian.confluence.mail.notification.DefaultNotificationManager.addContentNotification(DefaultNotificationManager.java:108)

The class definition. And yes, it is empty. I would put stuff in there, and I'm sure I need to put *something* in there, but quite frankly, I have no idea what kind of stuff is needed. As I said, the documentation is a bit sparse.

package com.\*\*\*\*\*\*\*.atlassian.confluence.report.content;

import com.atlassian.confluence.content.CustomContentEntityObject;

public class DownloadableContent extends CustomContentEntityObject {  
}


Answers:
author: robert_egan_305
body: Never mind. Just saw the following in the javadoc

Protected. If you want a new CustomContentEntityObject, get it from the CustomContentManager


Tags: confluence-server

server
Does Confluence page watcher still recieve notifications after access to page is removed?
Asked by Bill Parlock:

If a user is a watcher for a Confluence page, will they still receive email notificactions if they lose access to that page?


Answers:
author: Patrick Vanhoof
body: Not sure, but easy to test I presume ;)

Maybe yes when the user created the page and is still owner of the page.


Tags: server
Integration of keepass/link to fields of keepass DB
Asked by Frank Beckmann:

Is there a solution to easy integrate keepass db in confluence pages ?

it should work like password manager from service rocket. There should be a button to find the entry in keepass and add a Password button which shows the password when user has access to the keypass db.

alternativ we could use

Thyotic, Pleasant, password save or Topicus keyhub


Answers:
author: Diego
body: Hello [@Frank Beckmann](/t5/user/viewprofilepage/user-id/4081441) !

Currently, there is no integration with KeePass software. However, some time ago an article about password storage has been posted by ServiceRocket here in our community. You can check it here:
> * [++***\[Atlassian Community\] How to easily manage passwords stored across multiple spaces in Confluence***++](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-to-easily-manage-passwords-stored-across-multiple-spaces-in/ba-p/808977)

While the article does not propose the integration with any of the mentioned software, but it gives a possible path.

I hope this post assists you!


Tags: confluence-server

server
How can i use the labels of a page automatically in the content by labels macro
Asked by Stefan Meier:

I am creating a new template with a see also section in the bottom. I would like to include the content-by-label macro and adjust it in a way so that it always shows all sites that have the same labels. Is that possible? Or how can I do that (other than manually)?


Answers:
author: Anil Prasad
body: I want this, too. I'm also in cloud. Seems like a setting that should be allowed inside the macro.


author: Bill Bailey
body: If you enter the macro in the template with a set of labels, then when you use the template, the macro will always display the content matching those labels. I guess I am not seeing what the issue is?

comments: author: Stefan Meier
body: No, it's a template, so when a user uses it and ads labels to the page, the macro should automatically show the content with these labels. I want automation!


author: Bill Bailey
body: OK, then there is this solution using a user macro:

<https://confluence.atlassian.com/display/DISC/Related+Content>

Now personally, I would probably make this simpler as a wrapper user macro that reads the label(s) from the page, then feeds them to an instance of Content by Label macro. A cleaner solution.

I wrote an article about this process: [Getting-Started-with-User-Macros-Writing-a-Wrapper-Macro](https://community.atlassian.com/t5/Confluence-articles/Getting-Started-with-User-Macros-Writing-a-Wrapper-Macro/ba-p/979571)


author: Stefan Meier
body: Hey Bill,

thx for the answer. You might have overlooked, that I am in Confluence Cloud and I cannot use user macros. Is there also a solution for cloud?

Stefan


author: Bill Bailey
body: Yes, switch to the server version? (bad joke) There are two main reasons I advise clients to *not* use the Cloud version of Confluence:

* No control over what version you are running (workflows can break without notice)
* Lack of user macros.

I have not tried this route, but:

* Develop your user macro on a local server version
* Package your macro as a plugin
* Install in the Cloud

The first two I have done, but I am not sure if the Cloud version will allow installing a plugin derived from a user macro.


Tags: cloud

confluence-cloud
Adding macros to pages createdd through REST API
Asked by v-hleb.v:

Hi.

Using REST API we create parent pages and then upload children ones. We want to have a children list in our parent pages, but if we add '{children}' macro to their content we see it as is. So, how to properly add macros to pages created using API.


Answers:
author: Diego
body: Hello [@v-hleb.v](/t5/user/viewprofilepage/user-id/4080990) !

As I understand, you need to update an already existing page via rest and add a macro to it.

You can take a look at our documentation on how to update pages via REST:
> * [++***\[Confluence Cloud REST API\] Update a Page***++](https://developer.atlassian.com/cloud/confluence/rest-api-examples/#update-a-page)

There is also our document on the Children Display Macro itself:
> * [*++**\[Confluence Cloud\] Children Display Macro**++*](https://support.atlassian.com/confluence-cloud/docs/insert-the-children-display-macro/)

For you to insert the macro, the markup should be sent with the content body. Here is an example of how the markup for the macro looks like from our documents:

```
{children:reverse=true|sort=creation|style=h4|page=Home|excerpt=none|first=99|depth=2|all=true}
```

Here in our community, some people had a thread that had the creation of macros via rest as the main objective. You can take a look at it here:
> * [++***\[Atlassian Community\] Can I insert the History macro through REST API call?***++](https://community.atlassian.com/t5/Confluence-questions/Can-I-insert-the-History-macro-through-REST-API-call/qaq-p/1038703)

I hope this helps! Let us hear from you.

comments: author: v-hleb.v
body: Hi Diego, this helped, thank you!


Tags: cloud

confluence-cloud
Enable new editor for pages added through REST API
Asked by v-hleb.v:

Hi!

We migrate our old documentation to Confluence using REST API. By default imported pages use legacy editor. How to enable the new editor for them using API?


Answers:
author: Diego
body: Hello [@v-hleb.v](/t5/user/viewprofilepage/user-id/4080990) !

As I understand, you need to create new pages via REST using the New Editor as default.

This objective has been achieved by others here in this thread:
> * *++**[\[Atlassian Community\] Creating space using REST API creates it with "old" editor ? Edited](https://community.atlassian.com/t5/Confluence-questions/Creating-space-using-REST-API-creates-it-with-quot-old-quot/qaq-p/1275954)**++*

It is also a good idea to look into this report:
> * [++***\[Confluence Cloud\] Creating a page via API doesn't load the New Editing Experience***++](https://jira.atlassian.com/browse/CONFCLOUD-68057)

In this report, you will be able to find a workaround for the situation.

Let us hear from you!

comments: author: v-hleb.v
body: Hi Diego, this is was really helpful!


author: Diego
body: Thanks for getting back to us. Come share with the community in the future!


Tags: cloud

confluence-cloud
Permissions to specific pages (and page trees)
Asked by Nofar Ben Kereth:

Hey,

We have a few contractors that need to use some of our Confluence pages. We don't want them to have an access to all of the Space and its pages.

Is there a way to give them access only to a specific pages (hopefully page trees)? Or maybe crate a different space that contains those specific pages (and gets updates when a page is updated in the original space?).


Answers:
author: Nicolas Casel
body: > Is there a way to give them access only to a specific pages

Fundamentally, Confluence works the opposite way: by default, all users have access to the whole space (all pages). Then, you can prevent specific user(s) to access to specific page(s) by adding 'restrictions' on the impacted page(s). So, I would not recommend trying to 'give access to specific pages', it would be very complicated.

As you suggest, having another space with those specific pages might be the solution, even if you will have to manage duplicate pages.


Tags: cloud

confluence-cloud
How do I do a frame like the one in https://docs.atlassian.com/aui/7.3.4/docs/icons.html ?
Asked by Pablo P?rez Dom?nguez:

Good morning,

I'd like to know how do I do the frame in the **Examples** section, including the search bar and the icons in the same format. I've been looking for some kind of macro but I didn't find it. We use Atlassian Cloud.

Kind regards,  
Pablo.


Answers:
author: Nicolas Casel
body: This Examples section:

<https://docs.atlassian.com/aui/7.3.4/docs/icons.html>

offers components to be used in the frame of the Atlassian User Interface library:

<https://docs.atlassian.com/aui/getting-started.html>

but it is not related to any macro.

comments: author: Pablo P?rez Dom?nguez
body: Hi Nicolas,

thanks for your fast answer. Is there any way I can add these kind of frames easily in Atlassian Cloud? I've tried doing a 1x1 table with a search bar on it and formatting the text inside of it but I'm still unable to add the icons with their links and their text when you pass the mouse over them.

Kind regards,  
Pablo.


Tags: cloud

confluence-cloud
Jira can't see confluence space
Asked by Monika Sveklo:

Hello, I have a problem. I created a project in JIRA and created a confluence space in JIRA 'page'. In confluence space I created some page, but when I go again in JIRA 'page' I can't see any page. Why? I tried to connect to difference space and choose my created space, but still can't see anything. Maybe do you know what's wrong?


Answers:
author: Fahad Siddiqui
body: [@Monika Sveklo](/t5/user/viewprofilepage/user-id/4080892) this might me permission issue. are you able to see other pages?

comments: author: Monika Sveklo
body: I am administrator of that project. When I just go in JIRA 'page', it says that there aren't any pages, but when I press 'create page', on the left corner I can see other pages, which I created before.


author: Fahad Siddiqui
body: Maybe the default space permissions don't have all admins there as default. Go to` /admin/permissions/viewdefaultspacepermissions.action` (Cog \> Admin \> Space Permissions) and see what are the settings. After that, make sure you are indeed part of the groups set on **Default Space Permissions** .


author: Monika Sveklo
body: I found a problem. Thank you!


author: Fahad Siddiqui
body: If my answer helped you in anyway please accept answer.


author: Patric Trautwein
body: [@Monika Sveklo](/t5/user/viewprofilepage/user-id/4080892) have the same problem, would be super interested in your solution


author: Yuval Gershfeld
body: Hey [@Monika Sveklo](/t5/user/viewprofilepage/user-id/4080892)

I can suggest using an add-on to view your Confluence page in your Jira project C4J for instance extends the basic functionality and presents Confluence content directly in a Jira issue and seamlessly integrate Confluence into Jira. See: [https://marketplace.atlassian.com/apps/1222263/c4j-content-display-for-jira?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1222263/c4j-content-display-for-jira?hosting=server&tab=overview)


Tags: cloud