youngmon/atlassian-qna huggingface dataset:
How can I automatically upload a file into Confluence Cloud?
Asked by Edward Wilson:

I am trying to create a confluence page for my team which will display the contents of an attached excel file. However, the values within the excel file (not the overall structure) change on a daily basis. If I upload the updated excel file with the same name, it overwrite the existing and displays the new values in my confluence page which is great however, it is not realistically possible to do this every day.

Ive done some research and the route I'm going down is to upload the file to the confluence cloud instance via a webdav (BitKinex, Cyberduck etc.) I can sucessfully upload a file into the Webdav but how do I then reference that file in the WebDav from my confluence page. I'm by no means an IT professional and I'm basically just hacking around, so if there are some much more simple solutions to achieve this that would also be great to know!!

Many thanks in advance for any help!


Answers:
author: Nic Brough -Adaptavist-
body: The WebDAV function on Cloud is not the same as WebDAV on Server versions - it's for uploading files for Confluence to import or for Atlassian to look at.

This upload is not the same as attaching a file - it's not associated with a page. You need to attach files to pages, so WebDAV here is not going to help you.

I'd use REST to do it - there's a simple example at <https://developer.atlassian.com/confdev/confluence-rest-api/confluence-rest-api-examples>

comments: author: Edward Wilson
body: Ok great, thanks Nic! I have absolutely no experience with this sort of stuff though! I have some .net programming experience but not much! Any suggestions on a good place to start with learning how to achieve this solution? Or am I in over my head already?


