youngmon/atlassian-qna huggingface dataset:
Hi I am having some confusion with code block macro.
Asked by KrupeshD:

Please have a look at the code block on this page, http://www.oracle-base.com/articles/11g/QueryResultCache_11gR1.php

I am not able to configure code block macro in such manner, I want to show some code on documentation in the same manner.

please give some suggestions.


Answers:
author: KrupeshD
body: done.. thnaks a lot


author: muschol
body: Ok, I see what you are after now. Indenting is a little tricky in Confluence, but not impossible. What you can do is create a section with two columns. The first column you make something like 5 or 10% width and leave empty (it effectively creates the indent). You then make the second column 90% width and put your code into it.

So in the rich text editor, you would do this as follows:

* Select Insert-\>Other Macro and search for "section". Then create one of those
* Click inside the section and select Insert-\>Other Macro and search for "column". Make it 5%, then click Insert.
* Then click blow the Column that you've just created but inside the Section and select Insert-\>Other Macro and search for "column" again. Make it 95% width and then click Insert.
* You then place your code box into the second column.

Hope this helps.

Matt


author: KrupeshD
body: hi, thanks for quick reply, but it was not much helpful.

please have a look at this web page ,http://www.oracle-base.com/articles/11g/QueryResultCache_11gR1.php

I can achive this no syntax and light grey background with panel macro but the till now impossible task for me was to have some margein on left hand side as you can see in the above web page , this macro boxes never move a bit. sometimes in editing window they accept left indent commnad and move but while you previw it or save it , in comes exactly from where text starts I want it to have some left indent. no syntax highlight is not a problem for me , it just the left indentation.!! please give some suggestions.


author: muschol
body: The "noformat" macro might help in this case. It will show the code as formatted by yourself without any syntax highlighting. We use this a lot for our own documentation, which we generate directly from Confluence.


Tags: cloud

confluence-cloud
Confluence OD - import from Confluence 3.2.1
Asked by airon-tark:

I want import to Confl OD from Confl 3.2.1  
But I cant because it cant import from version earlier than 4.0

