youngmon/atlassian-qna huggingface dataset:
Can I connect to / display code from an external file into a Confluence "know how" article?
Asked by Caterina Lani:

Hi,

I would like to display code taken from an external file (say test.py in my github repo) and display it in a "know how" article. Is that possible?


Answers:
author: David at David Simpson Apps
body: Hello, [Gister: GitHub Gist Macro for Confluence](https://marketplace.atlassian.com/apps/1211649/gister-github-gist-macro-for-confluence) does that if the external file is a Gist. [Here's an example](https://dvdsmpsn.atlassian.net/wiki/spaces/gister/overview).

**Disclaimer:** I am the add-on author/vendor.


author: Alana Fernando
body: [@Caterina Lani](/t5/user/viewprofilepage/user-id/1379955) just to get an idea about your concern,

1. are you trying to import an external document in to a ***How to article***?
2. are you trying to insert a code inside a **how-to article**?

alternatively you can insert your file through a confluence [link](https://confluence.atlassian.com/doc/links-776656293.html).

Or insert your code inside [code block macro](https://confluence.atlassian.com/confcloud/code-block-macro-724765175.html) . you can apply those option inside a how to article too.

comments: author: Caterina Lani
body: Hi Alana,

I am trying to add some code, but I would like a more automated way than using the code block macro. I would like to show it as code, but through some embedding mechanism (rather than copy+paste) that takes it from my repo. is that possible?

Thanks

Caterina


author: Alana Fernando
body: [@Caterina Lani](/t5/user/viewprofilepage/user-id/1379955) , to the best of my knowledge it is not possible with default confluence.

But below plugins might help you,

* [Github Macros for Confluence](https://marketplace.atlassian.com/apps/1216734/github-macros-for-confluence?hosting=cloud&tab=overview)
* [Snippets for Confluence](https://marketplace.atlassian.com/apps/1215283/snippets-for-confluence?hosting=server&tab=overview)


author: Caterina Lani
body: Great, I will take a look. Thanks

Caterina
how do I update user emails in confluence cloud
Asked by Charles Wells:

Upon hover, it says "this feature is temporarily unavailable. Check back soon"

Pretty vague. Is there an option without having to make a new user with the updated email address and deactivating the former user (which would lose all history)?


Answers:
author: Vickey Palzor Lepcha
body: How is your organization's user management done in Confluence ?

comments: author: Charles Wells
body: I set everyone up manually 3 years ago. At that time, I created the user names myself. I need to update email addresses, which isn't available.

At present, new user names are the email addresses.


author: Vickey Palzor Lepcha
body: The whole concept of usernames - emails - user profiles , depend on how user management is implemented.

Organizations that run their own active directory have the ability to manage everything from Active Directory.

By understanding what you did 3 years back, maybe you used internal directory of Confluence - so you were able to do everything locally.

Cloud setup on the other hand has a very different type of user management and implementation .

Get a ticket logged to Atlassian - It's very hard to suggest unless we know how your current user management has been implemented.


author: Charles Wells
body: No AD or outside app linking for user management. I have been running a cloud instance since 2014. I know they have made numerous changes and promote the "self-signup for users", this doesn't help me keep my existing users and simply update emails.


Tags: cloud

confluence-cloud
How can I extend my Data Center evaluation license?
Asked by jthomasburrows:

Started a Confluence Data Center evaluation license, however other priorities emerged and there was no time in that period to do the testing that was required. How can I obtain another 30 day evaluation of Confluence Data Center?


Answers:
author: Alexey Matveev
body: Hello,

Go to my.atlassian.com and generate a new trial license.


Tags: atlassian-support

data-center

enterprise

trial
confluence running ubuntu nginx returns trailing slash
Asked by Thomas Burke:

I have a nginx server with several app and respective ports.

all seem to work fine addressing the correct app . when . use

server {  
listen 80;  
server_name confluence.domain.com;

location / {  
proxy_pass <http://atlassian.domain.com:8090>;  
}  
}

however , when I use above config

I always get a return with an extra trailing slash /

http://atlassian.domain.com:8090**//**

**Oops - an error has occurred** . due to extra slash, when I take that slash out the login appears fine.

At first I thought this was nginx . but if I remove remove nginx.conf record and reload conf I get same behavior of trialing slash /

Anyone know perhaps where this slash is coming from or where to to look?

thanks


Answers:
author: AnnWorley
body: Please make sure there is no extra slash in your base URL: [Configuring the Server Base URL](https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html) Also, that the server.xml has the proxy support:
> Proxies. If you are running behind a proxy, ensure that the proxy name matches the base URL. For example: proxyName="foobar.com" proxyPort="443" scheme="https". This will make sure we are passing the information correctly.
>
> This information needs to be added in the Connector element at {CONFLUENCE_INSTALLATION}\\conf\\server.xml.

You mentioned other apps so I wanted to make sure you saw the doc for Confluence and NGINX since there is an extra entry for Synchrony (collaborative editing JVM). [How to use NGINX to proxy requests for Confluence](https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html)
How to set Table Filter to be collapsed by default
Asked by Casey Maynard:

I have filters around several of my tables, but I seem to prefer having the table filter be 'collapsed' when I load the page. That way other users to dot have to collapse the filter when they view the page (as they rarely filter).


Answers:
author: Andrey Khaneev _StiltSoft_
body: It is possible to [hide filtration pane](https://docs.stiltsoft.com/display/TableFilter/Managing+Filtration+Parameters#ManagingFiltrationParameters-HidingtheFiltrationPane) by default, but in this case it is not possible to change filtration criteria without editing the page.

comments: author: Casey Maynard
body: I may not have been clear on the issue I am trying to resolve. I want the filter pane to be set to 'collapsed' state by default. I do not want the filter pane to be visible, but I want the pane to be accessible to the user to set a filter if they want to. The Hide Filtration Pane option, hides it completely, but I only want it to be collapsed. Is there a way to set it to be 'collapsed' by default.


author: Andrey Khaneev _StiltSoft_
body: Unfortunately, it is not possible.


author: Deniz Thurau
body: It is possible if you enable sparkline graph.
Unable to upload files in server based confluence
Asked by krishna kalyanam:

Hi,

We have just moved from cloud to server. We are unable to upload files to the confluence while we uploading file we getting an error.

![confluence_error.JPG](/t5/image/serverpage/image-id/22013i4A08118B577F2548/image-size/large?v=v2&px=999 "confluence_error.JPG")


Answers:
author: AnnWorley
body: Hi Krishna,

The error message indicates the temp file for the attachment cannot be saved to the Confluence server's file system. Please check that the operating system user running Confluence has sufficient permission to the path in the error message and that the server has enough disk space. Virus protection can also prevent writing to disk.

The attachments path in the error message is under the Confluence Home directory; to find it, please see [Finding the home directory](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html).

Thanks,

Ann


Tags: confluence-server

server
Actions - Does assigning an action generate an email or notification?
Asked by Matthew Alexander:

Are there any notifications sent to the individual you have assigned an action to? Where are the notifications sent and do they need to be a member of the Confluence page you have created to receive notifications? Newbie here:)

\~Matthew


Answers:
author: AnnWorley
body: When you "@mention" them on the task it generates a email to the address Confluence has in their user profile. I found some docs that go into more detail: [Add, Assign, and View Tasks](https://confluence.atlassian.com/doc/add-assign-and-view-tasks-590260030.html) and [Email Notifications](https://confluence.atlassian.com/doc/email-notifications-145162.html)
> You'll receive immediate emails for important notifications (like mentions and new pages), but when lots of changes are being made at the same time, you'll only receive a single email with all the changes within a short window (usually 10 minutes).
>
> Note: If you assign a task to someone who doesn't have permission to view the page or space, they won't see the task.

comments: author: Matthew Alexander
body: Thank you! I provided access and permissions to folks assigned and now the action request is working.


author: AnnWorley
body: That's great news, thanks for circling back to the thread. :)
Is there a limit to the number of pages that can be created in a space?
Asked by Marjorie D:

Is there a limit to the number of pages that can be created in a space in Confluence server 6.7?


Answers:
author: Victor Mutambuki
body: Marjorie,

There's no limit. You can create as many pages as you need. Making use of child-trees keeps pages where they need be and easily accessible.

Victor


Tags: space
Send Confluence Document Monthly
Asked by Sarah_Studdard:

Hello, I am trying to set up a simple, automated email that sends the same Excel spreadsheet from Confluence out to a list of the same recipients each month. This is a macros-enabled document containing a review schedule whose contents update automatically when opened based on the dates already entered in the spreadsheet, so I don't need Atlassian to do anything fancy such as generating a new report each month--just send out the stored document each month with little overhead on my part.

Seems like there would be a simple solution, but I'm not seeing it. Any suggestions?


Answers:
author: Vero Rivas
body: Hi [@Sarah_Studdard](/t5/user/viewprofilepage/user-id/1374993)

Look at this posts, maybe can help you

<https://community.atlassian.com/t5/Jira-questions/Sending-a-custom-monthly-email-from-Jira-or-Confluence/qaq-p/1089346>

<https://community.atlassian.com/t5/Confluence-questions/How-to-send-predefined-E-Mail-template-from-Confluence/qaq-p/1030430>

Cheers


Tags: cloud

confluence-cloud
Is there a limit to the number of pages that can be created in a space?
Asked by Marjorie D:

Is there a limit to the number of pages that can be created in a space in Confluence server 6.7?


Answers:
author: Brant Schroeder
body: Marjorie,

I have never heard of a specific limit to the number of pages you can create within a space. I would suspect that certain macros may run slower or break if there are to many pages for your current configuration to handle. Often times I think individuals need to size their application properly and ensure that the hardware they are running it on can support it. This should prevent performance issues and ensure a good user experience.


Tags: confluence-server

server
Confluence Installation
Asked by yaoxuan.wang:

i choose"built in"because i dont have own database ,then it failed.

HTTP Status 500 - Cannot call sendError() after the response has been committed

how could that be ?


Answers:
author: AnnWorley
body: Hi - proxy configuration can cause the error you are reporting. Do you have a proxy, load balancer or other device between your browser and the server where you are running the setup? If so, please make sure the file \<Confluence_Install\>/conf/server.xml has the [Proxy Support](https://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Proxy_Support) statements (proxyName, proxyPort, and if using SSL, scheme.)


Tags: confluence-server

server
Jira and Confluence on SQL Server
Asked by Regg Person:

I'm installing Confluence 6.9 with MS-SQL Server. The documentation say make default collation for the database to SQL_Latin1_General_CP1_CS_AS (case sensitive).

I'm also installing Jira Server 7.9 with MS-SQL Server. The install documentation says "Make sure the collation type is **case-insensitive."**

How will they work together?

I need Jira \& Confluence linked via Weblinks, will this conflict?


Answers:
author: Charlie Misonne
body: Hi Regg

On your database server you should create **2 databases**. One for each application with a different collation.

For the procedures check <https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-sql-server-2014-938846861.html> and <https://confluence.atlassian.com/doc/database-setup-for-sql-server-9258.html>


author: Brant Schroeder
body: The database collation will not impact and application link. All of the traffic that takes place between the applications is done using the api so everything will work as expected. It is important to configure the DB correctly or you will see errors or performance issues.


Tags: jira-administration
Can't find where to login in Confluence.
Asked by Helena Nobel:

I haven't been into Confluence for some time. Now i can not find where to login.

Can someone send the link or describer where the loggin si located on the website?

Thanks

Helena


Answers:
author: David at David Simpson Apps
body: [@Helena Nobel](/t5/user/viewprofilepage/user-id/1376063) If you signed up for Confluence Cloud, then likely there will be an email somewhere in your inbox/mail client explaining where to login.

If someone else did this, go and ask them.

For Confluence Cloud the format of the web address is almost always:

**<https://yourcompanyname.atlassian.net>**

...where **yourcompanyname** is something like your company name.

The person who set it up will have chosen the exact name.

If you can remember this, just go there and it will probably ask you to login.


author: Thomas Schlegel
body: Hi Helena,

the link is usually on the top right of the page.

comments: author: Helena Nobel
body: Hi

Thanks for a quick reply unfortunately there is only a " Try it now" link.

Can you please send the URL?

Many thanks for your patience..

Helena


author: Nic Brough -Adaptavist-
body: The url for what?


author: Helena Nobel
body: I do not think I'm at the right page.. The page name where you have the loggin. It is so strange I can not find it. Should I change browser...?

Helena


author: Thomas Schlegel
body: Which URL are you looking at to get the "try it now"-link? Do you know the main URL of your Confluence? Is it cloud-based?


author: Helena Nobel
body: Yes I know. It is cloud based. Have an account that is why I can not loggin on try it now. This is only for free toys. But i hav an account with information in it.


author: Nic Brough -Adaptavist-
body: We can't. We don't know what system you are talking about.

If you have landed on a Confluence system, then there will be a login option at the top right of the page (or in the left hand bar if it's "Cloud")


author: Nic Brough -Adaptavist-
body: We can't tell you where your Confluence is, we don't know which one it is.

When you have found out where it is, just go to the url, there's an option to log in on evey page when you're not logged in.
Using labels with blueprints does not work... Pages not shown in label overview
Asked by Michaela Gluchow:

Hi there,

I am trying to use labels with blueprints. I created a custom blueprint and added a label to it in the blueprint edit mode.

When I create a new page with it, the label is added as intended. But the page is not listed in page overview for the specific label. Also the page does not appear in the page properties report.

We are using server version of confluence.

Any ideas what I've could have missed?

Best regards,

Michaela


Answers:
author: Victor Mutambuki
body: Michaela,

Are you using the content by label macro to pull in a summary of your pages?

Victor


author: Victor Mutambuki
body: Michaela,

Page Properties and Page Properties Report macro are used show summary information. Either macro can't work without the other.

As for adding labels to blueprints, i don't think that is possible as far as i know. For global templates, Yes.

Victor

comments: author: Michaela Gluchow
body: Hi.

Yes, I am using both macros including the right label. As far as I checked, this is not the problem. As mentioned above I even can't see the pages on the label summary pages, where all pages with one label are listed. Never the less the page has the label added. So I assume the problem is, that the labeling doesn't work properly.

For the second part of your answer: I added the label and the created page has it added. It's a self created template. Perhaps I used blueprint here in the wrong context?

Best regards  
Michaela
Deleted spaces still visible in Space Directory
Asked by Sandra Meessen:

Hello,

When I delete or move a (personal or generic) space in my Confluence environment (version 5.6.4), the space remains visible in the space directory (in it's original location). What's going on? Why do I keep seeing these spaces?


Answers:
author: Sloan
body: Hi Sandra

It could be an Indexing issue.

Do a reindex and check again afterwards if the Spaces still show sup.

Cheers  
Niklas

comments: author: Sandra Meessen
body: Hello Niklas, we found the difference between the options "delete a page" (right menu) and "delete a space" via space admin. We used the delete option in the right menu and that deletes pages and not the entire space. Problem solved. Thanks.


author: Sloan
body: Alright, you are welcome. :)


Tags: confluence-server

delete

server
Ampersand decodes in "&amp;" in code block
Asked by Ivan Livadnyi:

When I try to post html-code in a code block in wiki:

\<a href="[https://experience.tripster.ru/?exp_partner=TESTPARTNER\&utm_source=TESTPARTNER\&utm_campaign=affiliates\&utm_medium=link](https://experience.tripster.ru/?exp_partner=TESTPARTNER&utm_source=TESTPARTNER&utm_campaign=affiliates&utm_medium=link)" target="_blank"\>sometext\</a\>

And I publish the code, i receive following:

![Ampersand decoding.png](/t5/image/serverpage/image-id/21983i54BEBFFA0018CA95/image-size/large?v=v2&px=999 "Ampersand decoding.png")I've tried most of highlightning and style setting, but it's doesn't matter. Looks like it overrides highlightning and sets it as HTML/XML, because when I try another code block:

[https://experience.tripster.ru/?exp_partner=TESTPARTNER\&utm_source=TESTPARTNER\&utm_campaign=affiliates\&utm_medium=link](https://experience.tripster.ru/?exp_partner=TESTPARTNER&utm_source=TESTPARTNER&utm_campaign=affiliates&utm_medium=link)

It looks fine in "Bash" or "Python" setting, but in HTML decoding it breaks all ampersands into "\&amp;".


Answers:
author: thais
body: Hi, Livadnyi Ivan,

Welcome to the Atlassian Community!

Thank you for reporting this behaviour. We could replicate it on our test instance, and the following bug report was opened on this issue:

[CONFCLOUD-59800: Code Block macro: wrong HTML shown](https://jira.atlassian.com/browse/CONFCLOUD-59800)  

We suggest you add yourself as a watcher to the bug to receive the updates. A comment with this Community post was added there for visibility. You can also find more information on our bug fixing policy [here](https://confluence.atlassian.com/support/atlassian-cloud-bug-fixing-policy-206865884.html).  

Best regards,  
Thais

comments: author: Ivan Livadnyi
body: Hi, Thais Krischer,

Thank you for fast response and understanding the issue. I've subscribed this bug. Will wait for results.


author: Mike Masyk
body: End of 2020. This is still not fixed, instead a phrase "ampersands are converted into HTML entities in code blocks" is added into docs.

This is not a bug, this is a feature! Confluence (l)users must suffer! Is that your point, Atlassian?

comments: author: David Duan
body: I just posted a new thread on this: <https://community.atlassian.com/t5/Confluence-questions/Ampersands-revert-to-amp-amp-on-edit/qaq-p/2360403>


Tags: cloud

confluence-cloud
Space Attachments Macro replacement
Asked by Robert Gamble:

Hello,

I've noticed you plan to remove the space attachments macro (<https://confluence.atlassian.com/confcloud/we-re-cleaning-up-the-macro-browser-946028471.html>)

We use the macro to view the documents uploaded into our space across 60+ projects.

The suggested replacement macro (content by label) does not have an option to provide all documents in a space, regardless of label.

In the solution I would need to know every label of every document in the space to be able to have a universal view of said documents in one page.

Can you please help me figure out a more efficient work around, or not deprecate the macro :)

Thanks,

Robbie


Answers:
author: thais
body: Hi, Robert,

Welcome to Atlassian Community!

We opened the following feature for this functionality:  
- [CONFCLOUD-60005 - Space Attachments macro substitute](https://jira.atlassian.com/browse/CONFCLOUD-60005)

You may add yourself as a watcher to the page above, voting to increase its popularity. More information about how Atlassian implements New Features can be found in [this page](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

Best regards,  
Thais


Tags: cloud

confluence-cloud
innoDB as the default storage engine - not changable
Asked by Dirk Fehse:

Hi there!

We **can't change the default storage engine,** on our server. Is there a way installing confluence on such a system? Why don't you use the engine-parameter in your SQL-commands to specify the engine, like this?

CREATE TABLE IF NOT EXISTS tasks ( task_id INT(11) NOT NULL AUTO_INCREMENT, subject VARCHAR(45) DEFAULT NULL, start_date DATE DEFAULT NULL, end_date DATE DEFAULT NULL, description VARCHAR(200) DEFAULT NULL, PRIMARY KEY (task_id)) **ENGINE=InnoDB**

Best,  
Dirk


Answers:
author: Richard Atkins
body: Since MySQL 5.5.5, the default storage engine is InnoDB, and would not need to be changed. Confluence only supports MySQL 5.6 and 5.7 since we shipped Confluence 6.0 in November 2016.

For why we don't set the storage engine during schema creation: Confluence uses Hibernate to issue schema creation DDL, which in v2 did not have the flexibility to append engine options to its generated SQL when we began using it. Now that we've upgraded schema creation to be managed by Hibernate v5, we could upgrade to Hibernate 5.2.9 or higher, and migrate from using a direct subclass of org.hibernate.dialect.MySQLDialect to using something derived from org.hibernate.dialect.MySQL55Dialect or org.hibernate.dialect.MySQL57Dialect to direct Hibernate to emit the ENGINE=InnoDB string you describe. Doing this will require code changes within Confluence, and could require an upgrade task to migrate existing data between Dialects to account for other changes in preferred data types. I've raised [CONFSERVER-55541 - Improve MySQL schema creation to always specify InnoDB storage engine](https://jira.atlassian.com/browse/CONFSERVER-55541) to track this suggestion.

References:

1. [MySQL 5.5 reference manual - 15.1 Setting the Storage Engine](https://dev.mysql.com/doc/refman/5.5/en/storage-engine-setting.html)
2. [HHH-11473 - Refactor MySQL Dialects](https://hibernate.atlassian.net/browse/HHH-11473)
3. [Confluence Server (latest version) supported platforms](https://confluence.atlassian.com/doc/supported-platforms-207488198.html)
4. [End of support announcements for Confluence Server - 8 June 2016](https://confluence.atlassian.com/doc/end-of-support-announcements-for-confluence-210239673.html#EndofSupportAnnouncementsforConfluence-DeprecateddatabasesforConfluence(8June2016))
5. [Confluence 6.0.x release notes](https://confluence.atlassian.com/doc/confluence-6-0-release-notes-844235309.html)


Tags: confluence-server

server