youngmon/atlassian-qna huggingface dataset:
Applying for Confluence License
Asked by William:

Hello,

I'm interested in Confluence and wondering if there is free developer license that I can apply for?

Thanks

Best Regards

William


Answers:
author: SimonS
body: Hi William,

We don't offer free developer licenses, but if you're working on an open-source project we grant free licenses to them.

You can apply for that here:

<http://www.atlassian.com/software/views/open-source-license-request/>

If you already have a license with us, you can generate a free developer license to use on staging/testing/development servers:

<http://www.atlassian.com/licensing/purchase-licensing#licensing-9>

-Simon


Tags: atlassian-support
Template editor glitching badly on multiple labels
Asked by dannhowa:

I am trying to associate a workflow with certain templates. I have a template originally labelled faq and another labelled howto ...

It is not clear that I can {workflow:label=faq,howto} so I decided to add the label controlled for both these templates.

When I go to the Space Admin \> Advanced \> Templates and edit a template, I tried changing the Labels: value from:

faq

To:

faq, controlled

This threw a Java exception all over.

So, I tried setting Labels: to:

faq controlled

This seems to work, but then the Labels: value became:

faq faq controlled

Every time I try to fix that, it just gets worse. Now Labels: says:

faq faq controlled faq controlled faq controlled

1) Can I just specify multiple labels in the {workflow} macro? (Ad Hoc Workflows ...)

2) How the heck to do tell the template interface to apply two labels and just those two labels?

Thanks,

-danny


Answers:
author: Daniel Borcherding
body: Hello Daniel,

My answer to you is going to be two fold here.

First, regarding the workflow macro. This product is actually supplied by an outside vendor avaialable from our [marketplace](https://marketplace.atlassian.com/142). We are not entirely sure of the inner working of this macro and it would be best to address your questions about it to the vendor.

I was able to replicate the issue that you are having in my test instance. Also after some searching around on our internal bug tracker it appears as if this is a [known](https://jira.atlassian.com/browse/CONF-25327) issue that we are actively trying to resolve. Please go ahead and add yourself as a watcher to this page so you can be notified when we find a resolution to this issue.

Best Regards,

Daniel Borcherding

Atlassian Support - San Francisco


Tags: markup

template

workflow
Attempting to setup Confluence development environment on Amazon AWS t1.micro
Asked by Scott Rossell:

Setup takes forever during database setup then the system eventually kills the process. mySQL credentials verified, but anonymous account was removed.

Running Amazon Linux AMI 2012.03. It includes 64 bit Linux v.3.2, 8 Gigs of hard drive space and 613 Megs of RAM. I've installed mySQL 5.5.24 and Java 1.6.0_24 (should probably upgrade).

I've set JAVA_OPTS=-Xms200m -Xmx200m -XX:MaxPermSize=200m (not sure if that matters, but I only have 613 Megs of RAM). I've added the following lines to my.cnf for mySQL: character-set-server=utf8, collation-server=utf8_bin, default-storage-engine=INNODB, max_allowed_packet=32M. I'm at a loss of what else to do next. (P.S.: Did I mention you guys rock?!)


Answers:
author: RianA
body: Hi Scott,

It seems the specified heap space looks too small for running Confluence. I have experience when running on 256m of heap size, Confluence won't run at all. Please bear in mind on the following documentation on hardware requirement.  
\* <https://confluence.atlassian.com/display/DOC/Server+Hardware+Requirements+Guide>

In addition to that, please bear in mind on the default settings of heap size, in Confluence 4.2 version

```
JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=256m $JAVA_OPTS -Djava.awt.headless=true "
```

Hope this information helps, and you rock too! ;)

Cheers,  
Josua
Changing font size using CSS
Asked by Avinash:

Hi,

I was trying to change the font size in my personal space using the pdf stylesheet option with the sample code provided below

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `body {` ` ``font-family: Times, ``"Times New Roman"``, serif;` ` ``font-size: 14px;` `}` `.wiki-content,` `.wiki-content p,` `.wiki-content table,` `.wiki-content tr,` `.wiki-content td,` `.wiki-content th,` `.wiki-content ol,` `.wiki-content ul,` `.wiki-content li {` ` ``font-size: 14px;` `}` When i edit and save the above stylesheet, i cant see any change in font or style of my page. I am not sure if i am doing it correctly. Can someone help me out! Thanks, Avinash |


Answers:
author: Matthew J. Horn
body: If you're trying to modify the output of the PDF, then you need to look at this document:

<https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF>


Tags: cloud

confluence-cloud
Google Analytics on Blog Posts
Asked by Jason Kirby:

Is there a way to add Google Analytics to blog posts? I have a space that the administrator creates blog posts on and those become part of an RSS feed where the user can click a link to see the post. I want to be able to track whenever a user goes to these blog posts.

Much thanks!


Answers:
author: Amalia
body: You can add Google Analytics JavaScript to **Blog Post Layout** in **Confluence Admin \> Layouts.**

Alternatively, you can add it in **Main Layout** and insert the following code:

```
#if ($sitemeshPage.getProperty("page.bodyClass") == 'view-blog-post')    &lt;insert Google Analytics JS here&gt;#end
```

The JS in the above code will only be shown when a blog post is viewed.


author: David at David Simpson Apps
body: Another approach would be to use Confluence Admin \| Look and Feel \| Custom HTML \| At the end of the HEAD and paste:

```
&lt;script&gt;AJS.toInit(function(){	if (AJS.$('body').hasClass('view-blog-post')){		// Add Google Analytics code here	}});&lt;/script&gt;
```

This has the advantage of being usable on any theme and won't hinder upgrade to the next version.


author: David at David Simpson Apps
body: A more correct way of doing this would be to track Google Analytics site-wide but have the RSS feed automatically add the Google Analytics campaign tracking parameter **utm_medium=rss** (or similar) so that the reporting would appear on the correct screen in Google Analytics :)


