youngmon/atlassian-qna huggingface dataset:
Is it possible to bulk delete spaces in Confluence OnDemand?
Asked by Liam Nicholls:

We have just finished migrating from an internal instance of JIRA to JIRA OnDemand.

As part of the import, a Confluence Space was created for each project automatically.

Unfortuntely we do not want a space for each project (many are closed projects) so we have around 100 unwanted spaces.

Is it possible to have these removed in bulk?

I haven't been able to find any documentation or other questions on problem - so I think we are out of luck.


Answers:
author: Bob Swift (personal)
body: Nothing UI wise. [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) has a [removeSpace](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-removeSpace) action.

comments: author: Liam Nicholls
body: thanks for the answer. I guess the Command line interface is not available on Confluence OnDemand?


author: Bob Swift (personal)
body: All the CLIs - [Atlassian Command Line Interface](https://bobswift.atlassian.net/wiki/display/ACLI) - should work fine with OnDemand. I just migrated all my plugins to an on demand instance and used CLI for many migration and administration functions. I specifically used removeSpace. The on demand products are suppose to be equivalent to their download equivalent, so they should work the same.


author: Liam Nicholls
body: Thanks Bob, I'll have to read up more about CLI

thanks

Liam


Tags: cloud

confluence-cloud
How do you set the Confluence global theme in OnDemand?
Asked by Bob Swift (personal):

I would like to use a customized version of the Documentation theme on all spaces by default. How can I set the this to be the default/global theme? I don't want to have to individually set, customize, and maintain it for each space!


Answers:
author: Bob Swift (personal)
body: This was solved by scripting: [Script to configure space themes](https://bobswift.atlassian.net/wiki/display/info/Script+to+configure+space+themes)


Tags: cloud

confluence-cloud
What is the best way to set up standard operating procedures on Confluence so that they are automatically flagged for review either after a set period of time or after amendment with messages sent to those to review or sign off?
Asked by Andrew Jobling:

A recent blog has suggested that Wiki Mark-Up in Confluence is no longer flavour of the month. Given that I've never previously used it anyway, could anyone out there suggest the best way to create a workflow to manage the process of amendment/review after a set period of time for Standard Operating Procedures (SOPs) with associated notifications, MI and sign offs.


Answers:
author: CharlesH
body: I think the ad hoc workflows plugin may provide you with the functionality you need. See this page in the documentation site: <https://www.adhocworkflows.com/display/public/AWP/state+macro>It also offers the ability to push messages using the set-message macro.Hope this helps,Charles


Tags: review
Compile new table from already existing tables on other pages
Asked by Edvard Wikstr?m:

I am evaluating confluence for an IT Consulting firm.

Each of our customer have their own page in confluence, with a section called Servers, here there is a standarized table with their server information.

Is there a way to compile all these tables into one big table on a certain page?

Example:

_PAGE3_

info from other page 1 and 2 New Column

\|\| Server name \| IP - Adress\|\| new line \|\|

(Information from page 1) \|Server1 \| 0.0.0.0 \| \|

(Information from page 1) \|Server2 \| 0.0.0.1 \| \|

(Information from page 2) \|Server1 \| 0.0.0.0 \| \|

Is there a way to accomplish this in confluence?

thanks!

Ed


Answers:
author: Bob Swift (personal)
body: Here are some alternatives:

1. Put the data in a database and then run a query on each page using the [Confluence SQL Plugin](https://bobswift.atlassian.net/wiki/display/SQL)
2. Write a groovy (or similar) script that gets each of the other pages and combines the table using the [Confluence Script Plugin](https://bobswift.atlassian.net/wiki/display/SCRP)
3. Write an external groovy (or similar) script that processes the pages and combines the table and populates the confluence pages using the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP)

The first option is the easiest and you can also provide a Confluence page to input/update the data using the [Confluence Run Plugin](https://bobswift.atlassian.net/wiki/display/RUN) .
How can I customise the CONTENT of the automatically generated TOC: Don't want page names but my own headings
Asked by Steffen Heller:

Hello everyone,

in very short this is my question:  
Is there a way to generate a table of contents (toc) and not use page names for this but something else (like my own headings)?

-----

In more detail:

I use Confluence to write technical documents and to export them to PDF. So controlling what the PDF output looks like is very important to me. As regards the automatically generated toc I fully understand how I can control its layout (with CSS) but I still haven't figured out how I can control its content, that is which content/information/headings become part of it.

When I use the PDF Export function I get a PDF with an automatically generated toc. The toc consists of the names of all the pages that I included in my PDF. Unfortunately these page names are not ideal for a toc. Because of their limitations (must be unique, must not include German umlaute, etc.) they typically read like this:

*"name of the product - name of subcatogary A - name of function B - description"*   
*"name of the product - name of subcatogary B - name of function C - installation"*

So far what I do is opening the PDF in Acrobat PRO, going through the whole toc and change each single line from something like "name of the product - name of subcatogary A - name of function B - description" to something like "description". Afterwards I repeat the whole thing for other languages. Obviously this is a lot of unnecessary work. Finding a way to have my own headings included in the toc instead would solve all of this. So is there a way to do this?

What I am sort of looking for is some kind of script that controls all of this. Alternatively I would also be interested in workarounds or other solutions. Or perhpas I have gotten on the wrong track or am missing out something rather simple.

I am using Confluence 3.2.1.

I know the {toc} makro but can't see how it could help me since it is based on the headings of a **single** page. Also, I know plugins that allow alternative page names but would prefer a solution that also works for different languages.


Answers:
author: Steffen Heller
body: Good idea. It is still a topic for me as well.


author: Greg Williams
body: I see that this was posted some time ago, but I'm also trying to customize the auto-generated TOC upon PDF export (Confluence 3.5). Maybe commenting will add some life to this question?


author: Steffen Heller
body: Okay, it seems my question is a little tricky. Perhaps I should to try to break it down a bit:

Can anyone explain to me how that table of contents is created that you get when you make an export via
> Browse \> Advanced \> Export: PDF Export

Is it a plugin? Or some other kind of extension? Or some core functionality of confluence that cannot be touched?

As I explained before I appreciate having an automatic toc but I would like to adjust its appearance. Is there a way to do this?


Tags: export

pdf

table-of-contents
How to configure space group of a space
Asked by Amin Abu-Taleb:

Hi all,

anyone could explain to me what's a space group and how can i configure it in confluence administration? I've seen in the Confluence API that Spaces have a SpaceGroup element inside, but I cannot find the way to administrate these spacegroups.

Thanks in advance


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: There is nothing like a Space Group in Confluence. I guess the methods in API are just a placeholder!


Tags: macro
Footer disapeared with documentation theme
Asked by Andre Lehmann:

Hello,

I was testing a Confluence 4.2-Standalone.

Just for evaluation, so with embedded HSQL-Database and developer-licence.

If I switch from Default Theme to Documentation Theme, the footer (powered by ...) disappeared.

In the admin-panel the footer ist still there, but if I switch to dashboard or any wiki-page and scroll down to the footer, there is no footer.

If I switch back to DefaultTheme the footer is still there.

I did not made any changes at the design or the footer-content.vm

Am I missing something or is this really a bug?


Answers:
author: Septa Cahyadiputra
body: Hi Andre,

I have confirmed this is a bug and have provided a workaround on the bug report:

<https://jira.atlassian.com/browse/CONF-25297>

Please watch the mentioned bug so that you would be updated and please feel free to adress your concern directly into it.

Hope it helps.

Cheers,

Septa Cahyadiputra
Import Word function now missing..what gives?
Asked by Geir Larsen:

I tried to configure webdav yesterday, without luck. However, today I can see that the import from Word function is not available in my tools.  

Did it go awol because I was messing with the webdav, or is something else afoot?  

Any thoughts?


Answers:
author: Geir Larsen
body: I just discovered that the OFfice Connector Macro was off. Enabling this solved the problem.


Tags: import
after universal plugin 2.2 upgrade all edit pages empty
Asked by Craig Hylwa:

after universal plugin 2.2 upgrade all edit pages are empty empty I can see content of page in normal view but when I edit the page there is no content except the title

![](../../upfiles/Screen_Shot_2012-04-19_at_7.09.12_PM.png)


Answers:
author: Craig Hylwa
body: Force Migration [from Wiki Markup to XHTML](http://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format) {#toc-hId--673908957}
=======================================================================================================================================================================
Where do you go to assign Space Administrators?
Asked by James Patterson:

[Confluence Glossary](http://confluence.atlassian.com/display/DOC/Confluence+Glossary) mentions Space Adminstrators but where do you go to assign a user those permissions?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: <http://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>

comments: author: James Patterson
body: Yes, the bottom of the page (which I missed before) details how to get there - I also found a path to the space admin screen from some Advanced option off the Administrator menu from somewhere...anyway, thanks!


Tags: cloud

confluence-cloud

space-administrator
How Do I Move A Blog On Confluence 3.5.13?
Asked by Gregory Sudderth:

Text says it all...got a space with some content we decided needs to be protected, want to move the blog out to the twin space that is the public stuff.

I realize I can do the psycho-chicken "swap names on the spaces, then swap content" but that's just nuts! IS there a better way?

Thanks in advance!

G.


Answers:
author: hsuhailah
body: You cannot move a blog post to another space. The feature request is tracked here: <https://jira.atlassian.com/browse/CONF-2455> however there is no news of implementation yet. "Move" feature is limited to spaces and pages.


author: Colin Goudie
body: I don't believe you can - <http://confluence.atlassian.com/display/DOC/Editing+Blog+Posts>


Tags: blog
Upgrade path from Confluence 3.0.0.1 to 4.2
Asked by Christopher Ribble:

Hi everyone,

For the last week I've been trying to upgrade our very outdated Confluence 3.0 instance to 4.2. After reading all of the upgrade notes from 3.0 to 3.5 and then some comments I decided to go from 3.0 to 3.3. Everything seemed to migrate fine, except I could no longer create pages. It would redirect me to a 404 page upon saving my page.

After searching and not finding anyone with a similar problem I decided that maybe it was just a browser issue and tried to upgrade to 3.5 from there. The 3.5 upgrade deleted all of my users and groups.

I'm going to start over at 3.0 again and want to do this right. What is the best upgrade path to use? Am I going to lose my users at 3.5 every time because of the changes to user management?

Our instance is installed on Solaris using an Oracle 10g database.

Thanks


Answers:
author: LuizA
body: Hello There,

As you're on the 3.0 version, the best and recommended upgrade path would be the following:

3.0 \> 3.5.17 \> 4.x

Regarding the lost of your users, this is not expected but if you have delegated your user management to JIRA, LDAP, Crowd, or any other external user management system, you'll have to copy the following files from your old Confluence installation(3.0) to your new Confluence installation:  

\* \<Installation-Directory\>/confluence/WEB-INF/classes/osuser.xml.  
\* \<Installation-Directory\>/confluence/WEB-INF/classes/atlassian-user.xml (if you are upgrading from Confluence 2.2 or later).

For more information about how to proceed to upgrade your Confluence, please take a look at this article:

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

I hope this helps.

Kind Regards,

LJ.


Tags: upgrade
Using onDemand Confluence and Eventually Migrating over to Download
Asked by Veronica Stewart:

Our implementation process takes a while to complete. We will be installing the download instances for Jira, Bonfire and Confluence. In the meantime, we are using the onDemand versions of Jira,Confluence,Bonfire and Gliffy.

Questions:

1) Is Gliffy available as a download? How does it work with the download versions?

2) Can we migrate our content that we are creating with the onDeman version of Confluence over to our download once the installation is complete?


Answers:
author: Gary
body: Hi,

#1 - Yes, Gliffy works in the download version as well. You install the gliffy plugin and then contact them for a license. See <http://www.gliffy.com/products/confluence-plugin/>

#2 - You will be able to export each one of your spaces from OnDemand, and then import them in to your standalone Confluence.

Cheers,

Gary


Tags: cloud

confluence-cloud
Setting up Application Links to JIRA so Confluence uses JIRA's Base URL
Asked by Gordon McShane:

Here's my configuration:

Confluence 4.2, JIRA 5

JIRA Base Url: <http://externalip/jira>

Confluence Base Url: <http://externalip/confluence>

Application Link -

* Application URL : <http://localhost/jira>
* Display URL: <http://externalip/jira>

Issue links created with macro: <http://localhost/jira/browse/issue>

Also note that Apache is running in front using mod_proxy to redirect :80 -\> :8080, :8090 respectively.

How can I make the macro use either the JIRA Base Url or the Display URL?


Answers:
author: Bruna Griebeler
body: If the external IP does not resolve on the local machine, maybe an entry on /etc/hosts might help.


author: Giovanni C?ndido da Silva
body: Hi Gordon MacShane,

I have problems with the application link setup that way.

To solve, when you create the application link use the external url (base url) as the application link. You can relocate or delete and create a new one.

If you use SSL or plan to use SSL, also checks this documentation:

<https://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services>

comments: author: Gordon McShane
body: Unfortunately, this is not an option because the external ip does not resolve on the local machine. I was under the impression this was why they provided a Display URL.


author: Rafal Niznik
body: [Giovanni C?ndido da Silva](https://community.atlassian.com/t5/user/viewprofilepage/user-id/510120) when you have created this application link by pointing to external url (base url what port number have you used?


Tags: application-link

jira
Confluence "This is not a valid url for JIRA 4.3 or later"
Asked by meena radhakrishnan:

While installing Confluence selected the option for it to use JIRA's user management and got the error "This is not a valid url for JIRA 4.3 or later." Jira is located on the same machine. I tried with both 'localhost:8080' and '\[IP address\]:8080/'


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: First of all, Is JIRA 4.3 or later?

If so, try url with protocol. <http://localhost:8080> ?


Tags: jira

management

user
How to obtain subspaces list of a space in a macro
Asked by Amin Abu-Taleb:

Hi all,

I'd like to obtain a list of subspaces nested in a certain space (current $space) as a List\<Space\> to iterate it in a macro. Is there any way to do it ?

Thanks in advance.


Answers:
author: Joerg Bencke
body: You would have to check with the plugins giving your the "subspace" stucture in the first place. it is not a standard from confluence (up to Conf 4.1 at least)

Good luck and share your findings here.

Josch


Tags: macro
How to log off of a user session
Asked by Dan Zimmerman:

I logged in as Admin and created a user. I then logged in as this user, but cannot log off so I can log in as Admin. I was trying to press the browse pull down at the top right and select a log out, or change identity option, but am not allowed to use the browse pull down.

Thanks in advance for your help,

Dan


Answers:
author: lrobertson39
body: Have you tried closing your browser and then re-opening so the user session is lost? I presume the user you logged in as didnt have enough permissions?
Upgrade from 3.2 - 3.5.13 Ldap config
Asked by rmorstein:

we have 94000 users in one ou, i need to be able to limit access via ad and groups i can not seem to find the right combination of ldap authentication settings that will not eat up time synching the ldap or take up lots of space in data base?


Answers:
author: Septa Cahyadiputra
body: Hi Robert,

Regarding the upgrade procedure, if your Confluence 3.2 has already integrated against LDAP server then you have the following option to upgrade your Confluence due to the size of your user base.

* If all LDAP users membership manage at your LDAP server then you could re-integrate your LDAP server against Confluence after the upgrade is finished
  * To restrict the number of users and groups to be retrieved by Confluence you could use this [documentation](http://confluence.atlassian.com/display/CROWD/Restricting+LDAP+Scope+for+User+and+Group+Search) as a guide
  * You have two method to choose which is
    * [Connector](http://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory), please review this documentation that describe the [limitation](http://confluence.atlassian.com/display/DOC/User+Management+Limitations+and+Recommendations) of the method
    * [Delegation](http://confluence.atlassian.com/display/DOC/Connecting+to+an+Internal+Directory+with+LDAP+Authentication)
* If your LDAP users on Confluence version 3.2 if the member of local groups (membership managed at Confluence), then you will need to follow this KB to upgrade your instance, as there will be a huge chance that Confluence upgrade will failed during the user migration process
  * [LDAP synchronisation process takes too long if number of users or groups is large](http://confluence.atlassian.com/display/CONFKB/LDAP+synchronisation+process+takes+too+long+if+number+of+users+or+groups+is+large)

Hope it helps

Cheers,

Septa Cahyadiputra
how to use an attached svg image
Asked by Ralph van Ettten:

I attached an SVG image to a page in confluence but I can not use the image. I tried Insert -\> Image but it does not reconize my SVG file as image.

How can I use SVG images? I saw there are plugins but they are really old. Is there a newer way?


Answers:
author: AndreasS
body: You can patch Confluence to show an SVG by

1. Add the line

   ```
   image/svg+xml svg svgz
   ```

   to the file

   ```
   /opt/confluence/webapps/ROOT/WEB-INF/classes/mime.types
   ```

2. Restart Confluence
3. attach the image using

   ```
   !&lt;Bildname&gt;
   ```

   in Confluence Editor

Unfortunately, to use the two smallest image size reduction buttons or setting a smaller size then 300px does not work with Confluence richtext editor because Confluence tries to create a thumnail on server side which is currently not supported for SVGs (and the Confluence server will return a empty, broken image).

The workaround is to use the free [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor), use button "\<\>" and set the size of teh SVG to whatever you want (which should be perfectly ok for vector graphics).

(see also [](/questions/222794/serve-svg-inline-in-confluence)<https://answers.atlassian.com/questions/222794/serve-svg-inline-in-confluence>)


author: LucasA
body: Hello,

To get this working, you have to use SVG Image Macro, but it's not available in OnDemand Environment.

Lucas Lima

Atlassian Support


author: LucasA
body: Hello,

To get this working, you have to use SVG Image Macro(<https://confluence.atlassian.com/display/DISC/SVG+Image+Macro>), but it's not available in OnDemand Environment.

Lucas Lima

Atlassian Support


Tags: cloud

confluence-cloud
What is the recommended open file limit for Confluence?
Asked by dchisholm:

The default limit of 1024 was too low during startup of Confluence. If the site was accessed immediately after restart, Confluence would report that it could not find resources that were clearly there. After waiting a few minutes, the problem cleated. I suspect this was because some background jobs (maybe indexing?) finished and freed file handles. When I run lsof on the Confluence process id, it usually has about 900 files open.

After doubling the open file limit to 2048, the problem cleared. Is this typical or does it indicate a problem with my installation?

Using Confluence 4.2 on CentOS 5.8


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: I have seen it before and I would say 2048 is reasonably good. Fisheye needs more but Confluence should work fine with 2048 unless there are some plugins messing it up!

comments: author: dchisholm
body: Thanks. Good to get some confirmation on this since I'm rather new to Confluence.
Import csv content into a page using page template
Asked by Khanh Nguyen:

Any advice on whether there's a way on importing csv content into a page with page templates.

In the page template, there are labels. . . can I match up the csv data to the labels and import them into pages in a space automatically?

Thanks in advance for your help!


Answers:
author: Bob Swift (personal)
body: Don't fully understand your question, but you can use the csv macro from the table plugin to display csv data.

comments: author: Khanh Nguyen
body: Hi Bob,

I would like to automate the creation of pages in a space by using the Add Page from Template.

Here's my made up example:

1) I have a Page Template as follows. . .

*h1. Just a test*   

<br />

*\| Test Summary \| @Summary\|textarea(5)@ \|*   
*\| Test Description \| @Desc\|textarea(10)@ \|*

2) I have a csv file containing 100 rows of 'Test Summary' and 'Test Description'

3) Is there an automatic way to create 100 pages (like Add Page from Template) and importing the data in the csv into those pages.

Thanks!


author: Bob Swift (personal)
body: Depends on whether this is a one time thing or you need a UI to do it.

1. [Confluence Command Line Interface](https://studio.plugins.atlassian.com/wiki/display/CSOAP) can be used to automate creation of pages using [addPage](https://studio.plugins.atlassian.com/wiki/display/CSOAP/Documentation#Documentation-addPage). [runFromCsv](https://studio.plugins.atlassian.com/wiki/display/CSOAP/Documentation#Documentation-runFromCsv) can be used to do this based on a CSV file.
2. If you need something that can be driven from a UI perspective, then this can help: [Confluence CLI Plugin](https://studio.plugins.atlassian.com/wiki/display/ACLI/Confluence+CLI+Plugin "Confluence CLI Plugin")


author: Khanh Nguyen
body: I'll have to give that a try - thanks for the tip!


author: Bob Swift (personal)
body: delete text

comments: author: Bob Swift (personal)
body: Sorry, this was suppose to be a comment. Now I can't delete it.