youngmon/atlassian-qna huggingface dataset:
Trigger email from a decision blueprint based on due date minus x days
Asked by Carlos hernandez bramlett:

Hi,

I am new to Confluence and would like to know if is possible to customize a decision blueprint so an email is trigger to the owner based on due date minus x number of days.

Regards


Answers:
author: thais
body: Hi, Carlos,

Welcome to Atlassian Community!

This functionality is not present on Confluence.

You can though get notifications in your email and on your mobile device, you can 'watch' pages, blog posts and Spaces. Confluence will then send you a notification whenever anyone adds or updates content on that page or space.

You can also subscribe to daily email reports and other notifications of various updates, as described below.

More information can be found at [Email Notifications](https://confluence.atlassian.com/confcloud/notifications-724765365.html).  

Best regards,  
Thais


Tags: cloud

confluence-cloud
SSL Authentication cert
Asked by Pramod Kumar Velayudhan:

I m trying to generate a cert for connecting to my conflunce


Answers:
author: AnnWorley
body: There are several options. I found links to 3 of them:

[Securing your Atlassian applications with Apache using SSL](https://confluence.atlassian.com/kb/securing-your-atlassian-applications-with-apache-using-ssl-838284349.html)

[Running Confluence behind NGINX with SSL](https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html)

[Running Confluence Over SSL or HTTPS](https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS)

The last link has instructions for generating a self-signed certificate:[Step 1. Create or request an SSL certificate](https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS#RunningConfluenceOverSSLorHTTPS-Step1.CreateorrequestanSSLcertificate)

I hope that helps you along the way.
I don't see the Create page button in the header of Confluence anymore, please help
Asked by Krista Engdahl:

The create button was there, now it is not. How can I fix this? What could have happened?

Thank you,

KE


Answers:
author: Krista Engdahl
body: Turned out to be human error with a matter of being in a rush and not being too familiar with all the icons yet. The large + symbol in the left minimized menu is all I needed.

Thank you everyone for your support!

comments: author: Vess Bakalov
body: Its not human error when every doc says 'Create in the Header'. The documentation is garbage. Thank you for being through and providing useful info.


author: John Price
body: Is it possible your license has expired? See <https://community.atlassian.com/t5/Confluence-questions/The-Create-button-is-missing-from-the-TOP-navigation-bar/qaq-p/32991> for example.


author: Davin Studer
body: A few possibilities

* Are you logged in?
* Are you logged in as you? :)
* Do you still have edit permissions for at least one space?
* Expired Cloud License (if you are on cloud)


author: Yogesh Mude
body: HI [@Krista Engdahl](/t5/user/viewprofilepage/user-id/1459183) welcome to the community!

Which hosting option are you using I mean Self-hosted or OnDemand?
Reorder pages option disappeared, lost pages
Asked by Dina:

Reorder pages disappeared so now how do I see orphaned pages in a space?

I wanted to merge two pages together so

I moved pages out of a space, then deleted space.

But then was told there were more pages.(that we lost forever :( )

I did not see them because reorder pages is no longer there!

very frustrating!


Answers:
author: Davin Studer
body: Check out this question.

[Where is the reorder pages option in the new Confluence UI?](https://community.atlassian.com/t5/Confluence-questions/Where-is-the-reorder-pages-option-in-the-new-Confluence-UI/qaq-p/808659#M109522)

comments: author: Dina
body: thanks


author: Davin Studer
body: No problem. Please make sure to mark the question as answered (check mark next to the answer vote widget) if it is indeed answered for you. Thanks.


Tags: cloud

confluence-cloud
How can I set an external link to open in a new tab?
Asked by Stephen Stewart:

Here is my current link = <https://app.getpostman.com/run-collection/d35bdb607bbdb6ac62fa>

using basic HTML did not work \<a href = "/" target="_blank"\</a\>

Is there a setting I am missing?


Answers:
author: Mirek
body: Please check this doc

<https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html>


author: Davin Studer
body: The marketplace also has a couple free add-ons for this.

[External Link Add-on](https://marketplace.atlassian.com/apps/1211190/external-link-add-on?hosting=server&tab=overview)

[Link Opener for Confluence](https://marketplace.atlassian.com/apps/1217707/link-opener-for-confluence?hosting=server&tab=overview)


author: Danyal Iqbal
body: just add a target="_blank" attribute to your links (anchor tags).


Tags: cloud

confluence-cloud
Spring Cleaning for Confluence Server
Asked by Patrick Nelson:

We have a growing Confluence footprint, that has been in PROD for years, which takes awhile to backup. I was looking at the DATA directory for old files. Any suggestions on what directories I can clean out?


Answers:
author: Patrick Nelson
body: What we are doing is to backup prior to an upgrade and then after the upgrade we:

1. Clear out the following DATA HOME directories:

analytics-logs  
export  
logs  
recovery  
restore  
temp  
webresource-temp

2. We use PostgreSQL and do a Vacuum of the confluence table

Is anyone doing anything else to keep the growth of the data set in check?

comments: author: Patrick Nelson
body: If anyone has any other best practices, please comment. I'm going to close this now.


author: AnnWorley
body: By default there is a nightly XML backup job that is saved in the **backups** directory beneath the data or [Confluence Home](Confluence Home and other important directories) directory. If you have a [Production Backup strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html) in place, you may disable the automatic back-ups and reduce your footprint.

Another growing data folder is the attachments folder, where attachments are stored. These should not be deleted but could contribute to the increasing storage needs.

comments: author: Patrick Nelson
body: Yes, we have a backup strategy outside of Atlassian and have turned off automatic backups. Thanks though cause I did have to check that!


author: Sonja Athing
body: Hello,

I would like to do some house cleaning on the attachment versions. Some attachments are more than 10 deep. How to manage ? Any guideline suggestions ?

Such as:

```
If an attachment is 'x' amount of time old then reduce its version count to 'y'.?

where x could be 400 days and y could be 3.
```

Thank you.


Tags: confluence-server

server
Eval for User Assistance/Tech Documentation purposes
Asked by Pat D'Ambrosio:

Hi!

Has anyone used Confluence for their User Assistance/Tech Documentation? If so, can you give us a heads up on the pros and cons? What has worked for you and what hasn't? Any tricks/shortcuts?

Thanks, Pat


Answers:
author: Mirek
body: Yes. Confluence is very good if you want to have a Tech Documentation. The very best example is Atlassian documentation that is build on Confluence. To get started how to make Tech Documentation you can check it.

<https://confluence.atlassian.com/doc/develop-technical-documentation-in-confluence-226166494.html>

You can also watch a short video

<https://youtu.be/cS_bbyLQpjQ>

comments: author: Pat D'Ambrosio
body: TY! But for tech docs don't u use several layers of indented numbering/bullets? Are there any variables (used to standardize naming conventions), conditions (used to define sections, paragraphs even individual characters for single source-multi outputs?


Tags: documentation

knowledge-base

technical-writer
List of page restrictions from DB
Asked by Evgeny Boytsov:

Grettings ! I need to get a list of users who have restrictions on accessing the pages in confluence by querying the database. what table does this data contain?


Answers:
author: Davin Studer
body: The table you are looking for is called CONTENT_PERM.

```
Column name  | Description
----------------------------------------------------
ID? ? ? ?    | table primary key
CP_TYPE      | type of page restriction (View or Edit)
USERNAME     | foreign key to the?user_mapping table either this or?GROUPNAME?will be set
GROUPNAME    |?either this or USERNAME will be set
CPS_ID       | foreign key to the CONTENT table
CREATOR      |?foreign key to the user_mapping table
CREATIONDATE | creation date
LASTMODIFIER | foreign key to the user_mapping table
LASTMODDATE  | last modification date

```

comments: author: Evgeny Boytsov
body: **Thank you very much !** One more question, please.

How i can join it to normal view.

Like

GROUPNAME \| USER

Is ID\`s in table = ID\`s in table cwd_user ?


author: Davin Studer
body: In the above answer I put in the description section the tables that the foreign keys map to.


author: Evgeny Boytsov
body: [@Davin Studer](/t5/user/viewprofilepage/user-id/781467) thank a lot ! I did it !


author: Davin Studer
body: Great!


author: Cinnober Admins
body: If you are looking for a particular users' restricted pages -

select \* from CONTENT where CONTENTID in ( select CONTENT_ID from CONTENT_PERM_SET where ID in (select CPS_ID from CONTENT_PERM where USERNAME in (select user_key from user_mapping where lower_username like "lower.username")));


author: Fadoua
body: Hi Theyoba,

Here is the [link](https://confluence.atlassian.com/doc/files/127369837/338201626/1/1366091259023/ConfluenceTables-KeysOnly.svg) the the Confluence DB.

I don't see permissions based on pages, it is more space level.

* Space Group Permissions
* Space permissions

We have to get space admins used to grant access to pages by group and not by individuals. I am fighting for it right now in my company


author: Mirek
body: Hmm.. why using DB? You can list all restrictions by going to **Space Admin \> Restricted Pages** on each space that you are interested in.

comments: author: Joel Andrews
body: I am looking for a way to list ALL restricted pages in ALL spaces in order to understand what we have to possibly add in an admin group to fix any broken macros post-migration in those restricted pages.


author: Fadoua
body: User will need to use a join with another table so that he can get the username. Username in CONTENT_PERM table displays as numbers

It shows the group name but not individuals.


Tags: confluence-server

database

server
Export of user macro values not workling when using javascript
Asked by thorsten_schmidt:

Hi,

I'm just getting started to create user macros for confluence so I hope this is not a to silly question.

I created an user macro which simply searches for some text on it's confluence page and depending on the search result creates an output.

Simplified it looks like this:

```
<span id=(resultDate+$content.id)></span>

<script>
$(document).ready(function() {

?? ?var dateElement = document.getElementById("(resultDate+" + $content.id+ ")");
??????? var dateResult = "Date result text";

?? ?$(dateElement).html(dateResult);

});
</script>
```

The macro works as expected but when I try to export the page as pdf or word my result is not included in the export.

As far as I searched the forum I guess that exporting is done on the server side and the javascript is done on the client side so that my javascript is not executed when exporting.

How can I achieve that my result is also included in the export-files?

Best regards,  
Thorsten


Answers:
author: Nic Brough -Adaptavist-
body: Using javascript in Atlassian applications is always a pain, and generally the second worst way to do anything with them.

User macros are a clumsy way to do javascript too - why not write the macro to do the work properly, as they're designed to do?

comments: author: thorsten_schmidt
body: Looks like writing a macro is the only clean possibility.


author: Danyal Iqbal
body: > the second worst way

Wondering about the first worst way.


author: Davin Studer
body: You are correct that the PDF and Word export is server side. You could however, run your user macro and the print to PDF. That happens client side and thus you DOM changes made via JavaScript would be caught.

comments: author: thorsten_schmidt
body: Hmm I already feared that. So there is no other possibility?


author: thorsten_schmidt
body: Up to now the only possible solution apart from using the printing functionality of the browser would be to write a "real" macro and not to use the user macros.

As I'm new to the Atlassian Community: what should I do with my answer? Accept a solution, leave it open?

comments: author: Davin Studer
body: I would accept a solution(s) if the question is answered ... even if it's not the answer you were hoping for. Unfortunately, sometimes the correct answer is "It can't be done the way you want".


author: Danyal Iqbal
body: where is the execute method? It makes more sense to pass a json to js from the execute method.

comments: author: thorsten_schmidt
body: I thought that there is no need for an execute method. The script is automatically executed after the page is loaded


Tags: confluence-server

server

user-macro
Numbering list: I need to change my numbers in an existing list
Asked by Pat D'Ambrosio:

Hi! and thanks for answers to yesterday's ?!!

Today I am unable to correct my numbered list.

In other words I have:

1.

2.

1.

1.

How can I change these numbers to order correctly?

Thanks,

Pat


Answers:
author: Pat D'Ambrosio
body: TY Davin, this works but for images and other paragraphs I found that shift +Enter works best to insert an additional line.


author: Davin Studer
body: Place your cursor at the end of point "2.". Then hit the delete key till the first "1." comes up onto list item "2.". Then hit enter it should drop that item down a line and make it part of your numbered list. You should now have a "1.", "2.", and "3.". Do the same thing for the last "1.". Put your cursor at the end of the "3." and hit the delete key till the "1." comes up to your "3." line. Then hit enter.

comments: author: Davin Studer
body: This is what I mean by the above explanation.

![recording (1).gif](https://community.atlassian.com/t5/image/serverpage/image-id/23509i1BFEE4B0DDB3F763/image-size/large?v=v2&px=999 "recording (1).gif")
Preformatted text aligns right
Asked by Pat D'Ambrosio:

Preformatted text, i.e., text used for code snippets needs to be properly indented. Is the only way to do this to create the styles in CSS?

Thanks,

Pat


Answers:
author: akshayhazari
body: A simple hack to this is -\>

After Pasting the preformatted text, select an extra line along with it

then the indent option becomes available which can be used to indent the code along with the extra line.

Later we can remove the extra line or update it as required.


author: Danyal Iqbal
body: Preformatted text needs to be pre-indented :)

comments: author: Pat D'Ambrosio
body: Apologies Danyal, but I am confused, by pre-indented to u mean copied in from another source? I am unable to indent my preformatted text within confluence.


author: Danyal Iqbal
body: No, i mean you need to indent each preformatted line.

You are looking for code or the noformat macro here.

For these macros : if the code you copy is indented, the pasted code is also indented. If the code you copy is not indented, the pasted code is not indented.


author: Pat D'Ambrosio
body: Is there a macro or Add-On or should we look at CSS?

comments: author: Alana Fernando
body: If you coping the code from somewhere ; you can set indent there and paste the code inside code blocks. (set indent in notepad)

![screenshot-confluence.millenniumit.com-2018.06.01-17-14-27.png](https://community.atlassian.com/t5/image/serverpage/image-id/23487i01E8ED3822C06081/image-size/large?v=v2&px=999 "screenshot-confluence.millenniumit.com-2018.06.01-17-14-27.png")

If not try something from marketplace [market place](https://marketplace.atlassian.com/search?product=confluence&query=code)


author: Alana Fernando
body: [@Pat D'Ambrosio](/t5/user/viewprofilepage/user-id/1453974) , If you are trying to indented text inside code blocks macro. this is not possible in default confluence.
Oracle 12c sql probelm when upgrading from conflunce 5.9.12 to 6.9 ? how fix this problem
Asked by reem bayomi:

Upgrade failed. Please consult the system logs for details. You will need to fix these problems, restore your database and confluence home directory to the pre upgrade state. Then retry the upgrade. Upgrade error message: Upgrade task com.atlassian.confluence.upgrade.upgradetask.PopulateLowerFieldsUpgradeTask@1397d7e6 failed during the SCHEMA_UPGRADE phase due to: StatementCallback; uncategorized SQLException for SQL \[alter table SPACES modify LOWERSPACEKEY nvarchar2(255) not null\]; SQL state \[72000\]; error code \[1442\]; ORA-01442: column to be modified to NOT NULL is already NOT NULL ; nested exception is java.sql.SQLException: ORA-01442: column to be modified to NOT NULL is already NOT NULL


Answers:
author: Lipkent Ng
body: Hi  

You may want to first rollback to previous working verison. you may refer to the following link.  

\* <https://confluence.atlassian.com/confkb/how-to-roll-back-to-a-previous-version-of-confluence-316113136.html>  

<br />

Based on the error, it seems like Confluence is trying to alter the table SPACES to set the column LOWERSPACEKEY to NOT NULL but that column is already NOT NULL.  

I would recommend that you do the following:  
- Restore your Confluence server and database to a previous working state  
- Change the column LOWERSPACEKEY to NULL  
{code:borderStyle=solid}  
alter table SPACES modify LOWERSPACEKEY nvarchar2(255) null;  
{code}  
- Run the upgrade again  
- If it fails again, please inspect the logs and search the log file for the last occurrence of {{PopulateLowerFieldsUpgradeTask}} then check if it's an error with the same issue but could be for a different column, please do the same workaround, then run the upgrade again  

(!) I would Strongly suggest you to replicate the issue in test instance and perform testing before performing it to the production instance.

comments: author: reem bayomi
body: Thanks Lipkent, it is on test server ofcourse.

I tried to modify the Lowerspacekey to null,

And started confluence agian and it was same issues about other columns.

Is it some how possible to remove this database check constrains ?


Tags: confluence-server

server
How to sort a Page Properties Report Title column?
Asked by Alicia Zeller:

Hello,

we're using the Page Properties Report in many difrent ways but I can't find a possibility to sort it by the page titles?

How can I do this?

Best regards,

Alicia Zeller


Answers:
author: Alicia Zeller
body: Sorry, found a solution but can not delet my question.


Tags: confluence-server

server
Issues downloading documents from Confluence
Asked by Eliza Ioannou:

Is anyone else having an issue downloading documents from Confluence? Every time I select an item to download it comes up with "Binary" in my download dropdown.

Can anyone help please?


Answers:
author: Max Foerster - K15t
body: Hi Eliza!

Could you please provide us with some more information here? Are you using Confluence Server or Cloud? Please describe step by step what and how you want to download. And what do you mean by "download dropdown"? I'm not facing any issues at the moment, but that doesn't help you in any way ;)

Best, Max

comments: author: Eliza Ioannou
body: Hi Max

thank you for responding. I am not sure if I am using the cloud or server but basically I am using the service to upload documents that all of my staff have access to. When I go to that document to update it, I cannot access it. It won't allow me to download or view the document.
Show SLA end date per ticket in Confluence's Jira reports
Asked by Rob Driessen:

Hi community!

I'm building serviceteam-reports in Confluence using the "Create Jira Report" option. Apart from all the pie charts, I've also added a "Jira Issue/Filter" to show the unresolved Jira Service Desk tickets for that team.

Now for the tricky part: in that list of unresolved tickets, I would like to have a column that shows the SLA timer per ticket - copying the current timer on that ticket's JSD page. Unfortunately there doesn't seem to be an option for that in the "Columns to display" under the Display options of said filter.

Anyone who has imagineered a solution for this?

Thanks in advance!


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Rob Driessen](/t5/user/viewprofilepage/user-id/1260841) ,

there is an open request for that <https://jira.atlassian.com/browse/CONFSERVER-35196>

Please vote and watch it in order to keep you up to date about progress.

Fabio


Tags: confluence-server

jira-service-desk

jira-service-desk-server

server
password is not sent properly to new user
Asked by Hanna Schmeding:

hi, I need help to give a New user a password, the same has happened to users who wished a new password. The email is sent to them, but there is just "nonsense" in it..what to do?


Answers:
author: Grigory Salnikov
body: Hello!

What do you mean "nonsense"? Can you please be more specific and provide an example.
Can a Service Desk Server use a Confluence Cloud as knowledgebase?
Asked by Marc Jason Mutuc:

So we have a requirement for a knowledge base for our Service Desk. We have two Confluence instances (a server and a cloud). The Confluence Server is an internal Confluence with a lot of confidential info which is why we cannot make it available to the public (too many risks!).

Our External Confluence is in the Cloud. And is available to the public.

Would like to know if our Service Desk Server can use our External Confluence as a knowledge base?


Answers:
author: Fadoua
body: Hi Marc,

Here is the [link](https://confluence.atlassian.com/cloud/link-to-server-apps-from-cloud-744721656.html) with details. Yes it is feasible.

Best,


Tags: confluence-server

jira-service-desk

jira-service-desk-server

server
Is it possible to watch a page with its children pages included?
Asked by Philipp Dewies:

Is it possible to watch a page with its children pages included? We have a very big Page Tree and I'm searching for a solution with that you dont have to klick on "watch" every single children page manually.

Thank you for your help!


Answers:
author: Manon Soubies-Camy
body: Hello Philipp and welcome to Community!

There is a feature request here: [Watch Page and Children](https://jira.atlassian.com/browse/CONFCLOUD-2853), I'd suggest you to watch it to be updated and to vote for it to show your interest!

If you're using Confluence Server or DataCenter, you can use the free app [Tree view](https://marketplace.atlassian.com/apps/1213286/tree-view?hosting=server&tab=overview). If you're on Cloud, I unfortunately don't know of any workaround.

Hope this helps,

- Manon

comments: author: Philipp Dewies
body: Thank you for your answer. Tree view is what I was looking for!


author: Pavel Shkleinik
body: The closest thing~~in case you use slack~~ would be slack notifications: <https://support.atlassian.com/confluence-cloud/docs/use-slack-and-confluence-together/> it is still suboptimal and is not out of the box solution, but is something.

comments: author: Sergey Zarouski
body: Thanks, this is awesome and it does the trick for any sub page!
How can I access my draw.io files on Confluence?
Asked by Minh Triet Pham:

Hi.

I have tried to access my draw.io files on Confluence for couple of days, but it always announce like this: "Unsupported draw.io version, please upgrade."

It hasn't opened the file even I clicked "OK". (It worked in the last couple of months)


Answers:
author: Manon Soubies-Camy
body: Hello [@Minh Triet Pham](/t5/user/viewprofilepage/user-id/1455872) and welcome to Community!

Please check this thread: [Unsupported draw.io version; please upgrade](https://community.atlassian.com/t5/Confluence-questions/Unsupported-draw-io-version-please-upgrade/qaq-p/809194#M109361), it should answer your question.

Hope this helps,

- Manon

comments: author: Minh Triet Pham
body: Thank you for your support.