youngmon/atlassian-qna huggingface dataset:
Confluence 4 upgrade: Is there a way to create test users without email address?
Asked by Joe Salas:

Hi all,

We are upgrading to Confluence 4.0.5 from 2.9. (using ldap without crowd due to large ldap system)

I would like to create some test user accounts and test Confluence 4 features.

The admin manage user console seems to want me to add an email address for each test user.

Is there a way to create test users on Confluence 4.0 without using a valid email address?

Thank you!


Answers:
author: Jo-Anne MacLeod
body: I just use [junk@example.com](mailto:junk@example.com) (in other words, a dummy email as a placeholder).


Tags: confluence-administration
Java Script in a Confluence Page
Asked by Craig Hylwa:

I would like to place the java script below in a Confluence Page what would be the way to do this?

\<SCRIPT LANGUAGE=JavaScript SRC="http://noetix.intra.cerveceriaindia.com:80/NoetixGateway/ExecEmbeddedReportSimpleParamValues.aspx?name=7575d6a9-5716-49f9-8257-882918f7378a\&type=user\&prompt=no\&nwq_vdir=nwq\&eheight=300\&uid=7B350FEE3A2D854C42E06C95930D2358\&pwd=8FC025CE6E898FD4DB2480B3EAC4E354\&applicationlogindata=B9202BE9E9A0221B3ED8EA9D77358F434CDA85D9DA3EC069746DDE045904D0E0\&secure=bound\&version=3"\>\</SCRIPT\>


Answers:
author: Renjith Pillai
body: Use the {html} macro and put this script between that.

comments: author: SarahA
body: Hallo Craig and Renjith

Renjith is right: the HTML macro will do the trick. I'm just adding a note that the macro is disabled by default on Confluence. The site administrator can enable it.

It's disabled by default because of the security implications of allowing people to add HTML and Javascript to a page. Before enabling it, it's worth considering whether all the potential authors are trusted. People will be able to use the HTML macro in comments and blog posts as well as on the page.

Here's the documentation:

<http://confluence.atlassian.com/display/DOC/Enabling+HTML+macros>

I hope this helps. :)

Cheers, Sarah


author: Craig Hylwa
body: Thanks for the answers, the comment regarding the HTML marco being disabled by default was an important note!


author: David Peterson
body: The alternative to the {html} macro would be to add it as a User Macro. That way, it is safely output on the page, but you don't require opening yourself to other, more malicious JavaScript.
Corrupted Confluence Installation
Asked by Sean Cleary:

I have a corrupted installation of Confluence 3.5.9 which runs of a SQL Server.

The corruption was caused by server fault and is not application related.

I have set up a new Confluence installation on a different server (which is not visible to the currently corrupted application server on the network).

How do I transfer the data from the original SQL Server to the new installation and also the original Home Directory (i.e. Data) so that my new installation looks just like my original before corruption?

I can't run my original install of Confluence to do a db backup as it's too far gone.

I've taken a SQL DB backup file and a copy of the data folder and tried restoring them to the new installation. However, I get a http 404 error when I Do this.

Any help would be very much appreciated.

Thanks,

Sean.


Answers:
author: Nic Brough -Adaptavist-
body: Depends what the 404 is caused by. 404 means "can't find that url", which could be anything from your network through to the application not starting.

What does the application log say? If Confluence is not starting, the application log will tell you why. If it is starting ok, or even with errors, then can you reach it locally on the Confluence server? If you can, then the 404 is network based. If you can't, then the log should tell you what the errors are.

comments: author: Sean Cleary
body: Probably a really silly question, but how do I view the log if the application wont start?


author: Tiago Comasseto
body: Hi Sean,