author: Bob Swift (personal)
body: Use [addAttachment](https://bobswift.atlassian.net/wiki/display/CSOAP/Reference#Reference-addAttachment) from [Confluence Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/CSOAP/Confluence+Command+Line+Interface).


Tags: cloud

confluence-cloud
How to add a searchbox in confluence sidebar?
Asked by Matt Lundstrom:

Hello. Thanks for reading!

I am trying to add a simple searchbox above the Page Tree in the sidebar when using the confluence default theme. We're already heavily invested in configuring this theme to our liking and this is one of the final steps.  
I've modified multiple decorator style layouts inside the Confluence admin area and added #searchbox() (per <https://confluence.atlassian.com/display/CONFEAP/Working+With+Decorator+Macros> )to multiple lines but never got anything to show except the actual text which was on the page and not the sidebar.  
I also opened up and edited a couple .vm files and inserted that same decorator macro as mentioned on the page above (Again - #searchbox()) with no result anywhere.  
Can someone point me in the right direction to throw a simple searchbox at the top of the page tree in the sidebar on the default theme?

Thanks in advance!


Answers:
author: Taha Khanzada
body: Go to Page Layout and may be modify this as below

```
#if( ($mode != "edit" &amp;&amp; $mode != "edit-preview" ))&lt;content tag="ia-sidebar"&gt;	#foreach ($webPanel in $webInterfaceManager.getDisplayableWebPanels("atl.page.left.sidebar", {"page": $confPage, "context": $context}))	    &lt;br/&gt;&lt;br/&gt;    	$!webPanel.getHtml($action.context)		&lt;br/&gt;&lt;br/&gt;    #end	$helper.renderConfluenceMacro("{livesearch:spaceKey=TES|size=medium|placeholder=Search this space}")&lt;/content&gt;#end
```

comments: author: Matt Lundstrom
body: Thanks! The line breaks only move the searchbox down so I have to find a way to squeeze it in but this works.Thank you again.


author: Natalie S_
body: Matt, did you ever figure out how to tweak this so it looks right in the sidebar?


author: Taha Khanzada
body: Hi Matt,

You can give it a try with this, use $helper.renderConfluenceMacro in your layouts to render Confluence macros, for example: Use Confluence **livesearch** macro  
$helper.renderConfluenceMacro("{livesearch:spaceKey=DOC\|size=large\|placeholder=Search this space}")

Taha

comments: author: Matt Lundstrom
body: Thanks for that, Taha. Unfortunately, I still can't get any code (or text for that matter) to show up on the Confluence sidebar.I've tried editing the Space layout, the Page layout as well as multiple .vm files. Can you point me to which file it is that spits the code out for the sidebar?Thanks again for your assistance. It's much appreciated


Tags: confluence-administration
import site
Asked by matt lang:

Hello,

I have a Space backup from another Confluence page. Can someone help me import that?


Answers:
author: Guilherme V.
body: Hi there,

I found this [documentation](https://confluence.atlassian.com/cloud/importing-a-confluence-space-692420687.html) that can help you performing that.

Hope this will help you :smile:.

Cheers


Tags: cloud

confluence-cloud
Does Atlassian think of supporting the add-on "Incoming Links"?
Asked by Raphael Kaiser:

In my organization we would like to use the add-on [Incoming Links](https://marketplace.atlassian.com/plugins/net.wimpi.confluence.incoming) in order to trace requirements. Unfortunately the plugin is unsupported by Atlassian. But we are not allowed to install unsupported add-ons in our productive environment, as those add-ons may not work in future versions of Confluence.

Does Atlassian think of supporting this add-on in the future or is there an alternative?

Best regards,

Raphael


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

The unsupported doesn't necessarily means that the plugin won't work, but this usually means that Atlassian doesn't support it if we find that some issue is being caused by the plugin. I can suggest to [get in touch with the plugin vendor](https://marketplace.atlassian.com/vendors/1210579) in case you have some issue directly related to that plugin.

Regards,

Rodrigo


author: Davin Studer
body: You could replicate the functionality of this addon with a user macro. Then you could maintain it yourself.

```
## Developed by: Davin Studer## Date created: 06/26/2014## @noparams?#set($containerManagerClass=$content.class.forName('com.atlassian.spring.container.ContainerManager'))#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance',null))#set($containerManager=$getInstanceMethod.invoke(null,null))#set($containerContext=$containerManager.containerContext)#set($linkManager=$containerContext.getComponent('linkManager'))#set($pages = $linkManager.getReferringContent($content))?#if($pages.size() &gt; 0)&lt;ul class="referring-content-links"&gt;    #foreach($page in $pages)        #if (!$page.isDeleted())    &lt;li&gt;&lt;a href="$page.getUrlPath()"&gt;$page.getTitle()&lt;/a&gt;&lt;/li&gt;        #end    #end&lt;/ul&gt;#end
```


Tags: addon-net.wimpi.confluence.incoming

confluence-administration
Disable export for specific space only?
Asked by nxsnlpurchase:

Hi, would like to know if it's possible to disable any export options for a specific space.

Found <https://confluence.atlassian.com/display/CONFKB/How+to+disable+PDF+Export+for+Pages+or+Spaces> but that disables pdf export for the entire confluence environment...

<br />

Thanks!


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

Confluence doesn't provide this functionality of disabling specific spaces exports yet, but I've created this feature request for you: <https://jira.atlassian.com/browse/CONF-39038>

I recommend to vote and comment there to get more attention from the devs.

Cheers,

Rodrigo


Tags: confluence-administration
Running public confluence jira not public
Asked by Rickard Welin:

Can you get integration to work between JIRA and confluence even if the JIRA isn't accessible from the internet?

And can you get integration to work with hosted hipchat and non accessible from the internet confluence install?


Answers:
author: Nic Brough -Adaptavist-
body: The route matters, not the whole internet. If Confluence can see JIRA and vice-versa, then you can integrate them. But you have to have a route between them.

That route could be over the internet, but it could be because they're on the same machine, or the same network (so they can see each other, but the local network doesn't have to be on the internet), or you have a dedicated link between them via a vpn or even a simple network cable (don't laugh at that one - I'm old, and have worked in places that have done it)

It's the same for hipchat/confluence - do you have a route between them?


Tags: confluence-administration
How much admintime to calc
Asked by Josch Bencke:

Hi All,

I have seen sizing information for servers, but how high do you judge the maintenance (server, software, plugins) and administrative overhead (besides creating new users and managing groupmembership) for a 250 userbase installation of JIRA and confluence ? (E.g. Compared to sharepoing or alfresco sites)

regards, Josh


Answers:
author: Rodrigo Girardi Adami
body: In addition to the very good answer from @Nic Brough \[Adaptavist\], In case you are wondering for best practices in terms of tuning Confluence instances (depending on the instance size, you may have to perform that), here are very good starting points:

#### [Server Hardware Requirements Guide](https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html) {#toc-hId-1258025554}

#### [Performance Tuning](https://confluence.atlassian.com/doc/performance-tuning-130289.html) {#toc-hId--1294131407}

Cheers!

Rodrigo


author: Nic Brough -Adaptavist-
body: You can't really "size" the effort involved without referring to the complexity of what you're going to do. If you're going to use the applications pretty much off-the-shelf and not fiddle around with themes, non-atlassian integrations, workflows, addons, fields, and and and, then the maintenance is quite low - you'll need to think about a part-time admin who can do the odd upgrade. But if you are power-users who are going to heavily customise lots of it, then you'll need more. I've looked after several 200-ish user sites. Some needed me for a day a month, others near-on full time.


Tags: administration

confluence-administration

jira-administration

server
After installation I miss the "Users & Security" item "User Directories" in the administration
Asked by Wolfgang Lutz:

For a migration I have to use

**Confluence Version 4.3.7 Build Number 3398**

Operating System **Linux 2.6.32-504.23.4.el6.x86_64**

**Apache Tomcat/6.0.44 jdk-1.6.0_45**

Also the direct URL **"/plugins/servlet/embedded-crowd/directories/list"** doesn't work.

### **How can activate this item?** {#toc-hId-1451766567}


Answers:
author: Guilherme V.
body: Hi there,

This could be related to your **JDK**. Could update your JDK to 1.7? I know the 1.6 is supported in the 4.3 version, however it would be nice testing that.

Cheers,


Tags: confluence-administration
Confluence cloud global menu
Asked by Dan Anghel:

Hi,

We recently created a Confluence OnDemand Cloud instance.

I'd like to create a global menu, similar to <http://docs.refinedwiki.com/display/rwot/Global+menu>, however RefinedWiki is not available for Cloud.

Do you have any suggestions please?

Thanks in advance.


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid the layout changes you're looking for require code change or add-ons, neither of which are available on Cloud.


author: Dan Anghel
body: Nic, Thanks for the quick answer. How difficult would it be to create an add-on just for this? Are there any code snippets I can reuse? I can hard code the links and the top-level links, sub-menu links, so they don't have to be automatically generated or anything like this.

I can't believe our company are the first Cloud customer to face this problem.

I'm very surprised that such basic functionality is not available.......

comments: author: Nic Brough -Adaptavist-
body: I don't think Connect addons allow you to make such changes (Connect addons are the only type you can install on Cloud, apart from the supported list available in my.atlassian)


Tags: cloud

confluence-cloud
Attachments added to a question and removed from question remain on server?
Asked by Ga?l NEUEZ:

Hello,

we can add attachments when using Confluence Questions, and we can remove the attachments as well. But I've noticed that the files are just unlinked from the question, and remain on the server =\> this can cause unecessary disk space growth, especially because then it is not visible nor accessible from the UI anymore.

Is that normal?

Regards

Gael


Answers:
author: Ga?l NEUEZ
body: Hi Guillerme,

the bug has been reproduced by support team, at least on my configuration version (CFL 5.8.6 + CQ 2.1.4) =\> <https://jira.atlassian.com/browse/CQ-2146>

Regards

Gael


author: Guilherme V.
body: Hello Gael,

I've just tested using Confluence 5.8.10 and Questions 2.3.0 and here's my results:

When you add an attachment to a Question, this attachment is stored in the CONTENT table.

When you delete this Question, the CONTENT row that has this attachment information is deleted as well.

If you use the file system storage in Confluence 5.8 and above, the Question's attachment is also deleted when you delete the Question.

Hope this will help you :smile:.

Cheers,


Tags: confluence-administration

questions-for-confluence
draw.io graphs fonts messed up exporting confluence pages to pdf
Asked by Andrea:

Hi, I've a problem exporting to PDF a Confluence page, the embedded [draw.io](http://draw.io) graphs fonts are thicker and messed up. Exporting the graphs to PDF/PNG in editing mode is ok.

<br />

This is my situation:

* Confluence page view: graphs fonts ok (browser render)
* Confluence page edit: graphs preview fonts NOT ok (cached png server render i suppose)
* Confluence [draw.io](http://draw.io) graphs editor: fonts ok (browser render)
* Confluence [draw.io](http://draw.io) graphs editor export PDF/PNG: fonts ok (server render???)
* Confluence view page export PDF: fonts NOT ok (server render) I can't understand why inside the editor the export is ok but exporting the page the fonts are messed up.

<br />

I can't understand why inside the editor the export is ok, but exporting the confluence page the fonts are messed up, both should be rendered by the server.

It's a Ubuntu server with "ttf-mscorefonts-installer" package installed and i've tried different font configurations in the draw.io graphs.

<br />

Thanks,

Andrea

Related question: <https://answers.atlassian.com/questions/295755>

<br />


Answers:
author: David Benson _draw_io_
body: I would suggest upgrading to 5.2.0.0. There are improvements to the PNG rendering using Chrome and Firefox. We've also added the option to [use an external server](https://support.draw.io/display/DFCS/Using+external+image+generation+in+draw.io+Server+products) if needed to improve the output quality.


author: Andrea
body: @David Benson \[draw.io\] draw.io plugin 5.1.3.0 on Confluence 5.7.4Thank you.


author: David Benson _draw_io_
body: What version of the draw.io plugin is it please?


Tags: addon-com.mxgraph.confluence.plugins.diagramly

confluence-administration
Is there any chance to force editor to write log when they save the page?
Asked by Shyu Wei:

Is there any chance to force editor to write log when they save the page?

We want record all change comment.


Answers:
author: Davin Studer
body: What if you did something like this. You could add it to the custom html section in confluence admin, or to the page decorator.

```
&lt;script type="text/javascript"&gt;AJS.toInit(function(){	AJS.$('#rte-button-publish').click(function(e){		var comment = AJS.$('#versionComment').val();		var inEditMode = AJS.$('body').hasClass('contenteditor') ? true : false;		if(comment === '' &amp;&amp; inEditMode) {			e.preventDefault();?			var dialog = new AJS.Dialog({				width:400, 				height:200, 				id:"comment-required", 				closeOnOutsideClick: false			});						dialog.addHeader("Comment Required");			dialog.addPanel("Panel 1", "&lt;p&gt;You must enter a comment to save the page.&lt;/p&gt;", "panel-body");						dialog.addButton("Ok", function (dialog) {				dialog.remove();			});						dialog.gotoPage(0);			dialog.gotoPanel(0);			dialog.show();		}	});});&lt;/script&gt;
```


author: Shyu Wei
body: Hi,Our version is 5.6.5


author: Davin Studer
body: What version are you on?


author: Nic Brough -Adaptavist-
body: No, you can't do that. It goes against the principles of "just get on and write" that Atlassian want for Confluence too, so you'll never see it in the core product. I don't think there's any add-on to provide it either.
Script to update email settings for multiple user
Asked by Trinh Nguyen:

Is it possible to update email settings for multiple user through script/database?


Answers:
author: Giuliano C.
body: Hi Trinh,

For bulk updates for information in Confluence, you can consider using the [Bob Swift's CLI add-on](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli). For the DB, I could find a doc for Confluence, but, it's related to bulk edit the domain of the users email. Please, refer to this doc for more information: <https://confluence.atlassian.com/display/CONFKB/How+to+change+all+Confluence+internal+users+e-mail+domain+name+in+bulk>

Cheers,

Giu


Tags: confluence-administration
Giffly, Confluence Plugin Issue
Asked by moritz offeney:

Dear, I have an issue with the Confluence PllugIn for Giffly. Anytime I want to access the license it doesn't work and thereofore I have no access to the tool. I use Confluence cloud and the trial for GIffly already expired. Thanks for helping. Moritz


Answers:
author: Nic Brough -Adaptavist-
body: Check your management account for the licence - Cloud doesn't do direct licencing of addons, you just need to make sure you have paid for it in your account, and it will flow into your Confluence automatically.


Tags: cloud

confluence-cloud
Page and Space Information
Asked by Hsu Yao Chang:

Dear all,

Would it be possible to find how many pages and space which the confluence own ? Thank you.

Notes: To count how many pages and spaces.


Answers:
author: Abdoulaye Kindy Diallo
body: Space Count

* <https://answers.atlassian.com/questions/278811>
* A previous answer I provided here: <https://answers.atlassian.com/questions/66055>

Number of pages in Space

* <http://stackoverflow.com/questions/17454349/count-total-number-of-pages-globally>
* Reporting plugin: <https://answers.atlassian.com/questions/2561>
* <https://confluence.atlassian.com/display/CONFKB/How+to+find+the+number+of+pages,+blogposts,+and+attachments+in+a+space>

comments: author: Hsu Yao Chang
body: Thank you for your kindly reply. The information is useful for us. Would it be possible to find how many people login confluence or view / edit space or page by database from database ? Thank you.


Tags: confluence-administration
Can I report on fields in Confluence pages?(Graphs, charts, occurrences of text)
Asked by Karl Bagci:

Hi guys,

We currently use JIRA, Confluence, Servicedesk and BitBucket. Our instances are all OnDemand instances.

Our company logs major incidents in the form of incident reports in Confluence. They follow the same template, capturing information like incident date, product affected, impact, stakeholders, incident timeline and so forth.

Is there any way I can report on this information? There are some add ons (Mostly not available to OnDemand instances), but the ones I've tried aren't applicable. Maybe you can suggest a decent third party reporting tool? Or give us access to the DB? :wink:

I'm looking to graph how many incidents we're having per product/team, which is information we collect on the incident reports.

Can you offer any help?

Thanks

Karl


Answers:
author: Anne EQS
body: Yes, you need to add the label you want look for to the pages you want included in the report - for new pages this can be done in the template (so no need to bother your users with adding it manually).

comments: author: Karl Bagci
body: Thanks @Anne Pirchmoser. I've added the label I want to all of the pages, but even still where users are entering the product affected, for example, I'm getting no results.

I was kind of looking for a tool which'd output the data in some sort of graph format, too.


author: Anne EQS
body: Did you have a look at the [Page Properties Report Macro](https://confluence.atlassian.com/confcloud/page-properties-report-macro-724765250.html)?

comments: author: Karl Bagci
body: Hi @Anne Pirchmoser, I just spent about 15 minutes looking at it. It seems that this assumes we use labels on our Confluence pages, and we don't. Unless I'm doing something wrong!

Thanks for the suggestion!


Tags: cloud

confluence-cloud

graph

report

reporting-plugin
How do I customize the layout of a blog?
Asked by Jeff Johnston:

I would like to change the layout of our company blog, to add things such as a navigation menu bar along the top, topic categories along the side, etc. Everything I've found online for support so far is either to customize a Confluence Wiki (not what I'm looking to do, I know that just fine) or requires additional programs/coding to interact with the XHTML files directly.

Is there a more user-friendly way to update/change the design layout of a blog?


Answers:
author: Anne EQS
body: Afaik [Redefined Wiki Original Theme Add-on](http://www.refinedwiki.com/en/display/products/original-theme-confluence.aspx#features-blogs) offers the option to configure Space Blogs instead of the complete Confluence instance.

comments: author: Jeff Johnston
body: Anne, Thank you, but I was looking for a non-third party option ideally, but at a minimum a no-cost option (particularly one costing five times Confluence itself).


Tags: blog

cloud

confluence-cloud

layout
Is it possible not to include page content in a notification email because of security issues?
Asked by tubitak ulakbim:


Answers:
author: Danyal
body: Hi William,

thx for your answer.

We need the email notification. How can I customise the email content? Or disable the email content permanently by data base option? (<https://confluence.atlassian.com/display/CONFKB/How+to+disable+Show+Changed+Content+to+all+users>)

Danyal


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

I believe you could achieve it by using some customization, by re-writing the plugin to not get the content from there. A simple resolution would be to disable the email notifications.

Cheers,  
WZ

comments: author: Nic Brough -Adaptavist-
body: I'd point out that just sending the email is a security issue if it's going to an untrusted person. The content leaking is "closing the stable door after the horse has bolted"


Tags: confluence-administration
"?decorator=printable" wont work
Asked by Simo Suurla:

Hi, I need include confluence content in external site without navbar and etc. But "decorator=printable" wont work for me, is it removed? Using version 5.7.


Answers:
author: Davin Studer
body: You could create a user macro to do this. Check out the example below. Simply add the user macro to any page that you want to be "frameable". Then add "?frameable=true" to the url or if there is already a querystring then tack on "\&frameable=true". If you want every page to be able to do this then add the user macro to the page decorator and you will be able to use this anywhere.

```
## Developed by: Davin Studer## Date created: 04/02/2015## @noparams#if($req.getParameter('frameable') == "true")&lt;style&gt;#header, #footer, .ia-splitter .ia-splitter-left {display: none !important;}#main {margin-left: 0 !important; border: 0 !important;}body {background: #FFFFFF !important;}&lt;/style&gt;#end
```

comments: author: Simo Suurla
body: Thank you, I will test this


author: Tim
body: Did you try "decorator=popup" ?

comments: author: Simo Suurla
body: It seems the decorations are removed years ago.. <https://jira.atlassian.com/browse/CONF-20865>


author: Tim
body: Yeah, your right. I completely forgot, that I have patched the sitemesh.xml to make those decorators work again.


Tags: confluence-administration