youngmon/atlassian-qna huggingface dataset:
Source Editor for Confluence 5.1?
Asked by Jason Plumhoff:

I know this is not a supported plugin, but is there any plan to update the Source Editor to work with Confluence 5.1? This plugin really is the only way to get fine control over the page formatting.

Thanks,

Jason


Answers:
author: RianA
body: Hey Jason,

The Confluence Source Editor is supported for Confluence 5.1 and 5.1.1. For more information please refer to the following link.  
\* <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor>

Hope it helps.

comments: author: Jason Plumhoff
body: Ok - I swear when I looked at it yesterday it said 5.0.3 was the latest supported version. Apparently I have other problems then... It's installed, but I'm not getting the button on the editor screen.


author: Septa Cahyadiputra
body: Ensure that the plugin is enabled after the installation finished. If it is enabled and still not helps, try to [clear plugin cache](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache) and ensure that the server base url of your instance configured correctly.


author: Septa Cahyadiputra
body: Glad to hear that :)


author: Jason Plumhoff
body: Thanks Septa - that fixed it.


author: Jay A
body: Why isn't this built in by default? It could be enabled/disabled based on user group if one were worried that regular users would do something stupid with it.


author: Stefan Kleineikenscheidt _K15t_
body: We have downloaded and installed the latest version manually, and have been using it without any obvious problems so far.

No guarantees, though. ;)

-Stefan


Tags: confluence-app
Include-html macro not working on 5.1
Asked by Jon Starbird:

We're on 5.1 and I cannot get he html-include macro to work despite the docs saying it does. I've enabled it and I can use it to insert regular html but the -include piece will not work. I get an error saying Unknown Macro.

I am aware of the add-on that can be purchased but I was trying to use this supposed built-in functionality first.

Thanks,

J


Answers:
author: Jon Starbird
body: Found the issue. The main doc page isn't explicit in explaining that there are the individual modules you have to enable for this after you enable the plugin.

Once I found that I was able to get them to work.


author: GuilhermeA
body: Hey J,

If the macro is giving you problems maybe its broken, and yes, the built in can break too. You may need to clear the plugins cache, just follow this doc here and it should be alright.

* <https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache>

Hope it helps!

Cheers,

comments: author: Jon Starbird
body: Nope that didn't fix it.

One thing I noted though, only the plugins-osgi-cache and plugins-temp had content. The others were already empty.

<br />

Thanks,

J


author: Jon Starbird
body: Additional info, the auto complete doesn't include the {html} or {html-include segments however if I put in the {html} tag it will automatically add a Wiki markup container to the page but then will not render the html. I just tried a simple bolding a string line and it wouldn't work.

When the page is displayed it says unknown macro {html}.

I have tried Disabling it and then Enabling it again as well but that had no impact.

Thanks,

J
How to continue heading numbering across Confluence pages
Asked by Laura Gura:

I am building a technical document that contains multiple chapters and sections/subsections within each chapter. Some content is small enough to place in one page but other content requires it to be placed in a separate page. The pages are then organized via the tree view for that space. I've been using the numberedheadings macro to number the h1 - h4 sections within a page, but am not having success with getting the macro to continue the numbering across the next page for a given chapter (h1).

I am getting results such as 0.1 or 3.1, when I really need it to be 1.4 or 6.3. Is this possible with the numberedheadings macro?


Answers:
author: Gert-Jan van de Streek
body: This should just work with the numbered headings macro. Included pages get numbered just as they were part of the including page.

