youngmon/atlassian-qna huggingface dataset:
How can I get a list of all space administrators in my Confluence installation?
Asked by Brett Creech:

We are looking for a way to get a list of space administrators for our Confluence installation. We have 150+ individual spaces and we need to extract a list of those users who have Space Admin rights. I've seen the macro that will pull space admins for individual spaces but that does not meet my needs.

Is there any way to pull a list of anyone who has space admin privileges from any space within an installation? We're on Confluence 4.2.8.

Thanks,

Brett Creech  
Educational Technologist, Purdue University


Answers:
author: Theinvisibleman
body: Hi Brett,

You should be able to do so via creating a custom user macro. You can find the full details of how to do this via this Knowledge Base article - [How Do I View A List of All Space Administrators for All Spaces](https://confluence.atlassian.com/display/CONFKB/How+Do+I+View+a+List+of+All+Space+Administrators+for+All+Spaces)

comments: author: Brett Creech
body: Joe, we tried this - however our installation has \~180 spaces and I'm estimating over 50,000 users; we use Confluence as our university-wide wiki here at Purdue University. We ran the macro and it caused a lot of stress on the system.

Is there any thought to possibly have a report created that a system administrator can run that will list all spaces and space administrators? I think that would be a helpful addition to any administrator tools.


author: RambanamP
body: check this blogs

<http://come2niks.com/sql-query-to-find-confluence-space-admins/>

some more useful sql query's

<http://www.divingintothedetails.com/confluence/use-sql-to-quickly-get-information-out-of-confluence/>


author: Matthew J. Horn
body: Looks like you can do this with the Confluence REST APIs. The SpaceDirectoryEntity object has a getAdmins() method that should get you what you want.

comments: author: Brett Creech
body: Is there another option, such as using a SQL query to get this information?


Tags: confluence-administration
Confluence plugin compatiblity checker
Asked by sanjaysrikonda:

Is there a plugin compatibility checker? There used to be one in a previous version of Confluence in the admin site, but I can't seem to find it now.

Any insight would be most appreciated.


Answers:
author: hsuhailah
body: Were you referring to [Confluence update check](https://confluence.atlassian.com/display/UPM/Checking+Add-on+Compatibility+with+Application+Updates) link in Manage Add-Ons page? What is your current Confluence version?


Tags: confluence-administration
Restoring pages from a newer Confluence version to an older Confluence version ?
Asked by sanjaysrikonda:

My company updated to the latest version of Confluence, it broke almost all our plugins so they want to downgrade back to a previous version. Unfortunately, people in the interim made pages and now want to keep those pages in the downgrade.

Is there a "painless" (I've found almost nothing painless with anything from Atlassian) way for us to backup and restore those pages from a newer version to an older version of the software?

I'm assuming the answer is a resounding "no" but I thought I'd ask the collective hive any way.

Thanks in advance.


Answers:
author: hsuhailah
body: What is the previous version of your Confluence? As a suggestion, you can restore the database and home directory of the previous instance and then install [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor) in the current and previous Confluence instances. This plugin allows you to copy the page content created in the current Confluence and paste it onto the previous Confluence in the form of HTML. This still requires a manual work for each pages but it's probably the best bet you could have now.

PS: We always recommend our customers to try out the upgrade task on a test server first and check for any broken functionalities and incompatible plugins before moving forward with the upgrade on the production server to avoid future problems.
Use a Template when Clicking Link to Create Page?
Asked by Matt Uebel:

In the editor, highlighting some word or string and pressing "\[" gives you the option to Insert Link to Create Page. This is great, as it is a way of marking something that should probably have a page.  

When clicking the link however, you aren't presented with the normal Create Page dialog. Instead, it takes you to the edit mode for a Blank Page, and skips the part where you would otherwise be able to select a template.  

I would like to be able to select a template when clicking a link to create a page. Am I missing something? If this is not possible, is there already a feature request for this?


Answers:
author: Davin Studer
body: I'm 99.999% sure you can't do that yet. That would probably be a nice feature request ... don't hold your breath on it ever getting implemented in your lifetime though. :) They seem to dally on useful features.


author: Sean King
body: In confluence v5 use the "Create from Template" macro

<https://confluence.atlassian.com/display/DOC/Create+from+Template+Macro>

comments: author: Davin Studer
body: I don't think that is what he wants. I sounds like he wants placeholder links that when clicked on will ask you what template to use to create the page rather than just create a blank page.


author: Matt Uebel
body: Right, that macro could be useful, but is not exactly what I am talking about.


Tags: link

template
Expose part of confluence
Asked by Jakub Ry?ka:

We have a confluence instance in virtual private network, so it is not accessible from outside without vpn client. We'd like to expose a part of confluence, be it a space or a subtree to our partner company. They don't have the vpn access. What is the preferred way to do it?


Answers:
author: Harry Chan
body: Hi, it's probably best to export the PDF or have another instance. You can't allow a part of Confluence outside the VPN and another part not without major hassles. It'd be a pain to maintain. It means the server / Confluence IP will be public regardless[.](https://www.cloudshards.com/confluencehosting.php)


author: Davin Studer
body: That would probably something you would control at your firewall via a URL pattern.


Tags: confluence-administration
Automatically display an "Internal Only" warning based on page permissions
Asked by Pierre Hilson:

I'm building a knowledge base which will contain 'internal only' articles that should not be readable/searchable by anonymous users.

To achieve this, 'internal only' documents will be restricted in view for anyone but internal people.

Is there any way (user macro) to display a panel depending on the page restrictions ?

Thank you.

Pierre


Answers:
author: Matthew J. Horn
body: You can get a list of a page's permissions by doing this:

#set($permsList = $content.permissions)

This sets permsList to an ArrayList of com.atlassian.confluence.security.ContentPermission objects (with type, userName, groupName properties). You can then iterate over it and draw your panel based on a particular value as you would any ArrayList.

hth,

matt

comments: author: Pierre Hilson
body: Thank you very much. This is what I was looking for (although I'm not used with the macro creation, I'll give it a try)


author: Matthew J. Horn
body: No problem. Feel free to ask more macro-related questions.


author: Septa Cahyadiputra
body: Hi Pierre,

Judging from your query you would want to hide some section of a page from anonymous users, if that is the case, you might want to use [ServiceRocket Visibility Plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility). The plugin will allow you to hide a section of a page which could be a warning.

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Pierre Hilson
body: Your suggestion would make a section appear based on the viewer permissions.

I'm looking on a way to make a section appear based on the page permissions.

Thank you anyway for your time.
edit rights on part of a page
Asked by loretta rinaldi:

I must have been dreaming that I saw this answer on here somewhere. Is there any way to design one page that allows edit rights by certain individuals to only parts of the page? Example: Will have one page with 3 "topics" on it. Need individual from 3 different departments to be able to edit their area of the page, but not effect other areas.

Is my only choice to create 3 separate pages?


Answers:
author: Sreenivasaraju P
body: Only way i can think is create 3 different pages with edit permissions for different people.

Add all those pages into a common page using include page macro.


Tags: edit

restriction

security
Increase Session time confluence.
Asked by tousifs:

Hi All,

confluence is not running as expected.

few page's take lot of time to open and while saving are throwing null pointer exceptions.

i am planning to increase session time out.

please let me know what impact when i will increase session.

\<session-config\>

\<session-timeout\>100\</session-timeout\>

\</session-config\>

regard's

Tousif shaikh  


Answers:
author: Nic Brough -Adaptavist-
body: Long page loads and null pointers on saving are symptoms of something being wrong with the system, and you need to investigate that.

Increasing the session timeout will not solve the problem - they could make it worse as more sessions will hang around waiting for data. It might help end users a bit, but you really need to look at load, performance, networking and so-on - find the root cause of the slowness and fix that.
Can I see the history for a page comment?
Asked by sjolar:

Let's say that I add a comment on a page, and then edit the comment: is it possible to see the version history on the comment?

Thanks!

/Lars


Answers:
author: Septa Cahyadiputra
body: Hi Lars,

Actually Confluence will indeed create a version of a comment which means the history is keep. However it is not possible to review the history on the UI as it only stored on Confluence database.

In order to review the version you could use the following steps:

1. Navigate to the comment and "Right Click" and choose "Copy Link" of the comment operation link. For example, "reply", "edit" or "like"
2. Those links will give you the comment ID

Use those comment ID using the following SQL query

```
SELECT b.BODY, c.LASTMODIFIER, c.LASTMODDATE FROM bodycontent b JOIN content c on b.contentid = c.contentid WHERE c.prevver = &lt;commentid&gt;;
```

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: sjolar
body: Excellent, works like a charm! Thanks!

/Lars


author: Septa Cahyadiputra
body: My pleasure


author: Sreenivasaraju P
body: Whenever we add/edit comment, system doesn't create a version. so we can't see this.
Configure Atlassian JIRA Server failed
Asked by Dennis Alberti:

I tried to connect the Jira-User management to conlfuence as described here: <https://confluence.atlassian.com/display/DOC/Connecting+to+Crowd+or+JIRA+for+User+Management> (Connecting Confluence to JIRA for User Management).

When I test the settings following error message appears:

"Connection test failed. Response from the server:

java.net.ConnectException: Connection refused"  
What does this mean? Where could the problem be?


Answers:
author: Sreenivasaraju P
body: You can check whether connectivity \& permission is available between those two server . can refer troubleshooting details@

<https://confluence.atlassian.com/display/DOC/Connecting+to+Crowd+or+JIRA+for+User+Management#ConnectingtoCrowdorJIRAforUserManagement-Troubleshooting>


Tags: confluence-administration
Collapsing headings in sidebar
Asked by Cheryl Schmelzer:

How can I configure the sidebar (Confluence 5.x On-Demand and using the Documentation theme) to display by default with collapsed headings? The content in the sidebar always appears expanded. Thank you.


Answers:
author: Cheryl Schmelzer
body: After more research, I found the answer. I just had to decrease the startDepth.

{pagetree:sort=position\|searchBox=true\|startDepth=1}


Tags: confluence-administration
Associate JIRA Project with Confluence space
Asked by Fabian Toth:

Hi,

i have installed Jira and Confluence both on the same system and it runs perfectly. I can synchronize the Jira users and can access on JIRA Issues from Confluence. How can i associate a Confluence space with a Jira Project?

I have tried the following but in my JIRA project setting i can't find the required point (There is only csv modules):

<https://confluence.atlassian.com/display/AOD/Associating+a+JIRA+project+with+a+Confluence+space>

Can somebody help me with this?

Thanks a lot!


Answers:
author: CharlesH
body: Hi,

This can be done from the Confluence side of things pretty easily, assuming you've established an application link between Confluence \& Jira already:

* Go to Space Admin
* Click on the option "Application Links"
* Click on the option "Add link" - you should see your Jira instance listed.
* Click on the option for the Jira instance.
* You'll now be prompted to provide the Jira project key for the project you want to associate with the current wiki space.

Hope that helps,

Charles

comments: author: Fabian Toth
body: Thank you! =)


author: Derek Broughton
body: I'm afraind that's not helping me. I don't see any "Space Admin" anywhere


author: StephanieC
body: Hi. I am able to do this, but I do not understand the advantage of linking? What benefits does linking offer?


author: Radek Janata
body: See related thread...  
<https://community.atlassian.com/t5/Confluence-questions/Benefit-of-linking-a-JIRA-project-to-a-confluence-space/qaq-p/245974>


author: Mike Suchowski
body: Integrations are found under Space Settings/Integrations


author: Vikas Bhatia
body: Hi - on the cloud version in the confluence space go to:

* Space tools \> Integrations \> application links

comments: author: Craig
body: Has Space Tools moved since this discussion? I'm the administrator of my account but I've searched everywhere and there is no Space Tools option.


author: oliviercosta
body: In the cloud version: If you are the Space administrator :

in the side bar (at the bottom) you find "Space Tools"  
click on the "down arrow" to show options  
select "Integrations"  
select tab "Application links"

If you are not the space administrator, you may be able to find him/her via the same "space tools" under "overview". But I don't know if you can see this if you're not admin yourself...

comments: author: Anh Nguyen
body: Thanks, directly to the point. I am using Data Centre Confluence v6.15.2.


author: Carl-Marcus Scheffler
body: Is it possible to link a certain project from JIRA to one Confluence and to link another JIRA project to another Confluence (e.g. on another server)?

comments: author: David Israel
body: yes


Tags: confluence-administration

jira
On Demand Confuence - PDF Export - Tables have equal size columns, need text-sized
Asked by Ira Chandler:

Apparently, PDF export takes any table and forces the columns to be all the same width. Three columns are forced to 33% each regardless of the text. I would like them to NOT specify the width, and let the columns achieve their natural width based on the content. Cannot find how to do this. Certainly there is a CSS override (already using one to increase the font size) but I am not savvy enough to find it.

Thanks in advance.


Answers:
author: Steffen Heller
body: This behaviour is defined by the CSS property "table-layout". It can be "auto" or "fixed". Try "auto" to have the table automatically adjust to the content inside the table cell.


author: Ira Chandler
body: I added the code

```
table {    border-collapse: collapse;    table-layout:auto;}
```

And it works like a CHARM!

**Thank you Steffan!!**

comments: author: Jorge Onrubia
body: You added that code on the PDF Stylesheet on the Look\&Feel section??


author: Steffen Heller
body: @Jorge:

Yes, that is right. You must enter the CSS code at  
Browse \> Space Admin \> Look and Feel \> PDF Stylesheet \> PDF Export Stylesheet


author: Ira Chandler
body: Thanks, Steffan. Will try it shortly!


Tags: cloud

export

pdf

table
How to use template variables as metadata values
Asked by Megan Torkildson:

I am creating a template where I would like the variable values to also be metadata values, however I have not been successful. The values appear for the variables okay, but the metadata values remain blank. Is there a solution or work around for this?

Thanks!

Screenshot: <http://flic.kr/p/fJnYUJ>

![](http://flic.kr/p/fJnYUJ)


Answers:
author: Joana Sancho
body: Im in the same situation, too.


author: Bjoern Seebeck
body: Me too... is there any way to do this?


author: Rafa? Surowiecki
body: I'm looking for the same solution


Tags: confluence-administration
Accountability for Moving Pages in Confluence?
Asked by Matt Uebel:

Is there any way to tell who moved a page whenever a page is moved?


Answers:
author: Matthew J. Horn
body: Not that I know of. The page history certainly doesn't show it.

You could try and look at the database and see if the page's previous *parent* page is stored somewhere, but I don't think it is.


Tags: confluence-administration
What's the difference between creating a "Confluence theme" and a "Stylesheet" theme?
Asked by Felise Uy:

These two documents describe different methods for creating a theme... How do the end result of each differ?

<https://developer.atlassian.com/display/CONFDEV/Writing+a+Confluence+Theme#WritingaConfluenceTheme-Step3.Build,install,andrunyourplugin>

<https://developer.atlassian.com/display/CONFDEV/Creating+a+Stylesheet+Theme>


Answers:
author: EddieW
body: I belive the 2nd link (stylesheet) was the older approach, and limited you to a css file that altered the layout.

The first link should be used, and allows for richer integration and customization. Also the first method results in a full-blown plugin so you can add any configuration or extras (macros, etc).

comments: author: Felise Uy
body: Ahh, okay. Thanks so much, Eddie!


author: Felise Uy
body: Ah okay. Thanks so much, Eddie!


Tags: stylesheet

theme
JIRA integration with confluence
Asked by Santosh Divvela:

Can action items from meeting notes in confluence be tracked in JIRA ? If yes how can we achieve that


Answers:
author: EddieW
body: Not dynamically or magically. You would need to create sub-tasks for each action item in JIRA.

comments: author: Santosh Divvela
body: So you are saying it cannot be achieved ? I meant can't action items in meeting notes automatically get created in jira as action item issue type ?


author: EddieW
body: Correct, it can not be achieved.

But action items show up in the Confluence tasks for assigned users - <https://blogs.atlassian.com/2012/09/confluence-101-keep-your-team-on-track-with-tasks/>

Likewise you could create tasks in JIRA and show the list in the Wiki page.

<https://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro>


Tags: jira
Active Object custom table not created with postgresssql and confluence.
Asked by tousifs:

Hi All,

i have configure postgresssql Server to my machine with confluence 4.3.6.

whenever i am adding plugin which contain's active object module which should create table.

when i am uploading plugin from UPM i am not able to see custom AO table.

so few page's throwing error which says AO_table not found.

for hsql it's working fine.

please suggest how can i sort issue for postgressql database.

regard's

tousif shaikh


Answers:
author: Daniel Wester
body: Are there any errors from ActiveObjects when the plugin is installed? Usually that type of behavior means that the host app doesn't have rights to create new tables OR your table names are too long... Both of those you'd see as errors when the plugin is enabling...

comments: author: tousifs
body: no there no errors from ActiveObjects plugin getting installed smoothly without any issues.

i have created database in postgressql with admin right's and associated same user name while configuring to confluence.

regard's

tousif shaikh
Can I search for old files by it's type?
Asked by Lau Llobet payas:

Can I search in all files by their type : bills, contracts, invoice,reports ...

Can I search files by typing the words within them ?


Answers:
author: Davin Studer
body: Confluence indexes the contents of certain types of attachments (PDF,DOC,XLS, and PPT). As far as searching for types are you referring to serching based on labels that have been applied to a document? If so then you can do a search like below.

labelText:bills

labelText:contracts

labelText:invoices

labelText:reports.


author: Lau Llobet payas
body: Thanks for your answer Davin !

comments: author: Davin Studer
body: If it answered your question feel free to mark the answer as the accepted answer. Thanks. :)
Does the Run Plugin allow XLS exports of a wiki table generated by the SQL plugin?
Asked by Eddie Connatser:

I can remember a time when the Run plugin allowed Excel exports, but now the excel files generated from the exports are not readible because they are always in HTML format. Is there a way to get a successful Excel export?

Thanks,  
Eddie


Answers:
author: Bob Swift (personal)
body: Not sure what you are thinking about, but the [Run Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/RUN) has never supported export to excel, only HTML subsets. User who want SQL data in Excel usually use Excel to extract the data via ODBC.


author: Eddie Connatser
body: Hmmmm ok my mistake then. I thought for sure this used to work. Thanks for your time!


author: Eddie Connatser
body: Hmmmm ok my mistake then. I thought for sure this used to work. Thanks for your time!


Tags: run
How to prevent users from browsing user profiles
Asked by Ville Talus:

Our company is using Atlassian OnDemand and we are now having a bit of a problem. The problem is that we are using Jira and Confluence with multiple customers. Today one of our customer noticed that he could search for profiles of other users. We and he also think that this is a information security issue.

So what I want is to know how to prevent customer A from seeing customer B's profile and vice versa.


Answers:
author: Septa Cahyadiputra
body: Hi there,

Unfortunately, Confluence does not have the ability to hide its user profiles for now. Please refer to our documentation here to hide people directory link to help hiding the list of users registered in Confluence:

<https://confluence.atlassian.com/display/DOC/Hiding+the+People+Directory>

And please watch and address your concern on our existing new feature request that is relevant with your query here:

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

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Ville Talus
body: Unfortunately that documentation doesn't apply to Confluence OnDemand.


author: Andreas
body: I have a faint hope that Atlassian employees will start reading question tags before answering ...


author: Septa Cahyadiputra
body: Hi Ville,

I apologize, as I forgot to inform you that the above implementation could be requested by creating a support ticket on our [support channel](https://support.atlassian.com/secure/Dashboard.jspa). Our support engineer will hide Confluence's people directory for you.

Again sorry, I should have let you know upfront that you could request this, and the provided link is actually meant for other users who might read this thread but not using OnDemand.

Cheers,  
Septa Cahyadiputra


Tags: cloud

confluence-cloud