youngmon/atlassian-qna huggingface dataset:
confluence log in counts
Asked by Mari Car:

Hi together,

is there a way to count the log in of an user in Confluence? In Jira you find it in the User Details. We have the version 5.10.7

Thank you very much in advance and best regards

Maria


Answers:
author: Yogesh Mude
body: HI [@Mari Car](/t5/user/viewprofilepage/user-id/288276)

As per this [discussion](https://community.atlassian.com/t5/Confluence-questions/User-login-information/qaq-p/419474) the confluence does not store the user login count but you can get a failed login count.
How does confluence add buttons to specific pages?
Asked by zhaoyawei:

How does confluence add buttons to specific pages?


Answers:
author: Ollie Guan
body: Hi [@zhaoyawei](/t5/user/viewprofilepage/user-id/1270990),

Here are some answers to the same questions about custom buttons:

<https://community.atlassian.com/t5/Questions/How-can-I-create-a-blog-button/qaq-p/586394>

<https://docs.atlassian.com/aui/7.9.2/docs/buttons.html?_ga=2.21746995.943754693.1530500509-955358803.1530500509>
How does confluence add buttons to specific pages?
Asked by zhaoyawei:

How does confluence add buttons to specific pages?


Answers:
author: carolyn french
body: Hello!

What button are you referring to?

Are you familiar with macros in Confluence pages?

To add a "Create from Template" button macro, for example, you go into editing a Confluence page. Then you select Macro browser.

![2018-07-17_macros.png](https://community.atlassian.com/t5/image/serverpage/image-id/27077iCE57A85A9A335F9C/image-dimensions/151x239?v=v2 "2018-07-17_macros.png")

Then you can search to find the "Create from Template" macro, and add it to your page.

![2018-07-17_1350.png](https://community.atlassian.com/t5/image/serverpage/image-id/27078i4404FBAE052607F3/image-dimensions/466x284?v=v2 "2018-07-17_1350.png")

When you save your page, you will see a button.

Hope this helps!

Carolyn
Simple macro to insert image from remote server
Asked by ?????? ???????:

Hello, I want to create a macro to list and insert selected image from my server into confluence page. I can do some Java coding, especially with examples provided, but currently I stuck looking for right examples.

My questions are:

- How do I remove left panel in macro dialog?

- Can I make dialog content an iframe?

- How do I insert selected image (considering image and "Insert" button are just HTML inside dialog)?

Thanks for help in advance.


Answers:
author: ?????? ???????
body: Hi Zak,

thanks for your reply, I'll check this.


author: Zak Laughton
body: Hi ??????!

I understand you'd like to create a user macro that lets users select from a group of images and insert it onto a Confluence page.

To answer your specific questions:

* **How do I remove left panel in macro dialog?**I don't believe this is possible. The left panel in the dialog for the macro will always be present, even with no parameters specified.
* **Can I make dialog content an iframe** **?**There's not a way I'm aware of to use an iframe in the macro dialogue.
* **How do I insert selected image (considering image and "Insert" button are just HTML inside dialog)?**I'm not quite sure what you're referring to here with the image and insert button. Hopefully though, the example below might clear some things up.

I created this quick user macro that lets a user choose from a list of image files and show the image on the page. You can replace the imgur address with a path to your server, and the file names with actual files, and you will have a list of files to insert in a macro in Confluence:

```
## Macro title: Remote image list
## Macro has a body: N
## Body processing: No macro body
## @param filename:title=Image|type=enum|enumValues=LRoLTlK.jpg,4AiXzf8.jpg,Xc1QTk8.jpg

<img src="https://i.imgur.com/$paramfilename">
```

More helpful examples can be seen at the bottom of [Writing User Macros](https://confluence.atlassian.com/doc/writing-user-macros-4485.html) and [User Macro Template Syntax](https://confluence.atlassian.com/doc/user-macro-template-syntax-223906130.html).


Tags: atl-adm

developer
How to use Confluence Table filter for this specific example?
Asked by Dean Stephenson:

I would like to use Confluence Table Filter macro, specifically the free text field to filter for the following values only.

- Contact \[Member\]

- Address \[Personal\]

-Email \[Business\]

Can somebody please help with the syntax for this?


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Dean,

Please, add an example of the table to understand what rows should be filtered out.


Tags: confluence-server

server
postgresql setup connection error
Asked by Mike Gehl:

**Getting error on setup:**

**db url: jdbc:postgresql://localhost:5432/confluence**

**Can't reach database server or port**

SQLState - 08001  
org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

I'm able to connect to db from linux command line.

$psql -U confluenceuser -p 5432 confluence

**pg_hba.conf**

#local all postgres peer  
local all all md5

# TYPE DATABASE USER ADDRESS METHOD

# "local" is for Unix domain socket connections only  
local all all peer  
# IPv4 local connections:  
host all all 127.0.0.1/32 md5  
host all all 192.168.0.25/24 md5  
# IPv6 local connections:  
host all all ::1/128 md5  
# Allow replication connections from localhost, by a user with the  
# replication privilege.  
local replication all peer  
host replication all 127.0.0.1/32 md5  
host replication all ::1/128 md5


Answers:
author: Mike Gehl
body: problem was in postgresql.conf. "md5" was OK. Did not need "trust" in pg_hba.conf.

I had...

listen_addresses = '::'

Now have...

listen_addresses = 'localhost'

All ok now. Thanks.

comments: author: AnnWorley
body: Thank you for following up to let the Community know the resolution.


author: adam_zhou@vanguard.com.cn
body: we use Azure postgres paas service , it seemed they can't change the settings for us. we don't want to change the database, any other workaround ?


author: AnnWorley
body: Hi Mike,

My theory is the authentication method has to be trust instead of md5. There are sample pg_hba.conf file entries in this article: [Confluence PostgreSQL JDBC direct connection refused](https://confluence.atlassian.com/confkb/confluence-postgresql-jdbc-direct-connection-refused-683543784.html)  

I look forward to hearing whether the setup wizard can be completed with the PostgreSQL configuration recommended in the article.

Thanks,

Ann


Tags: confluence-server

server
How to organize board meetings on Confluence
Asked by Joseph Galli:

Hello everyone,

I'm wondering if there's any way to conduct a page for board meetings, that include a meeting notes, todo list/check list, without having to create a whole separate page for each of these functions.

Additionally, are there any best practices to manage something like a board meeting on confluence? Let me know !


Answers:
author: Megan Makowiecka
body: You could use the Meeting Notes template to create a page. It comes with basic information; Attendees, Goals, Discussion Items and Action Items. This is a standard template/blueprint that Confluence will give you.

In turn, you can take this template and customize it to meet your needs.

comments: author: Joseph Galli
body: Thanks Megan, is there any way to combine meeting notes pages with a checklists page for example?


author: CraigFoster
body: Hi Joseph, did you end up using Confluence to manage your board meetings? I'm interested to see if you have created your own best practices 3 years on? Thank you
Archiving content in Confluence Cloud
Asked by Allyson Kirkland:

I am looking at the Cloud version of Confluence and I don't see anything about Archiving content. With the space limitations (<https://confluence.atlassian.com/cloud/atlassian-cloud-storage-policy-873871366.html>) how do you handle archiving content?


Answers:
author: AnnWorley
body: Hi Allyson,

The Atlassian Cloud offering doesn't include archiving data. If you are concerned about hitting the storage limit, you could [Export Content to Word, PDF, HTML and XML](https://confluence.atlassian.com/confcloud/export-content-to-word-pdf-html-and-xml-724764824.html), and archive it on your company's locally hosted storage or on an online file storage service. Once you archive it, you could delete it from Confluence.

There is more information on [Data storage FAQ](https://confluence.atlassian.com/cloud/data-storage-faq-873871367.html).

Thanks,

Ann


Tags: archive

cloud

confluence-cloud
How can a user without an account subscribe to a public page so they get notifications?
Asked by Cali Lang:

Our help files are available to anyone who needs help with our software (well, anyone with the URL!), but some of those folks will find it helpful to get notified when there are updates to favorite pages, or even favorite spaces. Can these public users subscribe to pages/spaces? If not, what needs to happen in order for them to be able to subscribe?

Thanks.

Cali


Answers:
author: Thomas Schlegel
body: Hi [@Cali Lang](/t5/user/viewprofilepage/user-id/1648789),

these users must be able to login to Confluence, they have to be a registered user with a license.


Tags: cloud

confluence-cloud

notification

subscription
Any idea on how can I automatically download data from JIRA Tollgate using macro?
Asked by Chut:

I need to create a macro that automatically download data from JIRA Tollgate.


Answers:
author: Jack Brickey
body: Hi [@Chut](/t5/user/viewprofilepage/user-id/1648575) , what is "tollgate". I am unfamiliar with this term.mi am working to clean up old posts in the Community when I came across your post.
Confluence Macro - call to external API
Asked by Julien Brachet:

Hi,

I am having a look at the confluence macro as I'd like to call response from external API and the json result to be displayed within my custom macro.

At the moment the existing API could be requested through ajax call, or jQuery call in some of our web pages. The goal is to do the same within a confluence page.

What could be the best way to do it? Can any one give me some guidance?

1. Pull the results via a call directly a confluence macro with jQuery code? Is that possible?

2. Or request through the Java class implementing the Macro interface directly the API and then format the result to be displayed?

3. Write a Java class implementing Macro interface that generates js/jQuery code which calls the API?

I'm a bit lost on how to do it the right way.


Answers:
author: iamgoingtosneeze
body: Did you ever get this working? I need to do the same thing....


author: Julien Brachet
body: Hi,

Could any one help with some sample code on how to trigger javascript / jQuery for pulling data within a custom Macro, please?


Tags: api

macro

rest
Assign User Permissions via Tags
Asked by Keith Shire:

Is it possible to assign security permissions via tags? So for example we have a KB space and we want user X to be able to view and comment on pages that are tagged with "Tag1". All other pages remain hidden. This would save on having multiple spaces or managing page permissions individually.


Answers:
author: Daniel Langley
body: This can be addressed by user groups.  

Instead of tagging the page set the viewing permissions to specific user groups with one of those groups being the tag of interest. When a new team member needs access to a specific set of pages you can add them to the user group and that gives them access to all pages that group can see.


author: Igor M.
body: Unfortunately,

This is not natively possible, each page has to have its permissions assigned individually via permissions option.

Regards,

Igor

comments: author: Keith Shire
body: [@Igor M_](/t5/user/viewprofilepage/user-id/1169056),

Thanks for confirming, do you know if it's on the roadmap or a good plug-in that will achieve this?

Best,

Keith


author: Igor M.
body: Hey [@Keith Shire](/t5/user/viewprofilepage/user-id/1175248)

Unfortunately, I don't think it's on a roadmap as it would require major product redesign, including additional layers in regards to who is allowed to tag pages, which would move away from simple 3 layer permissions setup (Global, Space, Page) making permissions more complicated and opening the potential for security holes.

Current model allows you to simply add the user to page permissions of the pages he can access, it might require some admin overhead, but it can be simplified by knowing what permission current page has, you can actually create a custom macro to print that, see <https://community.atlassian.com/t5/Confluence-questions/How-can-I-show-the-Page-Permissions-in-the-page-itself/qaq-p/19150> this discussion for that.

In addition, if you wish for the user to know which pages he should be looking at, you can just @mention user on a page or in comments so they get notified

There are few third-party plug-ins [https://marketplace.atlassian.com/search?marketingLabel=\&query=permissions\&cost=\&category=\&hosting=\&product=confluence\&_ga=2.113254337.715450882.1531601192-1896357939.1530550780](https://marketplace.atlassian.com/search?marketingLabel=&query=permissions&cost=&category=&hosting=&product=confluence&_ga=2.113254337.715450882.1531601192-1896357939.1530550780) that deal with permissions, but I don't know any of them will offer the functionality you are looking for.

A similar question was also discussed in this thread <https://community.atlassian.com/t5/Confluence-questions/Can-I-limit-permission-based-on-labels-in-confluence/qaq-p/423106>.
Include Specific Content from other Pages
Asked by MikeS:

I'm using the status macro on a series of pages. I would like to include that value only in the parent page, basically creating a dashboard to show the status of all the children pages. The include macro only pulls in all the content where I just need one specific value. Any thoughts?

Thanks,


Answers:
author: Andrea Mendez
body: Hi Mike, you could try adding the status of your pages in a page properties macro, and then call them with the page properties report macro, so it brings the information from the pages you need, hope this helps :)


Tags: confluence-server

server
What is the Advanced-Search Macro?
Asked by Tracy Creer:

Is there a replacement macro for advanced-search macro?


Answers:
author: Tarun Sapra
body: The addon has been archived by the plugin vendor

<https://www.adaptavist.com/doco/display/ASP/Advanced+Search+Plugin>

Possible Duplicate question -

<https://community.atlassian.com/t5/Confluence-questions/What-is-the-Advanced-Search-Macro/qaq-p/176783>

comments: author: Tracy Creer
body: Thank you, Tarun. The second link in your reply does not work.


author: Tarun Sapra
body: Now the 2nd link should work


author: Mirek
body: Plugin was developed by Adaptavist, is no longer supported and I guess nobody have tried exactly define the same feature. There are couple plugins that extend search functionality, but it actually depends what feature you need from old plugin.

comments: author: Tracy Creer
body: Thank you Mirek. Our community liked the search results feature because the results showed in the page.
Livesearch macro
Asked by Tracy Creer:

I want to increase the maxresults from 5 to 15. Is this possible?


Answers:
author: Tarun Sapra
body: Hello [@Tracy Creer](/t5/user/viewprofilepage/user-id/332012)

It currently doesn't seems possible to increase the result count from 5 to 15 without actually writing your own user macro or extending the existing macro by writing code.

comments: author: Tracy Creer
body: Hi Tarun and thank you for your reply. Do you know if the the existing macro code is easily available?


author: Tarun Sapra
body: Hello [@Tracy Creer](/t5/user/viewprofilepage/user-id/332012)

Currently, I do not know of any existing macro code which can solve your requirements.


author: Grigory Salnikov
body: Hi!

Seems that there is no such functionality out-of-the-box.

Maybe it's possible to tweak the add-ons behavior, I'm not sure.

comments: author: Tracy Creer
body: Thanks, Greg.


Tags: confluence-server

search

server
Why field "Jira Project" does not show the name of the project
Asked by Olivier Studer:

Hi,

In confluence, I want to display in a table the name of the project (field Jira project) associated with a JIRA Issue / filter request. But the Jira project field does not display the project name but its number. Why ?

It is strange !

Because if I use JIRA Chart/Two Dimentional Filters, the field/columns "Jira project" diplay the name.

But with "Insert Jira Issue/Fitlter" the value of the field is not the text.

Regards

/Olivier


Answers:
author: Jack Brickey
body: If you insert an issue in table format you are given the option to configure the display columns.if you use "single issue" view then the display options are fixed.


Tags: confluence-server

server
Cannot download all attachments on page
Asked by Ella Sparks:

Hi,

I tried to download the attachments from a page in my space via the Download All button on the Attachments page. When clicked, an error occurs as shown in the screenshot.

Could you please look into this, thanks.

Ella

![image.png](/t5/image/serverpage/image-id/26989i71F7ECE43A014256/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Jayakumar Narayanamoorthy
body: Try to rename the file "Image2016-11-14 12:29:48.png" in the attachment property and try to download the file.

Refer this <https://jira.atlassian.com/browse/CONFSERVER-26131>


author: Nic Brough -Adaptavist-
body: The error message is telling you that Confluence cannot read the file from the attachments directory.

You will need to look at the server to establish why it can't read it.
atlas-debug unusable slow performance
Asked by Dirk Brutscher:

When developing an addon I currently encounter the problem, that running atlas-debug to start a local Confluence 6.10.0 is unuable slow. Loading a page sometime takes more than 30s. How can I debug this performance problem? And how can I give more memory resources to the atlas-debug instance (I think the 1GB may one of the problems).


Answers:
author: AnnWorley
body: Hi Dirk,

From this article it looks like you can pass the min and max memory parameters to your instance with the --jvmargs flag: [atlas-debug](https://developer.atlassian.com/server/framework/atlassian-sdk/atlas-debug/).

For example, the following would set it to 4GB:

```
-Xms4096m -Xmx4096m
```

Since you are developing an add-on I wanted to share this link, too: [Helpful resources for developers building Atlassian apps](https://community.developer.atlassian.com/t/helpful-resources-for-developers-building-atlassian-apps/20134)

Thanks,

Ann  

comments: author: Dirk Brutscher
body: Ok, thanks, seems to work. No performance beast but must better than before :-)


author: Ture Hoefner
body: The syntax for the command with flags was painful enough for me to figure out that I thought I'd post it here so folks can copy/paste:

atlas-debug --maven-plugin-version 8.2.0 --jvmargs "-Xms4096m -Xmx4096m"


author: Robert Varga
body: This question was already answered but I want to share what helped in my case. I reduced number of active breakpoints (IntelliJ IDEA) and it made a huge difference.


Tags: atl-dev

confluence-server

development

server
Export to Word: Table headings missing in TOC
Asked by Stefan Kreisberg:

Hi Community,

When exporting a page from confluence to Word, the TOC formats nicely, but headings from within tables are not included in the TOC in word (although, they of course works nice in Confluence).

i.e.

Heading 1

Heading 2

Heading 3

Are all fine, but having a heading 3 inside a table on a confluence page, are not part of the TOC when exported to Word :-(

Any hints on where to search for configuration errors are more than welcome!

:-)


Answers:
author: Stefan Kreisberg
body: Or perhaps someone could guide me in a direction of how to configure exports from confluence in general? (Apart from using word templates)


Tags: confluence-server

export

ms-word

server

table-of-contents
Retrieve un published page
Asked by Karan Agarwal1:

Hi,

Created a new space and wrote a long document as a page. I forgot to publish it and now my machine has crashed. Need a way to retrieve that page.


Answers:
author: Igor M.
body: Hello,

Are you using Server or Cloud platform?

Have you checked recently worked section from your profile? Unpublished drafts should be automatically saved there.

On Server:

![recently worked on server.png](https://community.atlassian.com/t5/image/serverpage/image-id/27034i43302D5315B3E79F/image-size/large?v=v2&px=999 "recently worked on server.png")

On Cloud:

![recently worked on cloud.png](https://community.atlassian.com/t5/image/serverpage/image-id/27035i07693D6B9CE240F8/image-size/large?v=v2&px=999 "recently worked on cloud.png")

Regards,

Igor
How to set up Confluence Data Center on GCP
Asked by Yohaan Sunny:

Hi,

We are upgrading our Confluence to the Confluence Data Center license and was wondering if someone could help us on how to run it on GCP.

I have tried out running Confluence DC on AWS and have it up and running with minimum effort. Amazon and Atlassian have detailed documentation on this and I can see a lot of discussions on this in the community which really helped in troubleshooting some minor issues. This is the documentation I followed [Confluence on AWS](https://aws.amazon.com/quickstart/architecture/confluence-data-center/)

Is there a similar kind of documentation I can follow for setting up Confluence DC on GCP? Or do we just have to manually set all the cluster/ synchrony nodes, database instance, load balancer etc?


Answers:
author: Manoj Kumar
body: Several requirements must be configured before Confluence can be installed on the Google Cloud Platform.

Create an Ubuntu 18 LTS virtual machine with a firewall rule for both Ingres and Egress. Create a service account user and install font requirements to run Confluence as a service. Create a database (PostgreSQL or MySQL) with Google Cloud SQL, install Confluence and activate the licence.  
The instructions for installing Confluence Datacenter on Compute Engine are explained in the following article.

<https://www.incapio.com/post/how-to-install-confluence-on-google-cloud-gcp>

Otherwise, [Cloudron](https://www.incapio.com/post/how-to-install-atlassian-confluence-data-center-on-google-cloud-platform-gcp) may be used to install Confluence Datacenter. Then, Confluence Datacenter is installed by Cloudron in a matter of seconds. For non-techies, this is the most simple solution.


author: Chii
body: Right now, it is manual for GCP.

Also note, for node discovery, you will need to use tcp/ip, rather than multicast (as i don't believe multicast works in GCP). See <https://confluence.atlassian.com/confkb/how-to-configure-a-cluster-without-multicast-traffic-104300764.html> for documentation on how to configure tcp/ip node discovery.


Tags: confluence-server

server
Will Confluence 6.10 work on a Windows 2016 Core Install - with no Windows GUI
Asked by HtorneDK:

We are looking to install **Confluence 6.10**on a Windows 2016 Core installation. Does anyone know if this GUI free version is supported ?


Answers:
author: Igor M.
body: Hello,

I do not see why it wouldn't work, and it would be supported as per [Supported Platforms](https://confluence.atlassian.com/doc/supported-platforms-207488198.html) list, from all Windows OS only Nano is not supported, all others supported by Microsoft are supported by us.

You would most likely need to install using [zip archive](https://confluence.atlassian.com/doc/installing-confluence-on-windows-from-zip-file-144212170.html) rather than using the installer.

Regards,

Igor


Tags: windows