youngmon/atlassian-qna huggingface dataset:
View SharePoint newsfeed in Confluence
Asked by Todd Colstrom:

We're looking at the SharePoint Confluence Connector and one question that was brought up was if you can view a SharePoint My Site newsfeed from Confluence. I know I can (sort of) go the other direction by using the Recent Updates web part, but I didn't see anything in the documentation that indicates I could display my newsfeed from a confluence page. If anyone knows of something within the connector that gives me this functionality (or another off-the-shelf add-on that provides it), I'd really appreciate knowing what it is. Thanks.


Answers:
author: Patrice Rompas
body: Hi Todd,

It seems that the feature is not implemented yet. I see this feature request (<https://jira.atlassian.com/browse/CSI-626>) hasn't be resolved from quite some time.

Regards,  
Samuel


Tags: confluence-administration
Getting "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" from malformed requests
Asked by Ali:

My workplace is doing penetration testing on our Confluence site and the Confluence logs are filling up with these:

```
--------------------------Parameters--------------------------caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1at java.lang.String.substring(String.java:1937)2014-01-27 17:26:47,882 ERROR [http-8080-58] [[Catalina].[localhost].[/confluence].[file-server]] log Servlet.service() for servlet file-server threw exception -- url: /confluence/s/en_GB-1988229788/4527/660525579de30883af214a8e1a751cb99357bcff.33/2.2.2.Li4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vZXRjL3Bhc3N3ZAAucG5n/_/download/resources | userName: anonymous | referer: http://confluence.example.com:80/confluence/java.lang.StringIndexOutOfBoundsException: String index out of range: -1        at java.lang.String.substring(String.java:1937)        at java.lang.String.substring(String.java:1904)        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.parse(SingleDownloadableResourceBuilder.java:51)
```

The only way I've found to recover from this is to "kill -9" the tomcat process, and restart the whole thing.

Is there a way to prevent these kinds of malformed URLs from apparently knocking over the server? We haven't yet gotten the full report from the penetration testing, but it sounds like it's going to be a doozy. :-)


