youngmon/atlassian-qna huggingface dataset:
Can't change the default page to a space on confluence
Asked by Ben Gidley:

I tried to set our 'SERVICES' space to the default page on confluence - but it said I had to make confluence-users be able to read the space. However in confluence it says no such group exists.

Problem reported from URL: <https://irdeto.atlassian.net/templates/admin/helpandsupport.vm>


Answers:
author: NikE
body: It sounds like you are running into a known bug/limitation of Confluence. The report is here.

While the above report is not timely, the issue still is "on the radar" and going forward it will hopefully be resolved.


Tags: cloud
How imported space on onDemand from old version confluence (3.0.2)?
Asked by valery_v_kon:

We have old confluence data (spaces) version confluence 3.0.2.  

How normal imported spaces on onDemand?


Answers:
author: Michael Knight
body: The Confluence space importer for OnDemand requires that spaces be from a Confluence installation of the same major version (e.g. 4.1.x). If your spaces are from older versions, you will need to upgrade them. The current version of Confluence in OnDemand can be [found here](http://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions).

The rough steps to upgrade them are as follows:

1. Locally install an evaluation Confluence of the same version as your space data (e.g. 3.0.2 in your case).
2. [Import your spaces](http://confluence.atlassian.com/display/DOC/Restoring+a+Space) to it.
3. [Upgrade Confluence](http://confluence.atlassian.com/display/DOC/Upgrading+Confluence) to the same version as OnDemand (currently 4.1).
4. [Export the spaces](http://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML).
5. [Import them to OnDemand](http://confluence.atlassian.com/display/AOD/Importing+wiki+data).


author: Ioana Petrescu
body: Hy Michael,

We are currently using version 4.1.6 and we are switching to OnDemand. How can we move our current spaces from one version to another?

Thanks,

Ioana


Tags: cloud

confluence-cloud

import
{center} {iframe} not working after a upgrade to 4.1
Asked by Benedikt:

Hi - I'm running an confluence web service for a small group called Icalendic Radio Amateurs ([www.ira.is](http://www.ira.is))

so as the disks in the server that is running the systems are failing I decided to install a fresh 4.1 install on another machine. It apears that the editor of our page has been using a plugin called "Advanced Content Formatting plugin." from Adaptavist. This plugin is not supported by 4.1 - so I have tags like {center} and {iframe} not working and this is a definete showstopper to upgrade to 4.1

is there some plugin out there that supports these features - that is supported by 4.1 The outdated plugin does not work.

best regards

Benedikt


Answers:
author: David Peterson
body: I would suggest getting in contact with Adaptavist to see if they have a beta for Confluence 4.x. I know they're updating all their plugins, but as with ours at CustomWare, it takes a while - Confluence 4 was a significant change.

Regards,

David Peterson
Can I change on on demand site landing page to a wiki
Asked by Ben Gidley:

Can I change on on demand site landing page to a wiki as opposed to using JIRA. Most our users just want the wiki and only a few want JIRA so I really want them to land in confluence.


Answers:
author: Ben Gidley
body: I came to the conclusion what I wanted to do is not possible. Instead I have created a JIRA dashboard that users the Confluence Portlet to show the confluence home page.

To get the confluence portlet available you have to raise a support ticket.


author: Michael Knight
body: If you remove [application access](http://confluence.atlassian.com/display/AOD/Managing+application+access) to JIRA for the users who will only be using Confluence, they will automatically be taken to Confluence upon logging in.

comments: author: Ben Gidley
body: Unfortunatly (in the intestest of openess) we want them to be able to access JIRA but expect them to mostly ue conflucene so this solution wouldn't work.


author: Mattias Ohlsson
body: Hi,

I fully agree!

I think it is crucial for the on-demand service that your'e able to choose if you want to have wiki as the first page you come to when typing in the hosting url...

Hopefully it Shouldn't be a big problem to implement?

//Mattias


author: Karie Kelly
body: We are experiencing the same issue. More than half of our projects primarily use the wiki, and the engineering/product projects primarily use the issues.

It would be very helpful if we could configure the landing page when selecting a project to minimize the confusion that our users have.


author: Juri_Reinsalu
body: This

\>\>"If you remove [application access](http://confluence.atlassian.com/display/AOD/Managing+application+access) to JIRA for the users who will only be using Confluence, they will automatically be taken to Confluence upon logging in."

was exactly how it worked for us until 17.Feb. 2014. That monday, something happened with onDemand (probably Atlassian made an update or something), and what our users started to see is this:

![jira-no-rights](https://photos-2.dropbox.com/t/0/AAChwpan4hOCD2juF9-yK_A8Cv-QoNXCdhmLKhk9SnjPUA/12/10635276/png/1024x768/3/1394100000/0/2/jira-no-rights.png/Z4bnhLxL_N23yyuEb9yJtH4h_grZieAHs-MRQwzJFr8)

now each time a user loggs in he/she has to click the top left corner and select Confluence from there :(

Note, do not be fooled by the "Log In" in the top right - the user is already logged in. Otherwise he/she would not see this screen, when switching Confluence (from applications link icon in top left) the "Log In" is replaced with avatar and stuff.


Tags: cloud

confluence-cloud
How can I save an edited default macro like codeblock for users?
Asked by Marcus Sternberg:

Hi Community,

as a newbie I have two questions:

While editing a page when I start content with { I can jump into the makrobrowser, choose CODEBLOCK, insert the desired parameters and get it into the page.

Is there a way to

a) save those special edited codeblock e.g. under a new name to have it handy the next time I want to use it or do I have to go this way every time when I insert a similiar codeblock?

b) How do I get this saved \& customized macro codeblock_userdefined into the dropdown-list when I type in a {

Thanks for your support,

Marcus


Answers:
author: Joe Clark
body: Specifically with the {code} macro, there is functionality built in to the Confluence Admin Console that allows you to change the default behaviour of the macro for all users:

![](http://content.screencast.com/users/jlclark/folders/Jing/media/df8b678b-37bd-429f-afcd-81ee31718571/2011-12-29_0911.png)


author: Mark Hrynczak
body: You should be able to achieve this with User Macros.  

See <http://confluence.atlassian.com/display/DOC/Writing+User+Macros> and related pages for more info on this.

Cheers,  
Mark


Tags: code-block

macro
how to write text without paragraph autocreation on 4.x (like it was possible in 3.x with Wiki Markup)?
Asked by dmitriykazimirov_atlassian:

how to write text without paragraph autocreation on 4.x (like it was possible in 3.x with Wiki Markup)?

In 3.x (before Wiki Markup was removed) it was easily possible to put lines in text without interline interval(just put put newline in wiki markup).In 4.x new editor always starts new paragraph.

In 4.x only way I see is 'Insert Wiki Markup'. Is there more simple way? (except just not put any newlines - sometimes they are needed)

See example:line 1 \& 2 are having regular(big) interline intervals(I just pressed enter between them) and line 3 \& 4 is that I wanted (and that was very easy to make in 3.x)

![screenshot to illustrate](http://img706.imageshack.us/img706/3072/confbug3.png)


Answers:
author: David Peterson
body: Hi Dimitry,

Try Shift+Enter. It just does a newline without a new paragraph. Handy!

Regards,

David
not getting repliles to support requests
Asked by Robert Lauriston:

I was using an evaluation version of 4.0 and getting support. I bought and installed a 10-user starter license and at the same time switched to 4.1, since then I have gotten no replies to my support requests.


Answers:
author: Robert Lauriston
body: I still don't know why the default mail server at [atlassian.com](http://atlassian.com) worked with 4.0 and not with 4.1, but on the advice of support I configured Confluence to use an internal SMTP server, and it works fine.


author: NikE
body: Just checked our support request system and excluding the cross-posting of this ticket, I don't show any tickets created in the last three weeks under the email address you are using here (and the tickets created more than three weeks ago all appear to have been worked on with you). I confirmed that the support ticket you just submitted came in, so if you can reference the ticket numbers you did not receive a reply from on that support ticket, we can find out what is happening and resolve any issues you are experiencing. - And not to worry, all licenses include support.


author: Pepe
body: What'cha need help with? I'll do what I can.
ctrl+v, simple but a pain in v4.0
Asked by simon roberts:

So i simply cut and paste, and when i ctrl+v, the focus of the page moves away from where i just pasted, and users get lost!

This is very annoying, and users are complaining a lot about the new editor!

This new editor is verging on unusable.

- try using the HTML macro link, and you now get a huge line like this displayed in the editor, in v3.5 it just displayed the link name

\<a href="\\\\van.com\\root\\IS_Documents\\Business Analysis\\Business Requirements\\Unit Tasks\\Approved\\UT 4.3 Maintain Branch Level Information Rev 2.doc"\>**UT 4.3 Maintain Branch (this is the link name only should display that!!!)**

- try highlighting the link and move out side the html box, and it cancels the highlight, so you have to be very precise. sooo annoying

- try adding a column then update for 50%, you used to be able to just type 50%, now you have to double click, launch the macro dialogue then type it in. This is way slower!!!!

I dont have time to post all my complaints about this upgrade. but it is very disappointing!!


Answers:
author: BernardoA
body: As far as I know I noticed a similiar issue about crtl+v, and it might happen whenthe database is not correctly configured, please verify this documentation:

<https://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding>


author: Matt
body: I'm not sure what your question is, but I'd ask that you comment on this page with your feedback about the editor in Confluence 4.0 so we can effectively respond and address it -- [Confluence 4.0 Editor - Customer Feedback](http://confluence.atlassian.com/display/DOC/Confluence+4.0+Editor+-+Customer+Feedback)
Macros not working
Asked by Kavita Parab:

Upgraded version to 4.0.3. The following macros throw error while installing:

1. Macro: Attachment

Error Message: Error rendering macro 'attachment' : null

2. Macro: builder-breadcrumbs

Error Message: Error rendering macro 'builder-breadcrumbs' : com.atlassian.renderer.v2.macro.MacroException: This macro may only be used within a builder panel

3. Macro: builder-sidebar

Error Message:

Error rendering macro 'builder-sidebar' : com.atlassian.renderer.v2.macro.MacroException: This macro may only be used within a builder panel

4. Macro: Embed

Error Message:

Error rendering macro 'embed' : null

5. Macro: Insert 'Excel'

Error Message:

Error rendering macro 'excel' : com.atlassian.renderer.v2.macro.MacroException: Either the file or url parameter is required.

6. Macro: Knowledge Base Survey

Error Message:

Error rendering macro 'kbsurvey' : null

7. Macro: Top Ranked Articles

Error Message:

Error rendering macro 'kbtoparticles' : Hibernate operation; bad SQL grammar ; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'confluence.os_propertyentry' doesn't exist

8. Macro: set-flag

Error Message:

Error rendering macro 'set-flag' : com.atlassian.renderer.v2.macro.MacroException: A flag name is required


Answers:
author: David at David Simpson Apps
body: 1. Browse to **Confluence Admin \| Configuration \| Plugins** and check that these are all present and fully enabled -- all modules are enabled.
2. Check that versions of each of the these plugins that is installed is Confluence 4.0.x compatible   
   e.g. see [Theme Builder - Confluence 4 EAP](https://www.adaptavist.com/display/community/Theme+Builder+Confluence+4+EAP) for information on a Confluence 4.x compatible version of Theme Builder
3. Upgrade (or perhaps disable) all the macros that are not compatible with Confluence 4.x
4. Troubleshoot the remaining problem plugins


author: Rodrigo Girardi Adami
body: Hi Kavita,

Are you able to replicate this behavior in the newer confluence versions? I believe this error could be caused by some corruption in the plugin system of confluence and you can try to reset the plugin system using [this documentation](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache) and also run the query below to clear all third party plugins:

```
DELETE FROM plugindata;
```

Note this will remove all third party plugins and you'll have to install them again. This might do the trick.

Cheers,

Rodrigo


Tags: macro
Formatting the title when using the expand macro - On Demand
Asked by Vicki Smith:

Is it possible to apply any type of formatting to the expand texte when using the expand macro? I came across a discussion thread where the same question has been asked, but has not been answered as yet.

<http://confluence.atlassian.com/display/DOC/Expand+Macro>  
Is it possible to get ANY sort of formatting options in 4.0? Markup doesn't work inside the macro editor, and if you try to use this macro by inserting markup, it just converts to the macro that disallows any formatting. The most frustrating of these is the inability to change the text indicating the toggle. You can't make it a heading, cannot change the colour. Additionally, there are zero parameters for making hidden sections unique, no parameter for having it be visible or cloaked initially.

Is there something I'm missing on how to actually use any other parameter other than "put text here" on this?


Answers:
author: Mattias Van doninck
body: Hi

Can this be done with the HTML Macro as well?


author: Tim
body: Hi Vicki,

It's *many* years later now, but I thought it might still help you or others who stumble upon this question.

The expand macro is limited with regards to styling, so we've created a Heading Expand macro as part of our toolbox of useful Confluence Cloud macros. It lets you show and hide content under any heading style and also if it should be expanded or collapsed by default.

Try it here: <https://marketplace.atlassian.com/1215202>

Keen to know if it helps you out :smile:

Tim

comments: author: Simon Kreuz
body: I was setting up my page with Expand Heading, but unfortunately I couldn't indent the code blocks \& nested expands. I can manually indent all other content except for those and possibly other block-like macros. Would be great if you fix it!


author: Tim
body: Sure, we'll take a look and see what we can do!

Would you be able to get a screenshot of issue? It'll help us identify what might be causing it.


Tags: cloud

confluence-cloud
Attachment url as parameter in another url
Asked by Tim Pesce:

I'm trying to build a Link that contains a parameter which is the URL of an attachment. Something like this:

\[http://www.foo.com/stuff?url=\^attachment.ext\]

I don't have access to user macros and I don't have control over the installed plugins, so I'm working with a mostly stock Confluence 3.5 install. I don't have the Script plugin, but I do have the Run plugin. I've tried a few things with the Run plugin, but I can't quite get what I want. For example:  

```
{run-now:replace=url:[^attachment.ext]}[Test | h t t p://www.foo.com/stuff?url=$url]{run-now}
```

Can anyone suggest another approach?

Thanks!

Tim


Answers:
author: Joe Clark
body: I'm not sure if that's going to be possible or not :-( It seems like the run macro is a good approach if you don't have the ability to customise Confluence at all or install any plugins.


author: Tim Pesce
body: I do want the full absolute URL, and that is actually what I'm getting. But what I also want is that URL to be interpolated into a hyperlink. The problem that I'm running into is that I can't get the hyperlink to work properly.

If I use "replace=url:\[\^attachment.ext\]" then the hyperlink isn't formed correctly, (i.e. this is the generated HTML):

```
[Test | h t t p://www.foo.com/stuff?url=&lt;a href="/download/attachments/12345/attachment.ext?version=1&amp;...&gt;attachment.ext&lt;/a&gt;
```

If I use "replace=url:\^attachment.ext" then the hyperlink results in an error:

```
&lt;span class="error"&gt;[Test | h t t p://www.foo.com/stuff?url=^attachment.ext]&lt;/span&gt;
```

Ultimately what i want is for the HTML to look something like this:

```
&lt;a ... href="h t t p://www.foo.com/stuff?url=h t t p://confluence/download/attachments/12345/attachment.ext?version=1&amp;..."&gt;Test&lt;/a&gt;
```

I'm not sure if this is possible with the Run plugin, but this is the best approach that I've found so far.

\[The "h t t p" above is my attempt to avoid parse errors in OSQA - read those as "http"\]


author: Joe Clark
body: So the problem with your current approach is that you just want the filename and extension, rather than the full absolute URL to the attachment?
UWC 3.13.0: where is uwc.log?
Asked by Robert Lauriston:

I'm getting errors when converting from TWiki to Confluence 4.1. Where is uwc.log? I can't find it anywhere on my local drive.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: It should be on the same folder where uwc.jar exists! Unless you have configured a different location in the log4j.properties file residing in the same folder!

comments: author: Robert Lauriston
body: Not there. I didn't touch log4j.properties.

```
# Log4j configuration file.# Available levels are DEBUG, INFO, WARN, ERROR, FATALlog4j.rootCategory=INFO, A1, A2# This logger will write output to a uwc-total.log file so# that we can immediately see total conversion times without having to# wade through the other output.log4j.logger.totalsFileLog=INFO, A3#log4j.logger.com.atlassian.uwc=DEBUGlog4j.appender.A1=org.apache.log4j.ConsoleAppenderlog4j.appender.A1.layout=org.apache.log4j.PatternLayoutlog4j.appender.A1.layout.ConversionPattern=%d %-5p [%t] - %m%nlog4j.appender.A2=org.apache.log4j.FileAppenderlog4j.appender.A2.layout=org.apache.log4j.PatternLayoutlog4j.appender.A2.layout.ConversionPattern=%d %-5p [%t] - %m%nlog4j.appender.A2.File=uwc.loglog4j.appender.A3=org.apache.log4j.FileAppenderlog4j.appender.A3.layout=org.apache.log4j.PatternLayoutlog4j.appender.A3.layout.ConversionPattern=%d %-5p [%t] - %m%nlog4j.appender.A3.File=uwc-totals.log
```


author: Jobin Kuruvilla [Adaptavist]
body: Can you change the log level to Debug and see if it helps!


author: Robert Lauriston
body: log4j.logger.com.atlassian.uwc=DEBUG  
Still no uwc.log.


Tags: universal-wiki-converter
Why is LDAP not working in Confluence 4.1?
Asked by Robert Lauriston:

I had LDAP working fine in 4.0 with an evaluation 2000-user license.

With the exact same settings, it's not working in 4.1 with a purchased 10-user license. The fatal error is:

\[ldap.mapper.entity.LDAPUserAttributesMapper\] getUsernameFromAttributes The following record does not have a username: {mailhost=..., mailroutingaddress=mailRoutingAddress: ...}

Does the 10-user limit apply on LDAP synchronization so it fails because we have more than ten users?


Answers:
author: Bruna Griebeler
body: Hi Robert!  

It's not easy to set what wrong with your LDAP connection with Confluence without the logs, although I suggest you to try using an evaluation license to check if the user limit is causing this.  

Hope it helps!  


Tags: ldap
recently updated macro not working
Asked by Kavita Parab:

After upgrading version to 4.0.3, recently updated macro is not working and throws an error:

Error rendering macro 'recently-updated' : com/atlassian/confluence/plugins/macros/advanced/recentupdate/Theme

How this could be resolved


Answers:
author: Joe Clark
body: Could you please check if you have any error messages in your confluence log file that relate to this?


author: Joe Clark
body: Also, please check to see what version of the "Advanced Macros" plugin you have installed, and if there are any upgrades available for it.


Tags: macro

recently-updated

version
importing MySQL to Confluence 4.1
Asked by Robert Lauriston:

Any suggestions on importing MySQL data dump into Confluence 4.1?

The table is a knowledge base, each row is an issue, so I want to create a page for each row. Ideally I'd populate the page title by concatenating the ID and title fields.


Answers:
author: Sripad Dattajirao
body: Have you tried using the {Jiraissue} macros?


author: hsuhailah
body: Hello Robert,

Instead of importing the data directly into Confluence database (which can be almost impossible to work), I'd strongly recommend you to use remote API available in Confluence - https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs

Perhaps, create a remote application that goes through each of the data row, and create a page based on this information using remote methods.

-Hanis-


Tags: import

mysql
195 pages are reporting an Unknown macro: 'unmigrated-wiki-markup' after upgrade.
Asked by Matthew Pyle:

We upgraded from Confluence 3.4 to 4.0. Some of our pages are reporting an Unknown macro: 'numigrated-wiki-markup'. I've found this page that describes why we're receiving this error <http://confluence.atlassian.com/display/DOC/Wiki+Markup+to+XHTML+Migration>. My first problem is that I'm not sure how to determine what macro those pages are using and how to determine if there's a compatible 4.0 macro that will fix the issue. My second problem is that the article says I should be able to view the page, I cannot. I only show the Unknown macro: 'unmigrated-wiki-markup' tag, no content. My third problem is I don't have a list of the problem pages. This page (unmigratedwikicontent.action) tells me that there's 195 pages with the problem. I don't need a number, I need a listing of the problem pages. Can someone help me get these pages working?


Answers:
author: Matthew Pyle
body: Atlassian support found the problem! The Wiki-Markup-Plugin was disabled. Once I enabled that plugin I was able to see the offending markup and remove the problems.


author: Joe Clark
body: Hi Matthew,

The unmigrated wiki markup macro is used to wrap content in Confluence pages that could not be converted to XHTML.

The fact that you are getting an error "Unknown macro: unmigrated-wiki-markup" leads me to believe that there was a problem with your upgrade to Confluence 4.0... the macro itself should have no problems, its the content within the macro that could not be migrated.

If you still have log files available from when you upgraded, it would be good to analayse them for problems or error message.


author: Alejandro Conde Carrillo
body: You should be able to get a list of unmigrated pages with this query:

```
SELECT contentid, title FROM CONTENT WHERE CONTENTID IN (SELECT CONTENTID FROM bodycontent WHERE BODY LIKE '%unmigrated-wiki-markup%') AND PREVVER IS NULL AND CONTENTTYPE IN ('PAGE','BLOGPOST') AND CONTENT_STATUS != 'deleted';
```

You can access the pages in the URL: \<CONFLUENCE_URL\>/pages/viewpage.action?pageId=\<PAGE_ID\>

comments: author: Jaime Hablutzel
body: And after removing the unknown/old macros directly editing the wiki markup just go to <http://confluence.blobfish.pe/admin/unmigratedcontent.action>


author: Dick Visser
body: |------------------------------------------------------------------------------------------------------------------------------------------------|
| Same question here. Only the number of non-migrated pages is displayed (23 in my case, so not too many), but no list of them. Where do I look? |


author: Dick Visser
body: Same question here. Only the number of non-migrated pages is displayed (23 in my case, so not too much luckily), but no list of them.

Where do I look?