youngmon/atlassian-qna huggingface dataset:
confluence mysql to postgresql migration
Asked by Dave Watts:

I have had great luck with pgloader transfering data excerpt for one table, plugindata. Does anyone have any hints on the proper casting for the fields? The problem field seems to be named data and defined as a LONGBLOB. The migration is from MySQL 5.1 to Postgresql 9.3 using pgloader version "3.2.0"

Examples of the pgloader errors:

The value 33354273 is not of type (UNSIGNED-BYTE 24).  
DEBUG copy-batch plugindata 5 rows \[oversized\]


Answers:
author: Igor Boyko
body: Hi @Dave Watts,

Was you able to migrate from mysql to postgre?


author: Rafael Pereira
body: Hi Dave

You might consider to use the XML backup to migrate, as described here: [Migrating to Another Database](https://confluence.atlassian.com/display/DOC/Migrating+to+Another+Database)

Cheers,  
Rafael Pereira

comments: author: Malik Mangier
body: Unfortunately sometimes it's just not possible. Not only the XML may take hours (10+) before it fails:

```
root cause java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter not found by com.atlassian.activeobjects.activeobjects-plugin [17]
```

And in addition there's no guaranty that even if this specific problem is solved, there won't be more problems after that. Kind of tree hiding the forest situation...

In those situations, a direct DB migration would be a better strategy.


Tags: confluence-administration
I need code block with dashed line.
Asked by RM:

PROBLEM  
--------------  
When I insert a code block, it gives me a solid line. How can I convert that solid line border of the code block to dashed line? Thank you in advanced.


Answers:
author: Stephen Deutsch
body: Actually, I found that you can change the CSS for a single page if you want since the Content Formatting Macros (which should be included in your instance) contain the CSS Stylesheet macro. Just put the following inside the CSS macro on the same page as the code macro:

```
div.code {  border-style: dashed !important;}
```

And then the code block should show with a dashed line.


author: Daniel Wester
body: Are you using the code macro? If you can give more details?

comments: author: RM
body: I do:  
Edit Page  
Insert Menu Button  
Other Macros  
Code Block  
Insert  
Now, I get a code block that has a solid line - I prefer the dashed line which is easier on the eyes. Thanks \& Best.


author: RM
body: Any ideas? Best.


author: Daniel Wester
body: The only thing you can try is to change the Theme:<https://confluence.atlassian.com/display/DOC/Code+Block+Macro>Since you're using Confluence Cloud you can't change the css. :(


Tags: cloud
confluence 5.7.x and JDK 1.8
Asked by David Meltzer:

Hi

The support platforms for confluence 5.7.x have the java requirement as "1.7, 1.8 (JRE only)". Does this mean JDK isn't supported or that only the JRE is needed to run?

We are looking to upgrade to 5.7.x, but the server also runs crowd, which does require JDK.

thanks


Answers:
author: Mallmann
body: Hey David,

In this case I guess you could use different JDK versions to each product. Our installer comes with a bundled JAVA version, for instance: <https://confluence.atlassian.com/display/DOC/Installing+Java+for+Confluence>

I hope it helps.

Eduardo


author: William Zanchet [Atlassian]
body: Hi David,  

That's correct JDK 1.8 isn't supported and only JRE 1.8 is supported.  
You can have the JDK 1.7 in Confluence and Crowd. Both of them works with JDK 1.7.  

Cheers,  
WZ

comments: author: David Meltzer
body: Using 1.7 leads to another conflict. The server is also running fisheye, which has 1.7 marked as depreciated.


Tags: confluence-administration
Jira Users & Billing question
Asked by Yoni Cohen:

I currently have 9 developers using JIRA Agile for $20/month. I'd like to put my entire team on Confluence (another 10 people), for a total of \~20 total users in confluence.

Only the developers need access to JIRA Agile.

**Will I have to upgrade my JIRA Agile plan to the next level in order to be able to add the rest of the team to Confluence?**

**What will my total cost be monthly at that point?**

Thanks!


Answers:
author: Andre Borzzatto
body: Hi Yoni,

Confluence Cloud and JIRA Cloud can have separated users.

You can have any setup you want.

If you want to have only 9 users for JIRA, but 20 for Confluence, you just have to manage their applications access accordingly, something that can be done using the functions on the User Management of Atlassian Cloud.

You can find more information here:

* <https://confluence.atlassian.com/display/Cloud/Managing+application+access>

And here's the table so you can estimate your billing:

* <https://www.atlassian.com/licensing/jira#cloudsubscriptions-3>

You can also raise a Support request to our Sales team and they can help you with it.

I hope it helps!

Thanks!

Andre


author: RudeyG
body: The billing got upgrade to next tier automatically in JIRA and Confluence Cloud when you put more users into it. One exception I noticed is Bamboo Cloud on number of remote agents - From my own experience it can not be increased by user's end but you have to raise a support ticket and Atlassian support would upgrade your tier on Bamboo.


Tags: billing

cloud

confluence-cloud
How to create a Confluence Appliance in Hyper-V Windows
Asked by Suresh Chandra:

Hi Experts

I wanted to create a Template VM , i can use in diff environments .

I installed confluence on Windows 2008 and working

After Sysprerped and creating the VM

Tomcat won't start with error " Some services stop qutomatically if they are not in use by other services or programs "

Any thoughts or ideas .

Thanks

S


Answers:
author: Suresh Chandra
body: Thanks for looking , resolved this after many hours of troubleshooting

Solution - Created a page file with max allocated mem


Tags: confluence-administration
Is it possible to create a dynamic table to allow users to input data with having to edit a page?
Asked by m:


Answers:
author: Adrien Ragot 2
body: I'm the founder of [Play SQL Spreadsheets](https://marketplace.atlassian.com/plugins/com.playsql.playsql-plugin), and that's exactly the goal: Tables you can edit, on the page, in view mode, and reflected as real tables in the database.

3-Autofilters 3.png  
[](https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-create-a-dynamic-table-to-allow-users-to-input/qaq-p/261657?attachment-id=3267){#link_1188ad5726ce1f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/44170/1/3-Autofilters%203.png){#display_1188ad5726ce1f_0}


author: Andre Borzzatto
body: Hi Manny,

Confluence doesn't have such a feature ready to use, but I think that the Atlassian Marketplace might have some add-on for that.

* <https://marketplace.atlassian.com/plugins/org.swift.confluence.table>

But you can always review the extension of plugins available.

Thanks!

Hope it helps!

Cheers!

Andre

comments: author: Adrien Ragot 2
body: Hi Andre,I often see Atlassian support members taking position in favor of some third-party plugins. When you do, could you please mention all alternatives? There could be a good reason why you mentioned Bob Swift's in particular (for example it's older on the Marketplace) but this could be barring access to new entrants.Best regards,Adrien Ragot, founder of Play SQL Spreadsheets


author: Bob Swift (personal)
body: I would add that Advanced Tables for Confluence (the referenced add-on) does not do what you are asking for.
How can I have the same content appear in two Confluence wiki pages?
Asked by Timothy Fong:

I have content that needs to be appear in two Confluence wiki pages but I obviously only want to do updates in one place.

One place is in a restricted view (because it needs restricted context) and another wiki is public (minus all the restricted context)


Answers:
author: MichaelS
body: Have you checked the excerpt and excerpt include macro?

<https://confluence.atlassian.com/display/CONF57/Excerpt+Macro>

If this doesn't work for you, the roadrunner plugin could also be an option.

<https://marketplace.atlassian.com/plugins/rr>

Hope this help,

Michael

comments: author: Timothy Fong
body: I haven't and didn't know of tha tmacro will check it out


author: RudeyG
body: Or you can set up 2 spaces in 1 instance, giving internal space internal access by correct permission scheme, using Comala Publish plugin to publish contents from one space to another. This plugin is at Atlassian Marketplace: <https://marketplace.atlassian.com/plugins/com.comalatech.publishing>. (Publish draft pages and spaces to published spaces and copy one space to another)


author: Timothy Fong
body: cool, let me try that!


author: Jonathan Simonoff
body: I assume that what you want is to have a page with public content and another page that shows the public content plus the restricted content.

Place the public content on a publicly viewable page. Use an include macro to also show that content on the restricted page.
Would it be possible to enable an ?edit in office? function for Visio files?
Asked by Victor Prasad:

We do a lot of work in Visio and a couple of our current projects involve using Confluence as our real-time repository for working Visio files, so this functionality would be great for us.

Thanks,

V


Answers:
author: William Zanchet [Atlassian]
body: Hi Victor,

Actually we don't have this feature yet, I must say that we first need the ability to embed Visio files to Confluence to then have the ability to enable the edit in office option.  

There's a feature request to have this feature as you can see here:  

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

I would strongly suggest that you vote on this issue to increase its popularity and add it to your watchlist for future updates. I also suggest you to comment in the feature request.

Cheers,  
WZ
Confluence enhanced page restriction workflow
Asked by Michael Schlueter:

We often use page restrictions to restrict page access to a certain group of users.

It is very easy for a user to add a page restriction so that confidential content is easy to protect. Unfortunately it is equally easy to remove the page restriction again and since the view restriction is inherited through the page tree, the restriction is removed from a whole bunch of pages with a single click.

We would like to have some kind of enhanced workflow for removing page restrictions. This could be a simple warning (e.g. You are removing the view restriction from 15 sub pages! Are you sure? ...). Another possibility would be some kind of four eye principle, so that someone else has to confirm this.

At least it would be nice, if the permission to add restrictions could be separated from the remove permission. (Similiar to the permissions for add and remove pages, news and comments).

Is there any solution (plug in) available for this problem?


Answers:
author: Davin Studer
body: In confluence admin there is a page where you can add custom html. You could fairly easily put in some JavaScript to ask the user "Do you really want to remove this restriction?" when they click the remove link. As for the four eyes method you would need to write an add-on for that.
search-result.vmd not leading anymore?
Asked by Matthias Schouten:

Hi,

I want to modify the search-result page that if no result has been found, a button will appear to create new content with the topic the user searched.

I thought that the search-result.vmd is the place to implement it. It was also described already in here: <https://answers.atlassian.com/questions/44726> Unfortunately nothing happens when I change this file. I can even delete this file and nothing happens. The search result page will always be displayed as before.

Does any one know where I can change the search result page at all? Is there a new VMD file for this?!

btw: I am using Confluence 5.7.1

Cheers


Answers:
author: Matthias Schouten
body: ok... i figured it out... it seems that the Search-Result.vmd is not leading at all anymore.

You have to change the search-result.soy in confluence-search-xxx.jar/templates to ensure that the search-result page will be adapted.


Tags: confluence-administration
Number of users reaching the licence limit warning
Asked by Vitor LC:

Is there a way of automatically warning the administrators when the number of users is reaching the licence limit?

Thank you.


Answers:
author: Rodrigo Girardi Adami
body: Hi Vitor,

I've also found this improvement request for Confluence to not make all users read only when reaching the license limit. I believe you'd be interested in voting on that one.

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

Cheers,

Rodrigo


author: Rodrigo Girardi Adami
body: Hi Vitor,

We have a feature opened for this here: <https://jira.atlassian.com/browse/CONF-9075>

I suggest to vote and also comment there to raise the priority of this request.

I hope this helps.

Cheers,

Rodrigo


Tags: confluence-administration
Can I give a user access to a single page and not the rest of the space?
Asked by Arthur:

We have a Space A, which User X has access to. Inside Space A is a page that embeds a page from Space B, User X doesn't have permission to view Space B. As a result, they get the following message:

"Unable to render {include}

The included page could not be found."

Is it possible to give User X access to just that specific page from Space B without giving them access to see other pages in Space B?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You can but it is harder than you think. You have to give user X access to Space B and then restrict all the pages, except the one you mentioned above, from user X.

The problem is that when you create a new page in Space B, you will have to remember to apply the restrictions or else the new page will be visible to user X.

comments: author: Daniel Varela Santoalla
body: Does anyone know if there is a feature request for such a thing. I find users asking for the same thing time and time again. And it is something that you can do easily with Google Docs, for example. Some users prefer to use GD only because of this.


author: Jonathan Simonoff
body: You can, as John suggests, have space B open to User X, but then create two page families in Space B -- one with is restricted so User X can't view it and is parent to most things in the space, and another that is not restricted and is parent to all pages that you want User X to be able to view. When you want to create new pages in Space B that aren't visible to User X, you don't need to restrict them individually -- just make sure they are in the restricted page family.


Tags: confluence-administration
How to add labels to the current page in a self-written user makro?
Asked by stafff95:

I searched a lot, but nothing worked. There are downloadable Makros who manage to add labels you type into them, but as they?re not open source I can?t get behind that magic, which of course works, as I tested. Using the REST Api didn?t work, using the labelManager and labelUtil also lead to nothing. But I am sure there?s a way to use the labelManager to do so, maybe with the function "**[addLabel](https://docs.atlassian.com/confluence/latest/com/atlassian/confluence/labels/LabelManager.html#addLabel%28com.atlassian.confluence.labels.Labelable,%20com.atlassian.confluence.labels.Label%29)** `(`[Labelable](https://docs.atlassian.com/confluence/latest/com/atlassian/confluence/labels/Labelable.html "interface in com.atlassian.confluence.labels")` content, `[Label](https://docs.atlassian.com/confluence/latest/com/atlassian/confluence/labels/Label.html "class in com.atlassian.confluence.labels")` label)`" but there I don?t know with what to fill the parameters, beacause I have no access to the current page and I don?t know how to create a new label.

Thanks for your help


Answers:
author: Stephen Deutsch
body: I've tried adding labels via user macro, and the easiest thing I've found is to use ajax and let Confluence take care of the rest of the details. Here is a simple user macro that adds a label based on what you type into a text field.

```
## @noparams&lt;script&gt;var addLabel = function(label) {    jQuery.post(contextPath + "/json/addlabelactivity.action", {"entityIdString": "$content.id", "labelString": label, "atl_token": jQuery("#atlassian-token").attr("content") }, function() {        jQuery("#label-to-add").val("");    });}&lt;/script&gt;&lt;form class="aui" onsubmit="return false;"&gt;  &lt;input id="label-to-add" class="text"&gt;  &lt;button class="aui-button aui-button-subtle" onclick="addLabel(jQuery('#label-to-add').val());"&gt;    &lt;span class="aui-icon aui-icon-small aui-iconfont-add"&gt;Add &lt;/span&gt;  &lt;/button&gt;&lt;/form&gt;
```

comments: author: stafff95
body: thank you very much it works fine for me :)


