youngmon/atlassian-qna huggingface dataset:
Confluence links
Asked by MPal Pal:

I have a tricky situation and I really hope there is a simple solution to this.

Say I have space X.1. I have internal confluence links in my space. Later, I copy the entire space and reversion it as X.2 and then do little edits.

My problem is, when I click those internal links from space X.2, I get directed to the the old page in space X.1. Since there are hundreds of links in one space it is very cumbersome to change each and every link to direct to the new space version.

Is there any other solution for this issue please?


Answers:
author: Paul Curren
body: Hi there.

What version of Confluence are you seeing this problem?

Confluence 4.0.3 onwards should have all 'same space' links stored as 'relative' links. This means the links are missing a space key and therefore assume their destination pages to be within the same space. This means that your scenario of copying and renaming a space should work correctly.

([Associated issue](https://jira.atlassian.com/browse/CONF-23328).)


author: MPal Pal
body: Hi Paul, I have another tricky situation with links and I hope you can spread some light to it:

[https://answers.atlassian.com/questions/68659/interspace-links](/questions/68659/interspace-links)

Looking forward for your help :)

Thanks


author: MPal Pal
body: Thanks for the reply Paul. I am using Confluence 4.2.2 and this is all my bad. I recently upgraded and must have got confused. I checked again and as you said, the links work just fine. Confluence rocks!! :)

comments: author: Paul Curren
body: No worries. Glad you are a happy customer for now! :-)


Tags: internal

issue-link

link

space

version
error when using "Confluence Usage Tracking Plugin"
Asked by SherryX:

we used to have plugin "Confluence usage stats" (Confluence Usage Tracking Plugin) in confluence working OK, last week the unix server has problem and confluence was restarted, then users got the following error when use this plugin. Also UPM (Plugin manager) on Admin screen showed it in the list of User-Installed Plugins which I think this should be in the system plugins list. Anyone knows what went wrong? Thanks

-----error---------

org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/templates/usage/global-report.vm'  
at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.loadResource(ConfigurableResourceManager.java:400)  
at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(ConfigurableResourceManager.java:304)  
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400)


Answers:
author: SherryX
body: I fixed the problem. The usage folder was corrupted and create a new folder fixed it.

Hope this can help others with similar issue.


author: RianA
body: Hi Sherry,

Looks like it's related to customization interference. Could you please try to revert all themes, layouts to defaults and check? Could you please enable [Plugin Safe Mode](http://confluence.atlassian.com/display/DOC/Disabling+or+Enabling+a+Plugin#DisablingorEnablingaPlugin-Disabling%2FEnablingallUserInstalledPlugins%28SafeMode%29)? You can achieve this by navigating to *Confluence Admin \>\> Plugins \>\> Enable Safe mode.*

Cheers

comments: author: SherryX
body: Thank you for your information, I raised an issue to support team and looks like the index/plugin/usage folder is corrupted. I'm waiting for our server admin to have a look as I only have read permission to the folder. Thanks.


Tags: confluence-administration

confluence-app
Will an existing Confluence 4 page automatically use the best page layout if it has section / columns already?
Asked by Michael Roff:

For an existing page that uses sections and columns, is there a way for the page layout appropriate for the page to be selected automatically without having to edit each individual page and set the page layout type to be used?


Answers:
author: Michael Roff
body: From what I have seen, there are no assumptions made to convert a section macro into Atlassians column layout.

I probably prefer this option as no doubt regardless how good the assumption process, mistakes are bound to be made and therefore, I prefer to retain the section / column macros even though they are harder to work with.

Anyway, that's what I have seen through out my testing.


author: Rachel Dunlop
body: I would also like to know the answer as I just tested a page from an older version which had a fairly elaborate section/column setup. Initially it did not have any Layout at all and when I selected the most appropriate one (3 column) it just lumped all the page content into the first column, even though there were 3 distinct 'section' macros to simulate these columns. \>.\<


Tags: export

layout
When adding a space - we do not get the option to choose a theme.
Asked by Shreena Patel:

We are wanting to use the documentation theme but cannot choose the option when creating the space? See screenshot provided below.

We change the theme in the admin panel and select the checkbox to see the treelist but nothing happens.