Answers:
author: leneborma
body: When using the Java substring() method, a subset of the character sequence can be extracted from a string. The [substring](http://net-informations.com/java/string/substring.htm) index must be any value from 0 to the length of a string. The java.lang.StringIndexOutOfBoundsException thrown by String methods to indicate that the beginIndex is negative , or endIndex is larger than the length of this String object, or beginIndex is larger than endIndex.

How to solve the StringIndexOutOfBoundsException

\* Check the length of the string before using substring()  
\* Exception handling using try...catch.


author: petry
body: This occurs due to the extra slash in the end of the URL:

[http://confluence.example.com:80/confluence/](http://confluence.example.com/confluence/)

It should be [http://confluence.example.com:80/confluence](http://confluence.example.com/confluence/) instead.

KB created for this in JIRA: <https://jira.atlassian.com/browse/JRA-44887>

Cheers,  
Andre


author: Deividi Luvison
body: Hmmm that,s odd, maybe is some old data stuck in Confluence index, did you tried to  
[Rebuild Confluence Content Indexes from Scratch](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch)?

comments: author: Ali
body: I didn't get a chance to try that out, but I'll keep it in mind for next time.


Tags: confluence-administration

test

tomcat
Why our Diagramly plugin for Confluence does not have option Insert under menu Arrange like it is in www.draw.io?
Asked by Edgars Fabricius:

Why our Diagramly plugin for Confluence does not have option Insert under menu Arrange like it is in [](http://www.draw.io)[www.draw.io](http://www.draw.io)?

Plug in version 2.8.0, Confluence 5.4.2


Answers:
author: David Benson _draw_io_
body: That is in Diagramly 2.9.0, released on Jan 30th 2014. The plugins test process starts after the online version is released, so there is generally a gap of some days.


author: David Benson _draw_io_
body: We'll take a look at the issue. Please note without the full diagramly tag we don't get notified of questions.


Tags: addon-com.mxgraph.confluence.plugins.diagramly
Confluence/Team Calendar User Picker - Cannot add me
Asked by David Harper:

When creating an event on team calendar, the intelligent picker won't allow myself as a valid user. I've tried typing my username, full name and just me and none are valid.

I don't appear in the macro for "User Profile Picture" or "@mention" either. I can think of lots of reasons why I'd want to add myself in these cases.

Any ideas why? Using 5.4.2 and latest team calendars, with user directory imported from JIRA and in both confluence-users and confluence-adminstrators groups


Answers:
author: HenriqueA
body: Hi David, Jason, Bob,

The content reindex should solve this issue. To perform a content reindex you can go to **General Configuration \> Content Indexing**.

Kind Regards,

Henrique Lechner


author: Bob Bull
body: Thaks Henrique. It was an indexing issue. However, Confluence OnDemand does not allow customer admins to re-index (JIRA OnDemand does). Atlassian did a reindex which solved the problem.


author: David Harper
body: I'm on the latest versions of both, and this now works. I didn't do anything specific to fix it.


author: Bob Bull
body: Me too! I am am an administrator and user. We are running Confluence OnDemand.


author: Jason Radisson
body: I'm having the same issue. Is there a solve?
Customizing PDF Export
Asked by Alyson Reis:

Hello everyone,

I have created a rather large product user manual and I need to export it to PDF and print it. This is an easy process, however, after finishing the space export (by only selecting the pages I need) I can see that the there is no spacing between each page, and that makes the content to get squeezed.

I have attached a screenshot that will hopefully illustrate my issue, please let me know if there's a way to solve this via PDF stylesheet customization or any other workaround:

![](../../upfiles/pdfExport.PNG)

Thank you!


Answers:
author: Ole Kristensen
body: Globally (as Confluence Admin -\> PDF Stylesheet) or locally (Space Admin -\> Look and Feel menu tab) change your PDF Stylesheet to something similar to this:

1. @page
2. {
3. /\*The A4 paper size is 210 mm wide by 297 mm long\*/
4. size: 210mm 297mm;
5. margin: 25mm;
6. }
7. .pagetitle
8. {page-break-before: always;
9. }
10. div {
11. word-wrap: break-word;
12. }


author: Alyson Reis
body: Thanks Ole, it appears to have worked just fine!

Cheers!


Tags: pdf
Unknown macro: {box} in the sidebar after restore to latest Confluence (5.4.1)
Asked by Samina Asif Rana:

I have just restored (moved) a confluence installation to a new server. Everything works including user accounts, content, etc. However in the left sidebar I have this "Unknown macro: {box}" text couple of times. Does anyone know how can I fix that?

Thanks and regards  


Answers:
author: Rodrigo Girardi Adami
body: Hello!

Judging by the macro name, I would say that it's related to some third party format plugin.

[](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.box)<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.box>

[](http://www.adaptavist.com/display/AtlassianConfluence/Macros)<http://www.adaptavist.com/display/AtlassianConfluence/Macros>

Try to verify both options above and install the plugins to try to restore the functionality. Also, you may want to check the old confluence plugins and make sure that the plugins were all migrated.

Regards,

Rodrigo
I make changes to the html but they don't keep
Asked by Stephen Swavley:

I am trying to alter the html for a table and add the following to thd \<td\> tag:

style="border: 0.0px;"

I click on Apply and it looks good. I click on save and my changes disappear.

Seems like the add-on isn't working. Any clues?


Answers:
author: chumbri
body: I can verify this problem. Tried to add a simple HTML button. It looks like a correct HTML button after I press the Apply button in the source editor, but when I save the page the button dissapears.

Maybe only some sort of HTML elements are available?


Tags: addon-com.atlassian.confluence.plugins.editor

source
How to hide a page in page tree
Asked by cnxYves:

Hi

As soon as I create a page with the template "How-To Article" in our KB space, Confluence automatically creates a page "How-To Articles" which lists all How-To pages. My problem was, that this page showed up twice in the sidebar. First, in "Space Shortcuts" which is the place where I want it to be, and second, in the "Page Tree" where I don't want it to be.

I solved this by setting the parent for this page empty. Now the page doesn't show up under "Page Tree" but it's listed under "Orphaned Pages" in our KB space.

Now I'm wondering, if this is the right way to do this?

Thanks for your help.


Answers:
author: Steve Thornhill
body: Setting a page to orphaned does work to remove it from the page tree list. But it will still be available within the space, if you know how to find it.

I've used this method before to stop general access to a specific page ( and so it doesn't show up in the listing )

comments: author: Mick Davidson
body: How do you set a page to orphaned?


author: Mick Davidson
body: Sorry, found it here: <https://confluence.atlassian.com/display/DOC/Orphaned+Pages>
Broken macros while migrating Confluence from 5.1.3 to 5.3.4
Asked by S:

I tried to upgrade my Confluence instance from 5.1.3 to 5.3.4 using the upgrade option available while installing Confluence. On startup, the application is not able to render any macros. The following is the error I get:

caused by: java.lang.IllegalStateException: Cannot retrieve plugin module before it is enabled: PluginModuleHolder\[(unknown; not enabled)\]

Also, the macro browser doesn't pop up on click.


Answers:
author: Patrice Rompas
body: Hi Smruti,

This could be caused by several factors:

* Corrupted cache
* Plugin incompatibility (theme, etc)

Enable plugin safe mode ([](https://confluence.atlassian.com/display/UPM/Disabling+and+Enabling+Add-ons#DisablingandEnablingAdd-ons-Disablingorenablingalladd-ons(usingSafeMode))[https://confluence.atlassian.com/display/UPM/Disabling+and+Enabling+Add-ons#DisablingandEnablingAdd-ons-Disablingorenablingalladd-ons(usingSafeMode](https://confluence.atlassian.com/display/UPM/Disabling+and+Enabling+Add-ons#DisablingandEnablingAdd-ons-Disablingorenablingalladd-ons%28usingSafeMode))) to see the issue is caused by any plugin. Try to clear plugin cache as shown in this article ([](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache)<https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache>). If it still persists, try to upgrade all your plugins to the latest compatible version (uninstall incompatible plugin).  
Otherwise, you might want to check out this article to resolve that ([](https://confluence.atlassian.com/pages/viewpage.action?pageId=394463234)<https://confluence.atlassian.com/pages/viewpage.action?pageId=394463234>).  

Hope this helps!

Cheers,  
Samuel

comments: author: S
body: It was plugin incompatibility indeed. I uninstalled all user installed plugins to get rid of the problem.

Thank you very much


Tags: migration
Line chart does not show connected line properly for 2nd table Data.
Asked by Abhijit Sarkar:

Hi,

All that i want to generate a line chart using the below two tables.

But for 2nd table data connected line not shown properly.

Whereas if I prepare XYLine chart or Timestamp Chart for the same then the data shows correctly.

Is there a way to get an ideal line chart for below data?
\<th\>Issue_Creation_Date\</th\>\<th\>Issue_Reported

|------------|----|
| 2013-12-09 | 21 |
| 2013-12-10 | 22 |
| 2013-12-11 | 26 |
| 2013-12-12 | 27 |
| 2013-12-13 | 36 |
| 2013-12-16 | 37 |
| 2013-12-17 | 39 |
| 2013-12-18 | 40 |
| 2013-12-20 | 42 |
| 2013-12-23 | 52 |
| 2013-12-24 | 55 |
| 2014-01-22 | 72 |
| 2014-01-23 | 85 |

\<th\>Issue_Resolution_Date\</th\>\<th\>Issue_Resolved (Cumulative Sum)\</th\>

|------------|----|
| 2013-12-10 | 5  |
| 2013-12-11 | 20 |
| 2013-12-12 | 23 |
| 2013-12-13 | 26 |
| 2013-12-16 | 30 |
| 2013-12-17 | 31 |
| 2013-12-20 | 35 |
| 2013-12-24 | 39 |
| 2014-01-22 | 43 |

Thanks,  
Abhijit


Answers:
author: Bob Swift (personal)
body: I think you need to have the same resolution date rows in the second table as you do in the first table (and vice versa).


Tags: chart

jira

line-break
How do we Migrate OnDemand Confluence Instance to another OnDemand Confluence Instance?
Asked by Stephen Tsai:

So our situation here is that we have setup two OnDemand Confluence instances/sites, one which was for development and testing purposes and the other to be our main instance. After playtesting with enough with the development we liked what we created and just want to migrate everything from that development instance to our main instance which we have yet to initialize (Blank site basically).

Are we able to do so with the tools we have available from administrative rights within Confluence or is this a backend process that we have to submit a request ticket for? Will we be able to migrate everything all at once instead of piece by piece? Is the Process just exporting confluence into a backup file and then importing that backup file into the new blank instance?

So far I have only found Wiki on how to do so for Download to OnDemand, OnDemand to Download, Download to another Download, and Upgrade (we just have two instances of the same version) but haven't really found any articles related to a simple OnDemand to another OnDemand move. Is it really that simple and I missed something here?


Answers:
author: Mauro Badii
body: Here is how to [Import Wiki Data](https://confluence.atlassian.com/display/AOD/Importing+wiki+data)

That will explain the 2 ways possible of doing the import.

Exports from OnDemand will work fine on another OnDemand. Give it a try.

comments: author: Stephen Tsai
body: Oh, I must have misread this article then if it is what I needed to accomplish my tasks. I will give it a try.


Tags: cloud

confluence-cloud
Rebranding the Dashboard
Asked by Bimmel:

Greetings. I hope someone out there can share their stories with me in regards to redesigning the internal home page (dashboard). My company's wiki will be going through a facelift over the next quarter (or so) and the powers that be have their hearts set on hiring web designers from the outside to rebrand out internal home page. I have multiple concerns over this move as I'm the one who will likely have to maintain all these web-based features that really don't follow the "wiki way".

Does anyone have any similar stories? What were your issues, concerns, pitfalls, and/or perks to your situation?

Thanks!


Answers:
author: darylchuah
body: Hi there

You might want to have a read on the following documentation which will help you go through the basic foundation into customising the Confluence dashboard:

* <https://confluence.atlassian.com/display/DOC/Customising+the+Confluence+Dashboard>

comments: author: Bimmel
body: We have the basics down and trust me, I've customized the heck out of our dashboard. I'm looking for stories (both good or bad). I'm hoping to find various opinions about good and bad habits people have used to customize their dashboards.
Confluence 4.x > 5.x Upgrade Upset Zen Foundation Settings?
Asked by Christopher Hawley:

We recently upgraded to Zen Foundation v5.2.12, deployed in conjunction with Confluence v5.3.1 in our development area. Upon update we noticed a number of our font and element stylings appear dramatically altered when compared to our production environment; Zen Foundation 5.2.12 and Confluence 4.3.6.

Displayed font size and weight appeared changed, even though the settings in Brand Designer are identical. Also, changes made in Brand Designer in Zen under Confluence 5.x did not appear to change the display. This affected Menu, Headings, Breadcrumbs, Sections, and other elements.

Anyone experience similar issues?


Answers:
author: Bruna Griebeler
body: Hi Christopher,  

It does make sense since Confluence's layout changed a lot between versions 4.x and 5.x.  
So basically if you have any customisations, they must be rewritten to the newest Layout pattern.  

To check if there's the case, you can look for any info on the decorator table:  

SELECT \* from DECORATOR;  

If you decide to remove all the customisations from the database to check if the behaviour persist, please don't forget to create a database backup to avoid losing any data.  

Kind Regards


Tags: addon-com.zenfoundation

confluence-administration
Plugin license expiring on a community licensed wiki?
Asked by Benedikt Putz:

Hey there, I'm using the "Custom Dashboards for Confluence" plugin for my organization's confluence wiki. We are running on a community license, which means all add-ons should be free. Now Confluence is warning me about my evaluation period ending on February 1st for this add-on, so I'm wondering why this is happening and what I can do to avoid it running out.


Answers:
author: Bob Swift (personal)
body: Ask [sales@atlassian.com](mailto:sales@atlassian.com) to give you a free community license for the plugin to match your Confluence license. All evaluation licenses expire and need to be replaced with a non-eval license.

comments: author: Benedikt Putz
body: I have tried doing this before but I never get a reply. My E-Mail Adress is authorized though.


author: Bob Swift (personal)
body: Please try again, they are generally very responsive to requests of all types and it just may have gotten missed. In the meantime, you can request another evaluation license.


author: Benedikt Putz
body: I have tried again, either something is wrong with my E-Mail adress being recognized as spam or they're just flat out ignoring me. I've sent 3 emails total with no response.


author: Bob Swift (personal)
body: Good, I had contacted them for you. They are usually very responsive, but everyone gets backed up at times :).


author: Benedikt Putz
body: Okay they just responded. Looks like they have been seeing an increased amount of queries, but it's all good now.


Tags: app
Domain Redirect
Asked by Dave Koch:

What is involved in the process of redirecting one of our sites ([help.mtouton.com](http://help.mtouton.com)) to our Confluence site? Does a certificate need to be created?


Answers:
author: Nic Brough -Adaptavist-
body: It depends on what you mean by "redirect". An http redirect is easy - just whack a bit of html on your page and people will be redirected when they land on it.

I suspect you don't mean that though. I think you might mean that you want that domain to be where your OnDemand installation is hosted. Atlassian don't (yet) do customised domains on OnDemand, you have to stick with their domains, although I do think they're working on it.

comments: author: Dave Koch
body: Thanks for the info.


Tags: cloud

confluence-cloud
Create issue from Confluence page..(again)
Asked by Christian Czaia _Decadis AG_:

Hi everyone,

I'm still having an issue with creating issues from Confluence pages using the "highlight text" feature mentioned here:

[](https://confluence.atlassian.com/display/DOC/Confluence+5.4+Release+Notes#Confluence5.4ReleaseNotes-CreateJIRAissuesfromConfluence)<https://confluence.atlassian.com/display/DOC/Confluence+5.4+Release+Notes#Confluence5.4ReleaseNotes-CreateJIRAissuesfromConfluence>

I'm on JIRA 6.1.6 and Confluence 5.4.2. The "pop-up" simply won't display. The applications trust each other and I tried both with Safari and the latest Chrome browser... Some other user stated that he had a problem with Refined Wiki so I created a demo space not using the Refined Wiki template with no effect.

Any ideas?

Cheers Christian


Answers:
author: Emil Sj?din _Refined_
body: Hi Christian,

Please try to disable the RefinedWiki Original Theme and see if this issue still occurs?

We have this issue reported here: <https://refinedwiki.atlassian.net/browse/RWOT-560>

But we haven't figured out if we're causing it.

Cheers,

Emil

comments: author: Christian Czaia _Decadis AG_
body: Hi Emil,

thanks for the response. It was my fault this time. I tried to highlight the text in editor mode:-) So it's definitively not you plugin.

Cheers Christian


Tags: addon-com.refinedwiki.confluence.plugins.theme

jira
Help with status reporting in Confluence
Asked by Mark Reeder:

Looking for a Confluence solution/blueprint for employee status reporting with the following:

1. Ability to maintain a weekly work status in a personal space (manual imput)

2. Ability to collect weekly status reports by a designated manager.


Answers:
author: Bob Swift (personal)
body: Not a complete answer, but [How to automate employee status reports](https://bobswift.atlassian.net/wiki/display/RUN/How+to+automate+employee+status+reports) might help you with some ideas.
I want to FTP files and folders to confluence...is it possible
Asked by mgokarna:

I want to FTP files and folders to confluence...is it possible such that a user can ftp files/folders to a specific folder in confluence ? Please suggest if u have anything....I tried using FTP Uploader but that seems not to work with Confluence 4.2.11


Answers:
author: Peter Van de Voorde
body: Hi Mayank,

You could take a look at Configuring WebDav for Confluence :

[](https://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence)<https://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence>

It's not FTP but it could offer you the same features.

Best regards,

Peter

comments: author: Nic Brough -Adaptavist-
body: FTP won't really work either - even if you upload files to Confluence's attachment storage, it won't attach them unless you do a stack of scripting on top of the transfer.


Tags: confluence-app

ftp
Pulling statistics from On Demand
Asked by Stef Smith:

Hi

I would like to be able to gather viewing statistics about our On Demand version of Confluence and am looking for some suggestions on the best way to do this. Preferably I would at least like to find out how many people have visitied the site and which pages were most popular.

Thanks

Stef


Answers:
author: Stef Smith
body: Hi

Just found the answer, sadly it looks like its a no.

[](/questions/114570/how-do-i-get-usage-statistics-in-confluence-ondemand)<https://answers.atlassian.com/questions/114570/how-do-i-get-usage-statistics-in-confluence-ondemand>


Tags: cloud

confluence-cloud
Page Report Broken?
Asked by Anthony Westmoreland:

I have a page report generator that creates a table view of the records we have in Confluence, however the table is not longer appearing. There seems to be "no content" but the pages are there. I am not sure if this is a bug or an error on our end.

<br />

Any help is appreciated!


Answers:
author: Rodrigo Girardi Adami
body: Hi!

I'm not sure if this is some custom plugin or if you are using the one bundled, but if this doesn't work anymore, I would say to try to remove the macro, save the page and add it again to the page, maybe using a different parameter. If the problem persists, try to verify confluence logs to look for some information of this plugin there.

Regards,

Rodrigo