youngmon/atlassian-qna huggingface dataset:
What happens if you enable Confluence email notifications after years running without it?
Asked by Christian:

Hello,

we want to **enable email notifications** in Confluence so that users are notified about changes on their favourite pages, but after years of running Confluence without email notifications, we are **not sure what will happen**.

a) Does Confluence send email notifications about **past changes**? The NOTIFICATIONS database table with 15k entries makes me nervous.

b) Is it possible to **bulk change** the email settings of all current users?

c) Is it possible to define a **default for the email settings** for new / future users?

d) Is there a **best-practice for testing** this on the staging server (like a Mail server that rewrites new mails into files instead of sending them out) (no Confluence-related question probably)

Thanks in advance,  
Christian


Answers:
author: Nick Reilingh
body: In the past, I've wanted to make a bunch of mandatory-notification changes (related to calendars) but suppress the emails, and I did this by temporarily unconfiguring confluence's email settings. When I reconfigured them, confluence did not send a backlog of notifications, it just continued from the present point.

I would guess this is because the notification send is tied to the page save transaction, not kept in a buffer and then batch sent. But I will note that confluence server 5.10 does change the way email notifications are sent by batching them every 10 minutes. But I still wouldn't expect it to automatically send thousands of emails just because you configured an SMTP server.

comments: author: Christian
body: Hey @Nick Reilingh,

thanks for your answer. It's good to hear that they probably won't send out 15k old notifications. Can you say something about the other points (user profile stuff) or do you have any experience there?  


Tags: email

notification
Migration of data and users from one cloud instance to another
Asked by Arno Weiste:

*This question is in reference to Atlassian Documentation: [Migrating Confluence Between Servers](https://confluence.atlassian.com/pages/viewpage.action?pageId=184150)*

Does this proceeding also export/import user accounts with their rights?


Answers:
author: noamdah
body: Arno,

Yes the xml export/import method includes data migration of user accounts and permission schemes.


Tags: cloud

confluence-cloud

jira

jira-cloud

migration
I get this error JDBC driver class not found: oracle.jdbc.driver.OracleDriver]
Asked by Aaren Jensen:

I am attempting to setup the PocketQuery plugin. I fill in the database info

URL = jdbc:oracle:thin:dbhost:port:dbname

Driver = oracle.jdbc.driver.OracleDriver

Username \& Password are correct.

and continue to get the error message;

JDBC driver class not found: oracle.jdbc.driver.OracleDriver

I reviewed the logs of the Oracle install and the JDBC thin client is installed.

I am new to this, I am not sure where to go next.

Any suggestions would be appreciated.


Answers:
author: Aaren Jensen
body: JIRA is not running on this server, just Confluence. Does anyone know what path this add-on expects?


author: Nicolas Bourdages
body: I don't know that plugin either, but it seems reasonable that you need to include the complete path to your jdbc driver on your JIRA server, in $JIRA_INSTALL/jira/lib/ for instance.
How to change Daily Backup directory?
Asked by Young__Hahn:

I have a Confluence application running in linux redhat server.

My new confluence is running in /data/confluence and /data/confluence-home directories

Before this, I had my old confluence running in /my-data/confluence and /my-data/confluence-home

Please note that I change "/my-data/" to "/data"

I used my old data configuration files to install it in my new server and create new path..

which is /data/confluence.

However, for some reason.. it keeps on creating daily backup files in /my-data instead of /data

I looked at almost all the configuration files and even at ADMIN page.. I can't find any path going into /my-data

I delete /my-data directory almost everyday.. but Confluence application is keep creating that directory and saves the daily backup files...

is there a way to fix this problem?


Answers:
author: Boris Georgiev [Appfire]
body: Hi Young,

Did you check this doc article <https://confluence.atlassian.com/doc/configuring-backups-138348.html> ?

You should be able to change the location of the backups through the admin UI

comments: author: Young__Hahn
body: Yes I already tried that.. but everything is set to /data..


Tags: backup

confluence-administration
Confluence Null Pointer Error (Unable to log in)
Asked by JordanB:

I am working with a freshly installed version of Confluence, and I was trying to import the backup contents of a cloud version to the on-premise version. After attempting this, any time someone attempts to go to Confluence they are brought to an "Oops" page. Here is a snippit of what it said:

