youngmon/atlassian-qna huggingface dataset:
Encrypting DB credentials in conf/server.xml file when creating a data source
Asked by Ibrahiem Mohammad:

Hi,

I used this tutorial <https://confluence.atlassian.com/doc/configuring-a-datasource-connection-937166084.html> to create a data source which I can connect to from any plugins I create. I've tested the connection and everything is working fine.

My concern is regarding the safety of having my db username and passwords in plain text on my server. Is there any way I can encrypt that information in the server.xml file? If not, are there safer/more secure alternatives I can use?

Thanks


Answers:
author: Shannon S
body: Hello Ibrahiem,

We have a feature request below to support encryption of any passwords stored on the filesystem:

* [CONFSERVER-2146](https://jira.atlassian.com/browse/CONFSERVER-2146) *Encrypt all passwords stored on the file system*

While a legitimate security concern, someone wouldn't be able to gain access to the server.xml file without first breaking into the file system. For this reason, you want to make sure your internal security team has protected your internal server sufficiently. Make sure that all passwords are secure, and if needed, place your server behind an internal firewall.

Please vote on the above feature request in order to show your support for such a feature, and comment with your findings and your usage case.

Take care, and do let me know if you have any further questions or concerns.

Regards,

Shannon

comments: author: Ibrahiem Mohammad
body: Thanks Shannon, will look into this


Tags: app

confluence-server

data-source

database

encryption

security

server

server.xml
Add custom field at space level - possible?
Asked by Stefan Mueller:

Hello,

in reference to <https://community.atlassian.com/t5/Jira-questions/Add-custom-field-at-project-level-possible/qaq-p/300504>, is there anything comparable for Confluence?


Answers:
author: Davin Studer
body: Well, Confluence doesn't have custom fields. So, I'm not quite sure what it is you are trying to accomplish.

comments: author: Stefan Mueller
body: to have custom fields here

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


author: Davin Studer
body: Would something like [Space Fields for Confluence](https://marketplace.atlassian.com/apps/1218626/space-fields-for-confluence?hosting=server&tab=overview) meet what you are trying to accomplish?


author: Stefan Mueller
body: yep, but we run the data center version :(


author: Davin Studer
body: It should still work. It just may not show up confluence admin, but if you manually download the app you should be able to manually install it. If you have a test system I would try it there first.

On [this page](https://marketplace.atlassian.com/apps/1218626/space-fields-for-confluence/version-history) you can download the jar file. Then on http(s)://{your-server}/plugins/servlet/upm you can use the "Upload add-on" button to manually install it.

The add-on browser within Confluence Admin will only show you stuff that has been marked as working with your version and if you are data center has been verified for data center. Typically the APIs don't change much between versions. However, Atlassian still requires vendors to mark their add-ons for each version of Confluence even if the API used have had no changes to them. They just want the verndors to verify they have tested on the new version of Confluence. Often vendors will test and mark the app as compatible with no changes to the code base at all.


author: Stefan Mueller
body: > ...you can download the jar file. Then on http(s)://{your-server}/plugins/servlet/upm you can use the "Upload add-on" button to manually install it.  
>
will check with the admin


Tags: confluence-server

custom-field

server

space
How to create a jira ticket from confluence without embedded a filter in the confluence page
Asked by Bamboo:

If I select some text in a confluence page I am offered the option to "Create Issue". If I do this a new jira ticket is create (good) but a new filter is inserted into my page (bad)

Is there a way to create a jira ticket from confluence without changing the page?


Answers:
author: Bastian Stehmann
body: Hi [@Bamboo](/t5/user/viewprofilepage/user-id/2228841),

You can select some text on that page on next to the button for inline comments is a button to create a Jira issue from that text.
Change the Database server
Asked by Lalit Thakur:

Hi, I have installed confluence on a windows server and when i was installing the application, it asked me to provide the DB details. I have pointed to one of the DB servers and we lost the DB because of some issues. I would like to point the DB to another server now and make sure confluence is up and running.

Thank you.


Answers:
author: Davin Studer
body: Since you installed on Windows the file that has the DB connection is here ...

```
C:\Program Files\Atlassian\Application Data\Confluence\confluence.cfg.xml
```

The relevant parts that need to be edited are shown in the below screencap.

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/41781i6E78EE700BC5A07D/image-size/large?v=v2&px=999 "Capture.PNG")


author: Johan Soetens _Dumblefy_
body: Hi,

if you lost your *current* Confluence DB you will have to revert to one of your backups - hopefully you still had the XML backups enabled.

[Migrating to Another Database](https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html)
Content not Synching remotely: com.atlassian.confluence.rpc.RemoteException: Error decoding XML-RPC
Asked by gordon bradley:

We're publishing content remotely and it's not updating/synching.

The error message is:

**Remote publishing failed!**   
**com.atlassian.confluence.rpc.RemoteException: Error decoding XML-RPC response**

* I have looked at everything obvious including hidden formatting, possibly illegal characters, and I've read previous questions about this--the pages have nothing obvious in common.
* There are no macros in use on these pages.
* There are no at mentions @ referencing people no longer here.

1) Does anyone have any ideas for things to try besides copying/pasting it into a Word file/another Confluence page and painstakingly re-adding things to the page until it chokes on it?

2) Is there a way to see the source code of a page to see if I am getting unintentionally inserted characters \[i.e., hidden formatting\] from my source--such as forced returns, unrecognized ASCII/Unicode characters, etc.?

Thanks in advance!


Answers:
author: gordon bradley
body: Solved my own problem, but **Confluence is some SERIOUS lamesauce/weaksauce! :-(**

\[I've used Confluence more than anyone in my 150+ person office as I am migrating several thousand-page docs, and I have stubbed my toes **so many times** on stupid usability issues, bugs, totally non-evident workflows, features which should work that don't, etc. **Confluence: CONTACT ME.** I will be your most valuable QA tester. **I have found every. single. bug in your wretched pos software one by one.**\]

Through making a new page I got the following notification, which showed me that what looked like a simple italicized text character was 3 characters of math markup from another doc. Workaround is paste into .txt doc, empty Confluence page, and **rebuild page in its entirety**.

It is **INCONCEIVABLE** that this prevents a page from publishing--you can't offer some nice "unrendered character" markers or something?

screen**capture below:**

![2019-01-07 11_51_54-Inbox - Gordon.Bradley@opal-rt.com - Outlook.png](https://community.atlassian.com/t5/image/serverpage/image-id/41775iE8C252C63A13C19B/image-size/large?v=v2&px=999 "2019-01-07 11_51_54-Inbox - Gordon.Bradley@opal-rt.com - Outlook.png")


Tags: confluence-server

exception

server

xml-rpc
Insert link in template referencing the page to be created
Asked by Jens Bothur:

Hi folks,

can I somehow insert a link into a template that after page creation is referencing to the page just created?

Something like: \[link \| $thisPage\]

Thanks in advance!

Use Case: I created a template for a document me and my team are creating regularly. This document contains message stubs that will be copy/pasted elsewhere. Now I want to have a link in those message stubs referencing the created document. So that people reading the posted message easily can find their way to the document.

As we do this a lot it is quite cumbersome to replace the link manually and it would be very convenient if the message stub already contains the correct link.


Answers:
author: Shannon S
body: Hi Jens,

This is not possible in Confluence Cloud. There is an existing feature request for Global Variables, and perhaps "currentPage" can be a variable that is included if we implement this.

* [CONFCLOUD-3999](https://jira.atlassian.com/browse/CONFCLOUD-3999) *Global Variables*

I would recommend commenting on the feature with your exact requirements, and placing a vote in order to show the popularity of such a feature.

For any Server customers that come across this question, it might be possible creating a User Macro to use on the template, and you can try this suggestion to obtain the URL of the current page:

* [Can the URL of the current page be used as a variable?](https://community.atlassian.com/t5/Answers-Developer-Questions/Can-the-URL-of-the-current-page-be-used-as-a-variable-in/qaq-p/503593)

I'm sorry I couldn't provide you a better option in Cloud, but I would recommend that you take a look at [Atlassian Marketplace](https://marketplace.atlassian.com) and see if there's an add-on that helps accomplish what you require.

Regards,

Shannon


Tags: atlassian-marketplace

cloud

confluence-cloud

link

template
Create own Code Block Theme
Asked by Maximilian Kohl:

Hi, we would like to create our own code block theme to change a color in the default colour schemes. On this page we couldn't find any information in customizing the font colors in [this Code Block Macro article](https://confluence.atlassian.com/doc/code-block-macro-139390.html). Is there a reference available how to do this?

Thank you!


Answers:
author: Maximilian Kohl
body: Any ideas, community? :) Thanks!


Tags: cloud

confluence-cloud

css
How to manually change confluence base url by editing Configuration files
Asked by siddharth:

We are upgrading/migrating Confluence Server to a new Confluence Application Server from version 5.8.10 to 6.13 with change of Windows Server Hostname \& IP address. Our Confluence authentication is through JIRA for user management.

Could you please help us to know how do we change the IP address of the Confluence Server manually from the configuration file, so that the confluence Server can have a new IP address, and confluence can start with the new IP address.

As when we restore the backup from Production using the XML file it retains the IP address of production and due to JIRA integration for user management we are not able to login to the Confluence console as the integration is not present on JIRA due to the new IP address of Confluence. So we would not be able to change the server Base URL using confluence administration GUI.

So we are stuck with the situation and this is the reason we would like to change the IP address of Confluence Server (server Base Url ) manually using configuration files.Please could you guide?


Answers:
author: Bharani Rajendran
body: its a db entry

<https://confluence.atlassian.com/jirakb/how-do-i-manually-change-the-base-url-733940375.html>

comments: author: Mathias HD
body: Does this work for confluence?


author: Santwana Sarangi {Appfire}
body: Hi [@siddharth](/t5/user/viewprofilepage/user-id/2461475),

You have to change the baseurl in the **entities.xml** present in the XML back up**.** Please refer to this [link](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html) for more details. Hope this helps.

Thanks,

Santwana

comments: author: siddharth
body: Thanks [@Santwana Sarangi {Appfire}](/t5/user/viewprofilepage/user-id/5779),

We have changed the baseurl in entities.xml and zipped it again.Now we are getting following errors can you please suggest what may be the issue.

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


Tags: confluence-server

server
Connect confluence to MS SQL Server using a domain account during Confluence upgrade/setup
Asked by siddharth:

For confluence server we would like to use MS SQL Server connection with Microsoft Authentication Mode, while setting up the database as we are upgrading Confluence from 5.8.10 to 6.13

![ConfSetup.png](/t5/image/serverpage/image-id/41755i77F9CB136EC4E894/image-size/large?v=v2&px=999 "ConfSetup.png")

We were able to find an article to make changes to an existing installation but how to do this during upgradation/Fresh installation.

<https://confluence.atlassian.com/confkb/cannot-connect-confluence-to-ms-sql-server-using-a-domain-account-600867138.html?_ga=2.237827587.283406764.1546852466-1696516055.1540898666>


Answers:
author: Shannon S
body: Siddharth,

What issue are you having while adding the parameter to the URL during setup?

Per the article you linked, [Cannot connect Confluence to MS SQL Server using a domain account](https://confluence.atlassian.com/confkb/cannot-connect-confluence-to-ms-sql-server-using-a-domain-account-600867138.html?_ga=2.59612269.1358286209.1546857743-1735250289.1546433624), the first step lists how to do this during setup:
> To address this we need to add a parameter to the Database URL so that the JTDS driver can use the domain when connecting to the database:
>
> * In the database setup, add the following: ";domain=MyDomain" to the end of the Database URL. See the screenshot below:

My recommendation would be to add that parameter to the end of the URL. You need to select **Setup Type \> By connection string (Add additional parameters using the database URL)**.

Could you let me know if you're having any trouble with that?

Regards,

Shannon


Tags: confluence-server

jira

jira-server

server
Did the Retrospective Blueprint change?
Asked by Luke Verran:

I noticed that the default Retrospective Blueprint recently changed. It used to have columns for "What did we do well?" and "What should we have done better?", but now it's got different columns entirely. Is there any way to get the previous blueprint back? I looked in the Confluence Audit Log and there's no entry for the change.


Answers:
author: Shannon S
body: Hi Luke,

Blueprints are a collection of templates, so if you need to adjust an individual template, you can do so.

* [Blueprints and User Created Templates \> Edit Templates](https://confluence.atlassian.com/confcloud/blueprints-and-user-created-templates-724764985.html#BlueprintsandUserCreatedTemplates-Edittemplatesedit_templates)

You can compare it with the Server version of the template, if you want to modify it to look like the old version:

* [Retrospective Blueprint](https://confluence.atlassian.com/doc/retrospective-blueprint-427623496.html)

Hope that helps! Let me know if you have any additional questions.

Regards,

Shannon


Tags: cloud

confluence-cloud
Editor Window is Small After Upgrading to Confluence 6
Asked by Suneel Venkata:

Users are able to edit, but the editor does not display at full size:


Answers:
author: Shannon S
body: Suneel,

Can you please show us an example of what this looks like?

Is your Confluence version just 6.0, or did you upgrade to the latest? 6.0 is nearly End of Life, so I want to be sure.

You may also want to try [removing all customizations](https://confluence.atlassian.com/confkb/how-to-clear-customizations-from-confluence-314447086.html) and [enabling safe mode](https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html) (disabling all 3rd party add-ons) and see if that corrects the issue.

If not, can you please tell me if this affects all users? Which browser and version are you able to replicate it in?

Regards,

Shannon


Tags: atlassian-support
Some anchors not working, others working, besides doing the exact same thing on both.
Asked by Fionn Mcknight:

Hi.

So I have a page with a number of headers. Header4's.

At the begging I'm trying to link to each of these headers.

<br />

So I select the header, click 'Insert Link', and type #anchorname.

Then I go to my list at the start, select the 'paragraph' text I would like to linkify. I click 'Insert Link' and type in #anchorname, and leave the text as it is.

This has worked sporadically. For some of the headers it works fine. For others it just doesn't work. The URL changes, but the page doesn't scroll, and opening it in another tab it still doesn't go to the correct heading.

So for example this works "url/url/#OptumIQStudio-WorkbenchDeveloperGuide(DRAFT)-CLIUserGuide"

But this doesn't.

"url/#OptumIQStudio-WorkbenchDeveloperGuide(DRAFT)-dswuserguide"

I've tried using everything. Removing the header, adding it again, using different text, using spaces, not using spaces, using caps not using caps, there just doesn't seem to be any logic to it. Some anchors work, others won't no matter what I do.

Any ideas what's going on?


Answers:
author: Tobias Anstett _K15t_
body: Hi [@Fionn Mcknight](/t5/user/viewprofilepage/user-id/2518163),

The urls you are posting look like links to heading names as Confluence constructs them. In general this approach is likely to break when renaming pages or the headings itself.

What [@Bill Bailey](/t5/user/viewprofilepage/user-id/502089) is refering to is another mechanism of dealing with links to headings using the anchor macro. You will need to insert the anchor macro directly after the heading text in the same line. Each anchor macro asks for an anchor name you can define and which does not change if you do not explicitly decide to - this adds the missing stability. Let's assume you choose "myAnchor".

When inserting a link you will need to select the "Advanced" tab and enter "#myAnchor" in the "Link" field.

Hope this clarifies and helps :)


author: Bill Bailey
body: You create anchors via **Insert other Content -\> other macros -\> anchors**. Are you entering them that way?

And are you trying to link to content on the same page, or externally? If on the same page, be sure you are using the advanced tab on the Insert Link menu and just entering #anchorname there.

It is also the same tab for entering a link from one Confluence page to another (different syntax).

comments: author: Fionn Mcknight
body: Thanks, this is a much better way of doing it.


Tags: anchor

confluence-server

server
When I try to import a space in Confluence Cloud from another Cloud site I get an error.
Asked by Michael The:

When I try to import a space in Confluence Cloud from another Cloud site I get an error.

The error is:

* ?? ????? ??????? ????????? ??????. ??????????, ???????? ???? ??????????? ?? ???????? ?????? ?? ??????.
* Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.


Answers:
author: Alexey Matveev
body: [@Michael The](/t5/user/viewprofilepage/user-id/1194289) I have the same problem. I filed a ticket to Atlassian and got this reference. Kindly vote for the ticket:

<https://jira.atlassian.com/browse/CONFCLOUD-65273>

comments: author: Michael The
body: Thanks Alexey. Appreciated. BR Michael


author: Alexey Matveev
body: You are most welcome!


Tags: cloud

confluence-cloud
Schedule restrictions on confluence
Asked by Rahul nair:

I don't want users to have write permission on a page between 4pm and 8pm everyday. For the remaining part of the day they should have write permission. Can I schedule such a restriction in Confluence?


Answers:
author: Shannon S
body: Hi Rahul,

As this is not yet possible in Confluence out of the box, I have created a feature request for it below.

* [CONFSERVER-57746](https://jira.atlassian.com/browse/CONFSERVER-57746) *Page Restrictions based on additional factors (time, date, IP, etc.)*

Please vote on it and comment with your usage case.

Do let us know if you have any questions!

Regards,

Shannon


Tags: atlassian-marketplace

confluence-server

server
Scroll Versions: Version tree
Asked by Bernd Schneider:

Hello everybody,

we are using Scroll Versions with a more complicated version tree (not only succeeding versions based on the last one). The version tree is only visible to administrators, but for editing it is vital to know which version is based on which.

Is it possible in any way to make the version tree visible without granting admin permissions to everybody?

Thanks \& best regards,  
Bernd


Answers:
author: roman
body: Hi [@Bernd Schneider](/t5/user/viewprofilepage/user-id/844026),

this is possible with the help of Scroll Viewport. Each version has to be published to a separate space, then a version picker in a Viewport theme would combine those spaces into versions.

There is a help article about this approach: <https://help.k15t.com/scroll-viewport/latest/switching-between-spaces-published-by-scroll-versions-140550282.html>.

Could you please read it and let me know if it helps?

Roman.

comments: author: Bernd Schneider
body: Hi [@roman](/t5/user/viewprofilepage/user-id/853566),

sorry, but this seems to be about seeing the content of different versions in a different space through viewports.

What I wanted to achieve is, to let the users see the actual graphical version tree (which version depends on which) on the original authoring space. Recenty I found our that this can be done using the version overview accessible through the version link on each page.

Thanks to you anyway! Goddto see that these things are possible with the viewport feature. I am not experienced with viewports yet, but shoould have a look into them.

Best regards,  
Bernd


Tags: confluence-server

server
xml file download in confluence
Asked by Kapula Srinivasa Rao:

Hello I am trying to import confluence file in to confluence.

How ever I am not able to import. getting error message saying that

"Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page."

Please help us how to rectify this issue.


Answers:
author: Sid
body: hi [@Kapula Srinivasa Rao](/t5/user/viewprofilepage/user-id/2329271),

this is because - There are modified files in Confluence installation directory. These files are most likely located in `<Confluence-Installation>/confluence/pages` directory.

please follow the instructions as in this KB <https://confluence.atlassian.com/confkb/unable-to-add-a-comment-to-an-attachment-with-required-security-token-was-not-present-error-600115060.html>


Tags: cloud

confluence-cloud
comment visibillity in Jira Lab
Asked by Marc Bohm:

Hi,  

we are using the new view for tickets which comes with the enabled lab function.  

We are not finding the function to make comments invisible to certain roles? Is this function not there yet? If so, is there a date known when this will be possible?

thanks,   

marc


Answers:
author: Alexey Matveev
body: Hello,

It is not possible yet in the new issue view.

comments: author: Marc Bohm
body: Thanks for the answer :) Is there any date known or an open issue board where I can see information about the progress?


author: Alexey Matveev
body: I have not seen such plans yet.


Tags: cloud

confluence-cloud

jira