youngmon/atlassian-qna huggingface dataset:
Attachment size limit no longer being honored?
Asked by Robert Egan:

We have set our attachment limit size to 10Gb for a very long time. About 6 weeks ago, we upgraded to 7.11.0 and moved to Data Center, and now our users cannot upload attachments larger than 2 Gb. The Admin console still says 10Gb.

Has something changed with regards to either 7.11 or Data Center?

Addendum: The maximum number of attachments per upload is 5. Coincidence?


Answers:
author: Thiago Masutti
body: Hi [@Robert Egan](/t5/user/viewprofilepage/user-id/4276125)   
I hope you are well.

Based on your description, you might be affected by the bug reported in [CONFSERVER-20912](https://jira.atlassian.com/browse/CONFSERVER-20912) , which is there prior to the 7.11 version.

Could you please check if dragging and dropping a large file to a page works or if you have the same behavior?

Kind regards,  
Thiago Masutti

comments: author: Robert Egan
body: I am having my user try the work arounds. The thing I don't understand is why this has worked for years, when the issue you mentioned was opened in 2010 and is still not resolved.


author: Thiago Masutti
body: That's really odd.

Maybe it was a combination of users uploading attachments through drag \& drop most of the time, and when hitting the bug (through the attachment page) they were not reporting it.

Let me know the version you were previous to the upgrade so I can test it here and see if the bug was fixed at some point and now returned.


author: Robert Egan
body: So, the work arounds worked. We upgraded from 7.8.


author: Thiago Masutti
body: I'm glad to know that worked, Robert.

I just tested on Confluence 7.8.0 and the bug happens there as well.


Tags: confluence-server

server
Disable http access to our Confluence server
Asked by Joe Budzowski:

I implemented https using a solution posted in Community, but the Confluence can still be accessed using port 8090.

\<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true"  
enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8090"  
protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"  
scheme="https" proxyName="confluence.ourcompany.com" proxyPort="443"/\>

We are using an F5 redirect to port 8090. How can we implement https without allowing access via port 8090?


Answers:
author: Thiago Masutti
body: Hi [@Joe Budzowski](/t5/user/viewprofilepage/user-id/581692)   
I hope you are well.

Based on your description you are offloading SSL on the F5 load balancer.  
Therefore, any connection from F5 to the Confluence server is made over **HTTP**.

In this case, you still need to allow HTTP connections when the source is your F5 load balancer servers, and may want to block anything from other sources, such as users' computers.

You may need to use some external solution to administer this requirement, such as [iptables on Linux](https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands).  
With iptables you would be able to allow access to the TCP port 8090 from F5 while blocking access from any other source.  
You may also want to allow access from other specific sources, such as a jump server, for maintenance purposes.

Let me know if that makes sense to you.

Kind regards,  
Thiago Masutti

comments: author: Chris Shaw
body: I have the same question but we are not using any load balancer. The provided solution still uses port 8090 but we need to block direct port access using [http://hostname:8090](http://rtxapplp02:8090/)

Thanks,

Chris Shaw


author: Nic Brough -Adaptavist-
body: If you block the port, the service can't be reached by other systems.

What are you actually trying to achieve here?


author: Chris Shaw
body: We are trying to block direct http access using [http://hostname:8090](http://rtxapplp02:8090/). We have switched to using https with the proxy name URL and can redirect the old http access with the proxy name URL, but you can still bypass the SSL using [http://hostname:8090](http://rtxapplp02:8090/)


Tags: confluence-server

server
Does the API provide search preview similar to Jira's documentation search (see screenshots)
Asked by Daniel Tran:

Hey everyone,   

I'm using the Confluence Cloud API to implement a search bar that shows results with the page's title as well as a preview snippet of where that search phrase is found in the content of the page.

The behaviour is similar to how Jira's developer documentation's search works. The API returns a searchRecords array, found within each result is a "content" key which shows the preview snippet for that search phrase in HTML format. Is this possible to do with the Confluence Cloud API or any of Jira's API? and if so where can I find that.  

![Screen Shot 2021-04-19 at 2.08.29 PM.png](/t5/image/serverpage/image-id/139354i2AE0058A47BF6836/image-size/large?v=v2&px=999 "Screen Shot 2021-04-19 at 2.08.29 PM.png")![Screen Shot 2021-04-19 at 2.08.48 PM.png](/t5/image/serverpage/image-id/139355i96BCF20498E197A2/image-size/large?v=v2&px=999 "Screen Shot 2021-04-19 at 2.08.48 PM.png")  

Thanks!


Answers:
author: Brant Schroeder
body: [@Daniel Tran](/t5/user/viewprofilepage/user-id/4356248) Welcome to the Atlassian Community.

I believe you would just do a CQL search with expanded body content. You would then just need the results yourself to identify and highlight the words.


Tags: cloud

confluence-cloud
Is it possible to replace "atlassian.net" with company site url?
Asked by Patrick Ng:

In Confluence Cloud, is there a way to replace "atlassian.net" with company site url? Either directly in Confluence Cloud or through an app in the Marketplace?

If not, how can I accomplish this for my company?

Please advise, thanks.


Answers:
author: Mikael Sandberg
body: Hi [@Patrick Ng](/t5/user/viewprofilepage/user-id/4356515),

Welcome to Atlassian Community!

At the moment you have to contact Atlassian Support in order to change the URL, there are plans to have this as an option, check out the [Cloud roadmap](https://www.atlassian.com/roadmap/cloud), custom domains are planned for 2022 as of right now.

comments: author: Mikael Sandberg
body: And if you want to watch the request for this, add yourself as a watcher on [CLOUD-6999](https://jira.atlassian.com/browse/CLOUD-6999)


author: Patrick Ng
body: Thanks for getting back to me. So I can contact Atlassian Support to change the entire URL? Or just the first part prior to "atlassian.net".

The custom domains option would be ideal but not until 2022. There is no other alternative?


author: Nic Brough -Adaptavist-
body: Only the bit before .atlassian.net so far.

Vote for and watch the issue Mikael gave us - that's where you'll see all progress.


author: Patrick Ng
body: Ok thanks for clarifying.

So for the companies that have their own domain name while on Confluence, what are they using? The server version? Or an app through the Marketplace? I saw mentions of Scroll Viewpoint?

For example, **company.com/docs** or **company.com/confluence**.


author: Mikael Sandberg
body: Yes, they are either using Server/Data Center, or Viewpoint which allows you to set global URL directs.


author: Nic Brough -Adaptavist-
body: Yes, if you're not using \<something\>.atlassian.net for your atlassian stack, then you are running server/dc

It is possible to frame part of Atlassian Cloud with Scroll or Refined, but the raw system behind those frames is still on an .atlassian.net site.


author: Patrick Ng
body: Thank you guys for the replies. It is very enlightening. Really appreciate it. I will see if Scroll or Refined could meet our needs.

I was caught off guard earlier today when management wanted me to get rid of the "atlassian.net" reference in the URL. So it's been a fire drill kind of day.


author: Joachim Brechtel
body: You can order a t-shirt ;) <https://www.redbubble.com/shop/ap/75031050>


author: Jason Roy
body: Thank you for sharing the information[,](https://cleanthese.com/) I was also in que of this but I have found my answer here.


Tags: cloud

confluence-cloud
Resize PDF attachment to page
Asked by Juan-Jose Solano Quesada:

I am trying to make the PDF preview larger than a small icon and cannot resize it. This is how it shows and there is not a way to change size.![Screenshot 2021-04-19 135948.png](/t5/image/serverpage/image-id/139350i2734FCF38D9645B6/image-size/large?v=v2&px=999 "Screenshot 2021-04-19 135948.png")


Answers:
author: Vero Rivas
body: Hi [@Juan-Jose Solano Quesada](/t5/user/viewprofilepage/user-id/4356231)

Look at this post

<https://community.atlassian.com/t5/Confluence-questions/How-do-I-change-the-size-of-a-PDF-macro-on-the-page/qaq-p/1568656>

Cheers


Tags: cloud

confluence-cloud
Is there a way to create a new field in the Attachment class (default class) of Confluence?
Asked by Marcelo Monta?o S?nchez:

There is a way to edit the Attachment class that is typical of Atlassian.  
That is, to this class <https://docs.atlassian.com/atlassian-confluence/5.8.6/com/atlassian/confluence/pages/Attachment.html> add a new field and they're respective get and set.


Answers:
author: Brant Schroeder
body: [@Marcelo Monta?o S?nchez](/t5/user/viewprofilepage/user-id/4065095) Technically you could but I would recommend against it. It would be something you would have to maintain on every upgrade and would nullify support. I would suggest building an app or finding one that provides the solution you are looking for. What specifically is the business need?


Tags: attachment

confluence-server

server
Page Access and Restrictions
Asked by Simran Mehra:

Hi, I need to create a new confluence page for internal and external contacts. My questions are the following:

1. how do I grant external contacts limited access to only view that page and attachments without viewing any other page?

2. Can access to external contacts be view only? If so, how is that set up?

Thank you in advance for your assistance


Answers:
author: Matt Reiner [K15t]
body: [@Simran Mehra](/t5/user/viewprofilepage/user-id/4356176)

I think either Public Links or Anonymous Access should help you: <https://www.k15t.com/rock-the-docs/publishing/give-basic-online-access>


author: Kurt Klinner
body: [@Simran Mehra](/t5/user/viewprofilepage/user-id/4356176)

Hi Simran

welcome to the community. Did you already check the documentation around page restrictions

<https://confluence.atlassian.com/doc/page-restrictions-139414.html>

Cheers

Kurt


Tags: confluence-server

page

restriction

server
Part of videos in confluence page are not playable
Asked by Mihail Metel:

Hi,

Just noticed that part of our company internal use videos can't be played.

First videos were uploaded some time ago and they work ok, but last more recent videos do not work.

When I firstly load page, preview looks ok

![Screenshot 2021-04-19 at 20.23.27.png](/t5/image/serverpage/image-id/139345iE1190A5BCE3DA9CC/image-size/large?v=v2&px=999 "Screenshot 2021-04-19 at 20.23.27.png")

, but after I click on it, it is not played and is shown as on screenshot below:

![Screenshot 2021-04-19 at 20.25.08.png](/t5/image/serverpage/image-id/139344i7F23F2DF4D32CDC6/image-size/large?v=v2&px=999 "Screenshot 2021-04-19 at 20.25.08.png")

Can you please help me with this issue.

Thanks in advance,

Mihail Metel


Answers:
author: Brant Schroeder
body: [@Mihail Metel](/t5/user/viewprofilepage/user-id/4356174) Welcome to the Atlassian Community

What format are the videos you are uploading, looks like mov? Are they the same as the old videos?


Tags: cloud

confluence-cloud
Is there a way to import a XML file as a Confluence Pace using RESt API Call or CLI
Asked by Santanu Roy:

Using JIRA - Data Center Version.

I have a simple XML file with below three headers along with its corresponding content

User Story Name :XXXXXX

Description : YYYYYYYY

Acceptance Criteria : ZZZZZZZZ

Is it possible to import this .xml file onto a Confluence Page using the REST API Call.


Answers:
author: Thomas Deiler
body: Dear [@Santanu Roy](/t5/user/viewprofilepage/user-id/4356305) ,

sure it is. I assume that you would like to display the 3 headers like panels or other structured elements on a page.

All you need is the [documentation to the REST API](https://docs.atlassian.com/ConfluenceServer/rest/latest/) and a browser extension to test your rest calls.

The way how to do:

* create a page like the XML data should be displayed - a sample page
* read this page with the rest call GET /rest/api/content
* Whats returned is JSON. Now you know how it is strucured.
* Replace the content in this JSON with the data from your XML
* POST /rest/api/content will create a new page with your modified JSON

You will find some samples [here](https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/). I recommend to use a script language like Python or PHP to write some simple code to repeat the REST calls in an easy way without the browser extension.

So long

Thomas

Note: If you just want to upload the XML as an attachment to an existing page, serach for this at the samples.

comments: author: Thomas Deiler
body: Dear [@Santanu Roy](/t5/user/viewprofilepage/user-id/4356305) ,

was my answer useful? Then I would be happy when you click on the "green accept answer" button.

So long  
Thomas


Tags: confluence-server

rest-api

server

xml
How to re-use already uploaded images or files with the new editor?
Asked by Volker Jakob:

We've migrated from an Server instance to cloud. That has worked without any bigger problems. As the old content uses the old editor, working with these migrated content was the same as before.

With some content we've started to convert them to the new editor. By re-arranging content within a page we're missing the possibility to add already uploaded images or files to the page. These files are still attached to the corresponding pages but it seems that there's no functionality to access them for re-adding.

Is this functionality really missing? Is there maybe some kind of "work around"? Will this capability come back to the new editor in the future?


Answers:
author: Owen Wallis
body: This functionality is missing but the team are figuring out how to bring it to Cloud; <https://jira.atlassian.com/browse/CONFCLOUD-65344>

comments: author: Volker Jakob
body: Since the mentioned issue has been closed as a duplicate for <https://jira.atlassian.com/browse/CONFCLOUD-65302>.

I'm a little bit confused about the description of the before mentioned issue as it don't explicitly describes the missing ability to insert an already present image within the attachments of the specific page.

Maybe I don't understand the whole focus of that issue, but if this would fit either, I'm fine :)


author: Owen Wallis
body: [@Volker Jakob](/t5/user/viewprofilepage/user-id/759020) good point well made! I'll get the wording on the ticket updated.


author: jorgen.bjerke
body: It's now December 2021, and still not solved...

In my case, I would like to have design elements centrally attached so I can switch them out with updated images later and all pages with them will automatically be updated.


author: Owen Wallis
body: Thanks [@jorgen.bjerke](/t5/user/viewprofilepage/user-id/2263882), by design elements do you mean things like Logos etc?


Tags: cloud

confluence-cloud
We are trying to Import Word Document in to Confluence page
Asked by M Homeswara Reddy:

We are trying to Import Word Doc into Confluence Page  
Is there any Rest API/CLI that can be used to import the XML pages residing outside of Confluence into Confluence Space


Answers:
author: M Homeswara Reddy
body: Hi [@M Homeswara Reddy](/t5/user/viewprofilepage/user-id/4254990) ,

I can help you here!!

Yes, you can import a word document into the confluence page with the help of the below CLI action command of [Confluence command line interface](https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?hosting=server&tab=overview) app.

```
--action loadFiles --file "Registration.docx" --space TEST
```

You can place the word document in the same folder where the CLI client is installed, then execute the CLI action, it will import the word document into TEST space and the word document can be seen from the attachments of the new page.

Thanks,  
Raja

comments: author: M Homeswara Reddy
body: We have a simple XML file with below three headers along with its corresponding content

User Story Name :XXXXXX

Description : YYYYYYYY

Acceptance Criteria : ZZZZZZZZ

Is it possible to import this .xml file onto a Confluence Page using the REST API Call.


Tags: confluence-server

server
listbox filter
Asked by me:

Hi

I want to create 2 list box like this

1-first list box show these items (ClassA, ClassB)

-if select ClassA only show(student of classA) on second list box

-if ClassB only show(student of classB) on second list box

I mean based on list A filter list B

Any idea?

Thanks


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@me](/t5/user/viewprofilepage/user-id/2563778) ,

Please clarify which addon you use for this purpose. As I understand, it is not an out-of-the-box Confluence feature.

We can suggest using the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview) app - create a table with classes (plain text or statuses created with the help of the Status macro) and students, wrap it into the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro and filter your table by classes:

![Mon 3-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/139317i8A8E8D6720AF60C4/image-size/large?v=v2&px=999 "Mon 3-1.png")

![Mon 3-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/139318i8937F661A08E657D/image-size/large?v=v2&px=999 "Mon 3-2.png")

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

If you want to show several tables filtered by every class simultaneously (as a dashboard: Class A, Class B, Class C, etc.), you can reuse your original table with the help of the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) macros and create as many separate filter views as you need. In such case you'll modify only the source table, all the reused tables (and the filtered results as well) will be updated automatically.

comments: author: me
body: Thanks you for answer Katerina,

I think that not use appropriate word for "filter"

actually I mean it is list box that work like form not just for filtering.

for example users must be fill this form.

do you have idea about this?

Thanks,


author: Katerina Kovriga {Stiltsoft}
body: Maybe you should browse the Marketplace for some apps - it seems that [ConfiForms](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=server&tab=overview) may come in handy for your case.


Tags: confluence-server

server
Set image size to exact pixel number
Asked by Bill Bailey:

Coming from the server versions, and now moving to the new editor, I found the handles for adjusting the image size to a set number of pixels, for example, 500px?

The ability to set the width is important for creating professional looking pages. Is the option hiden, or just not available?


Answers:
author: Shannon S
body: Hello Bill,

Nice to hear from you. I hope you are doing well! The option to resize by pixel is not available in the new editor, but there's a feature request to bring it back. I'll share that below:

* [CONFCLOUD-67554](https://jira.atlassian.com/browse/CONFCLOUD-67554) *Resize image by pixel on the new editor*

You may also find some discussion in the comments concerning this and some other features in the discussions our Confluence Cloud team raised:

* ++*[Changes to Confluence Editor release](https://community.atlassian.com/t5/Confluence-discussions/Changes-to-Confluence-Editor-release/td-p/1031058)*++
* [++*The new editing experience: we're* *listening*++](https://community.atlassian.com/t5/Confluence-discussions/The-new-editing-experience-we-re-listening/td-p/1044540)

I hope this helps, but let me know if you have any questions or concerns.

Take care,

Shannon


Tags: cloud

confluence-cloud

editor

image
Disabling mobile version plugin also disables the in-app notifications
Asked by Dmitriy Ivannikov:

Hello!

We have faced such a problem on our Confluence Server 7.11.1.

When we disable the **system** mobile plugin (Confluence Mobile Web Plugin), so in-app notifications are also turning off (because of **Workbox - Host Plugin** is disabled when I turn off the mobile view) (I don't know why).

It seems they are tied to each other. But we need notifications and do not need the mobile version.

What can be done in this case?


Answers:
author: Dmitriy Ivannikov
body: A workaround that may help somebody:

1. Navigate to Manage Apps.
2. Filter apps by using the "**System**" criterion
3. Make sure that the **Confluence Web Mobile Plugin** and **Workbox - Host Plugin** are both enabled.
4. Open the **Confluence Web Mobile Plugin** and disable the modules included in it.
   * I disabled all modules containing "mobile" in the module name.


Tags: confluence-server

server
US DOD -- How do you setup confluence with security blocking browsers
Asked by charles hicks:

I am working on a Department of Defense network and system.

Even with HIPS temporarily disabled I cannot use a browser on the server. I get an IE enhanced security error. When I attempt to access confluence (installed but not setup) from my laptop using the URL http://servername:8090 I get an error that the server refused the connection. Any suggestions?


Answers:
author: Jakub S?awi?ski
body: Hi,

can you check on the server side if the application is running on the specified port? Moreover, do you have such port opened on the firewall?

Last but not least, are you able to connect to this port using for example telnet?

comments: author: charles hicks
body: network team says the port is open. I have installed Confluence according to instructions using the port 8090. Using telnet or SSH2 I also get the connection refused error


author: Jakub S?awi?ski
body: Are you able to verify using netstat or similar tool that the application is running on the specified port on the server?


author: Nic Brough -Adaptavist-
body: A refused connection often means the system isn't running on that url.

I would be very surprised to find a system running for a defence department over http - that's a plain text connection! I would very much expect it to be https, and probably with the port removed as well.

Are you sure you have the right url there?

comments: author: charles hicks
body: I tried https as well. the Atlassian documentation has the url http://localhost:8090


author: Nic Brough -Adaptavist-
body: Ok, but where is your system actually running? If you have not changed the defaults, then it should be on the url in the docs, but a refusal suggests a network block (which could be a firewall on your machine or even a browser setting), or that there is a service listening on that port but not serving anything.

I'd like to see the full error message, but the next thing to check is if Confluence is actually running and listening on that port.

I don't know how to check process ports on Windows, but "netstat" is used on Unix-like systems and you can search the output for 8090. May be easier to look for the process - in the process management, you'll see Confluence, Tomcat, Java (one or all!).

If it does appear to be running, then check the end of the application log \<confluence home\>/logs/atlassian-confluence.log , If that does not appear, or looks like Confluence has failed or is not currently running, the next place to look is the Tomcat log - \<confluence install\>/logs/catalina.out


Tags: new-to-confluence

server