In case you have trouble getting it to work, create an issue in the [numbered headings issue tracker](https://bitbucket.org/avisi/numbered-headings/issues) and we will help you figure it out.


author: Nancy Jaiswal
body: We have Auto Numbered Headings plugin <https://marketplace.atlassian.com/1219286> which auto numbers the headings of whole space in single click of a button. It takes care of numbering sequence on pages and it's sub-pages. Some specific pages could also be configured to be excluded from numbering. Both applying and removing numbering could be done in just single click of a button. Plugin also provides a macro in case numbering needs to be applied only on selective pages.


author: Precision Plugins
body: Another option is to consider your online pages as web pages and your exported documents as a different view into that content.

With the [Engineering Essentials](https://marketplace.atlassian.com/plugins/com.precisionplugins.engineeringessentials) plugin you can format your pages and your generated documentation according to the best format for each without interference. Use the [Scroll office](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-office) plugin to define a document template entirely in one place and in a familiar format.


Tags: numbered-heading
Behaviour of the Documentation Theme
Asked by Gaurav Mishra:

Hey Guys, We recently upgraded to v 5.1 and one of the things I noticed is - if your Global Theme is Set to "Documentation Theme" and Particular Space is using "Global Look and Feel" then the space does get the documentation theme but I don't see "Show or Hide Sidebar" button on the top right corner, and neither does the shortcut "\[" work. However, if you change the theme at Space Level to Documentation Theme then that button appears irrespective of the settings in Global.

Any ideas on how to make that button appear while using Global Look and Feel on Space Level and using Documentation Theme on global level?


Answers:
author: Ryan Goodwin
body: Hi Gaurav,

You've honed in on a bug. There should be no difference in the functionality of the documentation theme whether the documentation theme is selected or global look and feel is selected in the space admin. I've created a bug report for this here:

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

Nice find!
Set up Forum Space in Confluence 5.0.3
Asked by Pedro Lyons:

Hi, we recently upgraded confluence from 3.7.5 to 5.0.3.

We had been using the Forum Space function in the older version but see in v5 it is no longer there.

Anyone know how to create or add in a form page/space?

Thanks


Answers:
author: JohnA
body: Hi Pedro,

I suspect when you refer to the "forum function" you are referring to functionality provided by the [Adaptavist Community Bubbles plugin](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.bubbles), which unfortunately isn't compatible with Confluence 5.x yet because the plugin vendor haven't updated it yet. However, once the plugin has been updated to be compatible with Confluence v5.0.3 then you will be able to add forums to your wiki again.

All the best,  
John

comments: author: Pedro Lyons
body: H1 John, many thanks for the reply and yes thats exactly it. Regards, Peter


author: Stephen Hayden
body: They've removed the forum functionality and it's now paid, under Community Forums.

:(
Sharepoint connector ( 1.4.7 ) does not link to Blog Posts properly
Asked by brad weber:

We are using SharePoint Connector ( 1.4.7 ) for Confluence 3.5.13 version.

we have SharePoint Corporate Blog site and we would like to show these blog entries on Confluence Page

when we use sp-list to fetch all Posts from SharePoint site, it does populate all entries, but when clicked on the link to go to that page, it says page not found.

This is because of incorrect URL.

{SharePoimt site }/Lists/Posts/DispForm.aspx?ID={#}

Link should be

{SharePoimt site }/Lists/Posts/**Post.aspx**?ID={#}

did anyone see this issue?


Answers:
author: Joe Clark
body: What is the **List Type** in SharePoint of the blogs that you are trying to embed? Also, what version of SharePoint are you using?


Tags: blog

sharepoint
Using JIRA XML, how easy is it to write your own JIRA Issues macro in Confluence?
Asked by Steve Goldberg:

I know a fair bit about coding in HTML and Velocity but I know nothing about XML. Personally, I think that the jiraissues macro could do with a facelift, and rather than waiting for Atlassian to do it, I was wondering how easy it would be to do it myself. The problem is that I know nothing about XML.

I've had a look at a couple of XML "how-tos" but I've not found them particularly helpful. Given the structured nature of XML, how easy is it to write and apply an XML stylesheet so that my own jiraissues macro in Confluence?

For example, one basic design I'd like to see is to have each item \<title\> translate to a \<h2\>, followed by the \<description\>.


Answers:
author: Penny Wyatt (On Leave to July 2021)
body: I don't know how deep down the rabbit hole you're willing to go, but if XML is the area of uncertainty, how about avoiding XML entirely and using JSON instead, via REST? JSON is a lot easier to parse and can be natively parsed from JavaScript if you want to do things client-side, too.

<https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Query+issues>

comments: author: Steve Goldberg
body: Thanks for your suggestion, Penny, but I know less about REST than I do about XML. I figured, if the structured XML is readily available whenever I do a query in JIRA using the UI, then implementing some sort of stylesheet to manipulate the appearance of the results is a lot simpler.


Tags: issue

jira

user-macro

xml
displaying ldap query result on a Confluence page
Asked by Andre van der Elst:

Hi all,

I'm would like to display results from a ldap query on a wiki page, stuff like firstname,lastname,telephone,mobile etc.

What would be the most elegant way to accomplish this ?

I'm using Confluence 5.1 download version.

Any tips are welcome!


Answers:
author: Septa Cahyadiputra
body: Hi Andre,

In order to retrieve those information such as Telephone, mobile and other external data it is necessary to use a third party plugin such as [User Profile Plugin](https://marketplace.atlassian.com/plugins/de.communardo.confluence.plugins.userprofile). The mentioned plugin will be able to retrieve additional data from your LDAP server where Confluence unable to do.

However I'm not sure if you could display the data on your page, this screenshot seems to indicate that there is a method to do it:

<https://dq1dnt4af4eyy.cloudfront.net/files/de.communardo.confluence.plugins.userprofile/screenshots/087d0b3c-d70d-4bbb-812a-57cafd5f2651.jpeg>

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: ldap

profile
Wikimarkup for row number
Asked by David Zuccaro:

What is the wikimarkup code to give the row number in a table?


Answers:
author: Jeison
body: Hey David,

You can use ***autoNumber=true*** to achieve that, as in:

```
{table-plus:autoNumber=true}|| || January || February || March || April ||| Max | 37.5 | 32.7 | 28.0 | 25.3 || Min | 31.3 | 26.8 | 25.1 | 18.7 |{table-plus}
```

More information on Table-plus macro parameters at <https://bobswift.atlassian.net/wiki/display/TBL/Table-plus+macro>

Hope it helps!

comments: author: David Zuccaro
body: ```
{table-plus:autoNumber=true}|| || January || February || March || April ||| Max | 37.5 | 32.7 | 28.0 | 25.3 || Min | 31.3 | 26.8 | 25.1 | 18.7 |{table-plus}

I input this code into confluence but it did not render. Do I need to wrap it in any escape codes to make it work??
```


author: Jeison
body: David,

Wrap it up in wiki markup. Just click **Insert \> Wiki Markup**, place the code inside it and save.

Cheers!


Tags: cloud

confluence-cloud
Cannot connect to Confluence
Asked by Nick Banbury:

Hello,

I installed Confluence a few months ago, and all was working fine. I have been off for 2 weeks, and when I came back I was unable to connect to [http://localhost:8090](http://localhost:8090/) which is where my install sits.

Confluence is running on our Windows 2008 server.

I installed the most reccomended version of MySQL and Apache (apache/tomcat 6).

The only changes I made to confluence were internal content that have no impact on the actual configuration of confluence.

I am not sure where to start as there is virtually nothing on this issue on your support pages, and I am not a technical person.

I read that I should check that the Confluence service is running. I did this and I seem to have have 2 services, one called "Apache Tomcat Confluence" which was started, and one called "Atlassian Confluence" which wasn't started. I started the second one and tried to reconnect but no luck.

This second service also seems to stop itself soon after starting so I'm not sure it's the right one anyway.

Is there anyone who has had this issue who can help?

Thanks,


Answers:
author: Ryan Goodwin
body: Hi Nick,

Having 2 services means that Confluence has been installed multiple times, and one of the services that was created has been renamed in an upgrade. You'll need to determine which service is connected to your most current version of Confluence.

Review this documentation for how to create and remove the service for Confluence in windows. By identifying your current install of Confluence, you can remove/reinstall the service so you only have 1. Then run that. If the service doesn't start, it's going to take a big more information (most likely from the application logs) for us to help you figure out what is keeping the application from starting.

The logs can be found by searching for atlassian-confluence.log. Scan the end of the logs and see if there is a relevant error message you can provide so I have more information.

comments: author: Nick Banbury
body: Hi! Thanks for this. I actually did exactly as you descrived about an hour ago and you are correct, there were some old services causing confusion. These are now disabled and things seem to be working :)

Thank you for your help
Selecting the style for pasted text formats the entire page
Asked by Jay A:

I pasted a bunch of text from a PDF into TextMate to get rid of the Rich Text Formatting, then pasted it into a page in confluence. It comes in fine with line breaks where they need to be.

Some of the lines need to be formatted as Heading 1, Heading 2, etc. When I select that line and select Heading 1, ALL of my text on the page is set to Heading 1. If I manually insert a line break and retype the heading, I can format just that line just fine. Also, if I select a couple of lines and then indent them, the whole page indents, not just the lines I selected.

I'm running 5.1, and the source editor plugin is not available for it yet, so I cannot see what's going on.

If I just paste directly from the PDF to Confluence, I get a table around each page of content from the PDF. The only way to get rid of that is to then copy the text from each cell of the table and paste it outside the table, then delete the original table.

Any thoughts on how I can get my pasted content to format line-by-line?

edit: Oh man, trying to edit any pasted text is **aggravating!**


Answers:
author: RianA
body: As a workaround, you could just add the heading 1 and heading 2 from*Insert \>\> Wiki Markup* and you could just put the heading 1 or heading 2 on the line that you wanted to. For the syntax, please refer to the following documentation.  
\* <https://confluence.atlassian.com/display/DOC/Confluence+Wiki+Markup>

Hope it helps.

comments: author: Jay A
body: I ended up going back and pasting directly from the PDF. It still caused some issues where the last line in bulleted lists were linked to the formatting of the following line. And doing indents of bulleted lists wasn't working as expected. I finally got everything looking good in Confluence. However, when I exported to PDF, some of the list items have 2 or 3 bullets in front of them.

I cannot be the only one that's run into formatting problems when pasting content. This is one of the reasons we are moving away from MS Word. Are there replacement editors I can try in Confluence?

I'm using this for technical documentation. I do not have the need to do fancy formatting while editing. Ultimately, I don't want to do any formatting while editing beyond specifying things as headings, paragraph, bullet lists, etc. The actual formatting for the document should be handled by a stylesheet upon PDF creation. I currently have the capability to do this with the Scroll PDF exporter, but the WYSIWYG editor in Confluence is putting things in the source that are not visible when editing, and that's causing problems.
How do you set the tree depth of the sidebar?
Asked by Harley Gorrell:

The sidebar of confluence on-demand limits the tree view to the top level pages. I would like to have the top two levels of pages displayed. (Like {page tree} with start depth = 2.)


Answers:
author: Alex
body: Hi Harley,

In OnDemand you should be able to navigate to the Look and Feel tab under Space Adminstration then select the Documentation Theme. Once you select the Documentation Theme a link will appear under it to "Configure Theme".

If you select "Configure Theme" you unselect **"Page Tree"** then add the Page Navigation Macro that you want to use.

Here is the documentation for the page tree macro.

<https://confluence.atlassian.com/display/DOC/Page+Tree+Macro>

I hope this helps!

comments: author: TJ Baker
body: Can we only have such a tree navigation if we choose the Documentation Theme? Would be nice in the defaul theme too!


author: Harley Gorrell
body: It did. Once I knew where to find the sidebar, I was able to get started. I changed it to this:

```
*NameOfSpace*----*Search:*{pagetreesearch}-----*Contents:*{pagetree:startDepth=5}
```

It would help if the "macros" section of the document explained the text format of the macros. I tried a couple of times before I figured out that the seperator is ":" and not "\|" as it appears in the normal fancy editor.

comments: author: Harley Gorrell
body: And \*whoops\*! That was supposed to be a comment on the above answer.


author: marius
body: hey Harley,

so if I understand correctly, you changed the depth of the sidebar tree in a default theme ? can you give me more details about that? what file ? :)

thanks


author: Harley Gorrell
body: The space which I modifed still has the custom sidebar.

I changed the sidebar a year ago, and am pretty sure our hosted confluence has been updated since then.

I went to check how I added this text, and I dont see how I can get back to edit the text. I think the UI changed and (a) either disabled the editing of it, or (b) moved the option to some config page which I didnt find.

wish I had more!


author: Melanie Albrecht
body: Thanks for your sidebar code, Harley.Marius, it's probably way too late, but I added it to the sidebar section in my space, using the instructions in the "Customising the Documentation Theme" section of this page: <https://confluence.atlassian.com/display/DOC/Configuring+the+Documentation+Theme>


Tags: confluence-cloud

cloud

documentation-theme
Adding JIRA Macros in confluence
Asked by Ankur Dhawan:

While creating JIRA macro in confluence (Edit \> Other Macros \> JIRA) it is giving following error

Element Type input must be terminated by the matching end tag, class java.io.IOException..

I have tried copying the Jira URL (Filter \> XML) from rt click copy link address as well as clicking on JIRa \> Filter \> XML and copying the url from browser...

Does any one know why is this exception coming ?


Answers:
author: Joe Clark
body: Can you give an example of the JQL query of the JIRA URL you are trying to embed in Confluence? A common cause of this error is that Confluence does not understand a part of the query you are trying to embed.
Confluence replication
Asked by Chandank:

Hello,

We have two separate office networks and I want to make Confluence available on both Location. It will be a master slave configuration where data will be updated in one instance and the replicated instance will be kind read only.

I was wondering if it is possible by setting up replication for Mysql and copying the data directory?

I have gone through couple of answers in this forum and some articles where do they mention having backup (confluence XML backup) etc but those looks like more for disaster recovery where we want to restore. But in my case I want to have both running at the same time.


Answers:
author: Daniel Borcherding
body: Chandank,

If you have two seperate office networks how are you going to replicate data between the two instances?

Our cluster offering is not a High Availability solution and does not have this data mirroring.

Why are you trying to set up a master slave configuration rather than just having the same instance available to both offices? How are the networks walled off from one another? Can you open whatever firewall you have for communication from an IP range from the remote office?

comments: author: Chandank
body: Basically two are separate networkd. The main intention is that, in case due to some network outage the master wiki become unavailable, people on other network should at least have something which will be the slave wiki.

As far as replication is concerned we can setup firewall/port forward to get it work across both networks.


author: RianA
body: I would suggest you to use cluster instance if you would like the data to be consistent on two servers. However if the network is good, you could just use one server on host it on only one location for easier adminsitration. You could get more information regarding cluster here.  
\* <https://confluence.atlassian.com/display/DOC/Confluence+Clustering+Overview>


author: C. Faysal
body: This can not be done with only one license. Both servers will need an active license configured or you may think about a cluster license. Ask [sales@atlassian.com](mailto:sales@atlassian.com)

comments: author: Chandank
body: I understand it will need two licenses. This is not a cluster this like having a copy of Confluence running. My question was is it possible to do like this?


author: C. Faysal
body: Another way would be inserting a developer license but i think this is against license policies cause they are for non productive use only


author: C. Faysal
body: A cluster will be exactly what you describe. I'd suggest you check on confluence cluster on your case