youngmon/atlassian-qna huggingface dataset:
Atlassian OnDemand Documentation Theme
Asked by emma betts:

Hello. Where did the "Atlassian OnDemand Documentation Theme" go?

Until recently I used the OnDemand Doc theme with a custom colour scheme. The option seems to have disappeared and been replaced by the generic documentation scheme. I still have my colour scheme selected but it is not showing up in my pages. For example I can only have black headings.

Is there something I can do to use the doc theme and apply custom colour scheme?

Thanks.


Answers:
author: Bob Swift (personal)
body: The OnDemand version of the theme was back-level, so they replaced it with a standard version shipped with Confluence. I suspect you will need to re-apply your customizations.

comments: author: emma betts
body: Hi Bob (and others),

I don't understand what you mean by back-level. We use OnDemand, so I thought the available themes were supplied by atlassian - and in this incident the themes available to me were changed by atlassian.

I did try reapplying my cutomisations but they just don't work with the "new" Documentation theme. Has anyone got their customisations to work with that theme? I can apply cutom colours in the "global look and feel" theme, but then I lose the really handy tree structure in the left hand column.

Emma


author: Bob Swift (personal)
body: What I meant was: OnDemand had a unique version of the documentation theme and that did not get updated and had fallen behind the corresponding standard version shipped with Confluence. So now, there is only the standard one in OnDemand and their was suppose to be automatic conversion of the older theme to newer theme once they made the switch over. I wasn't aware that the new theme didn't support all the customizations the original one did. Atlassian folks can better comment on what should have happened and your other customization questions.


Tags: cloud

confluence-cloud
Looking for a plug in or macro
Asked by JEB:

I am looking for a plug in that allows the end user to select specific information from a series of drop downs and they will be provided with an answer. To simplify, "if x and y are chosen, then the answer is z". Hope this makes sense. If anyone can let me know if there is an appropriate plug in/macro that would be great.


Answers:
author: Bob Swift (personal)
body: [Run Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/RUN) provides the selection dialog. Depending on what logic is needed to determine the answer, you may also need some sort of scripting via [Script Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/SCRP)
"Some events were not shown in the calendars below because there were too many of them" Advisory Message in Team Calendars
Asked by Scott Mosher:

All of our calendar items do appear on the calendar, but we still receive this warning/error advisory. Can you please disable that warning message from all of our team calendars? Or is there something I am missing here?


Answers:
author: Naren
body: Its because, by default there are 200 events per calendar. You may set this to some other using the system value property .

**"com.atlassian.confluence.extra.calendar3.display.events.calendar.maxpercalendar".**

Add the below property to the end of the **JAVA_OPTS** section in the setenv.sh(if using LINUX) or setenv.bat (if using Windows)

```
-Dcom.atlassian.confluence.extra.calendar3.display.events.calendar.maxpercalendar=300
```

