youngmon/atlassian-qna huggingface dataset:
Anchors and Links within Templates
Asked by Michael Beal:

I have a template that I can successfully create an anchor named "TP" just above the table of contents at the top of my page. Later, in the body of my page when I try to create the link to this anchor "Return to the TOP" using the link "#TP" I receive the following error: The markup provided is not valid link markup -- What am I doing wrong? I have successfully been able to do this on a non-template page.


Answers:
author: Aleksei
body: Hello. Why this issue still exists?


author: Jana Volencova
body: Cloud Confluence, 2017, still the same issue. Any ETA please?


author: BWR
body: Any progress on this issue?


author: J. Caldwell
body: What version of Confluence are you using?

comments: author: Michael Beal
body: Confluence version 5.3.1


author: David
body: I have the same issue v5.4.3. Any progress on that ?
SharePoint Document Search Error! An error prevented the search from completing.
Asked by Ashish Gupta:

Hi

I am using Confluence version 4.2.8 and SharePoint Connector for Confluence version 1.8.1.

I am able to use "SharePoint List" macro and List is displaying correctly on wiki page.

But When I am trying to use "SharePoint Document" marco, I am getting above error in Title of the question for any "keyword" search after selecting "SharePoint Alias" from which I am getting list.

Getting below error in "SimpleSoapProxy.log" file after clicking on "Search" Button.

Error Request Handler Thread 15 Error in response: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

Is Confluence and SharePoint Connector version compatible with each other. I am getting SP list but not document.

Thanks

Ashish


Answers:
author: Patrice Rompas
body: Hi Ashish,

The SharePoint Connector version 1.8.1 is compatible with Confluence 4.2.8 ([see here](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.sharepoint/versions)). But you may try to upgrade to the latest SharePoint Connector to see if the issue persists.