I have tried restarting confluence and that did not help, I also was told that the server was up and running and that the database still had plenty of room. How can I fix this issue?

Please let me know if more information is needed

```
Causeorg.apache.velocity.exception.MethodInvocationException: Invocation of method 'isShowSignUp' in class com.atlassian.confluence.user.actions.LoginAction threw exception java.lang.NullPointerException: Application cannot be null at /login.vm[line 6, column 28]    at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)caused by: java.lang.NullPointerException: Application cannot be null    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
```


Answers:
author: Guilherme V.
body: It can be related to the directory's order stored in the database. This doc can help you seeing that: <https://confluence.atlassian.com/confkb/confluence-returns-system-error-due-to-invocation-of-method-isshowsignup-in-class-com-atlassian-confluence-user-actions-loginaction-threw-exception-java-lang-nullpointerexception-at-login-vm-693899125.html>

comments: author: JordanB
body: So I tried this, and the table that came up was Empty, so update would not have effected anything. I also tried to uninstall and reinstall, and it actually came up with the same error again. This may be because I did not restart the machine and it had residual files left over though.

Any thoughts?


author: Vaibhav Kamble
body: We are Facing Same Error


Tags: confluence-administration
Task start date
Asked by Bruce Cannon:

I see that I can filter a task lit by task start/create date, but what I want is to be able to see the start date for a task, and sort a task list by start date, and track how long tasks hang around. Due dates are not good enough, as they can and should be updated as we go. Possible? Coming soon? Never gonna happen? Etc.


Answers:
author: Peter T
body: Hi Bruce,

that's an interesting request. Currently such functionality does not exists and I couldn't find any other people than you requesting it. Based on that the chances that this will happen are very low. Atlassian roadmap is typically driven by highly requested items - hundred of votes.

I saw you filed this <https://jira.atlassian.com/browse/CONF-42908>and I couldn't find any other so....

Cheers,

Peter T

comments: author: Bruce Cannon
body: Well, since freshness is such a commonly needed component of real task systems, I was wondering if maybe it's been discussed under a different name.

I agree with you though, I don't hold my breath waiting for bug fixes, let alone features, from Atlassian unless they are either egreguious or overwhelmingly requested.


author: Peter T
body: That's the effect of having 50 000 users - you can't make everyone happy.

If your system have and use a lot of tasks I would do these in JIRA - it is the tool mean for real tracking.

Cheers,  
Peter T


Tags: cloud

confluence-cloud
Migrate from 2.10 to latest version
Asked by Naman Mandli:

We are planning to migrate from 2.10 to latest version of confluence.

Our 2.10 license has been expired.

Should we buy the license first for 2.10 and then migrate to latest version?


Answers:
author: Nic Brough -Adaptavist-
body: You might find it easier to use an evaluation licence to get from 2.10 to 3.5, as the licence format has changed and it's a bit of a faff to get an old format one.

comments: author: Naman Mandli
body: Where can I get the evaluation licence for 2.10 to upgrade it to 3.5.17?


author: Nic Brough -Adaptavist-
body: An evaluation licence for version 5.x will work all the way back to 3.0


author: Naman Mandli
body: What about 2.10 evaluation licence?


author: Nic Brough -Adaptavist-
body: You don't need it - your 2.10 is running isn't it?


author: Chris Hurst
body: It is running but the first step in the manual upgrade is "Check your Confluence **license** **is valid** ." which in our case it isn't, because it's expired.

**<https://confluence.atlassian.com/doc/upgrading-confluence-manually-255363437.html>**


author: Nic Brough -Adaptavist-
body: Yes, that's true, it does say that, and it's a bit more of a pain to get it working if the source system doesn't have a valid licence. But an expired licence does give you enough functionality to upgrade to a newer version (but the target version must have a valid licence!)


author: Chris Hurst
body: Thanks for all the help Nic. We're going to give it a go!


author: Nic Brough -Adaptavist-
body: Only in test of course! :smile:


Tags: confluence-administration
Is there a limitation to how many gadgets can be on one page?
Asked by Tam Hebert:

Is there a limitation to how many gadgets can be on a page?


