youngmon/atlassian-qna huggingface dataset:
Display alternative content for anonymous users in Confluence
Asked by amelandri:

I set up an home page for our Confluence installation that lists the top level pages for every space. The wiki is open for guest users but some space content must be visible only to registered users.

If I use the Page Tree macro, anonymous user are forced to login in order to display the page.

If I use the Children macro, I get this message "Unable to render {children}. Page not found: CS:Configurazioni Server."

Is there a way (native/plugin/macro) to display an alternative text if there's some kind of authorization limitation over the content?

For example, something like "To visualize this content you need to be logged in".


Answers:
author: Sean King
body: The Customware Visibility Plugin is great for this. We have it set up to display a disclaimer to people who aren't logged in (i.e. Annonymous) which users who are logged in won't see.

And it's free!

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility>

comments: author: amelandri
body: Thank you :-) This plugin should solve my problem, but I think it's not compatible with the latest version of Confluence. I tryed installing it but I got this error
> Plugin installation failed: Failed to resolve plugin dependencies within OBR \[plugin_6327012005172267721_visibility-plugin-2.1.0.obr\]

I'm using Confluence 5.2.3


author: Sean King
body: As of today (9/11/2013) it's listed as compatible with 5.1.5 and below.

Although you might want to try and install it using confluence's hidden plugin screen. I usually have better luck installing plugins from here. Sometimes the regular Manage Add-on screen just craps out.

**http://** yourdomain**/admin/viewplugins.action**


author: amelandri
body: Sorry, it doesn't work. Let's hope they'll update the plugin :-)


author: David Hergert _PAYX_
body: Sean King - how do you have the Visibility plugin only show to Anonymous users? I put "anonymous" as the user or group, and it doesn't display to non-logged in users.


author: Sean King
body: David Hergert - You can use the "hide if" macro with confluence-users added to the user group to hide from anyone logged in. You can then use the "show if" with the same group added to do the opposite and only show to people logged in.


author: Sushant Mongia
body: [@Sean King1](/t5/user/viewprofilepage/user-id/853515) - I tried your approach but it didn't work for me. I did a "hide-if" set to "any" and "confluence-users" on an anonymous page, no luck. Any ideas?


author: Steve Thornhill
body: You could set the global permissions to allow anonymous access to the site, then set each space permission to disable anonymous viewing.

comments: author: amelandri
body: This is what I did, but if I insert in the home page a Page Tree macro that lists the top level pages of a restricted space, anonymous users are forced to log in.


Tags: app

authentication

confluence-administration

content

macro
jira/confluence support hp rx4640 with windows or sles?
Asked by pavelmoscow:

hi!

anybody know, jira/confluence can support hp-ux rx4640?

I see here, what support windows/\*nix on rx4640 -

<http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00258392>

but, i dont'know i can install this package ?

/atlassian-jira-6.0.6-x64.exe  
/atlassian-jira-6.0.6-x64.bin

/atlassian-confluence-5.1.5-x64.exe  
/atlassian-confluence-5.1.5-x64.bin


Answers:
author: Alex Perez
body: Well,

I think that the correct question to is ... is Java compatible with HP-UX? (I think that the exact hw is irrelevant), except it's using itanium processors. Itanium are 64-bits, but aren't "x64".

As this is an unusual configuration, I recommend you to install all the components one by one:

-Install java for your processor architecture (itanium) and OS (hp-ux), maybe there is no SUn-Oracle Java for this, and you only can choose IBM or JRockit Java.

-Install tomcat/jboss/ or other app server you like

-Install jira or confluence from the WARs, not from the installers.

HTH


Tags: atlassian-support
Exporting Confluence pages to Word - can we change font size from Arial 12 to 10 pt?
Asked by Rosalind:

Confluence 5.1.4: When I export a Confluence page to MS Word, it defaults to displaying Arial 12 font which is far too big. Is it possible to change the default so that pages display in Word with a 10 font?


Answers:
author: Sean King
body: <https://confluence.atlassian.com/display/CONFKB/How+to+Customise+MS+Word+Exports>
Cannot delete a space in Confluence
Asked by Andrew:

Hi,

I've recently tried to delete a space on my Confluence OnDemand instance called "prod". It doesn't appear in some menus but it does in others:

