youngmon/atlassian-qna huggingface dataset:
how do i find what macros are being used
Asked by Victor Prasad:

Hello,

How do I find what macros/plugins are used on what page?

I know you can do a search-\>macroName: navi\* -\>brings up pages with Navitabs.

macroName: \* brings up nothing

macorName: copy\* brings up all plugins with copy in the, but not the plugin name

Anything else and end user can do - or we db query?

Thanks,

V


Answers:
author: Davin Studer
body: Version 5.10 has a feature buil-in for this in Confluence admi, but if you are on an earlier version I have a user macro that I created for doing this. The below link has the code for it.

<http://iamdav.in/2015/01/06/confluence-macro-usage-report/>


author: Victor Prasad
body: Very cool!!!

Thanks!!!!


Tags: confluence-administration
How to make Pagetree macro centered
Asked by Melanie Albrecht:

On my title page, I want the following items to be centered: the heading, some text, a Livesearch macro, and a Pagetree macro.

When I display the page, it's all centred nicely, for a split second. Then, the Pagetree macro jumps to the left. The rest of the content stays centered.

I've tried these ways of forcing centering via editing the wiki markup:

* **\<div align="center"\> \</div\>** around all of the content
* **style="text-align: center;"** in each element
* Both the **div** and the **style**

None works. Any advice?  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-make-Pagetree-macro-centered/qaq-p/17197?attachment-id=7177){#link_1186c0aeb52f22}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/2820/1/image2016-6-16%209%3A6%3A46.png){#display_1186c0aeb52f22_0}


Answers:
author: Milo Test
body: You can do it with the Div macro:

Put the Page Tree macro in the body and add

```
margin-left: auto; margin-right: auto; width: 18em
```

to the Styles field. You can play with the *n*em amount to control line wrap.

comments: author: Melanie Albrecht
body: Thanks Milo

Unfortunately the Confluence administrator won't let us use the HTML macro, which I think would let me use the Div macro.


author: Milo Test
body: The Div macro is its own thing, is pre-installed and turned on by default in both Cloud and Server, and has nothing to do with the HTML macro.


author: Steven F Behnke
body: It is not pre-installed in server actually. It's part of Adaptavist Content Formatting Macro's I believe.

That happens to be currently pre-installed in Cloud however.


author: Melanie Albrecht
body: Thanks Steven - that must be why I don't see it.

In addition, I wonder if it actually would work, given what you said about the Pagetree macro including a block element.


author: Milo Test
body: I stand corrected (the Content Formatting Macros are just so useful). Regardless, I actually tried it before I posted the answer to make sure it worked:

image2016-6-16 9:6:46.png


author: Steven F Behnke
body: Sweet! Yeah, that must override the nature of the block div by forcing margins and width.

Melanie, the content formatting macros are Free/Paid. The Div/Style macros are included under the FREE macros. Just a thought!


author: Kelley Cooper
body: Thanks, Milo! This worked great for me on the server 5.8 version...and I used it with the pagetreesearch macro.


author: Steven F Behnke
body: The plugin is wrapped in a DIV which is a block element. It occupies the entire space given to it and thus cannot just be "justified."

I don't really see an easy way to change that behavior.


Tags: confluence-administration
Confluence: "Something's gone wrong" error, no favorites shown
Asked by wlannistamps:

Confluence began throwing a "Something's gone wrong" error every time I log in. I noticed my favorites are no longer available or displayed; instead I have to click into the list of spaces and find the sites I wish to edit in. Within that interface, those pages are marked as favorites, they just no longer show on the home page.

confluence-not-showing-favorites-something-wrong.png

I've cleared cookies, logged in and out. Regardless, every time i get that 'something's gone wrong' error.

I'm seeing a GET 500 error in the console with batch.js, as well as other errors. I'm attaching screengrabs.

[](https://community.atlassian.com/t5/Confluence-questions/Confluence-quot-Something-s-gone-wrong-quot-error-no-favorites/qaq-p/395981?attachment-id=732){#link_1186c100b4c903}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67046/1/confluence-not-showing-favorites-console-500.png){#display_1186c100b4c903_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Confluence-quot-Something-s-gone-wrong-quot-error-no-favorites/qaq-p/395981?attachment-id=733){#link_1186c100b4c903_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67046/2/confluence-not-showing-favorites-console.png){#display_1186c100b4c903_2}  
[](https://community.atlassian.com/t5/Confluence-questions/Confluence-quot-Something-s-gone-wrong-quot-error-no-favorites/qaq-p/395981?attachment-id=734){#link_1186c100b4c903_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67046/3/confluence-not-showing-favorites-something-wrong.png){#display_1186c100b4c903_4}


Answers:
author: Robert Massaioli _Atlassian_
body: I created a ticket for you at support.atlassian.net. It references this Atlassian Answers question so please keep it around so that the support engineer can see what is going on. Cheers.


author: Michelle M. Montoya-Mendoza
body: We have recently gone to the cloud version for confluence and recently have been receiving the "something's gone wrong" error. Is it best to contact support.atlassian.net still?

comments: author: wlannistamps
body: 3m -- they resolved the issue for me, so I'd say yes. :)


author: wlannistamps
body: @Robert Massaioli -- thank you once again for opening that for me. I really really appreciate it!!!


author: Robert Massaioli _Atlassian_
body: Atlassian Support has marked this as closed. I'm glad it's working for you again. :smile:


author: wlannistamps
body: @Robert Massaioli thank you very much!


author: wlannistamps
body: I can't. They require an SEN number, which is under tight control by our admin. I'm just a user, and there's no option that I can find for getting support for the peons like me.


author: Robert Massaioli _Atlassian_
body: You should contact Atlassian Support about this issue at support.atlassian.com.


Tags: cloud

confluence-cloud

favourite
expired plugin works
Asked by Vishal Kulshrestha:

Plugin shows as expires for an older date, but still says valid. Whats' the arrangement here?


Answers:
author: TomC
body: Plugins can expire and still 'work', at least for the time being. That is, the current version of the plugin can be 'valid' for the version of Confluence it is currently associated with.

Of course, when plugin licenses expire you are no longer entitled to upgrades or technical support for that plugin. So if you have an expired license plugin that works now, but then you upgrade Confluence and it breaks all or part of the plugin, you are stuck until you upgrade. If/when you decide to upgrade, you will be able to download and install a compatible version of the plugin.
upgrade confluence from 5.1 to 5.8
Asked by Angela Flanery:

- any major changes I should be aware of from the end user perspective?


Answers:
author: Davin Studer
body: I would check out the 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, and 5.8 upgrade notes. There have been lots of changes.

5.2  
<https://confluence.atlassian.com/doc/confluence-5-2-upgrade-notes-338365678.html>

[](https://confluence.atlassian.com/doc/confluence-5-2-upgrade-notes-338365678.html)5.3  
<https://confluence.atlassian.com/doc/confluence-5-3-upgrade-notes-389284515.html>

[](https://confluence.atlassian.com/doc/confluence-5-3-upgrade-notes-389284515.html)5.4  
<https://confluence.atlassian.com/doc/confluence-5-4-upgrade-notes-416055872.html>

[](https://confluence.atlassian.com/doc/confluence-5-4-upgrade-notes-416055872.html)5.5  
<https://confluence.atlassian.com/doc/confluence-5-5-upgrade-notes-435552950.html>

[](https://confluence.atlassian.com/doc/confluence-5-5-upgrade-notes-435552950.html)5.6  
<https://confluence.atlassian.com/doc/confluence-5-6-upgrade-notes-648381544.html>

[](https://confluence.atlassian.com/doc/confluence-5-6-upgrade-notes-648381544.html)5.7  
<https://confluence.atlassian.com/doc/confluence-5-7-upgrade-notes-692781383.html>

[](https://confluence.atlassian.com/doc/confluence-5-7-upgrade-notes-692781383.html)5.8  
<https://confluence.atlassian.com/doc/confluence-5-8-upgrade-notes-744325378.html>
Pass parameters between pages
Asked by ericjeedunn:

Want to do basically add programatic logic to pages, based on passing parameters.

Say page 1 has a link to page to like http://.....page2?custom_param=value

Page 2 I want to get that parameter, and display only parts of the page that I want (basically hacking the macros include page and include excerpt to be more powerful). Would involve getting the parameter, and being able to do conditional logic as well.

Anyone know how? Seems like there were some questions asked in the forum but no answers.

If not, is there a way to write a custom macro to do parameter retrieval, and conditional display logic?


Answers:
author: Robert Massaioli _Atlassian_
body: Are you writing an Atlassian Connect add-on? If so can you be more explicit in what you are trying to do?


author: Davin Studer
body: Since you are on Confluence Cloud there is not much you can do. With the server version you could do this easily with a user macro.

comments: author: ericjeedunn
body: How would you do it as a macro? Do you have sample code? What about conditional logic, if x then display y?

Thx so much!!


author: Davin Studer
body: Are you indeed using confluence cloud? If so you cannot do what you are asking. If you have the server version it is possible, but the cloud version is locked down.


author: Mike Desilets
body: Davin - I am using Confluence Server and would be interested in a code example for how to do this in a User Macro.


author: Davin Studer
body: Sure, here is an example of a user macro I created that when the macro is put on a page and the url ends with **?frameable=true** then the page will be displayed without all the Confluence navigation and will only show the content of the page. The key part is on line 5 where it checks the URL querystring for the parameter "frameable".

```
## Developed by: Davin Studer## Date created: 04/02/2015## @noparams#if($req.getParameter('frameable') == "true")    #set ($p = '#')    <style>        ${p}header, ${p}footer, .ia-splitter .ia-splitter-left, ${p}labels-section, ${p}comments-section, ${p}sidebar-container, ${p}main-header, ${p}content .page-metadata {display: none !important;}        ${p}main {margin-left: 0 !important; border: 0 !important; padding: 0 !important;}        html, body, ${p}full-height-container .ia-splitter, ${p}main, ${p}content, ${p}main-content {height: 100% !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important;}        body {background: ${p}FFFFFF !important;}        ${p}main-content {padding: 0px 10px 0px 10px !important;}    </style>#end
```

If you wanted the pass a varible into a user macro through the querystring you could do this. You now have a variable called $myVar that can be used in your user macro.

```
#set $myVar = $req.getParameter('parameter')
```


Tags: cloud

confluence-cloud
Upgrade confluence from 2.10 to 5.9.5
Asked by Naman Mandli:

We have the requirement of upgrading our confluence from version 2.10 to 5.9.5

What are the steps that we have to follow?


Answers:
author: Nick Reilingh
body: Follow the instructions here:

<https://confluence.atlassian.com/doc/upgrading-confluence-4578.html>

comments: author: Davin Studer
body: And for the sake of the children make sure to upgrade a copy of your system first to test it out first. There are bound to be issues going from such and old version to one of the most recent.


Tags: confluence-administration
Can I subscribe users to descendant notifications ?
Asked by David:

As it is currently not possible to subscribe users to watch a space, I was wondering if you could subscribe users to desendant notifications instead ?


Answers:
author: Brant Gurganus
body: For older version of Confluence, there is a free Descendant Notification plugin from Adaptavist. For later versions, it is a paid plugin called Enterprise Notification.


Tags: confluence-administration
Recommendations for content management tools
Asked by joanna ransome-wallis:

My organisation has a requirement for a plugin that will help to manage the content within our Confluence space and we can't find one that meets what we need:

* An authorisation flow for new pages that prevents pages being seen until they have gone through a verification check
* Automated alert (by email or when logging onto confluence) to page creator/authoriser for page to be reviewed, based upon a set of criteria (at a status/review timescale)

Is there anything out there that can do what we need?

Many thanks


Answers:
author: Nicolas Bourdages
body: It sounds a lot like this: <https://marketplace.atlassian.com/plugins/com.comalatech.workflow/server/overview>

I don't think it notifies reviewers, but there seems to be a report listing pages by status. I say give it a try.
Remove page in Sidebar
Asked by Raimon Gonzales:

Is it possible to hide/show pages in the Sidebar? I know about Reorder pages but I don't know if's possible to further customize the Sidebar by creating a left nav that suits our needs?

Or it's really meant to show all pages created in the space?


Answers:
author: Milo Test
body: There's no selection option to hide a page, but you can accomplish it by merely moving the page above the home page in the Reorder Pages tab of the Space Tools.


Tags: confluence-administration
How to paste a table in Confluence?
Asked by greg_barker_veeva:

If I copy and paste the following in a JIRA comment, it shows up as a table:

```
||test header|||test row|
```

If I copy and paste the above into a Confluence page, it doesn't do the table formatting. How come?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: This is wiki markup notation which is now removed in Confluence. JIRA still uses it.

If you want to copy paste the wiki markup from JIRA to Confluence, try this option:
> Insert a block of wiki markup into the Confluence editor. (Choose **Insert** \> **Wiki Markup**.)

See <https://confluence.atlassian.com/conf53/confluence-wiki-markup-for-macros-411108835.html> for more details.

comments: author: greg_barker_veeva
body: Thanks Jobin! That worked great =)


author: Philip Colmer
body: I can't find Insert \> Wiki Markup. Has it been removed from recent versions of Confluence?


author: Jobin Kuruvilla [Adaptavist]
body: I think it is "Insert \> Markup" now.


author: Philip Colmer
body: Thank you, @Jobin Kuruvilla \[Go2Group\]!
Import a Confluence Space ReferralLink#54887198 issue
Asked by Ioana Petrescu:

*This question is in reference to Atlassian Documentation: [Atlassian Cloud Bug Fixing Policy](https://confluence.atlassian.com/pages/viewpage.action?pageId=206865884)*

Hy,

I have created a copy of a space in Confluence and modify the xml to change the key so that i can reimport the space back in. (like a copy-paste).

After i hit import of the space to get it back in after the change of key, i get this error:

Import failed. Check your server logs for more information. com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: could not insert: \[com.atlassian.confluence.links.ReferralLink#54887198\]

<br />

Could someone please explain what this issue is about?

<br />

Thank you so much,

Ioana


Answers:
author: Nic Brough -Adaptavist-
body: Your simple "search and replace" has missed some of the places that it needed to change. From the error, I'd suspect it's a "trackback" type link from another system that is linking to yourconfluence/display/\<space\>/\<pagename\>

comments: author: Ioana Petrescu
body: Hy Nic,

So i did that...and now it says that i already have a space with that Key, when in reality i don't.

I know i have created one at a point and then deleted it and i double checked i have no space with that Key.

Since the server is actually a cloud on Atlassian side I assume someone on Confluence needs to check this out?

Thank you,

Ioana


author: Ioana Petrescu
body: I just changed it to something different - i simply can;t afford the time to wait anymore and now i get a different error in the import process:

Import failed. Check your server logs for more information. com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: com.atlassian.confluence.search.service.ContentTypeEnum cannot be cast to java.lang.String

<br />

Any idea about this one?


author: Nic Brough -Adaptavist-
body: The "already have a space" error means either what it said, or that you have a space you can't see with that key, or possibly, that you had a space with that key and have deleted it at some point.

The enum error is unrelated, and means you have broken data in the exports - possibly a macro that you have used in the source, but is not available on the target.


Tags: atlassian-support

cloud

confluence-cloud

documentation
Does Jira Burndown Charts embedded in Confluence slow your performance?
Asked by Caanan Bush:

My group is experiencing long load times with confluence. I am wondering if this is because of the Embedded JIRA Burndown charts within the page. Has anyone experienced this?


Answers:
author: Steven F Behnke
body: Pages with embedded content can take longer as they query JIRA for the up-to-date information when the page is rendered.

Are you experiencing slowness with just the page in question or are you experiencing slowness in general?

comments: author: Caanan Bush
body: We are experiencing slowness with a few pages that have multiple burndown charts embedded. Is there any software / configuration way of speeding up the link between the two?


author: Steven F Behnke
body: Please answer, are you using Atlassian Cloud or are you using self-hosted Atlassian products.


author: Caanan Bush
body: Steven,

We are Self Hosted on Prem


author: Steven F Behnke
body: Bob Swift has a supported add-on that would help here -- <https://marketplace.atlassian.com/plugins/org.swift.confluence.cache/server/overview>. This delays the rendering of the specific objects until the rest of the page has loaded. I am not sure if we can add this ourselves without buying a plugin though.

Again, this is an issue because it is pulling all the data from the JIRA application. I cannot comment on your server performance without looking at your application or network configuration. Perhaps you could talk to your admins.


author: Steven F Behnke
body: I've seen really slow responses when the onpremise server was starved for disk space or memory, or the CPU wasn't large enough. That could also be affecting us, just a word to the wise. It's just like any application server, it needs the resources to run what we're doing.
can you copy and paste an excel document for people to update
Asked by Jennifer Jackson:


Answers:
author: Andrea Carl
body: Use the "edit in office" functionality. Select the "insert files and images" button in the edit menu.

FYI, you must have a compatable browser to use "edit in office." (Chrome is incompatbile, for example)


author: Steven F Behnke
body: Can you clarify? What sort of excel document is this and how should people interact with it?
How do I allow included content to display for specific groups?
Asked by Jeff Scattini:

I have a group of users who can only see a subset of the content within my wiki. However, the content is being pulled from the rest of the wiki.

For content reuse, I've created a new space for this group and have used the Include, Excerpt, and Multi-excerpt macros to display the content.

I've set the space permissions so that the subset group only has permission to view their unique space with the included content and they cannot view content in the rest of the wiki. However, in order for the group to view the included content, they must have permission to view the source space. If they have permission to view the source space, they can then see all of the content that we wanted to hide from them in the first place.

All groups must be behind a username/password authentication. We do not allow anonymous access.

I've been looking at using the Visibility macro to modify individual chunks of content within an included page (links and the like) but it doesn't seem like I can use it to specify entire pages from restricted spaces, can I?


Answers:
author: Davin Studer
body: You could create a third space that both spaces will pull from. Or if you are ok with the non-locked down users being able to see the locked down space you could house the content in the locked down space and include it into the non locked down space.


author: Milo Test
body: The trick is to allow everyone to view the space, while locking down the individual pages to only those that need to see that information.

It might require the breaking up of pages with multiple excerpts.

comments: author: Jeff Scattini
body: I was afraid of that.

In my mind, I have this beautiful image of content from multiple, locked down spaces flowing into a single repository that my specialized group can see and all other content is wiped from their experience.

However, I have a feeling I'll need to do it backwards and hold the needed content in the group space and then reference that from the other, restricted (and more used) spaces.

Thanks for the answer!


Tags: confluence-administration