Please refer this [link](https://confluence.atlassian.com/display/DOC/Configuring+System+Properties)to Configure System Properties.


Tags: team-calendars-for-confluence
Merging OnDemand data from a trial into a purchased instance
Asked by Lisa Eilerman:

We have an Atlassian On Demand instance with Jira , Confluence \& Fisheye/Crucible.

Another business unit at our company started a separate trial using a number of products.

and plugins. They've already started recording data in their trial site and were about to finalize their instance - but..

Instead of having two separate OnDemand instances, we would like to expand our existing instance and combine their trial data into our instance.

Is it possible for us to move all of the data from their trial into our instance after we purchase extra licenses and products?

Or is it possible for you to export and import into ours, without losing data in either instance?

We do not want to lose anything from either instance, so a full restore is a concern.


Answers:
author: PauloP
body: Hi Lisa

I believe that we don't have a valid option to simple concentrate two or more Ondemand instances. However, the workaround would be:

- For JIRA

Using CSV import/export process or concentrating the all the instances in a standalone (self hosted) one. This last procedure would be:

1. Create a backup from both instances. You can by the following procedure:

<https://confluence.atlassian.com/display/AOD/Exporting+issues>

2. Install a brand new JIRA in your environment

3. Import the main instance XML backup to the self hosted one

4. After, using the another instance backup, try to import the projects. This is the default procedure:

<https://confluence.atlassian.com/display/JIRA052/Restoring+a+Project+from+Backup>

Also, for further assistance, perhaps you should raise a new support ticket.

Cheers,

Paulo Renato


Tags: cloud
How do you edit uploaded documents within Confluence using Firefox?
Asked by Phillip Yero:

For some reason, when using Firefox, I am not able to (nor is anyone else at my company) edit documents that have been uploaded to Confluence. I downloaded the add-on when prompted and I have checked to make sure that I don't have any security restrictions that could be causing the problem, but I still can't figure out why. It's been tried on multiple computers as well. I can edit the same attachments just fine within IE9, so the only thing I can think of is that it's a problem with Firefox.

Are others having the same problem?

Any info is appreciated.


Answers:
author: Daniel Borcherding
body: Hello Phillip,

There is an addon for firefox that is required to get this functionality to work properly.

Please review the following document for a guide on how to install this add-on

<https://confluence.atlassian.com/display/DOC/Installing+the+Firefox+Add-On+for+the+Office+Connector>


author: Selcuk Savas
body: Hi Phillip,

My FF is up to date with all necessary addons etc bur this function doesn't work for me at all.

Lucky us

1- we do not use this function

2- Almost all of users are on IE

So my suggestion is, unfortunately, there is no solution for this issue (yet) and you may need to use IE to edit docs.

Cheers,

PS. I hope somebody have already created a ticket for this issue on Atlassian Jira.

Selcuk

comments: author: Phillip Yero
body: Hi Selcuk,

I actually was able to figure it out. Following Daniel's advice above, I read through the documentation for the add-on and was able to figure out what the problem was. Normally, when you download and install the add-on in Windows, it should be able to automatically configure itself using the system's registry. For some reason, it doesn't do that for a good number of people. To fix it, all you have to do is go click on Tools in the Firefox toolbar and then click on WebDAV Launcher Options. Then you have to manually enter all the different types of file extensions and associate them with the appropriate programs. It actually doesn't take very long. you just enter the file extension, for example "doc" (no "." needed), and then click Auto and it should just select MS Word. Also, you want to make sure that you do this for both Office 2003 (doc, ppt, and xls) and 2007 (docx, pptx, xlsx) file extensions.

Best,

Phillip


Tags: attachment

firefox

internet-explorer

ms-office-connector
Sort Table in user macro
Asked by Bruce Schlueter:

Hi all,

we have a user macro that iterates the groups and shows the members of the group. Is there a chance that the table shows the results in a sorted order? The tables only consist of 2 columns group and users and we would like to sort the usernames.

Another point is, can we set the width of the columns?

Thanks for any advice.

Bruce


Answers:
author: Bruce Schlueter
body: Thanks for your input. I must add we are running Confluence 4.3.2 and have the basic sorting but creating the table always starts with an unsorted table and I would like to have it sorted in the beginning.

Is there any way to achieve this?


author: Bob Swift (personal)
body: Confluence 4.3 has basic sorting. [Table-plus macro](https://bobswift.atlassian.net/wiki/display/TBL/Table-plus+macro) has more advanced sorting and customization of column attributes. Table-plus also has a **sortColumn**parameter to auto sort on first display.


author: CharlesH
body: Hi Bruce,

A colleague of mine wrote this user macro which enables column sorting on tables within a wiki page. It's relies on jQuery to do this, but that's included with Confluence anyway.

<https://confluence.atlassian.com/display/DISC/Sort+table>

You could simply register the macro and add it in the page where your table is, or extract the code you need and add it into your user macro so that the sort is applied automatically.

Cheers,

Charles
Why is crowd.properties required when User Directories are defined in the DB
Asked by EddieW:

Just completed the upgrade from 4.2 to 4.3

We use crowd with SSO, so after every update I have to manually go back in and update seraph-config.xml as described here <https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence>

That doc also says to update crowd.properties, but I thought that must be old, the server just completed a full synch to crowd without issue, and loaded all users

ANd then I tried to login. Confluence said I was not a valid user, and Crowd logs said application 'username' not authorized.

So I had to duplicate the URL, name and passowrd already found in the DB just to allow SSO/logins to work.

What is the need/point? What if I have several crowd directories all on different servers, how does this file fit into the new model of User Directories defined in the app UI?


Answers:
author: EddieW
body: After opening an issue withy support I was told it comes down to application architecture that currently requires Seraph authenticator to leverage that file as it is used at a latey that does not have DB access to get the repository details itself.

But they opened a ticket to possibly address that, and if you have this issue I encourage you to vote for the issues (BY CLICKING THE LINK, and clicking "vote" ! PLease do not +1 as an answer,. or comment on the issue....)

<https://jira.atlassian.com/browse/CWD-3030>


author: Daniel Borcherding
body: ddie,

I am not sure why that bit about the crowd properties is in the document. With your versions of Confluence you should not need to make any manual changes to any file other than your seraph-config.xml.

The file "crowd.properties" is an older implementation of how Confluence connects to Crowd. It should not be necessary in versions of Confluence past 3.5.x. The not there may be an allusion to a migration from an older instance to the more modern, UI driven connection.

The error you are encountering seems to relate to your permission structre in Crowd. Are you still having this problem?

comments: author: EddieW
body: Hmmm, Luiz Carlos said that was not case. Still having then issue. Add crowd.properties it goes away, remove uit an no on can log in.

Luiz Carlos opened <https://jira.atlassian.com/browse/CWD-3030> to allow seraph to leverage DB for SSO authentication.


Tags: crowd
Problems using the {embedded} macro
Asked by Lukas Gruber:

We were trying to embed the content of an .sql file into a confluence page but it didn't work. We dont't receive any error messages and are also unable to find a propper documention of the macro's usage.

Could you help us out with our problem? Are there any other ways to include .txt or .sql file content into a confluence page?

Thanks a lot in advance!

Best regards,

Lukas Gruber

PS: Please find attached a screenshot of the macro we were trying to use.


Answers:
author: Lukas Gruber
body: Thank you for yourl help. I found out it is a third party extension which provides this obviously faulty macro, so I won't be using it.

Best regards!


author: Alejandro Conde Carrillo
body: have you try the {code} macro? You could do something like:

```
{code:sql}Paste your SQL queries here{code}
```

For plain text files I recommend you to use the {noformat} macro


Tags: macro
How to copy a page to a different confluence instance
Asked by xkey:

Prior to version 4, it's possible to copy/paste wiki markup to a different confluence installation, even with different confluence versions. All the attachment can be easily downloaded / uploaded via Zip Upload.

What's the solution for version 4 now?

I tried to simple ctrl+c and ctrl+v, the text content was copied over correctly, but the images were copied over as a link to old instance, which breaks.

More specifically, the attempt was done from version 4.1.7 to 4.3  


Answers:
author: Bob Swift (personal)
body: For one page, cut/paste from the editor and then make repairs as necessary since copy/paste still has issues. If it is really bad, consider using [Wikifier](http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/) first and then insert wiki.

For multiple pages see this question: [How to copy pages from one confluence to another?](/questions/113606/how-to-copy-pages-from-one-confluence-to-another)

comments: author: xkey
body: Yep. I have to fix page copied over manually. It is really annoying. Your CLI plugin is nice, but this is for personal wiki, no plan to purchase this yet. No offence, like all your nice work when they were free. And thanks for link to Wikifier.

I hope Atlassian will come up some native tools that can leverage storage format to boost content portability. Now as a user, I'm really concerned about my content being locked down...


author: RianA
body: Hi, how we normally copy over the Confluence content to different Confluence instance, is by copying content of *View Source* and put it in Confluence's editor. You can get this View Source by clicking the Tools menu on the top right of page. Hope it helps :)


author: Patrick Forssell
body: Hello xkey,

Would the [Confluence Export](https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML "Exporting Confluence Pages and Space to XML") do the trick?

-Patrick

comments: author: xkey
body: Tried that too. Got errors. Didn't look into details. But I suspect that was due to version difference from 4.1.3 -\> 4.3, as well as target space name is different from original space


author: xkey
body: Thanks for comment. Forgot to say, what I tried originally was to copy content from editor in old instance, same effect as copying from View Source page. The text is OK with format, all images is just a link to location on orginal confluence instance.

Other thoughts?


author: xkey
body: Can we take advantage of Storage Format? How to import into new confluence instance?
Dashboard macros not rendered properly
Asked by SubasreeN:

{spaces:category} .The dashboard macros for space with option category is not rendered properly .When i select a category from dropdown list it is not rendering the pages properly .(screenshot attached)

Steps to reproduce

1)Create a page and enter wikimarkup- {spaces:category}

2)Select any category from dropdown list