![](../../upfiles/ConfluenceDocumentationThemeScreenshot_2.jpg)


Answers:
author: RianA
body: Hi Shreena,

Have you tried create a space again after the configuration? Is the issue still persist? Also, I suspect that you changed the theme from Global Level which is *Browse \>\> Confluence Admin* instead of from Space Level which is*Browse \>\> Space Admin.* Could you please double confirm on that?

Cheers, Josua


author: SarahA
body: Hallo Shreena

You're right in saying that we no longer get the option to add the documentation theme when creating the space. The "Add Space" screen has been simplified in the latest versions of Confluence. (See the Confluence 4.2.6 release notes: <https://confluence.atlassian.com/display/DOC/Confluence+4.2.6+Release+Notes>.) That explains the screenshot in your post.

But you should still be able to select the Documentation theme in the space admin section. (Go to a page in the space, and choose Browse \> Space Admin \> Themes. Then choose the Documentation theme. The "Page Tree" checkbox is selected by default for the theme.)

From what you write, it sounds as if you've selected the theme. The space should then show the left-hand panel and the Documentation theme styling. If it doesn't, perhaps there's some site-level configuration or CSS that's overriding the theme.

comments: author: Shreena Patel
body: "From what you write, it sounds as if you've selected the theme. The space should then show the left-hand panel and the Documentation theme styling. If it doesn't, perhaps there's some site-level configuration or CSS that's overriding the theme."

Yes we did apply the theme and no it does not show the left hand panel. This was installed fresh with no CSS. What configuration could stop it from showing?
How do I fix a space which shows a blank page restriction dialog box, even when I have administrator permissions on the space??
Asked by Bryan Guffey:

I have two spaces, both with the same configured permissions. I am a full confluence admin, and have full admin rights on both spaces. One space was created WAY before the other.

In the older space, when I go to configure restrictions on a page, the dialog pops up, but there are no controls to configure restrictions.

In the newer space, everything works fine.

Any suggestions?


Answers:
author: Oli S
body: You played around with the admin groups, renamed or smth else? This was the problem in our instance


author: RianA
body: Hi,