We expect that, even if the application is not starting, the logs would register at least the reason why the application is not able to start. You can get more information on how to find the location of Confluence logs in this [documentation](https://confluence.atlassian.com/display/DOC/Working+with+Confluence+Logs).

Cheers


Tags: database

ms-sql
LDAP Dynamic Group Support
Asked by Khanh Nguyen:

It would be awesome if I can get Confluence/Jira to work with LDAP Dynamic Groups. By that I mean specifically. . .

Example LDAP cn definition:

cn=dg_all_managers,ou=groups,dc=abc,o=xyz

objectclass=top groupOfURLs

memberURL=ldap:///ou=people,dc=abc,o=xyz??sub?(mgrLevel=Y)

Let's say User1, User2 and User3 have the attribute mgrLevel=Y.

Scenario1: Is there a way to get Confluence/Jira to recognize the cn=dg_all_managers,ou=groups,dc=abc,o=xyz as having dynamic members User1, User2 and User3?

Scenario2: Do I need to go one step further and add an attribute to User1, User2 and User3 LDAP record to include a memberOf=cn=dg_all_managers,ou=groups,dc=abc,o=xyz

Our preference is to get scenario1 to work but might be willing to settle for scenario2.

Any advice on this is appreciated.


Answers:
author: Andrew Frayling
body: Hi,

You should be able to use scenario 2, have a look at <http://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory#ConnectingtoanLDAPDirectory-MembershipSchemaSettings>

If you use the "Use the User Membership Attribute, when finding the user's group membership" setting then the application will use the group attribute on the user (memberOf) to retrieve group membership, if you have this unchecked it will use the attribute on the group (member) to determine group membership.

The support for "real" dynamic groups (scenario 1) is an open feature request - <https://jira.atlassian.com/browse/CONF-8046>

Hope that helps,

Andrew.


Tags: group

ldap

user-management
pop up box
Asked by Jarryd Kleviansky:

is it at all possible to create within a form the option of when insert page is pressed a pop up box pops up requestion information which is then also inserted within the page?


Answers:
author: Renjith Pillai
body: Not a direct solution, but a form based data input is possible if you use templates along with the Scaffolding plugin. With this when a page is created using the template it opens up like a form and you can enter the data as per the fields defined.

<https://plugins.atlassian.com/plugin/details/190>

<http://wiki.customware.net/repository/display/AtlassianPlugins/Scaffolding+Plugin>

The confluence version compatiblity with this plugin has to be checked though.
Confluence page will not save due to error "The title [page title] already exists in space [space title].
Asked by Michael Roff:

I have created a number of pages in confluence using the Create Page macro.

All pages use the same template which has scaffolding in it.

Most of these pages I can edit and save no problems.

Some of the pages however give me an error - see image attached.

I can change the title of the page, save it, then rename the title back again and this resolves the problem.

This is ok for me, but for general users this is not acceptable. Any ideas on why this is caused and how to fix it?

Would a reindex help?

Thanks - Mick


Answers:
author: Michael Roff
body: I think I have worked this out.

It seems the pages which were throwing this error had a space at the end of their title.

This was causing Confluence some confusion as when they were edited I think Confluence tried to remove the space only to find the page already existed. I really don't know the inner workings - but maybe this is another sort of check that Atlassian could put when saving a page.

comments: author: veruskap
body: Hi, just came for this.

It was the space in the title. So strange. Had to remove it and couldn't add it back. Thank you for the comment, it helped.


author: Michael Roff
body: Thanks Nic, sorry I wasn't clearer.

There are no duplicate pages in the space.

Each page has a different name.

This is an error that should not be produced. This is evident by the fact that when the page title is changed and then changed back, the error does not reproduce. Hopefully that clarifies things.


author: Nic Brough -Adaptavist-
body: Um, don't give the pages the same name? We leave the page names blank so the users have to fill them in.


Tags: error
how to connect remotely to confluence
Asked by P:

Found

[](http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPCJavaExamples)<http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPCJavaExamples>

and

[](/questions/8724/how-to-use-the-xml-rpc-api-using-java)<https://answers.atlassian.com/questions/8724/how-to-use-the-xml-rpc-api-using-java>

any sample code explaining how to use?


Answers:
author: Bob Swift (personal)
body: [Confluence SOAP Library](https://studio.plugins.atlassian.com/wiki/display/CSOAPLIB) has some simple java and groovy examples that use the library:

<https://bitbucket.org/bob_swift/confluence-soap/src/c549055b79f0/src/itest/resources>


Tags: java

rpc

xml
Indentation in Confluence v4.0 page template
Asked by Marko Memonen:

How can you insert an indentation in Confluence v4.0 with wiki markup which has to be used creating page templates?


Answers:
author: Marko Memonen
body: Thanks. We solved this using code

```
# .wiki-content p, table.confluenceTable {  #    margin-left: 30px;  # }  
```

in space stylesheet. The code above affects paragraphs i.e. body text. Different headings can be indented similarly using code like

```
# .wiki-content h4 {  #    margin-left: 20px;  # }  
```

<br />


author: Joe Clark
body: The HTML entity for a non-breaking space (\&nbsp;) can be inserted into wiki markup content to generate significant white-space.


author: Thomas Schlegel
body: Hi,

this is described here: <http://confluence.atlassian.com/display/DISC/Indent+User+Macro>

Best regards

Thomas
Gadget list not displaying in Confluence
Asked by Christian Czaia _Decadis AG_:

Hi,

we're running several Confluence instances but this error only occurs in one. When I try to display the "Confluence gadgets" windows only an empty windows pops up. We're running version 4.0.3 but have had the problem for some time.

By the way, we're using the Refined Wiki Original Theme.

Thanks for any answers

Cheers

Christian


Answers:
author: Michael S
body: Christian,

If you switch to a bundled theme does it work? If so, then it's an issue with Refined Wiki - you might want to make sure you're using the latest version and contact the devs if necessary.

Otherwise, are you able to access the plugin repository via Admin \> Plugins \> Search? If not, check your base URL matches the URL you're using to access Confluence.

comments: author: Christian Czaia _Decadis AG_
body: Hi Michael,

I had already ruled out a mismatching Base URL (which caused problems in the past). Meanwhile I have updated Refined Wiki not giving any thoughts on the problem I mentioned here. When I read your answers, just out of interest I tried loading the gadget list and - it works...Must have been the latest release.

Thx anyway

Christian


author: Michael S
body: My pleasure Christian, glad you got it solved.


Tags: gadget

refined-wiki
how to include page content of a remote Confluence via include page macro
Asked by AM:

I'm working on Confluence A running on host A and would like to include pages from Confluence B running on host B.

Usually "include page" is the right macro to include pages stored on the same Confluence, but how to include pages stored on a Confluence running on a remote host ...?


Answers:
author: Bob Swift (personal)
body: I am working on a macro extending [Confluence CLI Plugin](https://studio.plugins.atlassian.com/wiki/display/ACLI/Confluence+CLI+Plugin "Confluence CLI Plugin") to do this. I will post information here when it is further along. Tracking with [ACLI-51](https://studio.plugins.atlassian.com/browse/ACLI-51) .

Update: This is available now with 2.5.0.


author: B_ Normann P_ Nielsen
body: You can to some Extend use the HTML include, and via a litle CSS styling an decorator work get a decent include, I include this:

<https://www.nspop.dk/display/resources/DriftsstatusIncludeExternalHorizontal?decorator=printable>

In another Confluence...

BR,

Normann


author: AM
body: The official Atlassian "include page" macro does not support this feature (check [http://confluence.atlassian.com/display/DOC/Include+Page+Macro )](http://confluence.atlassian.com/display/DOC/Include+Page+Macro) so I raised a improvement request: <https://jira.atlassian.com/browse/CONF-24425>

Nevertheless, ideas welcome!


Tags: include
Anonymous RSS feed
Asked by johnt:

I need to create public/anonymous RSS feeds in confluence. When using the feed builder it does not give me the option to choose my authentication preference, it is default to "basic - auth". Advanced options do not provide me with enabling anyonmous access.

How can I create publi/anonymous RSS feeds?

|------------------------|------|
| **Confluence Version** | 4.0  |
| **Build Number**       | 3047 |


Answers:
author: Andrew Frayling
body: Hi, you should be able to create an anonymous feed by leaving it set to basic -auth, but then removing \&auth_Type=basic from the generated feed URL or by modifying configurerssfeed.vm. Details available in the footnotes of <http://confluence.atlassian.com/display/DOC/Using+the+RSS+Feed+Builder> and <https://jira.atlassian.com/browse/CONF-21601>. Hope that helps, Andrew.
Can I remove / hide the "Report a Bug" and "Atlassian News" links in the Confluence footer?
Asked by Dan Moran:

I found this link, but my IT Manager he couldnd't get to the specified file:

<https://team.eea.sk/wiki/display/DOC/Modify+Confluence+Interface+Text>


Answers:
author: David at David Simpson Apps
body: @Colin Goudie is right here.

I'd suggest browsing to **Browse \| Confluence Admin \| Look \& Feel \| Custom HTML**

In **At the end of the HEAD** add:

```
<script>  AJS.toInit(function(){    AJS.$('#poweredby li:not(:first)').hide();  });</script>
```

This would customisation would be retained on upgrade.

Also, read [Editing the Footer](http://confluence.atlassian.com/display/DOC/Editing+the+Footer)


author: Colin Goudie
body: In your confluence installation directory you could modify your **confluence/decorators/includes/footer-content.vm**and remove it.

Or you could build a plugin (or add some custom Javascript to global html) to hide the #footer div with JQuery

comments: author: Dan Moran
body: Thanks, Colin! The Custom HTML works great! Dan


author: Dan Moran
body: Oops, looks should I should have been thanking David! (I saw the Colin link at the top of David's answer.)

Anyway, I appreciate the quick reply from you both.
when viewing JIRA issues and versions in the team calendar, can I show duration of a version or just due date
Asked by Adam Saint-Prix:

This question refers to the latest version of Team Calendars.

I'm looking at using Team Calendars in Confluence to show issues and versions from JIRA to show a timeline of work that needs to be completed. I want to publish this as part of our status updates to stakeholders so they have visibility into work that is going into a specific release or milestone.

I want to be able to show the duration of a particular milestone for which I'm using JIRA/GH Fix versions. So if iteration 1203 runs from Jan 13-Jan 26th, I'd like the Team calendar to reflect this using the start and end dates from GreenHopper.

From what I can tell Team Calendar only displays JIRA issues and versions based on due date, not on the duration. I suppose it could be useful for a ticket as well if the work is complex and you want to show this on the calendar.

I know it's possible to do this manually by adding in an event calendar, but it would be nice :) if I could leverage data from JIRA to do the same thing.

I'll add a screenshot later to show what I mean as that might help.

Thanks,

Adam


Answers:
author: Adam Saint-Prix
body: Got a response back from Atlassian Support on this if anyone else is wondering. The short answer is no. We are working around this by using an Events Calendar to publish duration of a milestone or other event where we want to show how related releases/events/etc. overlap and how they might impact one another.

I think I'm going to file a feature request for this as I've worked with clients in the past that wanted something like this to help manage their release calendar. They wanted to show development releases and milestones, but also Corporate Events so that they could time their releases appropriately and not cause disruption to th business by releasing a ton of new code during the busiest time of year for the business.

Anyhow. something to think about. I'll post a feature request shortly.


author: Scott Spyrison
body: 12 months later and I found myself asking the same question. Team Calendars seems to do this nicely for Greenhopper Sprints, but not for versions. Greenhopper adds a start date to versions, but the calendar only displays the end date.


Tags: team-calendars-for-confluence
rename space
Asked by Jeff Smith:

How do you rename a space on the Confluence dashboard? There is a link that discusses exporting a space and cloning a space ( <http://confluence.atlassian.com/display/DOC/Copy+Or+Rename+A+Space> ), but I simply want to rename the space name on the global dashboard.


Answers:
author: David at David Simpson Apps
body: Browse to the space in question, then click on **Browse \| Space Admin**.

Change the space name in the resulting "Edit Space Details" page. The name change will also appear on the dashboard.

comments: author: Sam Petre
body: I'm working on my own cloud instance, and am unable to edit the space name from within Browse \| Space Admin \> "Edit Space Details".

I see the name, and can enter a description, however, the 'name' field is not available for editing.

I'm the only user of the instance, I confirmed that I'm the site admin... Thoughts?


author: Lisa F?rstberg
body: Same thing here on 6.15 - seems like a Space Admin is not allowed to change name of Space.


author: Maximilian M?ller
body: Same here


author: pdiogo
body: It looks like this option is hidden for the first created space only. For other spaces I create, there is an option to change the name and delete it...  
Isn't there really a way to rename / delete the first created space?!


author: John Clarke
body: for the cloud version: this is now :

click the name of space to browse to it.

at the bottom of the left hand side-bar click "Space Tools"

then click "configure sidebar"

The space name now has a pen icon to it's right, click it to edit the space name, upload image etc.
automatic update of generated documentation
Asked by Sean Ochoa:

Hey all.

Could someone advise me on how to upload generated documentation from a given project to confluence?

What sort of plugin or functionality do I need to leverage?

I've got a python project with epydoc html output.


Answers:
author: Bob Swift (personal)
body: See

[How to create a page and populate that page with content automatically?](/questions/25978/how-to-create-a-page-and-populate-that-page-with-content-automatically) {#toc-hId-478756990}
=======================================================================================================================================================================================

comments: author: Sean Ochoa
body: Yeh, except that generated documentation is more like multiple pages that have one or more html, javascript, and css files.
migrating old calendars to team calendars
Asked by francis:

Hi,

We want to install team calendars (got the license and al) and we are also mentally prepared to do the migration as

documented on <http://confluence.atlassian.com/display/TEAMCAL/Licensing+and+Installing+Team+Calendars>

We have about 11 different pages with the old calendar on, and on each calendar page, we have on average 8 calendars.

So, I can download the 88 ICS files, but when I enable the team calendar plugin, I can only create a calendar from

my own user menu, while these 88 calendars have been created by multiple people.

How should we deal with this. Can I create these 88 calendars in my user account, what is the impact for the other

users ?

Francis.


Answers:
author: Tom Bell
body: I know this is an old thread but to handle the hundreds of calendar reimports after our last Confluence upgrade we used the [Confluence SU plugin](https://marketplace.atlassian.com/plugins/com.javahollic.confluence.confluencesu). This allows us to perform the import as the original owner. Saves us from having to deal with ownership issues and we don't fill up our own personal calendars with other people's events.


author: hsuhailah
body: Even though you are the owner of the calendars, you can still share the calendars and set view/edit restrictions for each.


Tags: team-calendars-for-confluence
CSS question working with Headers
Asked by Craig Hylwa:

I would like to indent or pad Header 3 is this possible using CSS? If so can an example of the code be provided?


Answers:
author: Colin Goudie
body: Something like

```
.wiki-content h3 {   padding-left: 50px;}
```

You will need to package the css inside a plugin and use a web-resource descriptor to get it included in all pages

See - <https://developer.atlassian.com/display/CONFDEV/Including+Javascript+and+CSS+resources>


Tags: css
Disable top bar (navigation, login, admin)
Asked by Krzysztof Kozlowski:

How can I disable top black bar allowing users to log in, browse, manage etc.

I don't want this bar on pages for anonymous users.  
![](http://www.google.com/uds/css/small-logo.png)


Answers:
author: David at David Simpson Apps
body: Browse to **Confluence Admin \| Look \& Feel \| Custom HTML**

Paste into **At the end of the HEAD**:

```
<script>  AJS.toInit(function(){    if (AJS.params.remoteUser == ''){      AJS.$('#header').hide();    }  });</script>
```

comments: author: Norris Ebbin
body: Thanks :)


author: Annora Eyt-Dessus
body: Will this work for confluence on demand?


author: David at David Simpson Apps
body: No, sorry - you can't edit HTML in OnDemand :(


author: Josh Resnick
body: how about footer? doing the same seems to leave a white bar at the bottom


author: Brad Schafer
body: Are there plans to add either an HTML editor or an option to hide it in the OnDemand version?


author: Mark Carvalho
body: Is it possible to do this for just one space?


author: Carla Gray
body: When I browse to Browse \> Space Admin. In Look and Feel, I see only these options: ThemesColour SchemePDF LayoutPDF StylesheetChange Space Logo


author: Andrzej Koloska
body: Yea I can't hide it as well, I want to be my documentation public and don't need top nav bar.Why it's so hard to hide it?


author: David Jimenez
body: A similar style hack can be done for **Confluence for Cloud**. This solution uses the CSS Style macro. The only problem is that it will hide the nav bar for all users, so you have to learn to use the keyboard shortcuts if you have write permissions

Go to **Space Tools \| Look and Feel \| Sidebar, header and footer**

Paste in one of those (I tested on header)

```
{style}#header {		display:none !important;	}{style}
```

comments: author: Jared Polman
body: Have you found a way to complete this on Confluence for Cloud per User Group or even anonymous?

Thanks,