author: Melissa C
body: This is great! Thanks for posting.

Can I use a field in my macro example "Document Number" that populates the label for the page. I'm pretty new to this so I'm no sure how to do that yet.

I currently have my users populating a number of fields in a macro. I wanted to use the "Document Number" field to update the label of the page.

what should I add to do this?


author: Kevin Suter
body: Thank you for this macro. It still works with Confluence 6.11.2.


Tags: label

user-macro

velocity
Creating a page or blog post from an email on confluence cloud
Asked by srinivas suravarapu:

Is there anyway we can create a page everytime an email is sent to a specific inbox? I need this on confluence cloud . Any help is appreciated


Answers:
author: Dominik J?lg
body: Hi,

recently my team and I released a Cloud plugin to create pages / blog-posts from email.  
<https://marketplace.atlassian.com/apps/1223249/mailto-wiki-send-emails-to-confluence>

Since sending emails is a recurring topic and there are already several forum posts and tickets, we took the effort to collect all available information about it in a single blog post. You can find [the blog post here.](https://mailto.wiki/send-emails-to-confluence/)

**Tl;dr version**   
- For Confluence Server with versions 4.0 or lower there was very limited build-in support.  
- For versions above that the only possibility to send emails to **Confluence Server** currently is via the [send-email-to-page plugin](https://marketplace.atlassian.com/apps/21973/send-email-to-page).  
- Our [mailto.wiki](https://mailto.wiki/) plugin is the way to go if you're using **Confluence Cloud**.

Best regards,  
Dominik J?lg from CraftCoders


author: Mallmann
body: Hey Srinivas,

I'm afraid that Confluence doesn't have this feature, although there's a request for this: <https://jira.atlassian.com/browse/CONF-1726>

For Confluence server there's a plugin that I'm aware of to achieve it: <https://marketplace.atlassian.com/plugins/biz.artemissoftware.plugins.confluence.send-email-to-page>

However, this plugin does not exist for Confluence Cloud. ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")

I hope it helps.

Eduardo


Tags: cloud

confluence-cloud
Remove "Contents" Columnt
Asked by Aaron Bianucci:

By Default when I create a blank page on any of my sites it creates a "Contents" column on the left hand side that pretty much shows the tree view for child pages.

I want to remove that from the template in one of my spaces as I don't want to see it constantly on this space.

How can I do that?2015-03-26_16-07-42.jpg  
[](https://community.atlassian.com/t5/Confluence-questions/Remove-quot-Contents-quot-Columnt/qaq-p/323632?attachment-id=5873){#link_1188aee00057c9}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/54584/1/2015-03-26_16-07-42.jpg){#display_1188aee00057c9_0}


Answers:
author: Maggie Modersohn
body: Hi Aaron,

Looks like you're using Brikit Theme Press. The content column is being inserted there by a Theme Press layout.

To change the layout only for your space, you may want to copy the current layout, remove the column and apply the new layout to your Space. Here's how I would do that:

Open the Theme Press Designer (press the . key to do that) and navigate to the 'Page' tab. Under 'Layout Source', you will see which layout your page is using. Click on the name of the layout to open the layout page. Once you're on the layout page, which starts with .brikit.layout., go to the Confluence toolbar and click on 'Tools' and 'Copy Page'. This will create a copy of the current layout.

Now re-name the title of the page from 'Copy of .brikit.layout.name' to '.brikit.layout.NewName' - this is important as only pages starting with .brikit.layout will be recognized as layouts.

To remove the column, open the designer and navigate to the Layout tab. Locate the column in question and remove it.

Finally, navigate back to the Space where you want to apply this layout. Open the designer, go to the 'Architect' tab and 'Layouts' and select 'Use Space Layouts'.

I hope this is helpful. If you need more information, or would like to screen share with someone, contact us at [solutions@brikit.com.](mailto:solutions@brikit.com.)

Thanks,

Maggie


Tags: confluence-administration
This reporter cannot be used in this context.
Asked by John Lamphear:

I am currently working with version 5.4.3 and am trying to get a report of spaces and users / creators as I am trying to clean up outdated content. I have the ServiceRocket Reporting Add-on installed, Ver. 4.3, and I keep getting the "This reporter cannot be used in this context" error when I am trying to follow the examples under the macro references <https://docs.servicerocket.com/display/REP/Macro+Reference> Any suggestions?


Answers:
author: Pranesha Bunsee
body: Getting the same "This reporter cannot be used in this context." error for User Reporter.  
John, were you able to diagnose the root cause?


author: Jan Schwoebel
body: John,  

Did you find any solution on this?


author: Rodrigo Girardi Adami
body: Hi John,

This error is a new one to me. Is this happening on other istances or the newer version of Confluence?

If the issue persist, I recommend to reach servicerocket team to check if they know what could be happening with this plugin.

Regards,

Rodrigo


Tags: confluence-administration
insert jira issue macro create sub issue throws error
Asked by Jesse Anderson:

Issue:

From Confluence using the Insert JIRA Issue macro I can create a new standard issue fine (e.g. story, feature, bug) but when i try to create a new sub task i get an error.

<br />

Hypothesis:

What i think is going on here is i am trying to create a sub task but a sub task requires a parent and in the create JIRA issue screen there is no way to define the parent of the sub task. My guess is the JIRA Issue macro only allows you to directly create standard issue types (e.g. story, bug, feature, etc..) but not sub issues (e.g. sub task, dev sub task, quality sub task, etc..) and the confusing part is the UI shows sub tasks when it shouldn't, it should only show issue types that will work (short coming of the UI).

<br />

Screen Shot 2015-03-26 at 12.08.01 PM.png  

<br />

<br />

[](https://community.atlassian.com/t5/Confluence-questions/insert-jira-issue-macro-create-sub-issue-throws-error/qaq-p/55779?attachment-id=12340){#link_1188af10f8f550}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/9403/1/Screen%20Shot%202015-03-26%20at%2012.08.01%20PM.png){#display_1188af10f8f550_0}


Answers:
author: Nic Brough -Adaptavist-
body: You are correct, that looks like a bit of a bug to me - it either needs to prompt you for the parent, or not offer sub-task types.


author: RudeyG
body: Tried to create JIRA issue in Confluence (Atlassian Cloud) macro - It will not show sub-task even JIRA project has sub-task issue type configured.

comments: author: Nic Brough -Adaptavist-
body: Mmm, that's a good point - @Jesse Anderson - what version of Confluence are you on?


author: Jesse Anderson
body: We are using Confluence 5.4.4


Tags: confluence-app