youngmon/atlassian-qna huggingface dataset:
Switch to the JNDI connector
Asked by Hans-Werner Hennes:

Hello, we have the problem that confluence has been sending mails several times for some time. In the log analyzer it is indicated that the timeout of the mail communication is to be increased. If I proceed according to instructions and exactly the settings for the conversion to the JNDI connector makes, then conflucence starts no more.

root@debian:/home/oed# /etc/init.d/confluence restart  
executing using dedicated user  
If you encounter issues starting up Confluence, please see the Installation guide at <http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide>

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out  
Using CATALINA_BASE: /opt/atlassian/confluence  
Using CATALINA_HOME: /opt/atlassian/confluence  
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp  
Using JRE_HOME: /opt/atlassian/confluence/jre/  
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar  
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid  
Jul 18, 2017 4:28:15 AM org.apache.catalina.startup.Catalina stopServer  
SCHWERWIEGEND: Could not contact localhost:8000. Tomcat may not be running.  
Jul 18, 2017 4:28:15 AM org.apache.catalina.startup.Catalina stopServer  
SCHWERWIEGEND: Catalina.stop:  
java.net.ConnectException: Verbindungsaufbau abgelehnt

Ask for help on what to do


Answers:
author: AnnWorley
body: Please make sure that Confluence fully shut down before you restarted. The message:

```
Could not contact localhost:8000
```

can indicate that Confluence is still holding onto port 8000 (the Tomcat shutdown port) from a previous startup so the new startup can't get the port.

You can run **kill -9** on the Confluence PID if you want to force it to quit.
Link application with Login
Asked by feswnetwork:

Hello,

we are using Jira 7.4 and Confluence 6.3.1. The user base is the same and is administered in Jira. The Applications are linked with OAuth (impersonation). Can i establish a Single Sign On?

Best regards

Falk


Answers:
author: Fabian Lim
body: Hi Feswnetwork,

Yet it's possible. Here is some reference material on how this works: <https://confluence.atlassian.com/kb/single-sign-on-integration-with-atlassian-products-794495126.html>
Page Title in Header in PDF Export
Asked by Anju:

How could I get the page title in the header on each page. So far, I've got this:

```
.pagetitle h1 {
 position: running(runningheader); 
 font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
 font-size: 10pt;
}
@page:first {
 @top-left {
 content: element(runningheader);
 }
} 
@page {
 @bottom-left {
 content: "Company Name";
 font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
 font-size: 10pt;
 }
 @bottom-right {
 content: "Page " counter(page) " of " counter(pages);
 font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
 font-size: 10pt;
 }
 /* Generate border between footer and page content */
 border-bottom: 1px solid black;
}
```