Answers:
author: Septa Cahyadiputra
body: As describe on the ticket support, the workaround of the bug are the following:

Replace \<tt\>confluence.dashboard.macros-4.3.x.jar\</tt\> in \<tt\>atlassian-bundled-plugins.zip\</tt\> which located in\<tt\>\<\<Confluence_Install_Dir\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/\</tt\> with\<tt\>confluence.dashboard.macros-4.2.x.jar\</tt\> that can be found under the same filename from Confluence 4.2.x installation directory.

Detailed steps:

1. Access\<tt\>\<\<Confluence_Install_Dir\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip\</tt\>from Confluence 4.2.x installation directory
2. Extract only\<tt\>confluence.dashboard.macros-4.2.x.jar\</tt\>
3. Open\<tt\>\<\<Confluence_4.3.x_Install_Dir\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip\</tt\>using WinRar and create a backup of it
4. Delete\<tt\>confluence.dashboard.macros-4.3.x.jar\</tt\>inside the file
5. Update it by adding\<tt\>confluence.dashboard.macros-4.2.x.jar\</tt\>
6. Restart Confluence

Hope it helps.

Cheers,  
Septa Cahyadiputra


author: RianA
body: Hi, I couldn't see the attached screenshot, hwoever perhaps you could try to revert all the customization, and check whether it works? Also, please do try to reset plugin cache. Here's the brief steps of doing that.

