youngmon/atlassian-qna huggingface dataset:
Creating subpages from the main page ( Without using the mouse )
Asked by HajoEhlers:

I am new to confluence and supprised about the none wikiness of it.

I have a main page like "PageOne" and would like to create a subpage - in other wikis i simply add a tag like \[\[PageOne/SubPage1\]\] or simply \[\[SubPage\]\] but it is not clear at all how to do it within confluence.

BTW: How can i write Wiki Markup directly ? Using the mouse all the time is a nogo since it simple breaks the work flow.

tia

Hajo


Answers:
author: HajoEhlers
body: I just found out that "subpages" are not really subpages.

If i have a page "MainPage" and create 2 Subpages like "SubPage1" \& "Subpage2" they are created at the same level as MainPage

Meaning:

I have

[](http://shi.com/MainPage)<http://shi.com/MainPage>\& [](http://shi.com/SubPage1)<http://shi.com/SubPage1>

but not [](http://shi.ciom/MainPage/SubPage1)<http://shi.ciom/MainPage/SubPage1>

From this perspective i have a "global" name space meaning all page names must be "unique" . I think i oversee something ....

i do not: From the Docu:

... because a page name must be unique within a space

What a crap..... So something like

./AIX/Support

./SUN/Support

is not possible. Great tool .....
calculation on macro
Asked by Uththira pandi:

How to calculate the values in the template using macro?(for example: adding two numbers inside the template by the macro)

Is here any codings be use?


Answers:
author: David at David Simpson Apps
body: IF this is in a user macro, thats tricky. If you're using a custom macro, you could either to the maths in the java code and then pass it though, or add MathUtils to the velocity context and then do something like:

$mathUtils.addAndCheck($x, $y){#91}


author: AlexeyM
body: Hello,

For any calculations you may use [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math). Please contact me directly on any question on this plugin.

Thanks!
Difference between 2 dates - how to?
Asked by Rumceisz:

Hi All,

we have Reporting plugin which enables to calculate the difference between two dates. Do you know how to achieve this? We don't find any docs for this.

We need the difference in days or month.

Thanks in advance,

Rumi


Answers:
author: CelesteCS
body: Hello!

For any calculations in Confluence, including calculations over tables, you may use [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math). There are versions for both Confluence Server and Confluence Cloud.

Assume you have a table with three rows and four columns: A till D with two rows and want to summarize elements from B2 to D2. Then here is the formula you should specify in A2:

```
SUM(Table1.B2:D2)
```

If you want to calculate average value, use AVG function:

```
AVG(Table1.B2:D2)
```

As you see, it is very simple and is similar to EXCEL with equal set of functions.

There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.

Thanks!


author: Yagnesh Bhat
body: If you are planning to write a plugin to do this, then you can have that plugin have a macro in it that takes two dates as parameters and calculates their difference. To calculate this difference , you can use the Joda API that already comes bundled within the confluence plugin package. More about this here : [](http://www.joda.org/joda-time/)<http://www.joda.org/joda-time/>


Tags: confluence-administration
Mention users autocomplete does not show any users
Asked by Anatoly Nikolaev:

Hello, after migrate to 5.4.4 version we cannot use autocomplete for mentions users (@username).

![](http://content.foto.my.mail.ru/mail/carbon25/3/h-679.jpg)

See screenshot. I can see my account after type @ and then I start type user name autocomplete cannot find any users.

Can I changed some settings to fix problem?


Answers:
author: salehparsa
body: Hi Anatoly,

This behaviour might be related to Confluence indexing. In order to confirm that, I'd like to ask you to rebuild the Confluence index and check if you have similar problem.  

* **[Rebuild the Content Indices from Scratch.](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch)**

Regards,

Saleh

comments: author: Anatoly Nikolaev
body: Thank you. Simple "Content Index" helped me.


Tags: confluence-administration
Migration current Confluence v3.1.3(Weblogic, Oracle 9i), target version 5.4.4(Tomcat, 11g). When to migrate the DB, Server?
Asked by Anoop Hallimala:

Hi,

We are looking to upgrade Confluence version 3.1.3 to 5.4.4. We are following the upgrade path 3.1.3 =\> 3.5.17 =\> 5.0.3 =\> 5.4.4.

*Current Prod :* Installed Confluence 3.1.1 WAR(Ear/war version) on Weblogic, pointing to Oracle 9i, in our prod.

*Target :* 5.4.4(any distribution type) on Tomcat, pointing to Oracle 11g.

Our initial thought on the upgrade steps:

Install Standalone version of Confluence 3.1.1 on Tomcat pointing to Oracle 11g(directly upgrading from 9i). Then, upgrade to 3.5.17. Then, to 5.0.3. Then, to 5.4.4.

Questions:

a) **Can v3.1.1 be installed on Tomcat point to Oracle 11g, in the very first step?**

If not, **which version of Confluence(between 3.5.17 , 5.0.3 and 5.4.4) is compatible with Oracle 11g?**

b) **Can 3.1.1 WAR deployed on Weblogic be directly migrated to 3.1.1 Standalone distribution on Tomcat?** (Since, we want to move to Tomcat and also upgrade to higher versions)

Could you please point us in the right direction? Also, links to any past discusssions on this topic would help.

Thanks,

Anoop Hallimala


Answers:
author: Branno
body: While Oracle 11g works in Confluence 3.1.3 it was not officially supported until 3.5. However it appears that 3.5 does not support Oracle 9i. So we are in kind of a Catch 22 scenario. This is why it will be important to test this before making change to production.

My recommended upgrade path would be:

Upgrade Oracle to 11g on the current EAR/WAR install \> Migrate to standalone 3.1.1 \> 3.5.17 \> 5.0.3 \> 5.4.4

To more specifically answer the question:

a) Yes, but it is not recommended. You should perform the DB upgrade first, verify it is working and then migrate to Tomcat from Weblogic.

b) Yes, simply follow the instructions [here](https://confluence.atlassian.com/display/conf31/Migrating+Confluence+Between+Servers)


Tags: tomcat

upgrade

weblogic
How to apply CSS to the Expand macro
Asked by Jordan Packer:

I understand how to apply CSS stylesheets to a space, but how can I reference the Expand macro objects in the stylesheet?

I have a list of hyperlinks, some of them are just direct URL hyperlinks and others are Expand links (that open up to expand a sub-list of URL hyperlinks). However, when you put a mixture of those right after another, the format looks awful. I think this is because the Expand macro has a different margin setting and so the spacing right after it is different than if it were just a regular \<p\> object. Any ideas???

To better visualize, here's an example of what I get right now:

![](../../upfiles/bad.png)

And here's what I would like to have:

![](../../upfiles/good.png)


Answers:
author: Davin Studer
body: You could give the expand-control class a 10px margin-top. That should fix it for you. It currently has a 10px margin-bottom, and p elements have a 10px margin-top and no margin-bottom. That is why they butt up against each other. You could add it to either the space or global stylesheet, or if you only want it on one page you could use the Content Formatting Macros stylesheet macro to put a style block in your page.

```
.expand-control {    margin-top: 10px;}
```

comments: author: Jordan Packer
body: That helps, thank you.


author: Jordan Packer
body: Never really found a good way to do this.... closing this question since I'm not getting any other answers.


author: Davin Studer
body: If you are using a fairly modern browser they all come with developer tools that allow you to look at the source and css styles for specific elements. That would be the place to go to see what is going on. Also, you may look at the storeage format for the actual page to see if the wysiwyg editor did something wonky. The [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor) will let you peek into and edit the storage format.
I see activity in the activity stream from an anonymous user but I have the anonymous permission turned off globally. Why is this showing? See screenshot below
Asked by Andrew Corcoran:

![](../../upfiles/Screen_Shot_2014-07-16_at_12.54.58_PM.png)


Answers:
author: Mallmann
body: Hello Andrew,

There's a known bug report for this behaviour, which was already fixed and is going to be released along Confluence 5.6.

Please, have a look on the ticket: [](https://jira.atlassian.com/browse/CONF-32081)<https://jira.atlassian.com/browse/CONF-32081>

I hope it helps!

Best regards,

Eduardo Mallmann

Atlassian Support
How to add the confluence scaffolding plugin licence
Asked by l:

Can you please help us for for updating license in confluence which didn't have a edit key


Answers:
author: Kay Brown
body: In Admin, there is a Service Rockets Plugins area on the sidebar that lists all of their plugins. Click on the Scaffolding link and there is a place to add the license.

Regards,

Kay


Tags: addon-net.customware.confluence.plugin.scaffolding
Duplicates in People Directory Confluence
Asked by Brian Moore:

Hi,

I have duplicates in my people directory. I know I need to have the search reindex, but I do not knwo how to do that.

Thanks,

Brian


Answers:
author: jing_hwa_cheok
body: Hi Brian,

Judging from your description, I believe there are some duplicate user info content created for the same user in your Confluence database. The detailed cause and the solution is explained in this [documentation](https://confluence.atlassian.com/display/CONFKB/Duplicates+in+the+People+Directory).  

Since you are using an Ondemand instance of Confluence which are hosted by Atlassian, I suggest you to contact our support team so they can assist you in solving this issue.

<br />

Hope this suggestion helps!

Regards,

Jing Hwa


Tags: cloud

confluence-cloud
Can we integrate Crucible With Confluence, If yes then How?
Asked by Shashi Kant:

I am trying to integrate confluence with Crucible but unable to find any method to do so.


Answers:
author: Tiago Comasseto
body: Hi Shashi, integration between Confluence and Crucible can be done with the [application link](https://confluence.atlassian.com/display/APPLINKS/Configuring+Authentication+for+an+Application+Link) functionality. After setting the application link you can, for example, insert [Crucible gadgets](https://confluence.atlassian.com/display/CRUCIBLE/Using+Crucible+gadgets) in your Confluence instance.

I hope this information has helped.

Cheers


Tags: confluence-administration
Dots in Labels
Asked by Georg Egghart:

Hi

Is it possiple to use Dots in Labels ? I have some labels with dots, but the dont work.

Example: member.card

Thanks

BR GE


Answers:
author: Mick Davidson
body: Georg,

No this isn't possible. If you want to use two words, you either have to put them together or use a hyphen or underscore.

* forexample
* for-example
* for_example

There are a number of characters that you can't use either. Not sure what the list is, but if you try to use them you get an error and all the labels you had been entering disappear.

Cheers.


author: salehparsa
body: Hi Georg,

We do have following improvement request. You can see the list of the characters that you can't use in the label in this ticket:

* [Allow special characters in labels and spaces](https://jira.atlassian.com/browse/CONF-6008)

I'd recommend you to watch and vote for this request and check [Implementation of New Features Policy](https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy) to see how Atlassian chooses what to implement.

Cheers,

Saleh


author: Georg Egghart
body: Mick,

Thanks !

comments: author: Mick Davidson
body: Georg,

You're welcome. :)


Tags: label
Location dropdown list on Confluence Team calendar creation dialog is incomplete and does not show all timezones
Asked by Ankur Mehrotra:

1. Login into Confluence instance and click on Calendars menu   
2. In the Calendars screen, click Add Calendar button and select "Add a new calendar" in the subsequent dialog window   
3. Expand the location dropdown in Create Calendar window   

Expected Result:   
1. The location dropdown should contain a list of all timezones starting from Africa/Aidjan and ending at W-SU   
2. Logged in user's timezone should be selected by default   

Actual Result:   
1. The location dropdown is incomplete since it starts at Africa/Aidjan but ends at America/Lower_Princes.   
2. Logged in user's timezone is Not selected by default if it is a timezone after America/Lower_Princes.   

<br />


Answers:
author: Patrick Sittinger
body: Just check this article i found: <https://confluence.atlassian.com/display/CONFKB/Missing+Timezone+When+Attempting+To+Create+a+Team+Calendar>


author: Scott Finney
body: Did you find a solution to this?


author: Ankur Mehrotra
body: Any update ?
Confluence | PDF/Word file exported from a confluence page generated gibberish in the Filter Result macro
Asked by Ankur Mehrotra:

Steps to reproduce

1. Login into Confluence instance and create a new page of type "JIRA Report"   
2. In Page Edit mode, add a macro named "Filter Results" in it   
3. In the Filter Results edit window select an existing query created in JIRA such that the results get fetched in the Confluence page   
4. Save changes and Publish the page. Once published, observed that the query results are visible in "Filter Result" gadget.   
5. Now take an export of this page into PDF/word format and open the PDF/word file downloaded on your local machine.   

Expected Result:   
1. PDF/Word file exported from confluence should display the filter result table with actual values as shown in Confluence page.   

Actual Result:   
1. PDF/Word file exported from confluence does not display the filter result table with actual values as shown in Confluence page and instead shows some illegible HTML code

I have attached the screenshot for the same


Answers:
author: Ankur Mehrotra
body: Team any update ?

comments: author: Cheryl Schmelzer
body: Hello Ankur, We experienced the same issue, and in some cases have resorted to using the JIRA reports macro, which will allow you go generate a readable Word or .pdf file. However, that is not always a suitable option. For our workaround, we are printing the Confluence page and then selecting the print to pdf option. That will print the page with the tables generated and not the macro code. However, it will not pick up any .pdf templates that you've created. You essentially get the full Confluence page content. We then modify the .pdf file.


author: Ankur Mehrotra
body: This issue is different from the above mentioned by you.

Also it is coming in PDF files also along with word

My confluence version is 5.4.3 \& My MS office is 2010 \& Adobe - 10.1.10

comments: author: Guilherme Nedel [Atlassian]
body: Hello Ankur, I was reviewing my mailbox for answers and found this pending thread. Since this is not the same scenario, we may need information such as logs and screenshots. Would it be possible to take a look into this through a support ticket?


author: Guilherme Nedel [Atlassian]
body: Hello Ankur, I have done a similar operation yesterday, and found the same result. In the scenario we were trying to have a page Exported so it could be read in Open Office. There is a bug report filed for this behavior, its [CONF-32341](https://jira.atlassian.com/browse/CONF-32341).

In case this is not exactly the same situation, would it be possible to provide additional information on your Confluence application version, and if you are using MS Office in which version, as such the community can provide additional insight?

Hope this helps.
Reset Password
Asked by isosceles:

After clicking the **Reset Password** link in email from *Confluence* and entering a new password in the **Reset Password** page, I receive the error;

"The following error(s) occurred:

User with username 'Jeff' does not exist."


Answers:
author: Paul Greig
body: Hi Jeff,

Assuming this is from your Confluence Cloud installation, my suggestion would be to try using either 'jeff' or possible the email address of your account (as this may be your username).

If you are still having issues, let us know on [support.atlassian.com](http://support.atlassian.com)and we can jump on and have a look :)

Cheers,

Paul

comments: author: isosceles
body: Paul,

Thanks for the reply. Yes, this is from Confluence Cloud installation. Username is actually 'jeff carpenter' which I believe is causing the problem (space in user name). The update password page only prompts for "new password" and "new password confirmation" so no way to specify email address. Any help would be appreciated. Alternatively, is there a way for me to change my username in Confluence?

Cheers,

jeff.


Tags: cloud

confluence-cloud
Relation b/w Themes, Configurations and Spaces in database.
Asked by Nitin Kumar:

Hi . I am looking to manage the page/space configuration (not content) in Confluence(5.5) as part of the release process.

Is there a way to do that ? I know about Bandana table . I can migrate the themes (RefinedWiki) across environments by picking on spacekey in Bandana table but cannot get the relation b/w spaces and categories working under Oranize Spaces page in Admin.

Can anyone please show me a relation b/w these three entities.


Answers:
author: William Crighton [CCC]
body: I'm guessing you already used google with something like 'atlassian confluence data model' and found this page?

* [Confluence Data Model](https://confluence.atlassian.com/display/DOC/Confluence+Data+Model)

The second paragraph about how the data model can change, while true, is not exactly something to get highly concerned over - most the queries I wrote back in 2005 during my first Confluence implementation still work.

The first paragraph will be you answer for any confluence managed (opposed to 3rd party plugin managed) data - quoted here for effect:
> The Hibernate mapping files are the authoritative reference for the Confluence data model. These are the `*.hbm.xml` files which you will find in the main Confluence JAR file (`<CONFLUENCE-INSTALLATION>\confluence\WEB-INF\lib\confluence-5.1.1.jar`).

If you've gone through a similar exercise with JIRA these are like the entity-model.xml file describing the tables and their relationships. It's all based on (at it's core) the Apache OFBiz project (I believe) and has a summary of the approach for handling data here [Open for Biz Data Model](https://cwiki.apache.org/confluence/display/OFBTECH/General+Entity+Overview) (along with a lot of other doc).

maybe that'll get you somewhere close to what you are looking for. I'm thinking, though, that you're mixing 3rd Party Plugin names/concepts with Confluence ones - and it'd help a lot if you mentioned the 3rd party plugin you were working with (providing the 'Themes').

-wc


author: Nitin Kumar
body: Hi Will, You are spot on and yes I am using a lot of 3rd party plugins like RefinedWiki Theme , Adhoc Workflows ,Archiving plugins ,Arsenale Lockpoint ..

As long as I am able to maintain the line between config and content , things should be ok. I can migrate spaces with Workflows too. Will be trying on spaces with attachments next.

Your anwer confirmed that I am doing the right thing.

Thank You!

These are my references and the migration script works fine on our test spaces/Theme Admin page with Space Categorization.

[](https://wiki.bath.ac.uk/display/webservices/Confluence+3.5.6+upgrade+go+live)<https://wiki.bath.ac.uk/display/webservices/Confluence+3.5.6+upgrade+go+live>

hbm Files : Label.hbm.xml , ConfluenceBandanaRecord.hbm.xml , Space.hbm.xml

DB Tables : Bandana, Label , Content_Label

comments: author: William Crighton [CCC]
body: Great! Glad that was helpful - thanks for taking the time to respond and accept the answer

Have a great day man

-wc


Tags: moderators
Anyone using Zen foundation with Arsenale Lockpoint?
Asked by Chitra Patil:

I am trying to use version control in a Zen-themed environment. I am unable to open any Office documents directly to edit. I get the message that attachment path is invalid. I tried using Arsenale lockpoint in a non-Zen theme, it works well. Trying to find out why the problem with Zen with Arsenale. Anyone using something similar? Would appreciate a reply.


Answers:
author: Scott Dudley [Inactive]
body: Hi Chitra,

Could you please drop us a line at [](http://www.arsenalesystems.com/support%20)<http://www.arsenalesystems.com/support> and let us know the versions of Confluence, Lockpoint and Zen that you are using, as well as the specific error message you saw (ideally as a screenshot)?

We can look into those specific components further and then let you know what we find.

Thanks!

Scott @ Arsenale
Bulk string replacement across Confluence
Asked by Sabina H_:

We're looking for a way to perform mass string replacements across all of our Confluence pages.

Many of our pages contain non-clickable hyperlinks to our network folders (i.e. resources outside of Confluence or Jira) in our corporate network. We're renaming these folders/locations and now we need a way to do a bulk replacement of the URL strings. We have over 6000 pages that have strings that need replaced, so manually isn't an option.

We can produce a table of 'what to find' and 'what to replace with', **we just need a query or tool of some sort that our IT department can safely run that will make the changes**. Help guide us please!

**Example**:

Old string: \\\\corp.ourcompany.net\\department\\Shop\\purchases\\wireframes\\Shop_Navigation

New string: \\\\corp.ourcompany.net\\marketing\\online\\store\\purchases\\wireframes\\Shop_Navigation

Possibly related:

[](/questions/149769/bulk-change-of-links-in-confluence)<https://answers.atlassian.com/questions/149769/bulk-change-of-links-in-confluence>

[](https://marketplace.atlassian.com/plugins/de.ck.confluence.gsr)<https://marketplace.atlassian.com/plugins/de.ck.confluence.gsr>

[](https://jira.atlassian.com/browse/CONF-2522)<https://jira.atlassian.com/browse/CONF-2522>


Answers:
author: Bob Swift (personal)
body: [Confluence Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/CSOAP) and use [modifyPage](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-modifyPage). Use [runFromPageList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-runFromPageList) to run the modify across a set of pages. This might take a while to run, but can be done while the system is live. The change will be recorded in page history.

An alternative would be to shutdown Confluence and do the appropriate update sql against the content table.

comments: author: Sabina H_
body: Thanks for the reply, right now we need a free option, buying another plugin is out at the moment.

Where can I find more info on how to do the appropriate SQL statements against the content table?


author: Bob Swift (personal)
body: The SQL isn't that difficult, but you need someone who knows what they are doing and make sure you have a backup.

However, I would suspect this one task could be done within your 30 day free evaluation license period ;).  


author: Sabina H_
body: Very true, I think we'll give that a try. We can use @allto search and replace within all pages in an instance, correct?


author: Sabina H_
body: Very true, I think we'll give that a try. We can use @allto search and replace within all pages in an instance, correct?


Tags: database

query

replace

search