youngmon/atlassian-qna huggingface dataset:
Will AD integration require me to purchase more licenses?
Asked by Miguel Pereira:

Hi,

I have a 50 user license and have Confluence integrated with JIRA and JIRA Agile. JIRA is the primary user database and this syncs to Confluence.

I'd like to change my setup to be controlled via Active directory(LDAP) but my AD user base is 300+ users.

I have a few questions:

* How do I go about setting up AD so this will work? Is this fairly simple or quite complex due to the fact I have only 50 users that require JIRA/confluence access from AD?

Currently when I buy a license for JIRA, I also need to buy a license for Confluence, even though the user may not ever use Confluence(I'm guessing this is because of the authentication being shared across both systems)

The reverse is also true. I may not want to give users access to JIRA; only Confluence.

* In moving to AD, can I break the tie between JIRA and Confluence and manage this separately in AD and will I need to keep the number of users in-line with each of the products - or can confluence / JIRA access be controlled separately?

Thanks,

Miguel


Answers:
author: Nic Brough -Adaptavist-
body: Both JIRA and Confluence work out your licencing based on the groups they see users in.

By default, they ship with internal groups called jira-users and confluence-users, and they use these in the "global permissions" to say "anyone in this group can log in". They also have administrator groups who can log in as well

You don't have to use those groups, you can add others to the permission, and remove the default groups if that suits you.

The important thing is that the number of people who can log in is what counts against the licence.

So, with AD enabled you could do something like:

* 300 people in AD
* 10 people in jira-users (internal group)
* 20 people in ad-jira-users (AD group)
* 30 people in confluence-users (internal group)
* 40 people in ad-confluence-users (AD group)

That setup will consume 30 JIRA licences and 70 Confluence licences, even though there are 300 people. Note that the JIRA and confluence groups are completely separate - you can put someone in JIRA or Confluence or both, or neither.


Tags: confluence-administration
Confluence like application
Asked by Hsu Yao Chang:

Dear all,

Would it be possible the page creator can get notification (email or other message) when some people click like option?

like.jpg

Thank you.  
[](https://community.atlassian.com/t5/Confluence-questions/Confluence-like-application/qaq-p/319442?attachment-id=1987){#link_1187efa3ea3f6c}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/53922/1/like.jpg){#display_1187efa3ea3f6c_0}


Answers:
author: Rodrigo Girardi Adami
body: Hi Hsu,

Just complementing Taha's answer, in order to receive an email with the notification, you must set a mail server in confluence administration by [following these steps.](https://confluence.atlassian.com/doc/configuring-a-server-for-outgoing-mail-151078.html)

Cheers,

Rodrigo


author: Taha Khanzada
body: Hi Hsu Yao,

When you like a page, blog post or comment, the author of the content receives a notification.

Refer this for more info - <https://confluence.atlassian.com/doc/likes-and-popular-content-278695530.html>

Taha


Tags: confluence-administration
Like and comment count by people and space
Asked by Hsu Yao Chang:

Dear all,

Would it be possible to count how many likes and comment by people and space ? Our confluence is version 4.2.1 . Thank you.


Answers:
author: Rodrigo Girardi Adami
body: Hi Hsu,

I believe that you can retrieve the number of likes from the users in the table "Likes". This is an example query that will count all likes in the entire confluence for all users:

```
select count(*), l.usernamefrom likes lgroup by l.username;
```

You can modify the query for your needs.

I hope this helps!

Cheers,

Rodrigo


author: Luiz Maia
body: Hi,

Unfortunately there's not a method on Confluence to count this information. However, for comments, you can check through the database, using the below query:

```
SELECT * FROM content WHERE contenttype LIKE 'COMMENT'
```

Regards,  
LM


Tags: confluence-administration
Customize landing page when no anonymous access is allowed
Asked by Scott W:

We use our hosted confluence instance for internal projects, all of which are confidential. When I land on the confluence homepage without being authenticated, I get a stripped back view of the standard landing page with an empty projects list, spaces, and some guff about updates.

I don't want to see that. All I want to see is "You need to Log in. Here's a form to do so." I waste precious milliseconds on this every business day =D; IRA on the other hand does it quite succinctly and I like it.

We're still using confluence 5.5.1, which from memory is quite old. Will and upgrade change this behaviour?


Answers:
author: Scott W
body: Well <https://confluence.atlassian.com/doc/customising-the-login-page-163938553.html> looks like a plan, however....
> * Customisations to the Confluence login page will need to be reapplied when you upgrade Confluence. Consider this before making drastic changes to the layout, and be sure to keep a list of what you have changed for your upgrade process later.

seems like it could be painful.


Tags: anonymous

confluence-administration

home-page
Deleting attachments
Asked by Craig McCloskey:

How do I remove an attachment no longer needed


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: <https://confluence.atlassian.com/conf56/confluence-user-s-guide/organising-content/working-with-attachments/deleting-an-attachment>

You need the 'Delete Attachments' permission. See [Space permissions](https://confluence.atlassian.com/conf56/confluence-user-s-guide/giving-people-access-to-content/space-permissions-overview).

comments: author: Christine Sorenson
body: So, I have permissions. How do I actually delete the attachment?


author: AnnWorley
body: To delete the attachment, go to the three dots at the top right of the page and choose Attachments. That leads to a list of attachments, with a delete link next to each.


Tags: cloud

confluence-cloud
How do I add a dialog to a page?
Asked by Fred Koschara:

The Dialog documentation page shows a bunch of code for creating a dialog, but where do I put it to add a dialog to a wiki page in Confluence? Do I insert markup? use a macro? ... ????


Answers:
author: Alex Medved _ConfiForms_
body: As Milo has mentioned custom HTML is not an option on cloud instances

Unless you make your own "cloud" plugin using Atlassian Connect, <https://developer.atlassian.com/static/connect/docs/latest/index.html>

comments: author: Robert Massaioli _Atlassian_
body: I would highly recommend Atlassian Connect as the way to do this in Cloud.


author: Alex Medved _ConfiForms_
body: It does require a bit of investment into the infrastructure on your side, but once it is done you can extend on-cloud instances quite a lot to serve your needs


author: Fred Koschara
body: So, the quick answer is "no" with the configuration and setup I have to work with. (I had been hoping to have an easy way to display additional information within a wiki page as a pop-up, rather than statically having it take up space on the page.)At some point when I'm not developing application code, I'll have to look into Atlassian Connect. I suspect it's going to be one of those things that ends up on the list for "some day, when I have nothing to do and a staff to do it with" ...


author: Milo Test
body: I can't imagine it's possible in cloud, but should be possible with JavaScript in the HTML macro in a server instance.


Tags: aui

cloud

confluence-cloud

dialogue
Page Properties Report use multiple labels and boolean functions
Asked by Gary Thompson:

I've been using the Metadata Report macro, which functions like the Page Properties Report. It allows boolean operations on multiple labels, thus providing an amazing amount of flexibility and power on generated reports from pages.

I exprimented with different boolean syntaxes to see if I can get the same functionality from the Page Properties Report, but without success. Does anoyone know if it is possible to use multiple labels?


Answers:
author: Michael
body: [Confluence Query Language](https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html) can handle that if you are on the latest version.

```
labelText:cake OR labelText:chocolate
```
Page Properties Macro Does not Appear in Macros List
Asked by Stephen Gurnick:

I am running Confluence 5.7.4 and I'm attempting to use the **Page Properties** macro.

Based on [the documentation](https://confluence.atlassian.com/conf57/page-properties-macro-701435043.html), this appears to be a built-in macro available for my version of Confluence. However, I do not see this in our available macro list. Oddly, I do see the **Page Properties Report** macro in the list, which is supposed to work along side of Page Properties.

The documentation mentions the following:
> This macro was previously known as the Metadata Details macro.

When I search our available macros, I see the **Metadata Details** macro. After inserting this onto a page, the behavior is what I expect working in conjunction with the Page Properties Report macro.

I'm curious if this is just a naming convention that never transitioned as I updated to newer versions of Confluence that, in the end, is innocuous or a sign of something else.

Even though everything appears to be working fine as-is now, my concern is when I decide to upgrade to 5.8, will this macro discrepancy cause problems? If users begin inserting the Metadata Details macro into their pages and using it with the Page Properties Report macro, will this break if the macro all of sudden changes?

I realize I could test this by updating my test server to 5.8, but before I attempt that I'm wondering if anyone has thoughts on this.

Thank you for your help.


Answers:
author: Guilherme V.
body: Hey there,

We're still having the same issue on 5.8.X if you have installed the Metadata plugin, as you can check in this bug report <https://jira.atlassian.com/browse/CONF-39565>.

Cheers,

comments: author: Stephen Gurnick
body: Yes - I worked with Atlassian support on this issue and we came to the same conclusion. Thank you for following-up on my questions though.-- Stephen


Tags: confluence-administration

page-property
How to display story points in confluence
Asked by Jamie Cole:

I would like to have a gadget or filter I can display on a confluence page which shows the total outstanding story points and points amazed. Currently the only way we can displays points is in navigation view in JIRA using the script runner aggregate expression function.


Answers:
author: Jamie Cole
body: Thanks Doug we have just updated our dataplane plug-in which now gives us the sum numeric report which is an improvement, however this does have some limitations such as if an issue has more then 1 fix version it will double count the points.


author: Doug Swartz
body: You can do this with a "Sum Numeric Field" report in the [Arsenale DataPlane](https://marketplace.atlassian.com/plugins/com.arsenalesystems.dataplane) plugin.

Dataplane is a little expensive for one report, but we've found it to be very useful overall.


Tags: confluence-administration
Confluence usage report check
Asked by Hsu Yao Chang:

Dear all,

Would it be possible to find which space of confluence is the user first use? How long of user use confluence ? (check our user use time)

Thank you.


Answers:
author: Mallmann
body: Hey Hsu Yao,

We have a page here that describe a few plugins you can use to get more data regarding usage from Confluence: <https://confluence.atlassian.com/pages/viewpage.action?pageId=154239308>

Please, take a look at that page and the related topics and let us know if that helps.

Eduardo


author: Guilherme V.
body: Hey there,

You can also use a third-party plugin for it:

* [Google Analytics Plugin for Confluence](https://marketplace.atlassian.com/plugins/com.go2group.plugins.confluence-ga)

Cheers,


Tags: confluence-administration
postgresql data transfer
Asked by Hsu Yao Chang:

Dear all,

If we install a new postgresql server, how can we transfer our original confluence data to the new postgresql server? (We setup application and database server, application is new confluence, database is empty one. We want to try transfer our original postgresql to our new postgresql server)

Thank you.


Answers:
author: Rodrigo Girardi Adami
body: Hi Hsu,

I usually use this command to export the database from a postgres and import into another postgres:

```
pg_dump -h database_host_name -p database_port -U database_user database_schema &gt; c:\file_name.dmp
```

```
psql -h database_host_name -p database_port -U database_user database_schema &lt; c:\file_name.dmp
```

Cheers,

Rodrigo


author: Mallmann
body: Hello Hsu,

If you are already using Postgres on the current Confluence installation, then all you need to do is to export to a .sql file the current database and import this .sql file into the new PostgreSQL server.

Then, once you've done this you can edit the *confluence.cfg.xml* file, located under your Confluence data/home directory, to change the connection details with your database and point it to the new one.

However, in case you are migrating from a database that is not a postgres to a postgres database, please have a look at this guide: <https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html>

I hope it helps, let me know if you have any questions. :smile:

Eduardo

comments: author: Hsu Yao Chang
body: Dear Eduardo, Thank you for your reply.But we must make sure how can we export .sql file ? Is there any information about it ? Thank you.


author: Hsu Yao Chang
body: Dear Rodrigo,

I tried the command as listed as below

psql2.jpg

But there is something wrong about it , how can we solve it ? Thank you.  
[](https://community.atlassian.com/t5/Confluence-questions/postgresql-data-transfer/qaq-p/84714?attachment-id=381){#link_1187f067cc19a7}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/14255/1/psql2.jpg){#display_1187f067cc19a7_0}


Tags: confluence-administration
uploading attachments if not an admin/author
Asked by Jennifer Weber:

Hello - is there a way for a Confluence user who does not have admin/author privileges to upload an attachment to a page? Ideally, this would be part of a form. We are collecting ordering information from several employees, and I know how to make a Confiforms form to get most of the info I need. But they will need to send over some logo files with their form, and I'm not sure of the best way to get them. I'd like to not have to ask them to email it separately, but that might be what I need to do. Any ideas would be greatly appreciated - thanks!!


Answers:
author: Alex Medved _ConfiForms_
body: Jennifer,

If you just add a new field in ConfiForms of type File to accept uploads, will this work for you? Or page attachments fail when a user who uploads it via the form has no edit rights on the page? Let's discuss the issue via email, please send one to vertuna(at)vertuna.com


author: Milo Test
body: You could give write access to a File List page that is linked from and feeds to a page with just read access.


Tags: upload
Can I search for something and have that section of the page it is on displayed?
Asked by Casey Elmore:

I have a long list of products on one page, it is huge. I want to know if it is possible to search for one of the products, and then be brought to that section of the page? Or maybe have it highlighted?

Whenever doing a search now, the product displays on that search results, but when clicked it only brings you to that page. I want it to bring you to the product when searched for.

Is this possible?


Answers:
author: Milo Test
body: Your best bet might be to put each product on it's own page and add labels to the pages (e.g. Nikon, bag, orange, etc.)

You can then use the Pagetree macro to create the page you have now listing all the items, and a label search will create a page listing all (and just) the items with that label(s).


author: Luiz Maia
body: Hi Casey,

If I understood correctly what you're trying to achieve, in my opinion you should use Anchors on that page.

The anchors will create a unique URL for specific sections of that page. Please refer to this documentation for instructions on how to configure anchors on Confluence: <https://confluence.atlassian.com/doc/anchors-139442.html>

Regards,  
LM

comments: author: Casey Elmore
body: No, I have some anchors on the page, but I have over 500 things on the page. I want the user to be able to search for a specific brand of the camera and it bring you to that section of the page. If I type orange at the top, I want it to be able to bring you to, or highlight everywhere that orange is on the page. Can we make a search function like command +f / control +f?


Tags: cloud

confluence-cloud
sql-query Marco in confluence
Asked by Nishu Singla:

Hi-

My organization is new to confluence and JIRA and I just saw this powerful marco named SQL-Query in my confluence macro list. However I'm not sure if it's a paid product or free and how to get started with using it.

Any suggestions would be helpful.

Thanks!


Answers:
author: Guilherme V.
body: Hey there,

I searched in the web and it seems that this **sql-query** macro comes from the following third party plugin:

* [SQL for Confluence](https://marketplace.atlassian.com/plugins/org.swift.confluence.sql)

So yes, it's a paid plugin. You can gather more information about it in the [developer wiki page](https://bobswift.atlassian.net/wiki/display/SQL/SQL-query+Macro).

Peace,


author: Nic Brough -Adaptavist-
body: There's actually several add-ons that provide some SQL functions. Go to <https://marketplace.atlassian.com> search for SQL and take a look - you'll find pricing details for all of them there.


author: Luiz Maia
body: Hi there,

Actually I don't see any bundled add-on from Confluence and JIRA for SQL queries. This add-on you mentioned should be a third party one, which just like Nic mentioned, can be found at <https://marketplace.atlassian.com/>.

Regards,  
LM


Tags: confluence-administration
Change the State of Comala workflow
Asked by Ruwan Mettananda:

In the newer versions of Comala workflow, we can do following state transition.

Published --\> Draft

How can we restrict this state transition only to page Author?


Answers:
author: Elle
body: Hi Ruwan,

Sorry for the delay in responding to this request.

Just to clarify, are you asking how can you restrict the edit of a page to only the page author or are you asking who can view the Draft view?

Thanks for your clarification.

Daryl Karan


Tags: adhoc-workflows

comala
Confluence Dashboard blank in confluence 5.8.5
Asked by Tousif Shaikh:

hello Team,

we are facing technical issues. whenever user login to our confuence instance user are seeing only blank dashboard page in mozila and chrome browser.

This is impacted to our production instance so please provide help.

Recently we have upgraded confluence from 5.2 to 5.8  
Java version 8.  
tomcat Version 8.

earlier with 5.2 it was working good but seems this is blocker issue for our production instance.

Thank you,

Tousif shaikh.


Answers:
author: Rodrigo Girardi Adami
body: Hi Tousif,

Is this happening to IE as well? If all browsers are showing a blank page, I do believe the upgrade is incomplete and probably the instance is now corrupted. We need to restore the older backup and retry the upgrade.

I do suggest to review the latest messages in the Atlassian-confluence.log files in the application_data/logs and check the first error message after the upgrade started.

If you find the error, please let us know so we can help you.

Cheers,

Rodrigo
Confluence Hide Macro
Asked by AKASH BHARDWAJ:

Hi All,

I have seen the macro's self-referenced documentation: <https://bobswift.atlassian.net/wiki/display/RUN/Hide+Macro>

I want to use the macro to hide content from all but a few individuals. I tried using

literal = false  
showif = myname:$user

but the content stays hidden.

Please provide a reference to examples hiding or showing content based on user identity.

Many Thanks!

Akash


Answers:
author: Bob Swift (personal)
body: The [Hide macro](https://bobswift.atlassian.net/wiki/display/RUN/Hide+macro) works with regex matching and you are not going to get a match of myname with $user as both are text values unless you have this included in a run macro where **user** is one of your user defined variables.

Milo's answer is appropriate if you are just changing view of content based on users and groups.

comments: author: Sandra Rinehart
body: Bob Swift, i would like to ask if some Regex examples of what to put directly into the Hide Macro. I am using very very basic regex and it is not working

I want to hide unless the current user id on the form is one of several

showif = $current_user_id:csweet\|srinehart\|wknapp

I have also tried

showif = $current_user_id:(csweet\|srinehart\|wknapp)

neither have worked

only csweet is shown the panel if i have it as

showif = $current_user_id:csweet

or

showif = $current_user_id:cweet:srinehart:wknapp


author: Milo Test
body: You could try the [Visibility](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility) macro from ServiceRocket. It works for me.


Tags: confluence-administration
How to create pages at the same time of the space creation ?
Asked by Aur?lie Narozniak:

Hello,

When we create a space, we wants to have the same tree for all spaces for JIRA Cloud.

2 options :

* Create a space and create all pages from a template
* Copy a "Example space" to the new space with all contents

For instance, to make that, i have found 2 solutions :

* Copy tree but we have the problem with this add-on because there is an error message when we install it
* Copy Page by page from one space to another

Is there not another way for that ?

Thansk for your response


Answers:
author: BenoitP
body: The missing template feature...  
I use the [Confluence Command Line Interface (CLI)](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli) to run a script that copies a space (considered as the template) to another one. You still have to run it manually after space creation but it works.


author: Milo Test
body: You could try the [Copy Space](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace) macro.


Tags: cloud

confluence-cloud