# Shutdown Confluence  
# Remove the following folders (they will be regenerated at startup):  
#\* *\<confluence_home\>/bundled-plugins*   
#\* *\<confluence_home\>/plugins-cache*   
#\* *\<confluence_home\>/plugins-osgi-cache*   
#\* *\<confluence_home\>/plugins-temp*   
# Startup Confluence

Hope it helps!


Tags: macro
maximum attachments (number and size)
Asked by Riccardo Salzer:

Hi, we are going to use confluence as a storage for many of our files. But before we will outsource our storage servers to confluence I want to know if you have any experience of possible limitations for this.

Will a large number of attachments slow confluence down? (50000+) Is there any limitation in the number of attachments?

Size of attachment storage? We want to bind an external storage server to the attachment storage of confluence (\~5TB), will confluence handle this?


Answers:
author: JohnA
body: Hi Riccardo,

By default the maximum attachment size Confluence can handle is 10MB, although you can increase this by following the instructions in this document: <https://confluence.atlassian.com/display/DOC/Configuring+Attachment+Size>

Currently the maximum file size that Confluence can handle is 2GB, and from the look of this bug report that is currently a hardcoded limit: <https://jira.atlassian.com/browse/CONF-20912>

However, the biggest problems I would expect you to experience is that if the connection to the storage isn't lightning quick then you may experience significant performance issues as a result, (not just in accessing attachments but also indexing them etc).