Answers:
author: Meck
body: [Tam Hebert](https://answers.atlassian.com/questions/users?username=tdhebert371915750),

As far I'm concerned there isn't limitation for it.

Regards,

Lameck.


Tags: confluence-administration
how can I get a horizontal or vertical scroll bar for the panel?
Asked by Thomas Wilborn:

*This question is in reference to Atlassian Documentation: [Panel Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=51872380)*

how can I get a horizontal or vertical scroll bar for the panel?


Answers:
author: Milo Test
body: The first problem is that the Panel macro scales out to accommodate the contents, so you have to limit the size of the panel:

1. Add a Div macro
2. Set the Styles field:

   ```
   width: npx; height: npx
   ```

   (where n=whatever size you want the panel to be)
3. Add a Panel macro to the body of the Div macro

Now that the Panel is constrained, you can add a constrained box within it and tell it to use scrollbars when necessary:

1. Add a Div macro to the body of the Panel macro
2. Set the Styles field:

   ```
   width: npx; height: npx; overflow: auto
   ```

   (where the width is about 12px less than the panel div width)
3. Add content to the Div macro within the Panel macro

**NOTE**: If your content is just text, there will only be a vertical scrollbar, but any kind media will have both vertical and horizontal scrollbars.

comments: author: JYOTIRMOY DATTA
body: I did not find Div macro. Where can I find Div macro?


author: Milo Test
body: It's part of the free tools in Adaptavist's [Content Formatting For Confluence](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros/cloud/overview).


author: Sushovan Podder
body: This works but then messes up the final page. div inside a panel inside a div


author: David Corlette
body: Your definition of "free" differs from mine: [https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?hosting=cloud\&tab=pricing](https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?hosting=cloud&tab=pricing)

Supporting a 'div' in wiki markup seems like a pretty baseline thing, hard to understand why you can only get it in a paid add-on...


author: Khuong Vu
body: Hi, my problem is not exactly the same as Thomas Wilborn's; mine is to "keep element in view while scrolling". In particular, I want to make my Table of Contents respond to scrolling events. If you are interested, please read on:

1. I found a piece of JQuery code here: <http://www.wduffy.co.uk/blog/keep-element-in-view-while-scrolling-using-jquery/>
2. I applied the JQuery code to my Confluence (6.1) like this: <https://www.screencast.com/t/qVWu8xXz>

comments: author: Khuong Vu
body: Addendum: I find that my approach on Oct. 27 was affecting all of the panels in my space, and I just want to apply the scrollable panel to certain pages. Here is one way you can try to just keep the panel in your current page scrollable.

Please see [https://www.screencast.com/t/DuYd76wyRf.](https://www.screencast.com/t/DuYd76wyRf.?) As you can see, I add a HTML macro to my page. Inside the macro is 3 lines of CSS code.


Tags: panel
Need help with updates to external database from confluence and storing a page just after Approval to some shared folder.
Asked by swanand bhorkar:

Hi,

We are planning to use Atlassian Confluence as a document management tool in our application. We will open confluence as embedded tool in our application (say in an Iframe within the J2EE web application application).

We want to integrate it with our J2EE web application in such a way that the documents created in Confluence get automatically stored in a shared folder as soon as they are approved. So some action to trigger once document is Approved. And another thing is, for each document in confluence there will be one row in application database which should get updated as soon as the document is approved. So needed some process which will get triggered within confluence, will call our application DB component (ex. stored Procedure, or Function, or SQL), pass page parameters (page name, page id if any, and any other info) and then will update the application DB for that specific row.

Are there any plugins available (any third party plugins or any other component in confluence) ?

Thanks.

Swanand


Answers:
author: Boris Georgiev [Appfire]
body: You can implement your own Confluence add-on or try using [Script Runner for Confluence](https://scriptrunner.adaptavist.com/latest/confluence/quickstart.html)
Confluence 5.10.0 support
Asked by Hendry:

The Projectdoc plugins do not seem to be compatible with Confluence 5.10.0.

When will support for Confluence 5.10.0 be available?

Hendry


Answers:
author: Robert Reiner _smartics_
body: We are currently waiting for third-party add-ons we need to make sure the projectdoc Toolbox is compatible with.

We expect to release a version of the projectdoc Toolbox that is compatible with Confluence 5.10 by next Monday (June, 20th).

comments: author: Robert Reiner _smartics_
body: Just a short note:

The [projectdoc Toolbox](https://www.smartics.eu/confluence/x/EAFk) version 1.12.1 is compatible with Confluence 5.10 and now [available on the Atlassian Marketplace](https://marketplace.atlassian.com/1212629).

The [doctype add-ons](https://www.smartics.eu/confluence/x/GwFk) have also been updated - except those for Java and Maven Developers, which have been tested and flagged as compatible.

The extensions for [Information Systems](https://www.smartics.eu/confluence/x/XAFwAg), [Maven](https://www.smartics.eu/confluence/x/WgFwAg), and the [Web API](https://www.smartics.eu/confluence/x/v4F4Ag) have been tested and flagged as compatible.


Tags: confluence-administration
Apply CSS to Confluence administration
Asked by Rosario De Domenico:

I managed to get rid of the create page button in the dashboard with the following CSS:

```
.dashboard #create-page-button { display:none; }
```

Now I am trying to do the same from the *Confluence administration* pages.

I have tried the following but it does not work. Any idea how else to identify the administration pages?

```
.admin-body #create-page-button { display:none; }
```

Thanks for assistance.


Answers:
author: Davin Studer
body: The global stylesheet is not applied to pages under Confluence Admin. You must put it in custom html inside style elements.

comments: author: Rosario De Domenico
body: Could be that I am doing something wrong, but it does not seem to work.

I went to the "Custom HTML" section in the "Confluence administration" page and inserted the following code in the "At the end of the HEAD" field:

```
&lt;style type="text/css"&gt;.admin-body #create-page-button {???? display:none;}&lt;/style&gt;
```

But when I view the source of the page (after reload of course) the element is not present (and not applied).

Have I misunderstood your suggestion?


author: Davin Studer
body: No, that should work. Give "at the end of body" a try too? That is where I have some styles (for something else) for Confluence Admin and it works just fine.


author: Rosario De Domenico
body: Even if I do not understand the difference... putting it at the end of body works just fine.

Thanks!


Tags: confluence-administration
How do I show the summary text from a JIRA story on a confluence page?
Asked by Gerald Owenson:

When I use the 'insert JIRA filter', I only get the JIRA link icon and issue reference. I want to show the JIRA story summary text in confluence and have this text link to the JIRA story. If the story summary is updated in JIRA, then the changes should be reflected in the text within confluence.

I have looked at using JQL, but cannot find a way to control the displayed fields in confluence. When I select a 'table' in the 'display options' in Confluence and delete all the fields except 'summary', the resulting table is not filtered by the JIRA reference and all fields are shown.

Help appreciated.


Answers:
author: Ignacio Pulgar
body: fields.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-show-the-summary-text-from-a-JIRA-story-on-a-confluence/qaq-p/398421?attachment-id=9037){#link_1186c0505cb80a}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67423/1/fields.png){#display_1186c0505cb80a_0}


author: Gerald Owenson
body: Hi,

Thanks for the helpful comments. I think the problem is, when the 'table' view is inserted into the page in edit mode, it renders like this...

image2016-6-15 12:45:45.png

What I didn't do was exit the edit view and look at the page. If you do this, then the JIRA link renders correctly.

Hopefully, this will help others too.  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-show-the-summary-text-from-a-JIRA-story-on-a-confluence/qaq-p/398421?attachment-id=12605){#link_1186c0575b0287}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67424/1/image2016-6-15%2012%3A45%3A45.png){#display_1186c0575b0287_0}


Tags: cloud

confluence-cloud
How to read queryArray by index
Asked by Cuto Calleja:

Populating a dataTable array I am using this code working properly:

var result = PocketQuery.queryArray();

var dataTable = \[\['FIELD1', 'FIELD2'\]\];

jQuery.each(result, function(index, row) {

**dataTable.push(\[row.FIELD1,row.FIELD2\]);**

}

In order to reuse the same template for other queries, I intend to replace the line in bold by

**dataTable.push(\[row\[0\], row.FIELD2\]); ...**but despite that there is no error, I obtain no value for FIELD1...

Any idea how to make "row\[0\]" working properly will be highly appreciated!!! :wink:

Thanks in advance


Answers:
author: Felix Grund (Scandio)
body: Hi Cuto,

Please try like this:

```
var columns = PocketQuery.queryColumns('yourQueryName');var result = PocketQuery.queryArray('yourQueryName');var firstColumnName = columns[0];jQuery.each(result, function(index, row) {	dataTable.push([row[firstColumnName],row.FIELD2]);});
```

Let me know if this helps!

Regards, Felix (Scandio)

comments: author: Cuto Calleja
body: Excellent! Thanks again Felix!!!!!

I let 'yourQueryName' empty and it works... what allows me to use my template in many queries!

Regards


author: Felix Grund (Scandio)
body: Yes. It will work as long as you only have one PocketQuery macro on your page :smile:


author: Cuto Calleja
body: Ah!

I have many PocketQuery macros in the page... and it works!


author: Felix Grund (Scandio)
body: In that case, queryArray() will return the result of the last macro that was run on the page. Note that queryColumns(...) requires a query name. You can also retrieve the query name of the current PocketQuery macro in the template.
migration of confluence docs into swagger
Asked by Ajinkya Bhosale:

I want to migrate Confluence to ReadMe.io

As per my knowledge we can convert swagger to ReadMe.io.

**I want to know that, can we migrate confluence with access to Rest API into swagger specs ??**

**Regards,**

**Ajinkya Bhosale**


Answers:
author: Nic Brough -Adaptavist-
body: You can use REST to do a lot of things, so you should be able to do the basics.

I'm not sure ReadMe.io is able to handle the richness of Confluence data though, and you'll have a lot of conversion and interpretation to do.


Tags: cloud

confluence-cloud

swagger
Version Column is Blank/not displayed when metadata-report macro is used?
Asked by Harish Sidhartha:

According to the documentation here (<https://comalatech.jira.com/wiki/display/META/Confluence+Metadata+Plugin#ConfluenceMetadataPlugin-Additionalinternalmetadata>), the Metadata plugin should be able to pull in the current version number of a page within a space. However, the Version column is always blank. Is this an error with the plugin?

Does anyone know of another way to return the version of all pages within a single space (or, even better, across every space)?


Answers:
author: Steven F Behnke
body: There is a review on the marketplace stating that it doesn't work.

If you're on self-hosted Confluence you could easily accomplish this with a User Macro.


Tags: addon-org.andya.confluence.plugins.metadata
How can I create a Side Bar/Navigation Bar like the Wiki page template?
Asked by Ng Chun Pong:

Hi Guys,

I wonder how can I create a side bar/navigation bar from the top right corner of main page, with the quick links to the sub-sessions of the same page. The example will be like the Atlassian wiki page template shown below.

<br />

It will be much appreciated if anyone can direct the tutorial page, as I couldn't find one related to that.  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-I-create-a-Side-Bar-Navigation-Bar-like-the-Wiki-page/qaq-p/320244?attachment-id=10325){#link_1186c097b102c4}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/54036/1/sidebar.png){#display_1186c097b102c4_0}


Answers:
author: Meck
body: Hello [Ng Chun Pong](https://answers.atlassian.com/questions/users?username=cpngjames964000685),

You should use a content report table marco. You can read more right here - [https://confluence.atlassian.com/confcloud/content-report-table-macro-724765181.html?macroName=content-report-table\&desktop=true](https://confluence.atlassian.com/confcloud/content-report-table-macro-724765181.html?macroName=content-report-table&desktop=true).

Lemme know if you have any doubt.

Regards,

Lameck.


author: Davin Studer
body: That section in your screen shot is making use of the Table of Contents macro. It is creating the list based on the headers in the page.
How to prevent iOS Confluence and JIRA to keep logging out?
Asked by Suwandi Soh:

We use Confluence and JIRA (both Cloud). And some of us use Confluence and JIRA app on iOS. The app keep logging out and we need to type in username and password everytime we access the app. Is there anyway to keep the session longer?


Answers:
author: Giorgio Zanoni
body: same problem here


Tags: cloud

confluence-cloud