Before that, ensure the following is in place (to see if it's not configured correctly in the current version):

* [Remote API](http://confluence.atlassian.com/display/CONF42/Enabling+the+Remote+API) is enabled in Confluence
* SP is using a user login that is a Confluence Site Administrator and it's properly entered in the [admin section of the correct SP Site level](http://confluence.atlassian.com/display/SPCON/Configuring+the+SharePoint+Web+Part+on+SP+2010)
* Use the options 'User: Basic' and 'User: NTLM' for the [federated search](http://confluence.atlassian.com/display/SPCON/Configuring+the+SharePoint+Federated+Search+on+SP+2010)
* Lastly, check if you're encountering [this known issue](https://confluence.atlassian.com/display/CONFKB/Sharepoint+Federated+Search+Webpart+Is+Blank+when+Searching)

Hope this helps!

Cheers,  
Samuel


Tags: sharepoint
Source Code for troubleshooting article blueprint
Asked by Yagnesh Bhat:

Where can I find the source code for the troubleshooting article blueprint. I am working on something similar to that where I am developing a blueprint that forces the users to use labels for their pages. Any help would be greatly appreciated.


Answers:
author: Agnes Ro
body: I will see if I can open up the bitbucket repo for this plugin.

In the meantime, you can find all our blueprint source jars in our maven repository. The troubleshooting article blueprint is in a plugin called the [confluence knowledge base](https://maven.atlassian.com/service/local/artifact/maven/redirect?r=atlassian-public-proxy&g=com.atlassian.confluence.plugins&a=confluence-knowledge-base&v=1.3&e=jar&c=sources).

Other blueprints we bundle with by default are the confluence business blueprints, confluence software blueprints and confluence space blueprints plugins.

Cheers,  
Agnes

comments: author: Yagnesh Bhat
body: Thanks a lot Agnes!


author: Agnes Ro
body: This repo has been opened up for read access now:

<https://bitbucket.org/atlassian/confluence-knowledge-base>

comments: author: Isaac Montes
body: Hi Agnes, I see the knowledge base blueprints source from bitbucket was opened for read only, is there a chance this can be done for the Business blueprints. I'm trying to figure out how to use the the restictions on a blueprint and the file list offers something that might help

Thanks


author: Hatice Cesur
body: Hi,

i would like to create a troubleshooting article for every space. How can i find the code? The link above is not availbale


author: Agnes Ro
body: Hi Isaac, I've opened up the business blueprints too for read access. Hope it helps.

Agnes

comments: author: Isaac Montes
body: Thanks Agnes :)
Can we run Confluence and JIRA on multiple application servers?
Asked by David Weiss:

Is there any update on this question asked in 2012 and earlier? It's eventually going to become a show-stopper. Convert from self-hosting to cloud service? Thanks any and everyone!


Answers:
author: Nic Brough -Adaptavist-
body: Not really.

Confluence does a form of clustering and has done for a while, but it's not for redundancy or fail-over really. See [](https://confluence.atlassian.com/display/DOC/Confluence+Clustering+Overview)<https://confluence.atlassian.com/display/DOC/Confluence+Clustering+Overview>

Jira. No. End of story. But Atlassian are very much working on it and you can expect something in Summer - <https://confluence.atlassian.com/display/JIRAKB/JIRA+Blue+Label+Pioneer+Program+Outline>


Tags: data-center

load-balancer
Need to be assigned System Admin permissions
Asked by Amanda Sowers:

We have no current system-administrator and there are several Spaces that I do not have access to the "look and feel" menu in order to export the space pages.

I have Confluence Admin permissions to these Spaces, but it seems that since I did not create these Spaces, I do not have the ability to export multiple Space pages into one document.

These spaces have the standard Confluence theme and not the documentation theme.

We have Atlassian OnDemand.


Answers:
author: Nic Brough -Adaptavist-
body: If you have no admins to ask, you'll need to raise a support call with OnDemand support to get your administrator replaced (presumably they left your organisation and didn't sign anyone else to the group).


Tags: confluence-cloud

system-administrator
Deactivate the Comment section
Asked by BastianO:

Is it possible to deactivate the comment section?


Answers:
author: David at David Simpson Apps
body: I wrote a blog post about this kind of thing some time back:

[More flexible commenting in Atlassian's Confluence](http://davidsimpson.me/2011/01/23/more-flexible-commenting-in-atlassians-confluence/)

You could just go to **Confluence Admin \| Look and Feel \| Custom HTML** ... At the end of the HEAD:

Add this:

```
&lt;style&gt;#com-atlassian-confluence #comments-section { display:none; }&lt;/style&gt;
```


author: BastianO
body: Thank you for your answers. After further review i have found a makro at the marketplace. it's called 'Hide elements'. It is exactly what i need.


author: BastianO
body: Thank you for these Answers.

It's more like hide the comment section... is this possible?

comments: author: Matthew J. Horn
body: My response tells you how to do it, but here's more detail.

Open the space admin via a URL like the following:

[](http://www.yourconfluencesite.com/spaces/listdecorators.action?key=doc)<http://www.yourconfluencesite.com/spaces/listdecorators.action?key=doc>

Where "doc" is the name of the space.

Click the Space Admin tab.

Under "Content Layouts", next to "Comments Layout", click the "Create custom" link. This opens the decorator for the comments section of pages.

Delete everything in that decorator and click Save.

Don't worry, you can always click the "Reset Default" link if you want to get it back.


author: Davin Studer
body: One of the space level permissions assigned to groups or people is comment. If you don't have that checked people shouldn't be able to comment.


author: Matthew J. Horn
body: If you can modify the decorators, you open the Comment Layout decorator for the space you want to remove comments from in the Admin console and comment everything out.


author: RambanamP
body: is this what you looking for?

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


Tags: confluence-administration
Unable to select External Content Macro in Confluence OnDemand
Asked by Keith Rosenberg:

When I am Editing my Personal Space, I click in an empty layout area and try to Insert Content -\> Other Macros. This pops up a dialog from which I can select Macros from any tab \*except\* when I go to External Content - any of the macros in this panel, when clicked, do not bring me forward to the next step. They all have URLs below them called "Gadget URLs" (it seems the Gadgets are the ones that won't move forward).

In one instance, after exiting the Macros popup in frustration, an endless series of alerts popped up - unfortunately I did not save the error message from the JS alert, and haven't been able to replicate the alert problem again.

Does anyone know if there is something I am missing, or is this a bug? The particular macro I am trying to add - the one that caused the JS error - is the Assigned to Me macro.

Thanks!


Answers:
author: Keith Rosenberg
body: This issue was resolved by submitting a ticket to Atlassian and having them work some magic. Thanks!


author: Keith Rosenberg
body: The JS error I have gotten is: "There has been an error loading the macro browser. Please try again or see your system administrator." Doing some research on this specific issue for Atlassian OnDemand users, looks like a support ticket is the answer: <https://answers.atlassian.com/questions/184938/there-has-been-an-error-loading-the-macro-browser-please-try-again-or-see-your-system-administrator>


Tags: cloud

confluence-cloud
Jira macro - 500 http
Asked by Ajay Kamble:

when I try to insert jira macro in confluence it gives me

"Received the following HTTP error code from the server:500"

what could be cause of it ?

I have added Ondemand Jira to confluence as follows,

\<th\>Application\</th\>\<th\>Primary\</th\>\<th\>Name\</th\>\<th\>URL\</th\>\<th\> \</th\>

|------|-----|--------------|----------------------------------------------------------|
| JIRA | Yes | OnDemandJira | [](https://xyz.atlassian.net)<https://xyz.atlassian.net> |


Answers:
author: Roman Samorodov
body: Turn on the oauth authentication in both JIRA and Confluence.

In **JIRA** go to **Application Links** click **Edit -\> Outgoing Authentication -\> Oauth** and click **Enable**.

The same steps for **Incoming** **Authentication in JIRA.**

Also you should do the same in **Confluence**.


author: Akeles
body: Hi,

You might want to recreate the applinks between JIRA and Confluence again.
Is it possible to automatically enable "Subscribe to all blog posts" for all users?
Asked by Not CK:

Basically I would like to enable the flag "Subscribe to all blog posts" for ALL my existing users in my confluence server. I don't seem to be able todo this via the admin api, but would this be possible by editing the database directly or via the REST API?


Answers:
author: 4tiitoo
body: Push!Is there any way to change the default settings, rather than asking all users to do so?


author: Adrien Ragot 2
body: Excellent suggestion! Developing Confluence usage inside of a company is hard enough, it would be great if notifications were pushed by default.
Is it possible to implement in Confluence bolded and different color for the font in expandable widjet.
Asked by Srinivas Patruni:

Is it possible to implement in Confluence bolded and different color for the font in expandable widjet.   

<br />


Answers:
author: AnnWorley
body: If the expandable widget is the same as the Expand Macro then it does accept rich text, [](https://confluence.atlassian.com/display/DOC/Expand+Macro)<https://confluence.atlassian.com/display/DOC/Expand+Macro>

Is this the right widget?

comments: author: Srinivas Patruni
body: Hi Ann,

I want to change the style of the text inside the expand macro. the below style is working for heading of expand macro.

1. #com-atlassian-confluence .expand-control-text {
2. color: red;
3. font-weight: bold;
4. }


author: Thu Nguyen
body: Thank you for the code Srinivas. It is very useful.
Move Confluence from Internal to DMZ
Asked by Ray Geronimo:

We currently have an in-house Confluence instance which users currently authenticate with AD via LDAP and currently only accessible via VPN from outside the corporate network.

If we decided to move the existing instance from inside our firewall to DMZ, what would be the best practices? Has anyone tried this and what were your experiences?


Answers:
author: Davin Studer
body: First of all make sure it is server vis SSL. You don't want user names and passwords being transmitted unencrypted. Also, I would set up monitoring on your logs ... you might want to turn on web server access logging. I would also double check your global permissions for anonymous access. Do you need it? If not make sure it is off. If you do need it verify annonymous access on all your spaces is set correctly.


Tags: confluence-administration
Limiting access to hosted JIRA and Confluence.
Asked by Nicole Williams:

Hi,

I am wondering if there is a way to restrict access to Confluence and JIRA on demand to users on an office network?

Thanks,

Nicole


Answers:
author: EddieW
body: OnDemand Users

Submit a ticket with [support.atlassian.com](http://support.atlassian.com). THey will support this in certain circumstances.

----

Hosted Users

If you mean that you're hosting the tools in a publicly accessible areas, the use of a webserver acting as reverse proxy ( using nginx or apache) would be the most straight-forward way to limit access to a particular network segment. [](https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+a+Web+Server)<https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+a+Web+Server>, The Apache Allow - [](http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow)<http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow>directive will allow you to specify a domain or IP range to allow traffic, and block all else.

Otherwise the global permissions would be the place to prevent "Anonymous" access, but the site would still be publicly available. (just no details visible)

comments: author: Nicole Williams
body: Thanks Eddie, but I thought that solutions like that we're only available if we were hosting confluence and JIRA ourselves. I really prefer it in the cloud for ease of use, but our security team is requiring us to lock it down.


author: AnnWorley
body: I just asked OnDemand support and they can do it under certain circumstances. They encourage you to open a support ticket to see whether they can do it for you. :)


author: Peter T
body: Hi Nicole,

I am not exactly sure what you mean by restrict access, but the users will be able to use the system after successful login and the system admin has various ways to control who has login and who not.

Is that what you meant?


author: Peter T
body: Hi Nicole,

I am not exactly sure what you mean by restrict access, but the users will be able to use the system after successful login and the system admin has various ways to control who has login and who not.

Is that what you meant?

comments: author: Nicole Williams
body: No, I mean blocking access to the application on a network level and only allowing access from our office network.


author: EddieW
body: That's how I read you're question too, but interpetted hosted to mean locally hosted. I see you clarified for ondemand. You should be able to submit a ticket to support and have them do essentially the same thing. Cheers!


Tags: cloud

security
Confluence On Demand Storage
Asked by Tao Wang:

Does Cloud Confluence have a storage limitation?


Answers:
author: Nic Brough -Adaptavist-
body: Sort of. See <https://confluence.atlassian.com/display/AOD/OnDemand+Storage+Policy>

comments: author: Tao Wang
body: Thanks for prompt answer. Is the 25GB limit for the entire company or for one subscriber? If I buy an on-demand subscription for my company with 100 users, the 25GB limit would be 250MB per user. It is practically useless.


author: Nic Brough -Adaptavist-
body: I'm not sure what the question is. You start paying more if you store more than 25Gb.
How does the Confluence Questions point system work?
Asked by Bill Cushard:

How many points per question, per answer, per accepted answer, per voted up, etc.....? Looks like 5 points per.... Is there a list somewhere? I cannot find it.


Answers:
author: EddieW
body: Looks like they've yet to publish that info, [](https://confluence.atlassian.com/display/QUESTIONS/Votes+and+Experts)<https://confluence.atlassian.com/display/QUESTIONS/Votes+and+Experts>so I created ticket in their public issue tracker.

I suggest you vote for it their, and provide any additional feedback as well.

[](https://jira.atlassian.com/browse/CQ-640)<https://jira.atlassian.com/browse/CQ-640>


Tags: confluence-administration
Can I export the content from 3.2 and import to 5.x
Asked by matthew.richards:

We are running version confluence version 3.2 and would like to install afresh and import the data from 3.2 to the latest version, is this possible or do we have to do each patch update?


Answers:
author: Peter Eisenschmidt
body: As I've done all that process just today (started from version 3.4.8) I would suggest you this upgrade path:

3.2 -\> 3.5.13 -\> 4.3.7 -\> 5.0.3 -\> 5.X (currently 5.4.2)

For problems on startup check your $CONFLUENCE_DATA/logs/atlassian-confluence.log  
And search for "ERROR".

I also recommend to open a new topic if any problems occur.


author: Manuela Raschke
body: You can only import a space which is of the same major release (means only 5.x can be imported into 5.x). I can not imagine that it is different if you export the whole site and want to reimport it.

I would also recommend to install a test system, see what the update does to your content and and move on.


author: Steve Gerstner [bridgingIT]
body: The short answer no.

the long one, the storage format has changed from 3 to 4. And even in 5 there are some changes.

You can import your export on a clean 3.5 and then upgrade this version to 4.3 and then to 5.2, then to 5.3 and then to 5.4. I think, that is, at the moment, the correct migration path.

comments: author: Nic Brough -Adaptavist-
body: That is correct - trying to upgrade to 4 or 5 from 3.4 or below can be a complete nightmare, you can run into all sorts of vile problems. The path Atlassian (and those of us who've had to try to unpick such failed upgrades) is 3.2 -\> 3.5, then you can upgrade to 5.something.

I haven't tried 3.5 to 5.3 or 5.4 yet, so I can't speak for that particular jump, but you should be fine with 5.2 straight to 5.4, and my first test would be 3.5 to 5.4 to see if that would be ok.


author: Davin Studer
body: If you don't have to do a fresh install I wouldn't. I would tend to recommend upgrading the system. You should test this first!!! Make a backup of your system and then upgrade it. Or if you really want to do a fresh install try it out. Install a 30 day trial on another box and then import your 3.x stuff into it ... see what happens. Never do things like this in a live environment without testing first.


Tags: confluence-administration
Excel Hyperlink Woes When Linking to Files
Asked by Adam Charpentier:

I am attempting to upload an Excel file through the official macro with hyperlinks to a library of documents located on our company servers. In Internet Explorer, these links open just fine when clicked, but not in Chrome. In Chrome, you can't 'open in a new page' or 'window', though the url is showing correctly at the bottom of the screen. If you copy and paste the hyperlink text into a new window, it opens fine, but this seems like an unnecessary step to take since so many people in our company are primarily Chrome users. Is there a step I am not taking?


Answers:
author: Davin Studer
body: What protocol do the url's use? Do they use the file protocol? If so, then Chrome does not support that ... without an extension. Below is the Chrome extension you would need to use the file protocol.

[](https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpida)<https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpida>


Tags: cloud

confluence-cloud
Calling a Soy template from a Listener
Asked by Yagnesh Bhat:

Is it possible to call a soy template from an event Listener? I am working on a blueprint plugin that forces the user to add labels to the page before saving the page. So one of my approaches for that is call the exact dialog box that we get when we try to add labels to the page, but that dialog box should pop up when the use presses the save button on the page. So basically, it should be like this :

```
public class PageCreatedListener implements DisposableBean {		 protected EventPublisher eventPublisher;	 private final LabelManager labelManager;	 private final PageManager pageManager;	 private final Logger log;	 	 public PageCreatedListener(EventPublisher eventPublisher, LabelManager labelManager, PageManager pageManager) {	        this.eventPublisher = eventPublisher;	        eventPublisher.register(this);	        this.labelManager = labelManager;	        this.pageManager = pageManager;	        log = LoggerFactory.getLogger(PageCreatedListener.class);	 }	 	 @EventListener	 public void pageCreateFromTemplateEvent(PageCreateEvent event) {		/* Call the soy template or the dialog box that                 * asks the user to add labels from here                 * Is this possible?                 */	 	 }        @Override	public void destroy() throws Exception {		// TODO Auto-generated method stub			}}
```


Answers:
author: David at David Simpson Apps
body: No, you've got the wrong end of the stick here.

The listener is really for behind the scenes events and cannot display a thing to the end user.

An example story for an event listener would be:
> As a user, I wish Confluence to email a mailing list each time I create a new page.

The PageCreateListener could then send an email in the background for each new page created.

What you're looking for is to modify the behaviour of the Confluence Editor so that a page cannot be saved until a certain number of labels have been added.

As you're using Blueprints, your page will likely already have your Blueprint specific label attached. You need to check for this label on page save and then pop up the labels dialog.

Hope this helps ;)

---

**Aside:** You could call a soy template from the event listener for example to format an HTML email. You'd need the SoyTemplateRenderer e.g.

```
&lt;component-import key="soyTemplateRenderer" interface="com.atlassian.soy.renderer.SoyTemplateRenderer"/&gt;
```

comments: author: Yagnesh Bhat
body: Thanks a lot David!