But this takes away the title from the first page (which I don't want it to do) and adds the header to only the first page. I need the header to be on all the pages.


Answers:
author: Steffen Heller
body: As mentioned at <https://community.atlassian.com/t5/Confluence-questions/Single-Page-PDF-Export-with-Title-Page/qaq-p/611537> the "position: running(runningheader)" **moves**(not copies!) the content to another element.

The only workaround is to use this approach for either the first page or the the header and use an additional dummy element for the other one.


Tags: pdf

questions-for-confluence
create button not visible in the header
Asked by Varsha Muzumdar:

Hello,

I was seeing create button a couple of weeks back, but now it went missing. As an administrator, I checked the permissions, entered safe mode and tried all possible solutions mentioned on the support site, but was not able to figure out the solution. My license too is valid, not expired. Can someone help me figure out this issue?


Answers:
author: Steven F Behnke
body: The only reason this would disappear on the server side is becaues of a bad license.

When you load the dashboard, do you receive errors in the browser? Do you receive errors in the application log?
Accessing Soy Template Parameter in Title of Template
Asked by Anju:

I was following this tutorial for [Writing Soy Templates in Your Plugin](https://developer.atlassian.com/confdev/tutorials/writing-soy-templates-in-your-plugin).

The table gets the page ID and I was wondering how I could access that parameter in the title for other templates.


Answers:
author: Christo Mastoroudes _Adaptavist_
body: Hi Anju,

If the templates are on the same page then simply pass "AJS.params.pageId" as a parameter to your other new template from the javascript.

If your other soy template hooks into the main one you can pass the variables along by using the next line in your soy.

```
{call .otherSoy data="all" /}
```

However if your other soy template is on a different page you might have to devise a more elaborate solution to pass this from the backend.

comments: author: Anju
body: Awesome that works. Thank you!


Tags: confluence-development

questions-for-confluence
Using Confluence for Web Site Content Development
Asked by Peggy Schoen:

We were hoping to use Confluence as a wiki for building out the content for our new website. I have previously used the wiki functionality in Microsoft Sharepoint for this purpose. To be clear, we do NOT want to be setting up folders with documents. Instead, I'd like to be able to do what I did in Sharepoint, which is to dyanmically create the content by starting with an outline on a page and then creating pages simply by highlighting a section and creating a new page. Does Confluence work this way or do I have to create each page separately and THEN link it into an organizing page?


Answers:
author: Shannon S
body: Hello Peggy,

You will be able to use Confluence to create an outline. However, there's no functionality currently to create a page from a selection. You will need to manually create the page, and paste or enter the content manually.

I did find a feature request that may interest you:

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

This would allow you to create a page based on text you have selected. Please watch the case and vote on it to show your support for the implementation of such a feature!

Let us know if you have any questions about this.

Kind Regards,

Shannon
Keep table cell highlights when exporting a page to a word document?
Asked by Stephanie Groot:

When I export my page to Word the highlights disappear from the tables. Is there a way to keep the hightlights?


Answers:
author: Shannon S
body: Hello Stephanie,

Are you referring to the background cell color? If so, there is currently a bug for this, since they are not being included when the page is exported to Word:

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

Please vote on that case, as it helps show the developers how many users have run into the issue.

Otherwise, [Scroll Office](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-office/server/overview) may help you to format and create Word Exports that are properly displayed. Have a look at that add-on and if you have any questions, ask away!

Kind Regards,

Shannon  
Atlassian Cloud Support
Adding Blueprints to Space
Asked by Anju:

I have a custom blueprint. How do I add it to an existing space?


Answers:
author: Christo Mastoroudes _Adaptavist_
body: Hi Anju,

I think this might help:

<https://confluence.atlassian.com/doc/blueprints-323982376.html>

If you are coding the blueprint functionality in via a add-on then this could help:

<http://labs.adaptavist.com/confluence/2016/09/28/creating-a-custom-confluence-blueprint/>

comments: author: Anju
body: I'll look into it. Thank you!


Tags: blueprint

questions-for-confluence
How to find parent page from attached file link?
Asked by Zac Schroff:

I have a download link to an attached file, in the form below.

I need to be able to access the parent page (the page to which the file downloaded by the link is attached).

How can I find the parent page from such a download link?

http://server/download/attachments/123456789/document.pdf?api=v2


Answers:
author: Laszlo Cseko
body: Hi Zac,

The number after attachment is the page id.

You could try this url: http://server/pages/viewpage.action?pageId=123456789

Cheers,

L?szl?

comments: author: Apollo Ihg
body: Works for me!


Tags: attachment

hierarchy
How to track all unresolved comments in a space?
Asked by Anthony_Benitez:

Currently working with multiple team members on multiple projects and I am trying to figure out a way to track all unresolved comments that doesn't involve checking every single page in a space. Is there a way to track unresolved comments in a space?


Answers:
author: Shannon S
body: Hello Anthony,

There is not currently a way to view all unresolved comments, but we do have a feature request for this:

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

I would encourage you to watch the ticket and vote on the request in order to show your support for the addition of this feature.

There does appear to be [a 3rd party add-on for this](https://marketplace.atlassian.com/plugins/see-all-unresolved-comments/cloud/overview) currently available for Confluence Cloud, but not for Confluence Server.

Let me know if you have any further questions about this.

Kind Regards,

Shannon
Column Border Issues with Table Plus Macro
Asked by Amanda:

I am using the table set up that can be found [here](https://bobswift.atlassian.net/wiki/display/TBL/Table+3). But when I do it my borders are only formatting for 4 of my 12 columns...any ideas?  

Below is a picture of what my table looks like, I'm at a loss of what I'm doing wrong...

![tableplus.jpg](/t5/image/serverpage/image-id/3233iBA27E4F5B5B06864/image-size/large?v=v2&px=999 "tableplus.jpg")


Answers:
author: Amanda
body: I got it fixed, disregard!

comments: author: AnnWorley
body: If you have time to let us know the solution it could benefit the Community, i.e. the next person who searches for the issue.
Site icon not showing across site
Asked by Dean Lappi:

Hi all.

I am running Confluence 6.2.3.

<br />

I updated the Confluence Site icon by going to Confluence Administration/General Configuration/Site Logo and Favicon and uploaded a new site logo.

Confluence changed the Site logo in the top bar within the Confluence Administration page, but when I go to my spaces, the site logo remains unchanged on the top bar.

Has anyone run into this issue? From my research, the Site logo should update across the site.  

Much thanks


Answers:
author: AnnWorley
body: I just tested on Confluence 6.2.x and the Site logo did update throughout the instance when I changed it.

Is it possible your browser is caching the pages with the old logo? Please try clearing the cache, or accessing with another browser. I look forward to hearing the results.

comments: author: Dean Lappi
body: Hi Ann. Thank you for your reply!

It is a strange thing. I am not sure why the Site logo is not propagating.

<br />

Clearing my cache was actually my first thought. :-)  
I've also tested it on different browsers and had others in my company view it on their computers, but all returned the same viewing result where the logo updates on the Confluence Administration page, but not to any other areas.

A quirk to ponder. :-)  

Have a wonderful day!


author: AnnWorley
body: Thanks for the good wishes. My best to you as well.

If you have time, please create a new space and check if the site logo shows there as expected. That will rule out any space-level Look and Feel customizations on the other spaces.

Do you have any custom HTML or Stylesheet under Confluence Admin\>Look and Feel?

Are you using a custom theme?


author: Dean Lappi
body: We do have a custom CSS. That could be the issue! I will look into it.

Thanks for the idea!

If that doesn't work, I'll play around with creating a new space to test the site icon.

Thanks again for taking time out of your busy day, Ann.

Kindest regards!
Recurring task notifications
Asked by Renato:

Hi there,

I was wondering if there is a way to create recurring tasks (through confluence task list with user mentioning)? In the sense that a selected user would for example get a weekly email reminder to fulfill a task within confluence. Also, it would be beneficial if there was a new checkbox that the user can mark everytime a recurring task is completed.

Thanks a lot and best regards,

Renato


Answers:
author: Shannon S
body: Hello Renato,

Currently, it is not possible to create recurring tasks in Confluence, but we do have an existing feature request:

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

I encourage you to vote on the request since it helps show our developers how many users are interested in this. You can also leave your feedback directly on that case

Let us know if you have any questions about this.

Kind Regards,

Shannon  
Atlassian Cloud Support


Tags: task
how to get all search results at once in confluence ?
Asked by anuj__sharma:

I am searching whole confluence for a specific keyword.  
There are around 2000 search results .  

<br />

I want to get all the search results at once .  

Can someone please help   

<br />

Thanks


Answers:
author: Shannon S
body: Hello Anuj,

It is possible to modify the **confluence.search.max.results** which is a [Recognized System Property](https://confluence.atlassian.com/display/DOC/Recognized+System+Properties) in Confluence.

You can find more exact details on this in [CONFSERVER-37399](https://jira.atlassian.com/browse/CONFSERVER-37399) as the listed workaround:
> [Modify](https://confluence.atlassian.com/display/DOC/Configuring+System+Properties ) the [Java system property](https://confluence.atlassian.com/display/DOC/Recognized+System+Properties) confluence.search.max.results e.g. -Dconfluence.search.max.results. Changing 1000 to 2000 will increase the number of pages returned to 2000.

Let us know if you have any trouble!

Kind Regards,

Shannon


Tags: confluence-development

questions-for-confluence
Confluence user with view only access to a space
Asked by Raghu Kashyap:

What I want : Get a bunch of users with view only access to a space.

What I have done : I have created a group with all the users added to that group. The group within the access config has access to only 1 space.

This works great as the users in that group can see only that space. However, the users are also able to see all the updates of pages from other spaces.

What needs to be done to fix this? i.e the uers should not be able to see updates from other spaces.


Answers:
author: Nic Brough -Adaptavist-
body: Could you explain what you mean by "able to see all the updates of pages from other spaces"?

Do you mean they have access to other spaces?

comments: author: Raghu Kashyap
body: No, they don't have access to any other space. However, the updates done by users on the other spaces is visible under the "Activity" view "All Updates"

If I click on any of those links it says I don't have access to those pages (Which is correct)


author: Nic Brough -Adaptavist-
body: Ah, I see. You need to disable the activity feed to supress them. I'm not sure that can be done on a group basis, I think you can only turn the whole thing off


author: Raghu Kashyap
body: Interesting. I am surprised that this is something that cannot be controled by groups.

Thanks for your response though.
Single-page PDF export: name the PDF file after the exported page
Asked by avi aharon:

Hi, I have a large group of user guide, each on a single wiki page. I am exporting them all to PDF files on a regular basis and would like to ask whether there is a way to name the PDF files after the pages they are exported from. Example: the PDF export of page1 will be page1.pdf, and so on.


Answers:
author: AnnWorley
body: By default the filenames have the space key, the page title and the date.

There are quite a few PDF export plugins on the Marketplace, it may be worthwhile to trial one to see if it works for your case. For example the [Content Exporter (Word, PDF, HTML)](https://marketplace.atlassian.com/plugins/com.metainf.confluence.plugin.pagetreeexporter.pagetree-word-exporter-plugin/server/overview) overview page claims:
> Add your document's title as your header (or anything you want)

comments: author: avi aharon
body: Thanks :)


Tags: pdf
How come links are not redirecting to a heading on a different page on the updated Confluence?
Asked by Developer:

After the new update links are no longer redirecting to a certain heading with the Advanced link option (My page#My heading). When I click on a link it takes me to the desired page, but it doesn't scroll the page down to the heading.

<br />

Before the update everything worked out smoothly. But I discovered today that links are no longer working correctly and this causes me problems because there are a lot of pages and a lot of links that need to be connceted.

<br />

What should I do? Does anyone else have this problem?

<br />

Thanks!


Answers:
author: Stephen Deutsch
body: I wrote this Javascript to be able to link to anchors that are within expand blocks, but it also checks if an anchor link is missing the page title and adds it automatically, which might be the issue that is preventing your pages from working properly. Maybe you could try it?

from [https://jira.atlassian.com/browse/CONFSERVER-27357?focusedCommentId=673236\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-673236](https://jira.atlassian.com/browse/CONFSERVER-27357?focusedCommentId=673236&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-673236?)

```
<script>var expandAnchor = function() {  var hash = decodeURIComponent(window.location.hash);  if (hash) {    var hashPageTitle = AJS.params.pageTitle.split(" ").join("");    if (hash.indexOf(hashPageTitle) === -1) {      if (jQuery.isNumeric(hashPageTitle.substring(0,1))) {        hash = "#id-" + hashPageTitle + "-" + hash.slice(1);      } else {        hash = "#" + hashPageTitle + "-" + hash.slice(1);      }    }    var escapedId = hash.replace(/[!"$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g, "\\$&");    jQuery(escapedId).parents('.expand-container').children('.expand-hidden').prev().click();    window.location.href=hash;  }}AJS.toInit(function() {  expandAnchor();  jQuery(window).bind('hashchange', function() {    expandAnchor();  });});</script>
```


Tags: link
Configuring MYSQL for Confluence 6.2?
Asked by Viola:

We are currently running Confluence 6.2 on Windows 2012 R2 and are trying to migrate it to our local MySQL database (5.6, as required).

However, it seems the [instructions on how to configure MySQL](https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html) for Confluence may be outdated, because the descriptions match the interface from the old **MYSQL Server Instance Configuration Wizard** , which apparently was [replaced by the **MySQL Windows Installer** in MySQL version 5.6](https://bugs.mysql.com/bug.php?id=66306) .

Could anyone tell me the corresponding settings for MySQL Windows Installer?

Or if not - I am guessing that what the old wizard did was to modify my.cnf/my.ini, right? Does anybody have the coresponding file with the correct settings for confluence 6.2?

Thanks!


Answers:
author: AnnWorley
body: Hi Viola,

Since your question was from the 17th I checked to see if you had a support ticket and did find one. It looks like you were able to move forward by installing MySQL and following the documentation you linked ([Database Setup For MySQL](https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html)) to edit the my.ini file.

If there is anything else you did that could help others in the Community, please circle back to let us know.

Thanks,

Ann

comments: author: Viola
body: Hi Ann!

Yes, thank you. I think I have the solution now. I was going to wait until my installation was finished before posting here - just to be sure.

Anyway, for anyone with the same problem: It seems that **Step 3.1 and 3.2 in the documentation (<https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html>) are *interchangeable*.**

They read like sequential instructions, but, apparently you can just move on to Step 3.2 if for some reason you cannot do Step 3.1.

Best of luck!

Viola


author: AnnWorley
body: Thank you so much for following up, and clarifying our docs!


Tags: configuration

mysql
Importing of pages from MS Word without using the Wiki Markup Makro
Asked by Marc Keil:

Hi all,

I have a bothersome question regarding the import using a MS Office project. I've used this for a few times and it worked quite well, but now I have a bigger document and it now doesn't adopts the formatting to the page but instead translates the formatting information into Wiki Markup and puts it into a Wiki Markup Macro.

<br />

This causes strange formatting on the page as well as the inability to edit this pages for users inexperienced with Wiki markup.

I haven't found a configuration to change that so I am wondering what I can do to solve this issue.

Best regards,

Marc![2017-07-17 10_38_31-0.4 _Scope and purposes - Audi C-Box High - Confluence.jpg](/t5/image/serverpage/image-id/3209i69B0949E176C90CB/image-size/large?v=v2&px=999 "2017-07-17 10_38_31-0.4 _Scope and purposes - Audi C-Box High - Confluence.jpg")![2017-07-17 10_38_42-0.4 _Scope and purposes - Audi C-Box High - Confluence.jpg](/t5/image/serverpage/image-id/3210iA1B4500C77CEEB59/image-size/large?v=v2&px=999 "2017-07-17 10_38_42-0.4 _Scope and purposes - Audi C-Box High - Confluence.jpg")


Answers:
author: Stephen Deutsch
body: One thing you might try is to try to re-insert the wiki markup in the editor under "Insert" -\> "Markup" by cutting/pasting the text into the dialog.

This will try to convert the Wiki Markup to the standard Confluence format.

If there's something that the internal parser is having trouble with, it may not display 100% the same as the Word document, but you should be able to adapt it and at least you will have a standard page that you can work with.

comments: author: Marc Keil
body: Thank you for this tip!