<https://spatialdataexchange.atlassian.net/wiki/admin/permissions/viewdefaultspacepermissions.action>

You can see it there but clicking on it gives a "not found" error or "no permissions". Is there a way to delete this space?


Answers:
author: MJ
body: First check under <https://spatialdataexchange.atlassian.net/wiki/spaces/spacepermissions.action?key=prod> (where prod can be changed for any spacekey you might be looking for) which users/groups have which permissions in this space. In your case, there are no entities mentioned here at all, resulting in you receiving the error message. Once you have added an entity enabling you to have (admin) access to this space, you will see a "Space Tools" button on the bottom left. From there, go to "Overview". In the next page you will see Tab "Delete Space".

comments: author: MJ
body: In that case, since all entities have been removed from the permissions of the given space, you have lost the ability to make any changes here. Please raise a support ticket, we can grant your user the appropriate permissions to proceed on this. Please reference to this page in the support ticket, since it will inform the support engineer that will assist you directly what to do.


author: Andrew
body: This URL:

<https://spatialdataexchange.atlassian.net/wiki/spaces/spacepermissions.action?key=prod>

Reports "Page Not Found Error".

Even though it is clearly listed on the Spaces Permissions page.

It isn't listed on the "Space directory" page.

I suspect a transaction somewhere has gone awry.


author: Peter Van de Voorde
body: Hi Andrew,

Only people with Super user rights can do this, so for OnDemand that means Atlassian Support.

Just send them a request to remove the space or to grant you access and rights to this space so you can remove it yourself.

Best regards,

Peter

comments: author: MJ
body: This is not correct, every user which has the "Space\>Admin" permission on the given space, can delete it. It appears to be though that all entities in the permission scheme for this space have been removed, causing the "no permission" error.


Tags: confluence-cloud

permission

space
RE upgrade versus patch for downloaded confluence
Asked by Leesa Pridham:

Regarding the security issues "We are writing to inform you of a critical security vulnerability that affects all downloaded versions of Confluence up to and including 5.1.4."

i am having difficulty installing the patch as i cannot find the folder with the patch file

also - if i wanted to upgrade the version of confluence we have to a later version - can i just download a newer version and run it? what will happen to all the info i currently have in there? will it be lost?

I also need to know how to change the email address associated with this account. The person who set it up no longer works with us and we need to close this email address down. please advise.

I'd appreciate any help possible please.

thanks.

Deb.


Answers:
author: Nic Brough -Adaptavist-
body: \>i am having difficulty installing the patch as i cannot find the folder with the patch file

I don't understand that. You click on the download, open it and copy the file in it into a directory in your confluence installation. Could you explain what you mean by "can't find folder"?

\>also - if i wanted to upgrade the version of confluence we have to a later version - can i just download a newer version and run it? what will happen to all the info i currently have in there? will it be lost?

You won't lose anything if you do it correctly - see <https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

\>I also need to know how to change the email address associated with this account.

I think you need to contact Atlassian support to do that for Answers, but you can simply create a new Answers account.


author: Timothy
body: > if i wanted to upgrade the version of confluence we have to a later version - can i just download a newer version and run it?

There might be specific upgrade guides that you would need to go through depending on how old your current Confluence is but it is upgradable.


Tags: confluence-administration
Personal Tasks Gadget?
Asked by Sebastian Wolter:

How can I have my personal tasks on my personal site?

I know they are in the notification section, but I'd like to have them as list at a glance along with other watched items.


Answers:
author: EddieW
body: I do not beleive a gadget exists to serve that up in an embedaable format (opensocial, html/js) but all the plumbing needed is exposed buy the confluence internal API and REST API

<https://developer.atlassian.com/display/CONFDEV/Confluence+in-app+notifications+and+tasks+API>


Tags: confluence-administration
Just wondering why does the Labels List macro show more labels in the space than it is supposed to?
Asked by Shreena Patel:

It shows labels that are not being used on any pages. Because of this, I have used the Popular Labels macro instead as it shows the correct number of labels. Is this a bug? It would be great if the Labels List macro could update to show only used labels as well.


Answers:
author: Mick Davidson
body: Shreena,

