youngmon/atlassian-qna huggingface dataset:
Access to Confluence only for specified IP-Addresses/Ranges
Asked by Gilbert Janeselli:

Is it possible to gain acces to Confluence only to specific IP-Addresses/Ranges? Maybe like i would do it in a htaccess with Deny/Allow?  

thks


Answers:
author: Gilbert Janeselli
body: I solved the problem using the MS Server Firewall rules for incoming connections.

comments: author: Matthew J. Horn
body: I think that's the right approach: to manage it at the firewall/proxy level rather than in Confluence.


author: Kesha Thill
body: Hey [@Gilbert Janeselli](/t5/user/viewprofilepage/user-id/707720) !

I believe you're on our Server deployment, and this request was a few years ago, but still wanted to let you know that we've recently launched a beta program for IP allowlisting that's available for Confluence, Jira Software, and Jira Service Desk Cloud Premium customers and evaluators. If you're interested, you can learn more about the feature and how to enable it by visiting our documentation for IP allowlisting [here.](https://confluence.atlassian.com/cloud/ip-allowlisting-998658750.html)

Please reach out if you have questions!

comments: author: Gilbert Janeselli
body: Thanx, but we i am fine with my whitelists over the firewall.


author: Steve Gerstner [bridgingIT]
body: You can write a plugin with a servletfilter:

<https://developer.atlassian.com/display/DOCS/Servlet+Filter+Plugin+Module>

Or, better, use an Apache HTTP-Server as proxy:

[](https://confluence.atlassian.com/display/DOC/Running+Confluence+behind+Apache)<https://confluence.atlassian.com/display/DOC/Running+Confluence+behind+Apache>


Tags: access

confluence-administration

ip-address

restriction
Jira and confluence licensing
Asked by Craig Brand:

If you have 150 jira users do you need 150 confluence licenses to access spaces. 90% of the users will just be accessing a single space anonymously?


Answers:
author: Steve Gerstner [bridgingIT]
body: No, you can use a 25 person license for confluence, if only 15 users are needed as named users

comments: author: Craig Brand
body: Cool thanks.

Would you have to amend the permissions page for who can 'use' and 'administer' so licenses are not automatically used? For example, if jira-users have 'use' permissions. Do I need to add confluence-users group to the revleant users in Jira and remove jira-users permission?


author: Steve Gerstner [bridgingIT]
body: That depends, you can use your own user management in confluence or delegate it to jira.

But in general confluence-users and jira-users are two different groups and there should be in your case no relationship between these two groups. Just add the 15 accounts to confluence-users.
Deployment setup for confluence from teamcity, getting unable to execute mojo error
Asked by Sneha Sheth:

Hi,

I am trying to set up deployment from Teamcity 8.0.5 for Confluence 5.3.4 using the command

atlas-install-plugin --server hostname --context-path / -p 80 --plugin-key "com.example.plugin.key" --username username --password password

The user has admin permissions for confluence. It gives me "Unable to execute mojo" error. The build for the plugin is successful and I get the jar. Attached are the screenshots showing the errors I get on confluence and teamcity.

This is the error I get on teamcity:

![](../../upfiles/teamcity_error.png)

![](../../upfiles/teamcit_error1_1.png)

This is the error I get in confluence:

![](../../upfiles/confluence_error_1.png)


Answers:
author: Sneha Sheth
body: Hey, This is really critical for me now. Could anyone suggest a workaround for this?


author: Sneha Sheth
body: Yes, I double checked all values.


author: Sneha Sheth
body: This are the three pieces I could figure out:

![](../../upfiles/download.png)

<br />

<br />

comments: author: Steve Gerstner [bridgingIT]
body: The values from password to username are correct?


author: Sneha Sheth
body: I tried the --debug flag, it is giving me a very long list of dependencies and jars it gets. What exactly should I look for in it?

comments: author: Steve Gerstner [bridgingIT]
body: there sould be a list of all options you are using to connect to confluence


author: Sneha Sheth
body: Yes, the second image shows the trace that i got by adding the -e flag to the command. Thanks.


author: Steve Gerstner [bridgingIT]
body: Can your run atlas-install-plugin with a debug extension? It's the same as in plain maven. Then you should see all options the build is using and more detailed errors.

comments: author: Steve Gerstner [bridgingIT]
body: try --debug or -X
Roadmap Plugin: When editing page Macro is gone
Asked by Johannes Seyfried:

I really like the Confluence Roadmap Plugin as it simply does what it's expected to do.

But when I insert the Roadmap Macro on a page, save it and edit the page again, the Macro's no longer displayed. I can't edit it or even see it. Saving the page after an edit deletes me the macro and all I can do is enter everything again.

Any solutions/ideas?


Answers:
author: Johannes Seyfried
body: Finally we re-installed the plugin after trying on a test environment and there the bug didn't reappear.


author: Yong Gao
body: I have the same issue, the roadmap disappeared after clicking "insert".

I am using the latest version of Confluence and Google Chrome


author: BillA
body: What browser and Confluence version are you using? This is not a supported plugin but we're tracking bugs at [https://bitbucket.org/mjensen/confluence-roadmap-plugin/issues?status=new\&status=open](https://bitbucket.org/mjensen/confluence-roadmap-plugin/issues?status=new&status=open)


author: Steve Gerstner [bridgingIT]
body: I tried to reproduce your description, but I can't reproduce it.

If you are not the admin, please contact him.

Check if your plugin is up to date and there are no errors in the logfile of confluence.


Tags: confluence-roadmap-plugin
Linking Jira service desk to confluence space
Asked by Craig Brand:

I've linked JIRA service desk to a confluence page. I have AD intergrated so when the AD user logs in to the service desk the first time it adds them to specific groups. The confluence space has anonymous access to view pages. However, they can't see the content of the confluence space unless they login into confluence. How can this be automated so they don't have to login to confluence separately to see the content of the linked space?


Answers:
author: Craig Brand
body: I just needed to wait for the user driectories to sync from Jira to confluence, it hadn't synced for 1 hour. I forced a sync and the content was visable. Doh!
get group members Confluence - SOAP remote API
Asked by Rajitha Ranasinghe:

I'm using confluence soap remote API. Is there any way of getting all the members of a given group through remote API?


Answers:
author: Steve Gerstner [bridgingIT]
body: Then te only option will be to write your own soap service, and still then, your requests will need some time. -\> [](https://developer.atlassian.com/display/CONFDEV/RPC+Module)<https://developer.atlassian.com/display/CONFDEV/RPC+Module>And you may need to implement something to have direct access to the database, to reduce the amount of queries needed and be more performant.


author: Rajitha Ranasinghe
body: Hi Davin,

Thanks for the answer. But in my case it's nearly impossible. I have 30000+ active users.

comments: author: Davin Studer
body: Yeah, for 30000+ people that would probably take a very long time.


author: Davin Studer
body: Well, you could user use getActiveUsers then loop through that and for each user use getUserGroups. Then build it out based on that ... not very effecient, but I think it should be possible.


author: Bob Swift (personal)
body: No :(.
Confluence Performance issue - authenticated users take ~9s to render page, anonymous only 2s
Asked by Brendan Patterson:

We are investigating performance issues with our server and have been unable to determine yet the cause. We've tried all the basic approaches we can think of:

?increasing RAM

?moving to physical hardware

?moving the confluence-home directory local

The strange thing with the current space we are investigating is how much longer page renders for authenticated users take....about 9seconds from about 2seconds or +4.5X longer.

Has anyone seen this behavior with Confluence before? (where authenticated users take a LOT) longer?

The page does have a Zen-theme-brand, but no other content nor macros are on the page.

Any ideas how can we troubleshoot this?  
thanks!  
Brendan


Answers:
author: Brendan Patterson
body: Hi Samuel,

Thanks for the great suggestions.

I think we traced this particular performance issue to the use of the Confluence DraftManager which seems to look through even "orphaned drafts" when invoked. It just so happened this was only happening for authenticated users.

It was a slippery one but ultimately tied to a plugin's use of an underlying API that seems to not be optimized. Rewriting the plugin code invoking the API and deleting orphaned drafts seems to have solved this particular issue.

It was strange behavior I'd not seen so just thought I'd post to answers in hopes that someone had tripped across the same problem :)

thanks,

Brendan


author: Patrice Rompas
body: Hi Brendan,

You may want to start by switching to [Confluence default theme](https://confluence.atlassian.com/display/DOC/Working+with+Themes) and see if the issue persists.  
The next thing you can do is to [enable plugin safe mode](https://confluence.atlassian.com/display/UPM/Disabling+and+Enabling+Add-ons#DisablingandEnablingAdd-ons-Disablingorenablingalladd-ons(usingSafeMode)). This will determine if the issue is caused by the theme/plugins.

Otherwise, if you're using external LDAP as User management, you should ensure that the search filter (base DN, additional user DN, user filter) doesn't start from the highest level of tree.  
If you're not using external LDAP, I'd recommend you to request [Atlassian Support](https://support.atlassian.com/secure/Dashboard.jspa) to assist you with this.

Regards,  
Samuel


Tags: confluence-administration
Customize dashboard on on Demand Confluence
Asked by Naama Lev:

Hi,

I am working with conluence on demand and would like to cutomize/configure the default dahsboard,

Can you please direct me to the documentation? (all i could find was for confluence installation)

Thanks

Naama


Answers:
author: Bob Swift (personal)
body: Not sure what the documentation link is, but go to the Default Welcome Message template found in Administration under **Global Templates and Blueprints**


Tags: configuration

custom-field

dashboard
How can I export to Word from a blog post? The only option I have is export to PDF.
Asked by Tony Kennedy:

How can I export to Word from a blog post? The only option is to export to PDF...


Answers:
author: Davin Studer
body: The option isn't there, but if you go to Confluence Admin -\> Custom HTML and put this in the "After Body" section it should show up.

```
&lt;script type="text/javascript"&gt;	AJS.toInit(function() {		if(AJS.$('#action-export-word-link').length == 0) {			var html = '&lt;li&gt;&lt;a id="action-export-word-link" href="' + AJS.Meta.get('base-url') + '/exportword?pageId=' + AJS.Meta.get('page-id') + '" class="action-export-word active" title=""&gt;&lt;span&gt;Export to Word&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';						AJS.$('#action-export-pdf-link').after(html);		}	});&lt;/script&gt;
```

comments: author: Davin Studer
body: Hey, no problem. Feel free to mark it as answered ... it is the little check box below the up down arrows.


author: Tony Kennedy
body: Awesome. This worked perfectly. Thanks Davin!!


Tags: confluence-administration
Any way to mirror a blog from confluence to sharepoint?
Asked by Brett Fernandes:

I'm currently trying to migrate our blog posts on Confluence to a Sharepoint blog that is being followed by the client facing part of our company. I'm using Sharepoint 2010 and Confuence 5.4.1. So far, with the Sharepoint Confluence connector, I can embed the Confluence blog posts as a web part on the main page of the blog in Sharepoint. Is there any way I can embed the Confluence blog post as an actual blog post on the Sharepoint blog?


Answers:
author: Steve Gerstner [bridgingIT]
body: You can use the SharePoint SOAP-API to post the blogpost on your sharepoint as it is created, modified or deleted in confluence. But this will need devolpment.

Or, if you have proper access rights, what means anonymous access, to your blogposts in confluence, you can maybe create a feed and embed the feed in sharepoint.

Regards

Steve


Tags: confluence-administration
Confluence best practices
Asked by Tom McKenzie2:

Hello Atlassian Community

Has anyone put together a list of best practices for Confluence? I'm thinking topics like naming conventions, page ownership, recomended formating (table of contents), archival, etc.

We don't have a wiki libarian/housekeeper so I'm hoping to put together some "rules of engagement" for folks to follow. Our house is getting cluttered.....

Thanks in advance.


Answers:
author: Matthew J. Horn
body: That's a huge topic, and the answers depend greatly on the way you use Confluence: do you use it as an internal knowledge base? External documentation? A free form wiki for sharing ideas? As you can see, everything you mentioned (naming conventions, page ownership, formatting, and archiving) have entirely different approaches based on how you use Confluence in the first place.

Maybe you can explain a little more about how you use it, and then some community members can provide some of their own input.

comments: author: Tom McKenzie2
body: Good point Matthew, we use it as an internal knowledge base (not externally facing). There's combination of things we know (specifications) and things are trying to figure out (ideas). I think that's one of our problems is folks aren't sure what the state of a page is. I'm things like the product requirements template header widget which provide an status, owner, etc are probably part of what I'm looking for.

Also this [guide](http://blogs.atlassian.com/2013/07/agile-requirements-documentation-a-guide/) covers alot of the topics I'm interested in.


author: Kate Jobe
body: Good question Matt. I am on the same page. We are using Confluence and JIRA. Although not everything we do feeds back into JIRA. In addition to projects, we are using Confluence as an internal knowledge base. The spaces are organized by department. I want to create a home page directory that is a little easier for people to use with categories and quick links to hot projects and key topics. The more information we add the harder it is to find something. Any suggestions on best practices? Has any published a best practices example for this kind of use? Thanks!


Tags: cloud

confluence-cloud
When exporting to PDF how can I make the Jira Issues macro font size larger?
Asked by kimberly anderson:

When exporting to PDF how can I make the font inside the Jira Issues macro larger?

I tried the sytling for the tables and that did not do the trick.

Thank you, Kimberly


Answers:
author: Davin Studer
body: Not sre about ondemand, but in the standard version under space admin there is an option for PDF Sytlesheet. I think that is where you would want to make changes.


author: Sherif Mansour
body: Hi Kimberly,

I'd love to hear more about what you are trying to do here and why.

We've just spent a bit of time in our roadmap making PDF exporing for JIRA issues macor a bit nicer. Specifically:

\* clearer rendering of issue type and priroity icons

\* Dynamic resizing of the columns in the JIRA issues macro to better fit long text and make the table layout much easier to read

\* Dynamically shrinking the size of the table to fit the width of the page where appropiate

I'm not sure if they'll specifically address your issue. I guess what I'm after is a bit of context. What type of report do you need a PDF export for? Why are you PDF exporting? What why do you want to make the text larger? is it in a table? or a single JIRA issue? etc..

comments: author: Stef Smith
body: Hi

around this subject -I'm using export to PDF to print off guidance for our staff. Unfortunately some of our staff have found that the font size is too small to read and even though i think my eyesight is fine, i would agree that its smaller than i would usually print out for reading myself. I'm aware that with PDF readers if is possible to change the font but not all of our staff would be aware of that and its also another step for them to undertake just to print them off. We are using On Demand. Is there a solution for this?

Thanks

stef


author: Will Palmer
body: Hi Sherif,What version of confluence provides support for dynamic resizing of the JIRA issues macro when exporting to PDF?Thanks,Will


Tags: cloud

confluence-cloud
How do I transfer Confluence (download) to a new server?
Asked by Scott Genevish:

I tried setting up a matching, default install of Confluence on the new server, then restoring the backup of the old server (using the automated backup feature), but my Zen add-in will not load. How can I resolve this?


Answers:
author: Patrice Rompas
body: Hi Scott,

Confluence automated backup feature is an automatic XML site backup and it doesn't backup plugin/add-on (see [documentation](https://confluence.atlassian.com/display/DOC/Site+Backup+and+Restore)).  
If you need to transfer Confluence to another server with the add-on included, you can follow the instruction in the documentation of [Migrating Confluence Between Servers - Transfer to another server with the same operation system](https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers#MigratingConfluenceBetweenServers-TransferringConfluenceToAnotherServerUsingTheSameOperatingSystem).

Cheers,  
Samuel


Tags: confluence-administration
Uesrs without access to confluence counting towards license
Asked by Jamie Saunders:

We are using the starter license for Confluence, which allows up to 10 users. We are also using the Jira user directory to sync users across several Atlassian products, including Confluence. The probelm is that although only 4 users in the user directory have permissions to use Confluence, it's counting the other six users towards the license. Surely only those users with access to Confluence (in the "confluence-users" group) shoud count towards the license?

Any help much appreciated.


Answers:
author: Nic Brough -Adaptavist-
body: Check the permissions page - exactly what groups have "use" and "administrate" permissions?

comments: author: Jamie Saunders
body: Thank you Nic, that was the key! It seems that the group jira-users had the 'use' permission. {#toc-hId-1678904474}
-------------------------------------------------------------------------------------------------------------------


author: Nic Brough -Adaptavist-
body: That would do it :-)


author: David at David Simpson Apps
body: How many users are there in the confluence-users group in JIRA?


Tags: directory

licence

user
confluence as "meeting minutes" repo?
Asked by Alex Perez:

Hi all!

Is anyone is using Confluence to store "meeting minutes"?

I suppose that most people simply start a new page and enter notes as they're talking. but some users asked us about the possibility to add some review and approval process ...

In others words, they're looking for:

\* record the meeting notes / minutes in a new page, then the page is in "pending review" status.

\* all attendees should review or add a comment to the confluence page.

\* after a time period/if all attendees agree, the conf page becomes "reviewed". Confluence must not allow edit this page OR if some edit happens, confluence must display a warning about content changes.

There are mixed concepts about document status, while edited like in a wiki, but the root of the problem is that they aren't comfortable using ECM systems (documentum, alfresco, nuxeo, ...) and they want some ECM-like features in a wiki ...

How do you store and prevent further changes on this type of documents?

Thanks in advance.


Answers:
author: David at David Simpson Apps
body: Take a look at [Adhoc Workflows](http://www.adhocworkflows.com/) from [Comala Tech](http://www.comalatech.com/). That should give you a good start on workflow.

Further, you should familiarise yourself with the Meeting Notes Blueprint.

comments: author: Alex Perez
body: Looks good, Im going to try it!


Tags: meeting
Personal space for every user
Asked by Ricky Blankenaufulland:

Is it possible to have a personal space for every confluence user?

Think of the Microsoft Sharepoint "My Site" everyone can use. I would like to have something similar for my confluence users to organize themselves and - if possible - somethings share on of the pages with a selected audience.


Answers:
author: Nic Brough -Adaptavist-
body: Yes. Grant the login group the global permission "create personal space" and then the users can go "profile -\> Create personal space"

comments: author: Ricky Blankenaufulland
body: Problem was in the space directory the button to create a space was missing. This link in the profile menu was exactly what I was missing. Thanks!


author: Mick Davidson
body: Ricky,

Every user can set up a personal space, I think from the dashboard, possibly from the Browse menu.

When they do this they have to set it up the viewing permissions. So they can hide it from everyone, share it with a select few, or make it open to everyone.

Cheers.


Tags: confluence-administration
Document numbering for Confluence
Asked by Rudy Harnendra:

I've been looking for a way to do document numbering for Confluence, especially for knowledge base and technical document.

Use case for knowledge base would be like Microsoft and VMware ones, which each KB article are numbered with KB-xxxx, e.g. KB-2368-title.

For technical document, the numbering will be more complex, including years and months released, division name, sub division, number of document... Example: NW-2011-03-IPM-3-title.

Any workaround to do this on Confluence automatically, with plugin or script? Probably list the number as a page title, fields, or a "tag".

Or is there a more apropriate tools in the market?


Answers:
author: Patrice Rompas
body: Hi Rudy,

I found an existing thread for similar case like yours. Please check this out ([link](/questions/341/how-can-i-automatically-create-numbered-pages-with-confluence-e-g-faq001-faq002))  
I hope that's the one you're looking for.

Cheers,  
Samuel


Tags: confluence-administration

document-management

documentation
Confluence on Glassfish 4
Asked by Ryan Draga:

Hey guys,

So I'm trying to deploy Confluence as a WAR on Glassfish 4. The WAR deploys just fine except I get the following errors when trying to load the page in my browser:

```
Could not load bootstrap from environmentNo server id found.NoSuchMethodError: com.google.common.cache.CacheBuilder.maximumSize(I)Lcom/google/common/cache/CacheBuilder;
```

Any thoughts as to what could cause this?


Answers:
author: Adrien Ragot 2
body: Hi TuxOtaku,

I'm not sure you're facing an application server problem: Maybe you're just missing a few libs that are expected to be in the classpath, like those in the /lib folder of Tomcat? I'm talking about the Tomcat distribution because, ok I know I'm going to sound annoying, but Glassfish is not supported (See [Supported Platforms](https://confluence.atlassian.com/display/DOC/Supported+Platforms)). They dropped the support for several application servers a few years ago, I assume it's because AS were introducing bugs without adding value. So you should probably check the standalone distribution of Confluence and compare it to your installation.

Best of luck,

Adrien


Tags: confluence-administration

glassfish