**Question:**   
How can I move my docs from my old Confl 3.2.1 to the new Confl OD?  
![](http://www.google.com/uds/css/small-logo.png)


Answers:
author: Ellen Feaheny [AppFusions]
body: You need to upgrade the old 3.2.1 to OD version first. Then the export can be imported into OnDemand,

If you would like help on that upgrade (including and server resources to make it happen), AppFusions would be happy to help you!

Best,

Ellen

[info@appfusions.com](mailto:info@appfusions.com)


Tags: cloud

confluence-cloud

import
Concurrent editing and saving over other users' edits - no warning messages
Asked by Tim Milner:

HiIt seems that at the moment our Confluence instance will let two or more users who are editing a page save their edits over each other. When I go to edit a page (as the first editor of the day, for example) and take some time to make my edits, other users can come in after me, make their edits, save them, and when I save my version, it saves over the edits that were made by my colleagues during my time of having the page in edit mode. It previously would have provided me with a warning on previewing the page that users A and B have made edits, and would I like to discard my edits or overwrite. I am now getting almost daily complaints that this isn't happening.

The only warning I do get is if I go into edit mode on a page, I am told that eg. user A is editing the page. However, I don't get any warning or choice to overwrite or discard upon saving my work anymore. I attempted the above scenario with a colleague, and it seems we no longer get the concurrent editor message.

We are using Confluence 3.5.7, with Zen 4.0.3.

Does anyone have similar issues, or had them and solved them? This is obviously an issue which has a big effect on user trust and take-up, so am anxious to find a solution.


Answers:
author: NikE
body: This issue has been debated for some time now, with the heart of the issue summarized at:

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

Moving forward, it will likely evolve to something similar as described below:

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

Likely someone else around here can advise on a work-around/plugin/etc. but I just wanted to drop in a bit of back story on the thinking behind the current setup.
Confluence - How can I change the Server ID? And what will this affect?
Asked by Aaron Hurley:

We made a server clone of a Confluence instance so now both instances have the same Server ID. How can I change one so that they can use different licenses?

I know that the Server ID is listed in confluence.cfg.xml but will changing that simply work? Will it break anything? And if I go this route can I generate a new ID by installing a standalone instance on my computer and using that Server ID?

Thanks,

Aaron


Answers:
author: Colin Goudie
body: Hey Aaron,

If your server is just for testing I wouldn't even both changing the serverid or the license. If it's a planned new installation following the link below for the procedure to get a new id

<http://confluence.atlassian.com/display/DOC/Changing+Server+ID+for+Test+Installations>

comments: author: Aaron Hurley
body: This will not be for a test instance, it will be another production instance we will be deploying. Is it okay to have two production instances with the same Server ID but different licenses (one will be 100 users and the other 500 users)?


author: Nic Brough -Adaptavist-
body: It's ok on your side, as you'll be within the licensing terms, but I suspect it will break your Atlassian account - that relies on tying your license to a unique server ID, and it wouldn't make any sense to have two valid licenses for what appears to be the same server. If you need support, it'll confuse that too, because they won't know which server you mean.


author: Aaron Hurley
body: Support-wise they have different SEN's so that could differentiate them. I just want to make sure that I won't break anything on our side or Atlassian's.


author: Nic Brough -Adaptavist-
body: mmm, I wouldn't rely on that. A quick mail to Atlassian support to get a definitive answer is the thing to do (and share the response here? :-) )
Can I track the emails sent from Confluence (hosted) when I Share a page with other users?
Asked by Barbara Green:

Is there a log or way to view emails sent from Confluence via the Share page function? I have been using Share to let my reviewers know when a new page is read to review. I'd like to be able to see a Share history for all my content.


Answers:
author: Joe Clark
body: Hi there,

This functionality is not available in the Share page feature just yet; sounds like a good idea, though! If you are interested in sending this idea through to the developers, you could creata a new feature request on <https://jira.atlassian.com/browse/CONF>

comments: author: Paula Dasch
body: Hi there,

I have got the same issue: users want to know what they have already shared with whom.


author: Michaela Heuberger
body: I would urgently need a solution for this ...


author: Paula Dasch
body: It seems that Atlassian hasn't implemented this, yet. But there is a New Feature Request, already. <https://jira.atlassian.com/browse/CONF-22396>

comments: author: Paula Dasch
body: I have a workaround for you (it works for me): share every page with yourself, then you can track it in your email program...


author: J?rgen V?hringer
body: has this been resolved by now? I got a similar request by a client of mine ...


Tags: cloud

share
Trying to establish an application link throws java.lang.NullPointerException
Asked by Ignacio Torres Masdeu:

Java 1.6.0_26

JVM 20.1-b02

Jira 4.4.4

Confluence 4.1

Crowd 2.3.6 with SSO

Proxied via nginx.

When trying to create an application link between jira and confluence, confluence fails with:

```
10-ene-2012 17:29:33 com.sun.jersey.server.impl.application.WebApplicationImpl onExceptionGRAVE: Internal server errorjava.lang.NullPointerException        at com.atlassian.confluence.applinks.ConfluenceInternalHostApplication.getId(ConfluenceInternalHostApplication.java:221)        at sun.reflect.GeneratedMethodAccessor652.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)...        at java.lang.Thread.run(Thread.java:662)
```

<http://pastebin.com/3pGBtCUs>


Answers:
author: Ignacio Torres Masdeu
body: Rian Josua Masikome pointed me to the Confluence Knowledge Base article [NullPointerException when try to configure Application links](http://confluence.atlassian.com/display/CONFKB/NullPointerException+when+try+to+configure+Application+links).

Following the resolution instructions worked like a charm.


Tags: crowd

jira
Default view for Team Calendar on Wiki page
Asked by RIsk:

Using the Team Calendar Macro under Confluence 4.0 does not give the option to set the default view, to Month for example. Is there a way to do this?

Additionally, once the calendar is on the page in a Day view, how does one change views to week, month, etc.


Answers:
author: Sherif Mansour
body: Hi Risk,

The macro should give you the ability to specify the default view. This is done in the macro browser. See screenshot:http://cl.ly/1u3b390T1x1G3J0P0y2c

Regarding swtching views once it's embedded, that is a feature request we have raised: <https://studio.plugins.atlassian.com/browse/TEAMCAL-384>

Sherif

comments: author: RIsk
body: The macro did not include the field to select a default view. This was due to a Confluence 4.x incompatible plugin. By disabling other plugins, the Team Calendar started working as expected.


Tags: team-calendars-for-confluence
Deleting users
Asked by Chris Robinson:

We're still in our trial period on confluence. I need to delete some generic users I created but they own content. How can I get rid of those users. I need to add real users and the system won't let me. Can I transfer ownership of the contenct created by the old users to another user?


Answers:
author: NikE
body: Because content is tied to user account, we don't recommend deleting users. To free up license seats (and block access) all you have to do is remove all the group permissions from the user you want to remove. Once they no longer belong to the "user" group, your license will free up that spot.


author: NikE
body: Extra (updated) details:

My other comment is true for all deployments of JIRA/Confluence, both download and OnDemand. With OnDemand, you also want to go into "Application Access" under the admin panel and deselect all the check-boxes for the removed user to clear them from your license.


Tags: administration

cloud

confluence-cloud

licence
user forums plugin on confluence 4.0
Asked by tobias leenaert:

The adaptavist community bubbles plugin, which includes some handy plugins for confluence user forums, still hasn't been updated for confluence 4.0, so for now i don't have that forum functionality (my users were used to it). does anybody know of a good alternative? (i checked with adaptavist and they can't give a due date)

thank you

tobias


Answers:
author: Danielle Zhu
body: Not that I know of. Adaptist community bubbles was the only plugin that has forum functionality that we were looking for when I looked around for a client.

comments: author: tobias leenaert
body: thank you danielle.

very strange, i would think a forum functionality would be so basic and obvious that it would be native to confluence


author: Ellen Feaheny [AppFusions]
body: The other option is to integrate a forums product into Confluence - with similar theming, perhaps.

Here's a list of Java-based forums - jforums is very feature rich.

<http://blog.dreamcss.com/dev-tools/java-based-forum-software/>

Contact us if interested in having AppFusions make this happen for you.

Ellen

[info@appfusions.com](mailto:info@appfusions.com)

comments: author: tobias leenaert
body: thanks for the offer ellen. apparently it was released today, so i'm set :-)


Tags: adaptavist

app

forum
Google Analytics and Confluence OnDemand Solution
Asked by Uwe Spiegel:

Hi,

I want to use google analytics with the confluence on-demand offering. How can I include "Custom HTML" ? I didn't find it in the confluence admin.

regards

Uwe Spiegel


Answers:
author: kimberly anderson
body: How can we vote for this.... seems to be a lot of interest in Google Analytics for on demand...

Thank you, Kimberly


author: David at David Simpson Apps
body: You can't. Sorry.

See also:  
<https://answers.atlassian.com/questions/40897/adding-google-analytics-to-an-ondemand-confluence-instance>

**Edit:**

You can now with...

* [Google Analytics in Confluence (Cloud)](https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.addon.google-analytics-for-confluence/cloud/overview) - free
* [Analytics for Confluence Cloud](https://marketplace.atlassian.com/plugins/com.addonengine.analytics/cloud/overview) - paid


author: Huiyi
body: Hello Uwe,

Not sure if you already found a relevant solution by now.

We have just published a plugin that [connects confluence cloud with Google Analytics.](https://marketplace.atlassian.com/1216514)

The analytics will be seen in Google Analytics Console, unlike Tim's solution above (results in confluence). So it depends on what your expectation is. You will also need a tracking ID from Google. If you don't have one yet, in our [setup guide](https://wiki.resolution.de/x/LQOtBQ) you there're some useful resources that will show you how.

In terms of pricing, it is free of charge at the moment.

In the long term you can expect to see pricing to scale from 5 USD (lowest tier) to about 50 USD max on the 2000 USD tier - so it's a lot cheaper than the plugins from other vendors.

Give it a try, and if you have futher question, just write to us: google.analytics@resolution.de


author: Tim
body: Hi Uwe,

We've created an add-on that provides some great usage statistics in Confluence Cloud. It includes an overview of activity but also the details like who has viewed a particular page.

You can find more information here: [Analytics for Confluence Cloud](https://marketplace.atlassian.com/plugins/com.addonengine.analytics/cloud/overview)

Hope it helps!


Tags: cloud

confluence-cloud
what's the better way of storing attachments?
Asked by SherryX:

We are planning to migrate our applications to new servers. Just wondering what's the better way of storing attachments, file system or database? Is that OK to put all attachments to a different server?


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid this kind of depends on your infrastructure, criticality of the data and how you use it, and your backup regime.

Taking Confluence as an example, my current client keeps it all in the database. They've got a really solid database backup (dual real-time replication, so there's an up-to-date copy in the failover datacentre and the offsite backup site), and a file system backup that looked ok but we've discovered problems with it. So the decision was to be safe and live with 100Gb databases...

Jira has the same database stability, but we don't keep operationally sensitive attachments in it. There are a LOT less attachments, and we can accept the risk of losing a couple of days worth if something goes "bang", so we live with the weak file-system backup.

So, I can't really answer the question without saying "it depends". You need to have a look at your systems to see what you've got, what's fastest, most stable, most reliable etc, and then run through what you need most - performance, rock solid backup, fast failover and so on!

comments: author: SherryX
body: thanks for your information. Can we put the file system for the attachments in a remote server?


Tags: jira

upgrade
News Feed Not Displaying in 3.1
Asked by Cara Rozelle:

For some reason today we are having a problem with our news feed not displaying. Below is what it now displays and our wiki markup. Not sure what would have happened to cause this change. Can anyone help. One note: I did not originally set the news feed up so I am not sure how this works.

Error Message: blog-posts: com.atlassian.confluence.pages.Page cannot be cast to com.atlassian.confluence.pages.BlogPost

Wiki Markup:

{html}  
\<div id="contentwrap"\>\<div class="inner"\>  
\<div class="left"\>  
\<div class="tabletitle" style="width: 100%;"\>News\</div\>  
{html}  

{blog-posts}  

{html}  
\</div\>  

\<div class="right"\>  
\<div class="chart"\>  
\<div class="tabletitle" style="width: 100%;"\>Navigation\</div\>  
{html}  

<br />

{html}  
\</div\>  
\<div class="gray-box"\>  
\<div class="inner"\>  

{html}  

h3. Related Links  
{include:Related Links}  

{html}  
\</div\>  
\</div\>  
\</div\>  
\</div\>  
\</div\>  
{html}   


Answers:
author: Michiel Nieuwstraten
body: Sorry, no solution to your problem. (Your wiki-markup looks good though.)

I'm having the same problem in Confluence 3.5.13.

But not in all spaces! Did you solve it? Anyone else?


Tags: blog
Why do licenses for download products start at $10 then jump to hundreds to dollars for the next level?
Asked by Jim C.:

For example, why is a JIRA 1-10 user license $10 and the JIRA 11-25 user license $1,200?


Answers:
author: Jim C.
body: Historically Atlassian's products started at the $800/$400 (commercial/academic) price point for 25 users. However, in the early days of the Global Financial Crisis (GFC) Atlassian wanted to make our software more accessable to small teams and start-ups. The Atlassian "Stimulas Package" was a week long program in April 2009 where we sold 5 user licenses for for $5 for JIRA and Confluence and donated all the funds to [Room to Read](http://www.roomtoread.org). We expected to sell \~5k licenses and raise $25,000 by the end of the week for the promotion, but we reached the goal within 23 hours. (Check out the [blog](http://blogs.atlassian.com/2009/04/atlassian_stimulus_package_donates_over_100000_to_charity/) we wrote up about the program.)

The success of the Stimulas program got us thinking... what if we made it permanant and bumped the user count to 10? In October 2009 we introduced the new [Starter Licenses](http://www.atlassian.com/software/starter/overview) for most of our download products. These are fully-functional licenses, like commercial/academic licenses, for 10 users that costs just $10 and all the monies raised still go to [Room to Read](http://www.roomtoread.org). (To date, the Starter License program has raised over $2 million dollars for Room to Read.)

When a Starter License holder user count grows beyond the Starter user limit, then the next step is to purchase the commercial/acadmic non-Starter user tier to support their needs. For questions about licensing please check out our [Licensing \& Purchasing FAQ](http://www.atlassian.com/licensing/purchase-licensing) or [Contact](http://www.atlassian.com/licensing/purchase-licensing) our sales team.


author: Joe Clark
body: Because we give the first taste to you for (next to) nothing to get you hooked on our products ;-)


Tags: licence
Watch notification emails the wrong page
Asked by Lis Riba:

We're running Confluence 3.5.13.

Autowatch is enabled, and we have installed the Descendent Notification Plugin.

Bob is watching a page titled *Alpha* , which has a child page named *Foo*.

There also exist pages *Bar* and *Qux* , which are in a different space from *Alpha* and *Foo*.

Bob is not watching any pages in that space.

Alice is editing page Foo, a child of Alpha. Carol is editing page Bar.

Alice saved changes to Foo at the same time that Carol saved changes to Bar.

Confluence sends Bob a notification.

The subject references page Foo, but everything in the email body is about page Bar.

Alice is still editing Foo, and a few minutes later, saves again.

Dave saves changes to page Qux at the same time.

Confluence sends Bob a notification.

The subject references page Foo, but everything in the email body is about page Qux.

This has happened on more than one occasion, to different recipients about different pages in different spaces.

I finally was able to determine this much (that both pages were being saved at the same time) when it happened to Bob twice in short succession.

Has anybody else seen or heard about anything like this?

Any idea what may be causing this or how to get it to stop?


Answers:
author: Anna Gunich
body: Please check this post

[https://answers.atlassian.com/questions/14918/notifications-for-not-watched-space](/questions/14918/notifications-for-not-watched-space)

Looks as if it is the same issue.


author: Lis Riba
body: Just found links where Adaptivist thinks the issue may be connected to the Descendent Notification Plugin:

* <http://confluence.atlassian.com/display/DOC/Managing+Watchers?focusedCommentId=266633992#comment-266633992>
* <https://www.adaptavist.com/display/community/Strange+Email+Subjects+and+Email+Body>

Unfortunately, fixing it seems to be a rather low priority for them.


author: Bob Swift (personal)
body: <https://jira.atlassian.com/browse/CONF-24101>

comments: author: Lis Riba
body: Two possible additional datapoints:

1) As with the linked JIRA issue, it only started when we updated to 3.5

2) At least one user reported they stopped getting "rogue" notifications since they turned off autowatch. May not be related, but it's worth noting.


Tags: notification

watch