The other problem, and one could potentially cause even more problems than the storage location, is that the application will need to index every attachment and this could put immense strain on the instance, (even if it's only indexing the file names and not the contents), because the indexing of large attachments requires that the attachment be loaded into memory. In the case of large attachments, this can cause a temporary strain on the systems resources, and may result in indexing failing because the attachment could not be fully loaded into memory.

It is possible to set a limit for the size of attachments to be indexed, which I would strongly recommend, but I'm not sure how well Confluence will handle that many attachments in general so I would suggest testing it first to ensure that it works as expected before pushing it into production.

All the best,  
John


author: Riccardo Salzer
body: Hi John,

We did it now :).  
We have already changed the maximum file size to 50MB for now and we mounted a storage server as attachment storage with 6,4TB. After a restart confluence seems to run quietly fast and all attachments were loaded quickly. I am shy to run a reindex of all attachments but as this is not neccessary for no, it runs good :).  
thanks for your information,

Riccardo

comments: author: James Tran
body: Riccardo, I've been looking online for a way to mount a NAS as attachment storage. Would you mind providing some details or links on how I can get this setup? thanks.


Tags: attachment
How to hide elements from the site layout on the edit page?!
Asked by Stefan Ernst:

I would like to add elements to the site layout (the section above the global layout so I need to edit the main.vmd) and hide them on the edit page layout (otherwise they would overlap the editor window)

How can I do that? Checking for edit mode in main.vmd doesn't seem to work like in page.vmd

many thanks!


Answers:
author: dy raffy
body: How about to di this on the client side?

something like:

```
AJS.toInit(function(){	if ( AJS.$("#main").is("#editpageform") ){	       AJS.$("YOUR-ELEMENT-ID").hide();	}}
```

With this you check if your are on the edit-mode (The Main-Id contains the EditPageForm-Id). If true your Element will be hidden.

I hope I could help

Raffy


author: C. Faysal
body: Hi

i did something like this using a velocity processed mesage customfield

[https://answers.atlassian.com/questions/114724/how-to-modify-this-code-to-add-restrictions-to-a-projectrole](/questions/114724/how-to-modify-this-code-to-add-restrictions-to-a-projectrole)

you could install Jira Toolkit Plugin to get this type of custom fields...

in your case you should create a new

**Message Custom Field (for edit)**  
**A custom field whose default value will be displayed as HTML an 'Edit' screen.**  
then add some jscript code as default value to it and you should be done


Tags: editor

virtual-machine
Atlassian Confluence 4.3.3 editor is missing WIKI view
Asked by MikeFitz:

We just upgraded to Confluence 4.3.3 and the WIKI view in the editor is gone.

How do we get it back?


Answers:
author: Adam Jacobson
body: Assuming you upgraded from a version prior to 4, you will find that Confluence now stores its data as xhtml and [only has a WYSIWYG editor](https://confluence.atlassian.com/x/AhGzDQ "only has a WYSIWYG editor"). You can still use some wiki shortcuts (eg. "h1.") and define specific wiki style areas using the {wiki} macro.

You might want to check out Atlassian's [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor "Confluence Source Editor") if you need to tweak content.


Tags: editor

wiki
Templates with constrained labels?
Asked by Neil Tangri:

Our team uses a lot of near-synonyms which will make labelling a headache. I'd like to create a template that assigns labels to pages based on drop-down menus to standardize labeling. Is this possible?


Answers:
author: RianA
body: I'm afraid it's not possible to do that in current Confluence. Perhaps you could raise a feature request regarding this in our <https://jira.atlassian.com>. Please bear in mind on how the [Implementation of New Features Policy](https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).


author: Laurent Corbi?re
body: Hi,

But you can control what labels are not good using {listlabels}. It will give you an index and you'll be able to find which labels are not correct.

Regards,

comments: author: Neil Tangri
body: Thanks, that's helpful!