youngmon/atlassian-qna huggingface dataset:
Unable to render Confluence macros nested inside a dynamic macro, any help?
Asked by Melek Jebnoun_Vectors_:

Hello

As a marketplace editor, we are currently developing the Cloud version of our Server Apps but we are facing a huge blocker.  
Our Apps are based on dynamic Macros that render their body. They just organize content into tabs and render what has been added into the body as it's. Still when we include Confluence macros (info, page properties) or tables, it's not rendered properly or it doesn't work at all.  
The styles and JS are not loaded in the iFrame.  
This is a real struggle especially that we included the css and js specified in the documentation but we can't make it work and it block the release on the marketplace and make our customer unhappy.  
Any one has faced this issue previously?

Many thanks


Answers:
author: Melek Jebnoun_Vectors_
body: Many thanks all.

Now this is fixed but Atlassian deprecated support for nested macros so our model don't work any more :)

We need to rebuild the app from scratch to fulfill the new editor structure.

Many thanks anyway


author: Yuri Kleshchenok
body: Hello Melek,

Here is a [manual](https://ecosystem.atlassian.net/wiki/spaces/CONF/pages/293994679/Rendering+Confluence+content+using+the+content+rest+API)(u can get resources after [rendering](https://developer.atlassian.com/cloud/confluence/rest/#api-contentbody-convert-to-post) **storage** to **styled_view**) what we are using for one of our app.

comments: author: Melek Jebnoun_Vectors_
body: Hello Yuri

Many thanks for your reply.

Just to make sure we are on the good way. When we render the storage to styled_view for the page we get the head tag with all the resources.

Are those resources the one we need to use and load based on the link you shared with us?

Many thanks


author: Yuri Kleshchenok
body: Correct.

Example request(u can convert to "view" too):

"/rest/api/contentbody/convert/view?expand=webresource.uris.js,webresource.uris.css,webresource.superbatch.uris.js,webresource.superbatch.uris.css";

there will be resource urls(not a head tag) in response.


Tags: cloud

confluence-cloud

macro
Interactive document review page.
Asked by Seyi:

I've attached some Word Docs on a wiki/confluence page for review by multiple parties. I will like add an interactive review window pane to the page below each attachement. Or perhap can you suggest how best to include a review section visible to all parties.


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Seyi](/t5/user/viewprofilepage/user-id/2861990) ,

You can do one of the following:

* Use [Comala Workflows](https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-workflows-approval) for a customized review process. For additional info, refer [this](https://wiki.comalatech.com/display/CW/Comala+Workflows+Documentation+Home) page.
* Use [comments](https://confluence.atlassian.com/conf612/comment-on-pages-and-blog-posts-958777939.html) capability - Both inline and comments at the bottom of a page.
* Also, probably not most efficient for review but, can be one of the options - the reviewers or product/feature owners can 'watch' the page to what changes are being made and track the progress and/or make necessary edits.

Please let me know, if you are looking for something beyond this.

Thanks

Sireesha

comments: author: Seyi
body: Thanks Sireesha for the prompt reply. What i'm trying to achieve is have a document ++attached++ ( not written directly into confluence) and be able to have an interactive form to track the reviews.

Kind regards,

Seyi


author: Irina_Bel_Stiltsoft_
body: Hi [@Seyi](/t5/user/viewprofilepage/user-id/2861990) ,

If it's still relevant for you, I would love to share [a recent case study](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=datacenter&tab=overview&utm_source=atlassian&utm_medium=community_tickets&utm_campaign=talk-traffic-sources) on how to enrich a review workflow with Comala using Talk Advanced Inline comments. I hope it will come in handy.


author: Betsy Walker {Appfire}
body: If you just want to present a list of the attachments in order to save the user from having to go to the Attachments page to see them, then you can use the [Attachments macro](https://confluence.atlassian.com/doc/attachments-macro-97911315.html) that comes natively with Confluence.

For a third party option (as a paid app), you could use the [Advanced Tables for Confluence app](https://marketplace.atlassian.com/apps/197/advanced-tables-for-confluence) (available for Cloud and Server), which includes an Attachment Table macro. This macro will provide a list of attachments and a customizable display of metadata about the attachments, as well as a thumbnail image of the attachments.


Tags: confluence-server

server
Will flushing the Cache in Confluence affect Usage?
Asked by Shirley He:

Hello,

To fix an issue we are having in Confluence, we need to flush the Content Objects cache. I haven't done this before and was wondering if flushing it will cause any problems in Confluence and/or to the users currently using it. Will it erase any drafts that users are working on?

Regards,

Shirley


Answers:
author: Victor Mutambuki
body: Shirley,

If the cache is large, you'll need more memory to run. See links for more info.

<https://confluence.atlassian.com/doc/cache-performance-tuning-169119133.html>

<https://confluence.atlassian.com/doc/cache-statistics-150472.html>

Victor

comments: author: Shirley He
body: Hi Victor,

Thanks for your quick reply. We are not having a problem with cache sizes. We need to flush the cache to fix a space import problem. So my question is, can I flush the cache without affecting the performance of the instance?

Regards,

Shirley


author: Victor Mutambuki
body: Shirley,

It might. I'd advice to perform the flush when users are at minimal. For example, after work.

Victor


author: Shirley He
body: Thanks for the help, Victor :)


Tags: cache

confluence-server

server
Embedding fullsize InVision prototype
Asked by Darren Yates:

How can this be done?

iFrames dont seem to work anymore.


Answers:
author: Shannon S
body: Darren,

Can you confirm, are you using the [iFrame macro](https://confluence.atlassian.com/confcloud/iframe-macro-950276528.html), or trying to use the HTML macro?

I'm not familiar with the InVision prototype requirements but I've tested the iFrame macro before on Cloud and was able to include a page that way.

Regards,

Shannon

comments: author: Darren Yates
body: Thanks for your response.

It turns out that InVision had a problem - now fixed.

Thanks again!


author: Shannon S
body: Darren,

No worries, glad you were able to get it sorted out.

Take care,

Shannon


Tags: cloud

confluence-cloud

invision
Is it possible to restrict a search search box to multiple spaces without a dropdown?
Asked by Collin Raven:

Seach Box macro seems to support multiple spaces but you always have to select between them or do multiple spaces. I would like a way of searching several spaces simultaneously


Answers:
author: Shannon S
body: Hi Collin,

It's not possible to restrict to multiple spaces within a macro, neither the Search Results macro or the LiveSearch macro. There are feature requests for this below:

* [CONFSERVER-37239](https://jira.atlassian.com/browse/CONFSERVER-37239) *LiveSearch Macro Should Allow Search in Multiple Spaces*
* [CONFSERVER-57685](https://jira.atlassian.com/browse/CONFSERVER-57685)*Improve the Search Result Macro filter to search content within multiple Space*

I'm not very familiar with these, but there are some [additional add-ons in Marketplace](https://marketplace.atlassian.com/search?product=confluence&query=search%20confluence) that can help with Confluence search. Perhaps one will be able to help you accomplish this.

Regards,

Shannon


author: Victor Mutambuki
body: Collin,

Have you tried the [search results macro](https://confluence.atlassian.com/doc/search-results-macro-139511.html).?

Victor
Login user in Confluence from external site
Asked by Dinu-Iulian Popovici:

Hi.

We have a Confluence installation (cloud version) where we have a couple of private spaces (3 groups). Let's take the following example: Admin, Manager, User (group). Depending on your user level you can see spaces/pages or not.

We have a website where users can be either an admin, manager or user. I'd like to redirect my users to the Confluence space depending on their permissions.

What I had in mind: Create 3 confluence users (one for every group, example: admin@mywebsite.com) with a random password. But I'd like to open Confluence in an iframe (or new page) and automatically log them in depending on their role in my website.

Example: If i'm an admin on my website I want to open the Confluence space for admins. I looked at the REST API, but that retrieves content and I wouldn't want to build a custom solution on my website to show the content.

Any ideas on how this could be achieved?


Answers:
author: Stephen Sifers
body: Hello Iulian,

If you're wanting users to access your website then be directed to Confluence and auto login then it sounds like you're wanting to use Confluence SAML authentication. You could also utilize the Confluence REST API to precheck if a user is a member of any group and then redirect them accordingly.

For more information on the SAML piece, please see [SAML single sign-on](https://confluence.atlassian.com/cloud/saml-single-sign-on-943953302.html).

For the REST API aspect, the endpoint I would suggest using would be [GET /wiki/rest/api/user/memberof](https://developer.atlassian.com/cloud/confluence/rest/#api-user-memberof-get).

I hope this provides some guidance on how to authenticate to Confluence and redirect based on user group membership.

Regards,  
Stephen Sifers


Tags: atl-adm

cloud

confluence-cloud
Email Notification doesn't work after changing email server
Asked by Tino Grasshof:

Hi all,

after the email server was changed for confluence users' emails the email notification doesn't work anymore. We are using the confluence cloud. In the ? menu item About Confluence the version Confluence 1000.0.0 is displayed.

Is there a Email SMTP configuration that must be reset?

Could anyone give a hint?

Thanks in advanced.

Regards

A. K?nig


Answers:
author: Shannon S
body: A. K?nig,

Confluence Cloud does not have any email configuration you can change. Can you let me know exactly what you modified?

See [Functional differences in Confluence Cloud](https://confluence.atlassian.com/confcloud/functional-differences-in-confluence-cloud-734070955.html):
> Atlassian Cloud comes with an internal SMTP server configured to send notifications. The internal SMTP server is not configurable, but you can configure Jira Cloud to send emails on behalf of your domain.
>
> For more information on how to use a custom 'Project Email Address' with your domain, refer to [Configuring Jira Cloud to send emails on behalf of your domain](https://confluence.atlassian.com/adminjiracloud/configuring-jira-cloud-to-send-emails-on-behalf-of-your-domain-900996548.html).

Regards,

Shannon


Tags: cloud

confluence-cloud
How come we see a user profile in the "Watch a few spaces" selection during the introduction tour?
Asked by Christiaan Neijens:

After we created a new Confluence account and the new user logs in, he/she see's the "Watch a few spaces" selection during the introdution tour.

To our suprise they see a user profile as the second choice.

As a result this user profile, which has no real importance in confluence, has many many followers/watchers.

This is strange to us and we would like to remove this user profile and only show the publicly accessible spaces that are already displayed. How can we do this?

thanks

![watchers.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/48534i4336041DA99C3EF3/image-size/large?v=v2&px=999 "watchers.jpg")


Answers:
author: Shannon S
body: Christiaan,

This is based on popularity, and since so many users are watching the personal space because it's being recommended to them, I'm sure that doesn't help with the issue.

I made a feature request for this, if you could please vote on it and provide your feedback:

* [CONFSERVER-58032](https://jira.atlassian.com/browse/CONFSERVER-58032) *Prevent "Watch a few spaces" dialogue from suggesting personal spaces*

In addition, I made this feature request a while back, that you might be interested in:

* [CONFSERVER-39818](https://jira.atlassian.com/browse/CONFSERVER-39818) *As an admin, choose list of spaces on Watch a Few Spaces...*

Feel free to vote on this one as well if it interests you.

Thank you, and take care,

Shannon


author: Christiaan Neijens
body: Thank you Shannon. I'll vote for the feature request.


Tags: confluence-server

server
When I try to create a new template, the older style editor opens.
Asked by Takayuki Wakimura:

When I tried to create a new template, only the older style editor will open.

Just select

Space settings -\> Contents Tool -\> New Template

and appears old style editor instead of the latest editor. Only when I create a page from 'New blank', the latest editor is available.

Any ideas?

Thank you!


Answers:
author: Shannon S
body: Hello Takayuki,

It appears that the new editor hasn't been rolled out yet to templates.

My recommendation would be to reach out to the [Cloud Support Team](http://support.atlassian.com/contact#), provide them your instance URL, and they can see about enabling that for you.

Regards,

Shannon

comments: author: Takayuki Wakimura
body: Hi Shannon,

Thank you for your kind suggestion!

I got a service ticket.

Best Regards,

Takayuki


author: Albert Marashi
body: This is a must


Tags: confluence-cloud
Link a JIRA (v7.3) server with a Cloud Confluence ?
Asked by Nicolas MATELOT:

Hello

<br />

Is it technically possible to link a **JIRA (v7.3) server** with a **Cloud Confluence**?

if yes, where is the documentation?

Thanks for your help

Nicolas


Answers:
author: Prakhar Srivastav {Appfire}
body: [@Nicolas MATELOT](/t5/user/viewprofilepage/user-id/2849301)

Server and cloud App can be linked together.

Here is the documentation for the same :

<https://confluence.atlassian.com/confeval/other-atlassian-evaluator-resources/linking-server-and-cloud-apps-authentication>

Regards

Prakhar


Tags: confluence-cloud

jira-server
How can I reuse the latest version editor in Confluence
Asked by davincism:

I used to use the latest version. But My editor reverted to the old version. How can I reuse?


Answers:
author: Nic Brough -Adaptavist-
body: I think you might be seeing the effects of <https://community.atlassian.com/t5/Confluence-discussions/Changes-to-Confluence-Editor-release/m-p/1031058>


Tags: cloud

confluence-cloud
Processing for multipart/form data request failed. No space left on disk.
Asked by anshu02:

While trying to add new diagram, template in gliffy i am gettig this error.

Any suggestion how i can fix this ?


Answers:
author: Steven F Behnke
body: Hello, are you the server administrator? It sounds like the application server is having issues.

comments: author: anshu02
body: Hi Steven,

Yes i am Jira admin, can you help me with the steps to fix these.


author: Steven F Behnke
body: Well, the first thing you need to do is log onto the server and check the disk space. What type of server is this, linux or windows?


author: anshu02
body: It is a linux server, i have tried to check the disk space by going to /var/atlassian/application-data/confluence/attachments and i found that there is enough space on disk.

Please let me know if there is any other way to check disk space.


author: Steven F Behnke
body: Would you be sure to check using a command like

```
df -h
```

And make sure that there is not a full disk?


author: anshu02
body: I ran the command and it gives me this output,

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


author: anshu02
body: I can see /opt/atlassian is 100% used, do you think this might be causing the issue ?


author: Steven F Behnke
body: Yes, that very much will cause issues. The /opt/atlassian directory is commonly used for the Installation Directory. If this is full, Confluence may not work correctly or at all -- This is critical!

A good way to think about the directories is like so:

* /opt/atlassian -- Tomcat runs the Confluence application code from here and serves up webpages
* /var/atlassian -- Confluence stores configurations, temp files, attachments, and other stuff here

Commonly, within /opt/atlassian/confluence/.../logs, files can grow overtime. It's possible that the log files in here are too large. You should also check temp directories.


author: anshu02
body: Thanks Steven, Your answers helped me to get lot of details, I have checked logs and found that we have log files of past 6 months and as you mentioned they have are consuming lot of space.


author: Steven F Behnke
body: Glad I could help. Good luck!


author: anshu02
body: Hi Steven,

Just a quick question, I have deleted the old logs but still disk space is 97% occupied, can you let me know what are other files which i can check and delete.


author: Steven F Behnke
body: try running something that will print the size of the directories. depending on what operating system you're using, it could be something like du --

<https://linux.die.net/man/1/du>

```
cd /opt/atlassian/
du -h --max-depth=2 | sort -nr
```


Tags: confluence-server

gliffy

server

space
Editing Meeting Notes
Asked by Thanassis A:

Hi all,

Apologies if this has been covered umpteen times, I promised I searched! :)

I created a page with a long list of discussion items for my Team (over 200 line items, from over the last couple of years).

We've managed to close off the majority, however there is still a number of open items.

Filters are in place to segregate the workload, however we're finding it difficult when editing the site.

Editing enables a full dump of what has been entered to date - is there a way to filter only 'open' items when editing the page?

Appreciate your help with this.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Thanassis A](/t5/user/viewprofilepage/user-id/2453457)

So you have one page, with table of 200 rows. Some of these rows are issues/tasks/items which are completed by you. And you wish somehow when editing the page, only the "open" items to appear?


Tags: cloud

confluence-cloud
Search and Replace Text
Asked by Charisma Riley:

Is it possible to do a Find and Replace within a page? I can't seem to find the tool in the editor. (I am not using the new Fabric Editor.)


Answers:
author: Dominic Lagger
body: Hi [@Charisma Riley](/t5/user/viewprofilepage/user-id/1901166)

When you are in the edit mode, just press CTRL-F. A new headerbar display and you can search and replace within confluence.

comments: author: Charisma Riley
body: [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600) , when I press CTRL+F, the browser find feature opens; nothing opens in the native Confluence Cloud editor.


author: Simon BAYNES
body: Hi there, it sounds like you're not in Edit mode, like Dominic says, enter Edit mode and then CTRL-F should display the Search and Replace menu bar directly below the editing tool bar.

![S&R_menu_bar.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/51267i80BAF15128AD0205/image-size/large?v=v2&px=999 "S&R_menu_bar.PNG")HTH

Simon


author: Stavros_Rougas_EasyApps
body: I used to make changes page by page, but inevitably I missed something. For example our docs space, at times small changes that are in a bunch of places.

We wanted something easy to use, no scripts or CQL, so anyone can use it. We created[Find and Replace by Easy Apps,](https://marketplace.atlassian.com/apps/1231783/find-and-replace-by-easy-apps?hosting=cloud&tab=overview) it's also part of our [Space Content Manager](https://marketplace.atlassian.com/apps/1226657/?tab=overview&hosting=cloud).


author: Jessie Wang_ScriptRunner_The Adaptavist Group
body: Hi there, if you ever need to find a replace text across an entire space rather than just a page, you can try [ScriptRunner for Confluence Cloud.](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?tab=overview&hosting=cloud)

There's a script you can copy and paste into the [Script Console](https://docs.adaptavist.com/sr4cc/latest/features/script-console) and run. It will find and replace text across all the pages in your space. It is available here: <https://library.adaptavist.com/entity/find-and-replace-text-across-space>

If you want to try ScriptRunner you can get a [30 day free trial](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?tab=overview&hosting=cloud) in the Marketplace.


Tags: cloud

confluence-cloud
Confluence Data Center REST API with SAML Auth
Asked by Doug:

We're currently looking into upgrading to Confluence Data Center to get SAML auth so we can use our SSO provider for 2FA. One area of concern is how the REST API may be impacted since we have automated processes using service accounts to access the app. Can anyone confirm if the REST API still functions behind SAML auth?

The docs make no mention of an oauth endpoint like JIRA offers. Also came across [CONFSERVER-54412](https://jira.atlassian.com/browse/CONFSERVER-54412) which states it's a known issue, but no ETA when or if it'll be implemented.


Answers:
author: Daniel Eads
body: Hey Doug,

The REST API **will** still function just fine behind SAML without having to add OAuth or other measures to your calls. Basic auth on the API URLs will bypass SAML.

We do have this documented on the configuration page (see screenshot) but you're right that this isn't obvious from the documentation online, and that is different from Jira! Here's the SAML configuration page within Confluence Data Center:

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

Thank you for pointing this out so we can clear up the confusion. And you should be good to go with your existing API calls once you make the jump to Data Center.

Cheers,  
Daniel \| Atlassian Support


author: Christian Reichert (resolution)
body: Hi Doug,

this may be too old now for you to benefit - however it may still be worth someone who stumbles across this topic.

The REST API continues to work like normal behind SAML. However, in many installations the problem is that the Users (especially if they are provisioned by a SAML Plugin) don't have any passwords anymore in the actual Atlassian Application.  
Or sometimes even if they still have, you may not want your Jira/Confluence accessible via a simple password if you go through the 2FA length on your IdP. A common solution to that, that many cloud services/applications implement are API Keys/Tokens/App specific passwords.

We have released a 3rd party App that implements the API Token Concept in Confluence \& Jira.

* [API Token Authentication for Jira](https://marketplace.atlassian.com/apps/1221586/api-token-authentication-for-jira?hosting=server)
* [API Token Authentication for Confluence](https://marketplace.atlassian.com/apps/1221608/api-token-authentication-for-confluence?hosting=server)

It's available for both Server \& Data-Center. It also has some additional security features (blocking normal basic auth, IP address restrictions, etc) that some people may find interesting.

Cheers,  
Chris

P.S. Full disclosure, I work for [resolution, a marketplace vendor.](https://marketplace.atlassian.com/vendors/1210947/resolution-reichert-network-solutions-gmbh)


Tags: atl-adm

confluence-server

data-center

rest-api

server