Tags: analytics

blog

google
How to get Confluence Stats
Asked by AbrahamA:

Hi

Can you please let me know how I can get information from Confluence like:

* No.of Spaces
* No.of Pages
* No.of Versions/page

Is there schema published for confluence (I found for JIRA), where I can find database level information.

I am ok to go to database and run queries for getting these numbers.

Thanks

Abe


Answers:
author: Septa Cahyadiputra
body: Hi Abe,

You might want to review this documentation to get statistics from Confluence

* [How do I Get More Statistics from Confluence](https://confluence.atlassian.com/pages/viewpage.action?pageId=154239308)

If you want to get the information from your database try the following query

```
SELECT COUNT(*) FROM spaces;To get the number of pagesSELECT COUNT(*) FROM content WHERE contenttype='PAGE' AND prevver is NULL;To get the number of blogpostSELECT COUNT(*) FROM content WHERE contenttype='BLOGPOST' AND prevver is NULL;To get the number of version/pagesSELECT COUNT(version) FROM content WHERE contenttype='PAGE' AND TITLE='&lt;Page Title&gt;' AND SPACEID=&lt;Space ID where the title reside&gt;;NOTE: Change the contenttype accordingly
```


author: Bob Swift (personal)
body: [Site Statistics](https://confluence.atlassian.com/display/DISC/Site+Statistics) has queries and charts for this type of thing.
Is it possible to use the "Free for Open Source" option for a political party?
Asked by Christopher Tempel:

It there any chance to get a free or a lower priced version for a sub-organisation of a political party?


Answers:
author: Radu Dumitriu
body: If it's PPFABWE (Programmers Party For A Better World Elsewhere), I think so.

Leaving the joke aside, see if your sub-organization qualifies:

<http://www.atlassian.com/software/views/community-license-request>

Edit: Unless the sub-organization is doing software, I think this is what you're asking for

comments: author: Christopher Tempel
body: Jep our sub-organization or general our political party creates **no** software. The suggested Community License said that it can not be used by a government organization. But our party was already elected and so it is definitely a goverment organization, isn't it?


author: Ramiro Pointis
body: Yes, I believe it is actually a goverment organization now. But you could try sending a request to see what happens ;)


author: Ramiro Pointis
body: As I see here: <http://www.atlassian.com/software/views/open-source-license-request>

There are a few requests:

1. The project is licensed under a license[approved by the Open Source Initiative](http://www.opensource.org/licenses/alphabetical).
2. The project source code is available for download.
3. Your open source project has a publicly accessible website.
4. Atlassian's software is accessible to the public.

In that webpage you can request one.

Hope this helps!


Tags: licence
Why when I search in confluence I get the old title?
Asked by Ioana Petrescu:

Hello,

I have a small problem....

I made a page that I previosly named: Fin Builder 1.2 and after i realised that i wanted to be named: Fin Builder 2.0. So i renamed the page and everything was fine...till i used the search engine.

As you notice in the attached image...when i search i still get the previous title in there ( the Fin Builder 1.0 is the right one...we have several pages). I highlighted what i actually get in the search box and how the page it is actually named.

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

Please let me know...if there is another place where i should rename the page and i missed it.

Thanks a lot,

Ioana


Answers:
author: Abdoulaye Kindy Diallo
body: May be you could raise a support case through [SAC](https://support.atlassian.com) for us to further investigate this.


Tags: cloud

confluence-cloud
Integrate Confluence OnDemand with SharePoint 2010 intranet
Asked by Herdy Handoko:

Would it be possible to use the Confluence SharePoint connector to integrate Confluence OnDemand with an internally-hosted SharePoint 2010?


Answers:
author: Joe Clark
body: Sorry, we don't offer the SharePoint Connector with Confluence OnDemand :-(


author: Richard Navarrete
body: @JosephClark - I know Atlassian doesn't offer it. Why is that? This is possibly the remaining pin to solving a proposal for a client. I can't seem to find why it doesn't work or if there is a possible workaround. Thanks, R

comments: author: Joe Clark
body: Hi Richard - the SharePoint Connector in its current form needs some re-architecting before it would be suitable for OnDemand. For example, Confluence OnDemand does not support Active Directory integration, so you wouldn't be able to sync the two user bases together easily, and this is a core requirement for smooth functioning of the SharePoint Connector.


author: IT Admin
body: Are there plans on the roadmap to add the SharePoint Connector as a Confluence OnDemand option in the future?


Tags: sharepoint
Printing pages on Linux always has first black page
Asked by Austin Luu:

Whenever printing pages from Confluence on a Linux machine, the first page will always be completely black. I suspect that the banner is responsible for this and would like to find a way to get rid of the banner.


Answers:
author: Bruna Griebeler
body: Hi Austin

As Rian said, this seems to be related with some customization. However top make sure if the problem is related to this - as you are in a Linux machine - you may print the page on a pdf file instead of send it to the printer.

If the blank page still appears on the pdf, is more like a customization problem. Otherwise, if this just happens when printing the page this may be related to how the information is been send to the printer pool.

Either way is important to check if the behavior persists when printing the page from other browsers.


author: RianA
body: Hi Austin,

I am suspecting this issue might be related to some customization on your Confluence. Could you please try to revert them to default and check if everything works well. In addition to that, try to export to pdf and see whether the same thing occurred. Hope this helps!

-Josua
Why do links to JIRA Issues in Confluence sometimes not display the issue text?
Asked by Justin Corcoran:

I've been using confluence for a few weeks, and one of the features I really like is the ability to insert a link to a JIRA issue. In the past, when I was logged in to Confluence, I could see the summary of the issue and the status, but if I logged out, all i would see is the issue number (and the box aroudn the number would turn red). That makes sense (although it means all my JIRA users also need Confluence access).

However, today I'm looking at my Confluence page, and even though I'm logged into Confluence (and JIRA) the issues are displayed in a red box with only the number, instead of showing the full summary and status.

Any idea why this is happening? ![](../../../upfiles/issue_link.png)


Answers:
author: Justin Corcoran
body: This might not be the only reason, but I noticed that if I put a JIRA Issue link in confluence, and then move the JIRA issue to a different project, the link in confluence turns red (and doesn't reflect the fact that the issue is in a new project). Clicking on the link still takes you to the correct issue.


author: Nawaz Quadri
body: May be trusted application or application link between JIRA and confluence is broken.


Tags: jira

link
How can I move the LIKE option to the top of the page?
Asked by Fabian Lopez:

I would like to have the new option LIKE/INLIKE on top of the page below the page name and not below the body.

Is this possible?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Fabian,

Try something like this:

```
&lt;script&gt;  AJS.toInit(function(){    AJS.$('#content').before(AJS.$('#likes-section'));  });&lt;/script&gt;
```

comments: author: Fabian Lopez
body: Thanks Jobin, I tried to a global level with HTML and then space specific adding the code inside the html macro and inside the documentation theme configuration.

<https://www.vxvista.org/pages/viewpage.action?pageId=65668419>

it works great!

Thanks!


author: cirosantilli
body: Same for labels: <https://answers.atlassian.com/questions/1706/would-like-the-labels-to-be-on-top-of-pages-instead-of-the-bottom.-is-this-possible>


author: Stefan Kohler
body: Hey Fabian,

Currently it's not possible to controll where the LIKE button in Confluence is displayed.

Depening if you use something like a custom-theme for Confluence you might be able to change it yourself (by changing the templates) but for a plain-vanilla installation of Confluence it's not.

You could always do a feature request at <http://jira.atlassian.com>

Cheers,  
Stefan

comments: author: Fabian Lopez
body: I am using Documentation Theme, I was able to change the location of the metadata by adding this code into the head html. I was hopping to do the same with the LIKE plugin :)

```
<script>  AJS.toInit(function(){    AJS.$('body.theme-documentation .page-metadata').prependTo('#labels-section');  });</script>
```


Tags: like
How to bulk move child pages to new parent?
Asked by Jim Coates:

I had a page get corrupted and had to hard delete it from the database. I copied it before I did and wish to have its children moved to the copy. I ran the following SQL but it did not seem to change the heirarchy or have the new space home list the children:

```
update confancestors set ancestorid=74842628 where ancestorid=442;
```

Any idea how to accomplis this?


Answers:
author: David at David Simpson Apps
body: You could perhaps try out the Confluence CLI in [Atlassian CLI](https://marketplace.atlassian.com/plugins/org.swift.atlassian.cli).

Get a list of child pages for a page:

```
confluence --action getPageList --space "zconfluencecli" --title "Current Parent Page" --children
```

Then move each page in the list to a new parent...

```
confluence --action movePage --space "zconfluencecli" --title "This Child Page" --parent "New Parent Page"
```

It could be turned into a nice little bash script e.g.

```
move-page-children "Current Parent Page" "New Parent Page"
```

[More CLI examples here](https://bobswift.atlassian.net/wiki/display/CSOAP/Examples)

comments: author: Jim Coates
body: This looks promising but what about the fact that their parent page no longer exists?


author: Bob Swift (personal)
body: Ideally, you should do this before you delete the parent ;). Another point that is too late for you is that in many cases you can use the CLI to save the source of the bad page, then update the page to correct the problem without deleting it.


author: Jim Coates
body: I was able to get this working using the --outputFormat 2 for getPagelist and not supplying a title. I took all of the items (except the new home) with a parent id of 0 and used them to make the list. Thanks so much!
Cannot "Add Space"
Asked by Jeff Galbraith:

When we try to Add Space we get a Page Not Found error. The log file contains the following:

2012-07-17 08:58:58,775 INFO main com.atlassian.confluence.lifecycle init Confluence is ready to serve

2012-07-17 09:00:25,926 ERROR http-8090-3 atlassian.confluence.servlet.ConfluenceServletDispatcher serviceAction There is no Action mapped for namespace /confluence/spaces and action name createspace

-- referer: <http://our-server:8090/spaces/createspace-start.action> \| url: /confluence/spaces/createspace.action \| userName: \*\*\*\*\*\*\*\*

I just upgraded to 4.2.8 but we also had this issue in 4.2.3 (I believe that was our previous version).


Answers:
author: Septa Cahyadiputra
body: Double check if your server base URL is set accordingly as how you access Confluence.

comments: author: Ben Cornwell
body: Septa's answer worked for me


author: D1M
body: Similiar problem. We are using On Demand. Confluence will not allow me to create any new spaces. It redirect to page with "Page cannot be found" message.

I am an Admin.

comments: author: D1M
body: ### Workaround {#toc-hId-1423404545}

Turn off the default space logo in Confluence Admin -\> Default Space Logo (the URL should be[https://example.atlassian.net/wiki/admin/configuredefaultspacelogo.action](https://example.atlassian.net/wiki/admin/configuredefaultspacelogo.action "Follow link")). This will allow spaces to be created.


author: James Carrington
body: Dimitry's workaround worked for me. Looks like a bug!


author: Bruno Rosa
body: Yeah, you're right. This is a bug that was introduced on the latest OnDemand upgrades and it's currently being tracked here - <https://jira.atlassian.com/browse/CONF-29865>. The report says that it is fixed, however please note that the fix was not rolled out yet.


author: Bong Samonte
body: Same issue I encounter on create a new space. Is there any resolution on this?


author: Billing Shmoop
body: Same here - tried Dimitry's work around and it fixed it. Definite and strange bug. Thanks, Dimitry


author: James Carrington
body: I have a similiar problem, but we are using On Demand. Confluence will not allow me to create any new spaces, and instead presents me with a "Page cannot be found" message.

I am an Admin.

Any ideas?


Tags: space
How to restrict a space in a JIRA+Confluence OnDemand instance
Asked by YvonneY:

A Confluence admin may wish to make a certain space, but not any other spaces visible to external users for example. Because the various permissions of each app in OnDemand play together this can be tricky because users may inherit permissions from a different permission schemes.


Answers:
author: YvonneY
body: <br />

* Create a restricted user
* Grant this user application access to Confluence only
* Create a restricted users group
* Put the user in this group
* Go to JIRA Global Permissions (shortcut is to hit gg and then type Global Permissions in the search field) and grant the permission "JIRA users", which will allow to log in, to the newly created restricted users group
* Now check Global permissions in Confluence and ensure, the restricted user group "can use" Confluence, but not perform any of the other actions like for example create spaces if they should not be able to create content
* Now check the Space Permission of the space you wish to grant the user access to. You can do this on an individual base, but you could also grant this permission to the whole group, so every user in this group would only see this space

<br />


Tags: cloud

confluence-cloud
Add Label in Content Editor Bug? Labels are not visible
Asked by Oli S:

If I add or edit a page / blogpost I have troubles with the visibility of the labels in the editor.

**What I do:**

1. Edit or Add a page or a blogpost
2. Click "Labels" and add a label
3. The number of the Label button is set to 1 - correct
4. Then I close the popup
5. Now I click on the button "Labels" again and no labels is visible.
6. If I save the page now, the labels are attached

Is this a known issue? I think, I have heard something about this in the past, but I couldn't find the related issue at atlassian.

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


Answers:
author: hsuhailah
body: Hi Oliver,

I managed to reproduce the same issue in 4.2.4 and I'm guessing the same issue is still happening in the latest Confluence 4.2.11. I'll check if there's an existing bug report on this in our system and if there's not I'll create one for tracking and to notify the development team regarding the issue.

comments: author: hsuhailah
body: Hey oliver,

I have raised a bug report regarding this here: [https://jira.atlassian.com/browse/CONF-26140](https://jira.atlassian.com/browse/CONF-26140.). You may watch the bug report for any future updates by the development team. Feel free to leave your comments too.


author: Oli S
body: Thank you for your investigation. Its normal that I could not view the issue, and "project not exists message occurs".


author: hsuhailah
body: Here is the link: <https://jira.atlassian.com/browse/CONF-26140> without "." You should be able to view the bug report now.


author: Amalia
body: Does this issue occur in other browsers as well? Does it happen in all spaces?

There are two things that you can try. Please back up your database first before performing the following tasks.

* See if enabling safe mode would solve the problem (this means that one of the third-party plugins installed is the culprit).
* Delete any customization codes applied to your Confluence instance. Check:
  * Custom HTML in Confluence Admin
  * Stylesheet in Confluence Admin
  * Layouts in Confluence Admin

comments: author: Oli S
body: I could reproduce this problem on every intance from our customers, on our owns, on a clean installed confluence with no plugins, no design, no stylesheets, ... too. (version from 4.2.2 to 4.2.8).

The problem is, that at a click on #rte-button-labels, the assigned labels are rewritten in the DOM of the label editor, starting at #dialog-label-list and the child ul. This List is written as well, but only with all labels, which are attached at the inital request of the site, not with the new labels.


author: Oli S
body: has nobody the same issue?


Tags: label