it could be showing labels for pages that have been removed, but not deleted. I've recently discovered this and have had to re-instate the removed pages, then remove the lables, and then remove the page again.

The simplest thing is to delete the page altogether of course, but sometimes that's not an option. Cheers.


Tags: cloud

confluence-cloud
Is there a way to import CSV data into Confluence for the user directory?
Asked by Rebecca Sheridan:

We are using ADP as our system of record for employee information (who your manager is, phone number, etc.). ADP can create a CSV output file. Any idea on how we could import this CSV data into Confluence so that it appears in everyone's profile? If we have a way to pull in the data, we could use the advanced user profile plugin to show it.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Rebecca, currently that feature is not available for Confluence User Profiles. I did create a feature request for such functionality [here](https://jira.atlassian.com/browse/CONF-30324), pelase add you comments to the thread as means to improve its relevancy.

Hope it helps.


Tags: csv

profile
Do not have the ability to "add section" in page layout, why doesn't it work?
Asked by m k:

Hello, I was reading the documentation below on how to "add section" to the page layout templates but I do not see it, I am using Confluence 5.1.3. Does anyone have any idea what the issue is?

<https://confluence.atlassian.com/display/DOC/Working+with+Page+Layouts+and+Columns+and+Sections>


Answers:
author: Sebastian Wolter
body: Same here. Looks like the feature is gone. :-(
Stored images in one place only.
Asked by Cesar Pinto:

Using Confluence - I'm doing a Manual and I have the same picture on several pages. Can I put all images in one place so when I change an image in that place, changes can take place on all pages at the same time with an update?


Answers:
author: Steffen Heller
body: Yes, you can do that if you use the old wiki markup:

Create one page where you attach all the images and then include the images on all other pages with

!pageTitle\^image.gif!

Just start typing and it automatically shows a drop down menu with the images available in that space.

If you want to include an image from another space you must also add the space name and use:

!spaceKey:pageTitle\^image.gif!


author: Christian Czaia _Decadis AG_
body: I'm not sure if this is going to work but have you thought about the excerpt macro?

<https://confluence.atlassian.com/display/DOC/Excerpt+Include+Macro>

You could have the image in the excerpt, display it on multiple places and you'd just have to update the picture once...


Tags: image
Confluence trial test: Error occurred during template rendering
Asked by Gianluca Baratti:

I'm running a Confluence "Evaluation Installation" onto a virtual machine: Host Macbook Pro, VirtualBox, Ubuntu 12.04 LTS 64bit server, Apache2, ORACLE server jdk/jre 1.0.7.

During the start-up configuration, after i put data to create the administrator user, the browser displays the following error:

Error occurred during template rendering: Invocation of method 'getLocale' in class com.atlassian.confluence.core.ConfluenceActionSupport threw exception java.lang.IllegalStateException: Spring Application context has not been set at /decorators/includes/header.vm\[line 55, column 41\]. Contact your administrator for assistance.

May you help me?

Thanks

Gianluca


Answers:
author: Evgenii Zhuravlev
body: Set the write permission on the your data directory

comments: author: Gianluca Baratti
body: Great! It perfectly works.

Thanks

GB
Software Port Numbers
Asked by Steve Thornhill:

Is there a list of all the ports numbers that are used by default for each product? Just wondering if anyone has this already instead of searching through each install doc to build my own list

eg.

8090 - Confluence

8080 - Jira

8000 - Tomcat


Answers:
author: LucasA
body: Hi Steve,

I believe we don't have a document specifying all the default port numbers of our applications. I will suggest to create one. You can use the following as referrence:

1. JIRA: 8080
2. Confluence: 8090
3. FishEye: 8060
4. Bamboo: 8085
5. Stash: 7990
6. Crowd: 8095

Best regards,  
Lucas Timm

comments: author: Steve Thornhill
body: Thanks,

I'm going to be doing that anyway, but every little helps :)

Steve


Tags: confluence-administration
create a page with a list of items with a status
Asked by Anthony Richir:

How can I make the most of Confluence in order to create a page with a list of items (or a table) with a status (non-tested/tested, non-executed/executed, ...) that users could easily change ?

The list of item could be created manually, or from an Excel, or maybe from Jira.

Thanks in advance


Answers:
author: Justin Leader
body: Anthony,

If you require that these items are interactive in Confluence (instead of the more traditional place for this, JIRA) then I think your best bet is the Confluence plugin **Ad hoc Canvas** . It will give you the ability to track "items" as they go through whatever status you want to program. Imagine the most simple JIRA implementation, or a program like [Trello](https://trello.com/).

Here's what it looks like:  
![](https://www.evernote.com/shard/s3/sh/9e2fe61d-b399-43f4-b938-e523a93c462c/62e8fd3a8a4e632c4999b520b8c78280/res/e62a3f91-caf1-4314-b02b-be6c859a4bcd/ScreenClip.png?resizeSmall&width=832)

More information:

* A [great video](http://www.youtube.com/watch?feature=player_embedded&v=euw0bfGHIaI)
* The plugin's [Atlassian Marketplace listing](https://marketplace.atlassian.com/plugins/com.comalatech.adhoccanvas)

Does that answer your question?


author: Ryan Goodwin
body: <https://blogs.atlassian.com/2013/03/confluence-blueprints-collaboration-best-practices/>
Change the name of a Gliffy diagram in Confluence
Asked by Steve Muskiewicz:

In our OnDemand version of Confluence, I copied a page with a Gliffy Diagram in it. The diagram has a name attribute that I would like to change, however I can't seem to figure out how to do that.

Tried Editing the diagram and going to File \> Document Properties but the name doesn't appear to be editable. Is there some way to be able to do this?


Answers:
author: Manmadha
body: <https://help.gliffy.com/confluence/Content/GliffyConfluence/Renaming-diagrams-server.htm>

or

<https://help.gliffy.com/confluence/Content/GliffyConfluence/Renaming-diagrams-cloud.htm>

Depending on your setup.


author: AgentSmith
body: Following the steps from this link might allow you to accomplish renaming:

<http://support.gliffy.com/entries/300264-Confluence-Plugin-Move-or-Copy-Diagram-to-Another-Page>

Hope this works.


Tags: cloud

confluence-cloud
Total number of pages in a space - how?
Asked by Mick Davidson:

Hello,

I want to find out how many pages are in a space. More than that I want to know if it's possible to see how many sub-pages there are under a given head page.

I can't see anything about there here or in the Admin's user guide.

Cheers.


Answers:
author: Bob Swift (personal)
body: For automation you can use [getPageList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-getPageList) from [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) with the appropriate parameters:

```
--action getPageList --space xxx --file /dev/null36 pages in list written to file: /dev/null--action getPageList --space xxx --title home --file /dev/null --descendents22 pages in list written to file: /dev/null
```


author: Matthew J. Horn
body: Oh, this is a "user macro". You need to create a new macro and then add it to a page. Here's info on creating macros:

<https://confluence.atlassian.com/display/DOC/Writing+User+Macros>

Most of the info on that page you can skip, except: navigate to the user macro creation page, give the macro a name, and paste the body into the body field. Then go to a page in your space, open in edit mode, and add the macro by selecting Insert \> Other Macros.

hth,

matt

comments: author: Mick Davidson
body: Matt,

thanks, I appreciate your time and effort on this. I'll have a look and give it a go asap. :) Cheers.


author: Mick Davidson
body: Great, just tried it and I don't have the correct level of permission to do this! :) I've sent it to our big admins to see if they can. Cheers.


author: Matthew J. Horn
body: You can do this with a macro, like this:

```
## Macro title: Count Children## Macro has a body: N## Body processing: n/a## Output: HTML#### Developed by: Matthew J. Horn## Date created: 08/07/2013## @noparams#set ($pageListArray = [])#set ($spaceHome = $space.getHomePage())#macro ( process $rp )  #set ($pagelist = $rp.getSortedChildren() )  ## returns List&lt;Page&gt;  #foreach( $child in $pagelist )    #set($p = $pageListArray.add( $child ) )    #if( $child.hasChildren() )      #process ( $child )    #end  #end#end
```

```
#process ( $spaceHome )&lt;table class="confluenceTable"&gt; &lt;tbody&gt; &lt;tr&gt;  &lt;th class="confluenceTh"&gt;Title&lt;/th&gt;  &lt;th class="confluenceTh"&gt;Num Children&lt;/th&gt; &lt;/tr&gt; #foreach( $child in $pageListArray)   ## child is of type Page   &lt;tr&gt;     &lt;td class="confluenceTd"&gt;$child.getTitle()&lt;/td&gt;     &lt;td class="confluenceTd"&gt;$child.getChildren().size()&lt;/td&gt;   &lt;/tr&gt; #end &lt;/tbody&gt;&lt;/table&gt;
```

Total pages: $pageListArray.size()

comments: author: Mick Davidson
body: Matthew,

Thanks for doing all that.

I've just tried adding this into the HTML view and saving the page. Whilst the table rendered, nothing else did. I also tried it in the HTML macro but that also failed.

Please forgive my ignorance, but how do you actually use this?

Cheers.


Tags: count
Is it possible import DITA into Confluence or export Confluence content to DITA?
Asked by Weijing:

Or another tools can do that?


Answers:
author: Nell Cenizal
body: There is a DITA to Wiki project on sourceforge <http://sourceforge.net/projects/dita2wiki/> might as well can help you with.


author: Yendra Waney
body: # **Workaround**

For unknown reasons, the dita2wiki utility doesn't import the DITA stuff into Confluence.

1. Therefore, I use the following workaround.
2. Generate a PDF and a single page XHTML through XMLMind ditac.
3. Import the XHTML code through Bob Swift's HTML import macro.
4. Adjust the layout of the resulting import through HTML tags. Usually, I add \<br\> tags.
5. Attach the PDF to the wiki document.

**PROS**   
You have both an HTML and printable PDF with the same content.

**CONS**   
The words in the HTML and PDF output doesn't appear in a search. To workaround this issue, I paste the TOC outside the macro field.

Maybe this workaround is too much of a workaround. What do you think?

Do you have other ways to move DITA content into Confluence?

comments: author: shilpa shilpa
body: Is it possible to export confluence data into DITA?


author: Weijing
body: Thanks for your reply.

DITA is an [XML](http://en.wikipedia.org/wiki/XML "XML") data model.

<http://en.wikipedia.org/wiki/Darwin_Information_Typing_Architecture>


author: Nic Brough -Adaptavist-
body: You might want to explain what DITA is (I do know myself, but it's fourth on the list when I google, after eyewear, hockey and a burlesque act)

For the Confluence -\> DITA flow, it depends on what DITA can import - Confluence can export to xml and some other generic or standard formats.

For \<something\> to Confluence, <https://marketplace.atlassian.com/plugins/com.atlassian.uwc> is the usual starting point if that \<something\> can't export Confluence formatted data.


Tags: dita

xml
cannot find gliffy plugin usage statistics
Asked by Taehoon Kee:

In confluence admin console page, in admin tasks, it says "Review Gliffy usage statistics" and it says it is possible on gliffy plugin page.

But, in my confluence instace, on gliffy plugin admin page, there's no information about usage statistics.

Or is it visible only on purchased gliffy only? I'm on trial period of gliffy plugin.

Anything that can cause this situation?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Taehoon Kee, I have checked the Gliffy trial and installed with a valid full license, and the only mention to statistics seen is the application *Usage Statistics*: those are information collected to help the vendor improve the add-on.

Could you please provide more context on where the information was found as such we can investigate?

comments: author: Guilherme Nedel [Atlassian]
body: Thanks for coming back Taehoon, kindly mark this as accepted on the top right corner checkmark.


author: Taehoon Kee
body: Yes, I'll accept. But, I think usage statistics is needed for administrators.


author: Taehoon Kee
body: How can I accept your answer? I thought I did. But, open question reminder has arrived. In the reminder, there will be a grey check mark, which I couldn't find.


author: Taehoon Kee
body: I misunderstood a little. But, on administration page, one item of 'Administration Tasks' was 'Review Gliffy usage statistics'. I was so HASTY. By that sentence, I thought "yes, admin can review Gliffy usage statistics!" Partly, it was my hope because I should have some data to make decision of buying it or not.

So the conclusion is "admin cannot see Gliffy usage statistics", Right?

If so, I'll accept your explanation as my answer.

Thanks.


Tags: confluence-administration