Most probably the issue due to some customizations or third party plugin. Could you please try revert your theme, layout, css, to default and check? Also, could you please enable [Plugin Safe Mode](http://confluence.atlassian.com/display/DOC/Disabling+or+Enabling+a+Plugin#DisablingorEnablingaPlugin-Disabling%2FEnablingallUserInstalledPlugins%28SafeMode%29)? You can achieve this by navigating to*Confluence Admin \>\> Plugins \>\> Enable Safe mode.*

Cheers, Josua


Tags: restriction

security
Page broken on confluence.atlassian.com
Asked by AbrahamA:

Well I am hoping this will generate some interest. (Look at broken text and images in the left hand side)

[https://confluence.atlassian.com/display/CONFEVAL/Wednesday+July+30,+2008](https://confluence.atlassian.com/display/CONFEVAL/Wednesday+July+30%2C+2008)

I am having similar issue when I upgraded confluence and did not find an answer. Now that I see it on confluence site itself, I am hoping someone will answer and suggest how to fix these kind of issues.

I am using firefox on windows7

Thanks

Abraham

![](../../upfiles/brokenpage.PNG)


Answers:
author: Mark Hrynczak
body: Hi Abraham,

The Lozenge macro is provided by the [Adaptavist Content Formatting Macros](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros) Plugin.

It looks broken on the linked page because the site is using an older verison of the plugin. To fix it, an upgrade is needed to a 4.x-compatible version of the plugin, such as [this](https://marketplace.atlassian.com/download/plugins/com.adaptavist.confluence.contentFormattingMacros/version/34) (v2.0.2)

I will raise an internal ticket to get this done for [https://confluence.atlassian.com](https://confluence.atlassian.com.). Thanks for the heads-up.

Cheers,  
Mark
changing filename field lenght of attachment display in confluence
Asked by Arthur van der Molen:

In our instance we publisch many student researcg papers but when we use {attachment} macro it trimms te filename to hard-coded 35 characters.

We need to show longer filenames as whole name is relevant. My question is where is should make changes as the display is currently not configuable. Should I change a system VM file?


Answers:
author: Arthur van der Molen
body: I found this issue <https://jira.atlassian.com/browse/CONF-25689>

I found solution by patching the file "attachments-table.vm"

The code looks like this:

\<td class="filename-column"\>  
#parse ("/pages/includes/attachment_icon.vm")  
\<a class="filename" href="$generalUtil.htmlEncode("${req.contextPath}${attachment.downloadPathWithoutVersion}")"  
title="$generalUtil.htmlEncodeAndReplaceSpaces($attachment.fileName)"  
data-filename="$generalUtil.htmlEncode($attachment.fileName)"\>  
$generalUtil.htmlEncode($generalUtil.shortenString($attachment.fileName, 35))  
\</a\>  
\</td\>

As a software engineer myself I dont like this coding style, and it would be better if this would respect the layout as defined in CSS class file.

I change 35 into 60.

As we dont use file comments, I commented out that code for now. I realy think this code needs some rework.


author: Jon Verville
body: The issue you linked to is a duplicate of the main issue here: <https://jira.atlassian.com/browse/CONF-22002> Atlassian has acknowledged this is a problem, but has not fixed it yet.


Tags: attachment

display

file
Is there a way to block pages from the "Recommended In Confluence" emails?
Asked by Rebecca Sheridan:

Content from pages with restrictions is showing up in the recommended emails. Is there a way to block this content?


Answers:
author: Mark Hrynczak
body: What version of Confluence are you using?

There was a bug in the initial release of Confluence 4.2 which would cause this behaviour, see <https://jira.atlassian.com/browse/CONF-25476>

The bug was fixed in v4.2.3 - if you can upgrade you should no longer see this problem.
After joining Active Directory, the number of licensed users are changed
Asked by Yung lee:

[Atlassian Confluence](http://www.atlassian.com/software/confluence) 4.2.2, the [Enterprise Wiki](http://www.atlassian.com/software/confluence/tour/enterprise-wiki.jsp)

After joining Active Directory, the number of licensed users are incrased. I have counted in confluence-users group and it is 24 users but the licensed users shows as 25 in [Administration -\>](http://wiki.xsb.com/admin/console.action)License Details.

I have disabled AD and Confluence Internal Directory only. The licensed users are 22.


Answers:
author: Radu Dumitriu
body: I think this is not a bug, that's a feature, N+1


Tags: enterprise

wiki
Save wikitext documents in Stash and embed them in Confluence pages?
Asked by Brad Beyenhof:

I would really like to be able to maintain documents in Stash formatted with Confluence wiki markup, and then embed those documents in Confluence pages. Since we can't edit the markup directly in newer Confluence releases, this would be a great way to make such editing available. (I'd rather do my editing locally, anyway.)


Answers:
author: Brad Beyenhof
body: There doesn't seem to be an acceptable answer my question, but I'm not really concerned about this issue anymore.

Atlassian is bugging me to accept an answer or close the question, but I don't see any way to close it so I'll just accept this as an answer.


author: Bob Swift (personal)
body: Its not clear what your question is, but you can upload wiki markup to Confluence 4.x using [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) [storePage](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-storePage) action. Defaults to convert content from wiki markup. Oh, and you can still insert wiki markup in Confluence 4.x with the editor and use [Confluence Wiki Plugin](https://bobswift.atlassian.net/wiki/display/CWP) to keep it in wiki format if you like.

comments: author: Brad Beyenhof
body: What I really want is a way to write text files in wiki markup, store them in a git repository in Stash, and then have those documents dynamically linked to pages in Confluence (such that Confluence will always render the very latest version). In addition, rather than have a 1:1 text-file-to-Confluence-page mapping, I'd like there to be some sort of macro in Confluence that can embed such an externally-homed text file \*within\* a page, so I can possibly link content from more than one file in a single Confluence page.

I realize this is more of a feature request than a "how do I do this" sort of question, but when I was submitting the feature request on [support.atlassian.com](http://support.atlassian.com) it suggested that I cross-post here as well.


author: Bob Swift (personal)
body: Understand now. We do something similar with scripts ([Confluence Script Plugin](https://bobswift.atlassian.net/wiki/display/SCRP)) stored in Perforce with an automated processes to sync latest copy to Confluence home directory.


Tags: bitbucket-server
Confluence 3.x user macro does not work in Confluence 4.x template
Asked by Stefan Eike:

Hi,

I have a template (*Test_Template*). Its only content is the following line:
> *{myListMacro}*

My user macro (*myListMacro*) contains the following code:
> *{list-data:myListMacro}*   
> *{list-option:value=myvalue}My Value{list-option}*   
> *{list-data}*

When creating a new page using this template with this macro I get a list with one option in Confluence 3.x. In Confluence 4.x the content (unrendered) of the *myListMacro* appears on the new page. What do I have to do to get the same list again?


Answers:
author: Stefan Eike
body: I wrote the list-data macro on a plain page and used the source editor to copy the Code. Well Atlassian, sorry to say that, but if this should be the only way/workaround to do that, you should definetely improve your concept of templates/macros!
> \<ac:macro ac:name="list-data"\>  
> \<ac:parameter ac:name="name"\>*myListMacro* \</ac:parameter\>  
> \<ac:parameter ac:name="atlassian-macro-output-type"\>BLOCK\</ac:parameter\>  
> \<ac:parameter ac:name="required"\>true\</ac:parameter\>  
> \<ac:rich-text-body\>  
> \<ac:macro ac:name="list-option"\>  
> \<ac:parameter ac:name="value"\>*myvalue* \</ac:parameter\>  
> \<ac:rich-text-body\>  
> \<p\>*My Value* \</p\>  
> \</ac:rich-text-body\>  
> \</ac:macro\>  
> \</ac:rich-text-body\>  
> \</ac:macro\>


Tags: list

template

user-macro
How to get text to display in a specified color
Asked by Karie Kelly:

When using the RTE, I highlight text a certain color and maybe a formatting of bold or italicized. Most often, the text displays fine. However, if you have several words in a row that have been formatted, unvariably, one of the ones in the middle will refuse to display with the selected formatting.

When you view the source, it appears that the tags are input correctly. But, when you display or export, the formatting is never applied.

I've input a support ticket that has yet to be addressed and it has now been several weeks since I input it. There seems to be no workaround except to unformat the text which isn't an acceptable solution when we are following formatting standards when referencing application fields or selected values in client-facing documentation.

Has anyone else encountered and identified a workaround?


Answers:
author: Gary
body: Hi Kalynn,

There was a known bug with the adaptivist macros that was causing this on 2012, but I beleive it has been fixed. Can you confirm if you are still seeing this behavior?

Cheers,

Gary


Tags: cloud

confluence-cloud
Workaround for inputing 555-555-5555?
Asked by Karie Kelly:

We are an OnDemand customer and when I input the example phone number, as it is the format we use, of 555-555-5555, the text saves, but is ALWAYS underlined.

I've input a support ticket without any response for a couple of weeks now.

Does anyone know how to input this phone number format in the context of a sentence without having it always be underlined?


Answers:
author: Karie Kelly
body: Atlassian logged following bug report: <https://jira.atlassian.com/browse/AOD-5914>

for a similar type of issue


author: Thomas Schlegel
body: Hi Kalyn,

this is strange... It might not be the best solution, but you can use the noformat macro: <https://confluence.atlassian.com/display/DOC/Noformat+Macro>

I think, if you surround your phone number with this macro, it should not be converted.

Cheers

Thomas

comments: author: Karie Kelly
body: I wish I could. But, as an OnDemand user, we cannot add that macro. I submitted a ticket to support several weeks back to add a few of the macros that they recommend themselves...but, I've not been able to get any assistance.


Tags: cloud

confluence-cloud
Confluence metrics
Asked by Nawaz Quadri:

Although confluence gives some metrics by default I'd like to periodically gather site statistics (activity and resource usage, specifically storage size) apart from whatever is offered by default.

1)I'd like more than just the top 10, I'd like them all

2)I'd like size of the page(in MB) in addition to number of hits

Please let me know if this can be achieved somehow in confluence. I am ok if solution suggest database queries.


Answers:
author: JohnA
body: Hi there,  

It sounds like you might find the Google Analytics useful for this purpose: [https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.plugins.googleanalytics
It](https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.plugins.googleanalytics%3Cbr%3E%3Cbr%3EIt) is a 3rd-party plugin but it will give you extremely detailed metrics about the usage of your wiki, so that is what I would recommend that you use for this purpose.  

All the best,  
John


author: Matthew J. Horn
body: You don't need to use the plugin for GA to work. Just paste the generated code from GA into the bottom of the HEAD section of your Custom HTML.
Should @mentions suggest disabled users?
Asked by markh_1spatial:

We have around 500 disabled users in onDemand (most of which created from a jira and subversion migration for 20+ years of history). These aren't a member of any of the onDemand groups and don't use any of our licenses, but are still suggested when trying to mention users.

Is there any way of changing this to not suggest disabled users?


Answers:
author: Michael Knight
body: Hi Mark,

That's a very understandable thing to need to do, although it's not currently possible to do it in Confluence.

There's a feature request for it at [CONF-16477](https://jira.atlassian.com/browse/CONF-16477) (the People Directory is related to @mentions). I'd encourage you to vote/comment/watch the issue as you see fit.


Tags: cloud

confluence-cloud
How can I list the Space names in Dashboard by categories but not by alphabetic order?
Asked by Anthony Xue:

I have categoried several Spaces, and I want to list them in Dashboard homepage in categories, not by alphabetic order.How can I do that?


Answers:
author: Remo Siegwart
body: If you use the standalone version of Confluence, you may also want to take a look at the [Spacetree plugin](https://marketplace.atlassian.com/plugins/com.simplenia.confluence.plugins.spacetree). It allows you to create lists of spaces grouped by space category.

Disclaimer: I'm the author of the plugin


author: Matt
body: There is a Space List macro. Setting a Category scope may be working for you.

However in our case, we needed to create a frame with tabs on top (Deck of Card Macro).  
On each tab we've used a Content by Label Macro with for example "space,+project" or "space,+offtopic" etc.  
For each space I have set label "space" and the other one which categorise content. Hence on the each card there is a list of Documents having both space and category label. As far as any document do not need to have space and project labels at the same time you may find this usefull. Otherwise you may want to call it something unique like "asd887dd" insted :}

It is a dirty hack, however it is working.


author: Sebastian Krzewinski
body: I used for this 'Content by Label' macro.

With this macro I can sort spaces by title, creation or modified.

comments: author: Sebastian Krzewinski
body: Some information about this:

<https://confluence.atlassian.com/display/DOC/Content+by+Label+Macro>


Tags: cloud

confluence-cloud
Solution for ignoring restriction inherit in Confluence
Asked by Rumceisz:

Hi All,

many of the space admins of our Confluence need page restrictions. The problem is that theywant to restrict chid pages (grand-grandchild): it means that they want to populate the child page for users without seeing the parent page!

Of course this is impossible, so we recommended to move the child page right under the Home. But they refused because they have a rigor page hierarchy.

Is there maybe a macro or plugin with that restriction inherit could be ignored?

Thanks in advance!

Rumi


Answers:
author: Rumceisz
body: Hi Andrew,

I agree with you. I also don't recommend such a feature. I try to convince them to move up the page.

Thank you!

Rumi


author: Andrew Frayling
body: Hi Rumi,

Not an answer because I'm not aware of anything that would allow you to do this, but a comment that even if there were I would avoid it and strongly suggest that your users take a look at their page hierarchies instead.

The way it works at the moment makes sense - start off open and you can restrict more the further down the page tree you go. If you start circumventing that and have pages more open than the pages above them you're very quickly going to find that it's unmanageable, the permissions will get in a mess, people will see things they're not supposed to and people will be locked out of pages that they should be able to see. Not necessarily because things are not working, but because it will become really difficult to try and figure out for a particular page in the tree what's being inherited, what's being ignored and what users should or shouldn't be able to see it.

Just my 2 cents and I know it's hard to convince people to change they way they structure things, but that's the route I would pursue rather than creating a support nightmare for yourself spending all your time unpicking page permissions.

Andrew.


Tags: restriction