youngmon/atlassian-qna huggingface dataset:
Headings to always stay with paragraphs in PDF export
Asked by Johan Ahlberg:

Hi everyone. I'm working with the some of the documentation in Confluence at my company and I'm having some problems keeping headings and paragraphs together. Quite often I end up with the heading on one page and the paragraph on another. While it works for some documents to use standard page breaks for certain headings, this leads to complete disaster in others.

What I'm looking for is a way to have headings stay with accompanying paragraph and, if possible, accompanying tables and pictures. Does anyone know any tricks or CCS code to do this?

Best regards

Johan Ahlberg


Answers:
author: Nils Bier _K15t_
body: Hi Johan,

for our [Scroll PDF Exporter](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-pdf/server/overview)there's the possibility of working with a user macro here. Please feel free to check out the docs: <https://help.k15t.com/scroll-pdf-exporter/avoiding-page-breaks-in-certain-positions-117905240.html>

This might also work for the default PDF Exporter, so please give it a try (or try out Scroll PDF Exporter with a free 30 day trial license, as it has more advantages besides that, see [5 Reasons to Use the Scroll PDF Exporter](https://www.k15t.com/blog/2013/12/5-reasons-to-use-the-scroll-pdf-exporter)).

Cheers,  
Nils


author: Milo Test
body: Here is a somewhat manual method. Put all the text and elements that must stay together into the body of a Div macro. In the Styles field of the Div macro enter:

```
page-break-inside: avoid
```


Tags: pdf

pdf-export
How can we insert the "info banner" in Confluence site?
Asked by Thu Nguyen:

Is there any way that we can insert the info banner in the Confluence as the current banner in the Altalssian Answers? *Please see the screen shot below.*

image2017-3-22 13:10:13.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-we-insert-the-quot-info-banner-quot-in-Confluence-site/qaq-p/314033?attachment-id=1555){#link_118591ca6d4388}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/243581/1/image2017-3-22%2013%3A9%3A9.png){#display_118591ca6d4388_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-we-insert-the-quot-info-banner-quot-in-Confluence-site/qaq-p/314033?attachment-id=1556){#link_118591ca6d4388_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/243581/2/image2017-3-22%2013%3A10%3A13.png){#display_118591ca6d4388_2}


Answers:
author: Nic Brough -Adaptavist-
body: You should be able to go to admin -\> look and feel -\> custom html, and add a \<div\> to the header.
How to add a list of users to a restrictions?
Asked by Oleg Gryb:

*This question is in reference to Atlassian Documentation: [Page Restrictions](https://confluence.atlassian.com/pages/viewpage.action?pageId=139414)*

I need to add a long list of users to Restrictions. I've tried separating them by comma, semicolon, spaces , and nothing worked. Any solution for this? Adding one by one is very annoying and I don't have a permission to create a group


Answers:
author: Thomas Schlegel
body: Hi Oleg,

no, I think, there is no way. Maybe you can ask your Administrator to create a group for you?


Tags: restriction
unknown macro div
Asked by Chiranjeevi Korrapat:

i have imported confluence space into my new data center confluence. The source file have Giffy diagrams and in target system Draw.Io was deployed. after exporting the space,i am seeing in some pages Unknown Macro style, Unknown Macro div. I could not able to find the resolution. It would be greatly appreciated, if anyone have solution for this. All giffy diagrams successfully converted into draw.io ,but i am seeing Unknown macro errors.


Answers:
author: Thomas Schlegel
body: Hi Chiranjeevi,

Content Formatting Plugin from Adaptavist has a div-macro. Maybe you have installed this plugin on your old system but not on the new one.

There may be other plugins that come with a div-macro. Div is a very common tag in websites.


Tags: confluence-administration
Forms for Confluence - How to calculate the sum of several inputs?
Asked by Nicolas Casel:

After users have selected a unique value in 5 different fields (through 5 drop-down lists) and submitted a form, I would like to calculate the sum of these 5 values. Is it possible via the 'Forms for Confluence' macro?

Here is an example for a submission:

```
Userid - Date - Risk - Access complexity - Confidentiality - Exploit
```

```
--------------------------------------------------------------------
```

```
xxxx - 20/03/2017 - 5 - 3 - 5 - 1
```

In this case, sum should be: **14**


Answers:
author: Rafael Franco
body: Hi Nicolas,

Currently there is no way we can calculate the fields.

The good news is that we're releasing soon a new version of [ScriptRunner for Confluence](https://marketplace.atlassian.com/plugins/com.onresolve.confluence.groovy.groovyrunner/server/overview) that will allow one to create Script Macros that can inject Javascript. This will allow you to calculate the sum of fields on the fly.

I'll let you know when we release this new version.

Regards,

Rafael

comments: author: Shari Kreye
body: Hi Rafael,

Do you have an update on the new Scriptrunner for Confluence version?


author: Rafael Franco
body: Hi Shari,

The latest version of ScriptRunner for Confluence contains the possibility of adding Javascript in a ScriptMacro.

Could you please update and let me know if you're now able to calculate the fields?

Regards,

Rafael


author: Shari Kreye
body: Hi Rafael,

I actually just submitted another question because I don't think the ScriptRunner for Confluence is something that will work for me. My question is at the link below. Perhaps you can help me with that one?

<https://community.atlassian.com/t5/JIRA-questions/Can-I-calculate-the-sum-of-fields-captured-across-multiple-tasks/qaq-p/602300#M199292>

Thanks for your reply,

Shari


Tags: forms

sum
repeatable example for "Confluence" " page properties report macro"
Asked by Zhenjia:

Could someone give me a repeatable example for "page properties report" macro?

How can i make a list with "page properties report" macro, that shows content on the right side of keys 1,2,3,4,5 in "page property" macro from different product requirement in confluence?

Thanks a alot.

I cannot use it after reading the Atlassian Document. For me, it is pratical to give a repeatable example to show a function. It is not helpful, when people just write the meaning. Repeatable methode is much more important.

page_property.pngpage_property_report.png  
[](https://community.atlassian.com/t5/Confluence-questions/repeatable-example-for-quot-Confluence-quot-quot-page-properties/qaq-p/409722?attachment-id=1510){#link_1185923d2c3f9f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/69361/1/page_property.png){#display_1185923d2c3f9f_0}  
[](https://community.atlassian.com/t5/Confluence-questions/repeatable-example-for-quot-Confluence-quot-quot-page-properties/qaq-p/409722?attachment-id=1511){#link_1185923d2c3f9f_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/69361/2/page_property_report.png){#display_1185923d2c3f9f_2}


Answers:
author: Thomas Schlegel
body: Hallo Zhenjia,

ich antworte mal auf deutsch, da deine Screenshots auch auf deutsch sind. Dein Beispiel ist schon ganz richtig, du musst nur auf den Seiten, auf denen du die Seiteneigenschaften eintr?gst ein Stichwort eingeben.

Dieses Stichwort musst du dann im Seiteneigenschaftenbericht wieder eintragen. Dadurch wird der Bericht mit den Seiten verbunden.

Welche Eigenschaft du dann anzeigen m?chtest, gibst du in den weiteren Optionen des Berichts an. Das geht aber erst, wenn die Verbindung ?ber das Stichwort hergestellt wurde.

Viele Gr??e

Thomas

comments: author: Zhenjia
body: Hallo Thomas,

Vielen Dank f?r die Antwort. Es hat bei mir zuf?llig wo anderes funktioniert. Jetzt wei? ich wo ich was machen soll.

Viele Gr??e

Zhenjia


author: Rosario De Domenico
body: @thomas, for me it does not work according to documentation.

My use case is to have multiple "Page properties" macros in multiple pages (no ID used) and I want to have all reported in a second page with the "Page properties report" macro.

So far, as long as - all - pages (the ones with the "Page properties" macros and the single one with the "Page properties report" macro) have the same lable, the report macro will list **only** the **first** property macro of each page.

I can I list all of them?


Tags: cloud

confluence-cloud

macro
Code macro is ignoring spacing for single line examples.
Asked by Jeremiah Jackson:

I'm trying to write a line by line breakdown of a function in Python, similar in design to the following:

|          code          |                          definition                           |
|------------------------|---------------------------------------------------------------|
| ``` def foo(bar): ```  | We define the function foo to take input and store it in bar. |
| ``` print(bar+"!") ``` | Then we print bar and append an exclamation point.            |

However, the indented line examples (in this case `print(bar + "!")`), lose the two leading spaces (as seen in my example above). Is there any way to stop the removal of those? I want to maintain Python's syntax between cells, without having to completely recopy the code each time.


Answers:
author: Milo Test
body: While horribly manual and inconvenient, you can use divs to style the text and add unicode spaces for indents:

image2017-3-22 20:0:54.png

Add Div macro and in the Styles field, put

```
font-family: monospace
```

Then wherever you want the spacing, copy the space between these brackets, \]?\[, and add that to the front of the text as many times as you need. Then color and bold the text using the regular Confluence Edit toolbar.  
[](https://community.atlassian.com/t5/Confluence-questions/Code-macro-is-ignoring-spacing-for-single-line-examples/qaq-p/322484?attachment-id=5506){#link_118592582e487b}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/54439/1/image2017-3-22%2020%3A0%3A54.png){#display_118592582e487b_0}
Relationship between issue custom fields and confluence
Asked by Pattie Berghof:

I created a new Issue Custom Select List (single choice) Field in JIRA Service Desk. I want it to link to confluence the same as the Summary field so knowledge options will be presented to the customer once the select an item in the list.

Thank you for your assistance


Answers:
author: Nic Brough -Adaptavist-
body: There's no way to do this - the knowledge base search is based on trying to find similar text. There aren't any real rules for a drop-down list.


Tags: cloud

confluence-cloud
How to find or create a list of all macros not being used
Asked by Corporate IT:

We have a lot of macros on our server based Confluence instance. Is there a way to generate a list of those not being used on an active page/Space? Or is there a way to gernerate a list of all places all add ons are being used?


Answers:
author: Karalee Kikiros
body: Hi John, have a look at this question <https://answers.atlassian.com/questions/59203> to find out which macros are being used.

Hope this helps,

KK

comments: author: Karalee Kikiros
body: There's also this addon

<https://marketplace.atlassian.com/plugins/de.kupper.it.atlassian.confluence.macro.usage/server/overview>

I have no idea how good it is though


Tags: confluence-administration
Confluence: How can I deactivate email notifications to users?
Asked by Robert Kubon:


Answers:
author: Bj?rn Eitmann
body: Hi Robert

The user can deactivate the notifications by himself.

Settings \> Email

Best,

Bj?rn


author: Tayyab Bashir
body: Look into the notification schemes.   
Remove/add groups you want to adjust the notifications sent out to users.


Tags: cloud

confluence-cloud

notification
Export to PDF or Word issues and word doc watermark issue
Asked by VijayakumarE:

We have confluence space pages attached with word documents and watermarked as well.  

Please find below issues and help.  

Issue 1. Export to PDF or Word:   
Does not attach the word doc when exported to PDF or Word. The exported PDF or Word doc shows only an icon image as Attached doc, but when clicked on it, it does not open the actual attached doc.  

Issue 2.   
Watermark only shows on the exported PDF.   
Watermark does not show on the exported Doc.  

FYI, when i click and open the attached doc from a page, it opens and i could download.   
In this downloaded version of word doc, i could see the watermark. And also i could save as PDF with the watermark.  

But, we want the Confluence page exported along with the attached doc as PDF and Word and with watermark as well.


Answers:
author: Abdul Kader
body: need to convert pdf watermark file into none watermark word doc


author: Karalee Kikiros
body: Export to PDF or Word only exports the actual Confluence page - it will not export and expand any attached documents as this is not how Confluence is built. I recommend that you take the information captured in the word document and paste it into a Confluence page and that you capture any future information that is normally captured in the word document directly into a Confluence page to avoid any double-handling.


Tags: attachment

export

ms-word

pdf

watermark
can i add multiple separate inline comments to the same text on a page
Asked by Glyn Hesketh:

I've been asked to comment on a confluence page that is primarily a number of images (which I don't think I can add an inline comment to) plus a simple two or three word heading for each image.

I want to add multiple comments to the heading text, but also want to keep them as discreet, individual comments as they are related to different aspects of the text. However, I'm struggling to see how I can do this.


Answers:
author: Kate (izi)
body: Hi Glyn,

You can try [Talk - Advanced Inline Comments](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.talk.confluence-talk-plugin/server/overview) add-on for Confluence. It allows adding several comment threads to the same text snippet/image, works in the editor and has the permissions feature - you can control who will see your comments.

Kind regards,

Katerina Kolina

comments: author: Glyn Hesketh
body: Hi Katerina

Thanks for the suggestion, looks interesting. I will take a look and see if could help us.

Rgds, Glyn


author: Thomas Schlegel
body: Hi Glyn,

no, I don't think so. You can add a new comment to the same text, if you mark the old comment as resolved.

But since you don't do that, you can just reply to the old one or edit the old one.

comments: author: Glyn Hesketh
body: Hi Thomas

Thanks for the answer, which is what I suspected was the case.

I have a workaround which is a bit clunky and means I have to edit the page as well as commenting, but it will probably be enough for this situation.

Thanks
Confluence in offline
Asked by Hyungjun Kim:

I'm trying to test confluence by evaluation license in offline server.

I installed Confluence in offline Windows server.

But when try to Create something, it stuck in loading page and never go further.


Answers:
author: QuentinB
body: Hello, you should have a look in the log file to analyse why you have issue starting your Confluence instance :  
<https://confluence.atlassian.com/confkb/confluence-startup-problems-troubleshooting-180846988.html>


author: Hyungjun Kim
body: Thank you.

The problem was induced by collaboration editing in synchrony.

When turn it off in configuration, it works well.


Tags: confluence-administration
Is the add-on flow board available for confluence cloud?
Asked by Robert Kubon:


Answers:
author: Thomas Schlegel
body: Hi Robert,

look at the marketplace: <https://marketplace.atlassian.com/plugins/net.artemissoftware.confluence.flowboard.FlowBoard/server/overview>

It is not. If it would be available, then you could select "Cloud" there.


author: Brendan Patterson
body: Hi Everyone, We are excited many people are enjoying FlowBoard on Confluence Server and DataCenter.

We have discussed bringing it to Cloud. Its on our list, but not currently scheduled. That could certainly change. We have heard this request several times.

We'd love to hear your use cases on Cloud for FlowBoard for Confluence. That will be a huge help in understanding what people are looking for from FlowBoard on Cloud. Please feel free to share those here or on our support portal:  
<https://artemis.atlassian.net/servicedesk/customer/portal/3/group/-1>

Thank you!!

Brendan


author: Ture Hoefner
body: Hello,

Thanks for your interest in [Flow Board](https://marketplace.atlassian.com/apps/1214206/flow-board) . My apologies for the late response, I just noticed this thread.

I have opened a Feature Request for [Create a Cloud version of Flow Board](https://artemis.atlassian.net/browse/FB-114) and you can add your vote or comments to it if you wish. ([Article - Vote on Jira Issues](https://artemis.atlassian.net/wiki/spaces/SUP/pages/454590476/Vote+on+Jira+Issues) ).

Flow Board for Cloud is something that we (Artemis Software) have always had in our list of ideas for this app and we have formalized that with the Feature Request that is linked to above.


author: Roberta Cinus
body: I would like as well to have this add or something similar available.


author: Florian Franke
body: Are there any ideas for similar plugins which work in the cloud?

Thanks!


Tags: addon-net.artemissoftware.confluence.flowboard.flowboard

cloud

confluence-cloud
Method to list all users that hav individual granted permissions?
Asked by Thomas:

Is there a way to list all users that got individual granted permissions to spaces in confluence?

We only want user permissions via groups. So we need to find all individual granted permissions.

Thank you in advance


Answers:
author: Thomas
body: Hey Per,  
thank you! Is it also possible to get permissions for the whole Confluence instance (not only for a single space)?

Thank you in advance

comments: author: Per L?fgren (Qlik)
body: Just remove the "WHERE s.spacekey = '\<SPACEKEY\>" and it will list everything


author: Per L?fgren (Qlik)
body: If you have access to the database you can run the query described here.

<https://confluence.atlassian.com/confkb/how-to-check-permissions-for-a-space-via-sql-queries-717062216.html>


Tags: confluence-administration
Your URL doesn't match
Asked by Brayden:

I am using the confluence on the port 8090. I connected wiki.pystock.net (sub-domain) to this port by using the apache2 virtual host. (/etc/apache2/apache2.conf)

```
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.soLoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so&lt;VirtualHost *:80&gt;ServerName wiki.pystock.netProxyPass / http://localhost:8090/ProxyPassReverse / http://localhost:8090/&lt;/VirtualHost&gt;
```

I also modified the conf/server.xml . The last one line is added.

```
&lt;Connector port="8090" connectionTimeout="20000" redirectPort="8443"                maxThreads="48" minSpareThreads="10"                enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"                protocol="org.apache.coyote.http11.Http11NioProtocol"                proxyName="http://wiki.pystock.net" proxyPort="80"/&gt;
```

Everything works well. But there is a message of "Your URL doesn't match".

Is there any way to turn off the message "Your URL doesn't match" ?

As you can see, setting URL and accessing URL is same as below.  
image2017-3-20 17:37:20.png  
[](https://community.atlassian.com/t5/Confluence-questions/Your-URL-doesn-t-match/qaq-p/106101?attachment-id=2148){#link_1185931e100ce6}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/171161/1/image2017-3-21%208%3A57%3A7.png){#display_1185931e100ce6_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Your-URL-doesn-t-match/qaq-p/106101?attachment-id=2149){#link_1185931e100ce6_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/171161/2/image2017-3-21%208%3A56%3A3.png){#display_1185931e100ce6_2}  
[](https://community.atlassian.com/t5/Confluence-questions/Your-URL-doesn-t-match/qaq-p/106101?attachment-id=2150){#link_1185931e100ce6_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/171161/3/image2017-3-20%2017%3A37%3A20.png){#display_1185931e100ce6_4}


Answers:
author: Tayyab Bashir
body: This means that your instance is still using wiki.pystock as its base URL.   
You might have restored an xml backup in which the base URL was wiki.pystock.  

You can chose to **Update Base URL** to rectify this.

You can also check the base url of your instance by going into System Info (g+g **system info** )   
there you can see what's the actual base url your instance is running on.

comments: author: Brayden
body: Thank you for your answer.

I checked Server Base URL as below: (View System Information in confluence)

image2017-3-21 8:56:3.png

I also set the same Server Base URL in the General configuration as below:

image2017-3-21 8:57:7.png

How can I solve this problem?


author: Matt Boesch
body: I am having the same issue after upgrading to 6.1. Did you ever figure this out?


Tags: apache

base-url
Show the last user who approved the current page
Asked by Steffen Stamprath:

Hi,

is it possible to show on the top of every page in confluence where who last user has approved the current page?

Thank you!


Answers:
author: Gorka Puente _Appfire_
body: Hi [@Steffen Stamprath](/t5/user/viewprofilepage/user-id/853378),

You can add a [set-metadata](https://wiki.comalatech.com/display/CW/set-metadata+macro) in a [pageapproved](https://wiki.comalatech.com/display/CW/trigger "Page approved") trigger, and then get that value back in the top of the page with a [pageheader](https://wiki.comalatech.com/display/CW/pageheader) and [get-metadata](https://wiki.comalatech.com/display/CW/get-metadata+macro):

```
{trigger:pageapproved}
 {set-metadata:Approver}@approvaluser@{set-metadata}
{trigger}
```

and then

```
{pageheader:visibility=all}
 {get-metadata:Approver}
{pageheader}
```

Hope it helps,

Gorka


author: Steffen Stamprath
body: mmmhh, is there no other possibility? Like a trick or a workaround? CQL, ...


author: Karalee Kikiros
body: Not the last approver but have you tried the workflow report macro? It'll show whats happened.


Tags: addon-com.comalatech.workflow

comala
Can I define a link between articles or anchors that reside in different spaces?
Asked by Yaacov Weingarten:

For example, can Article A in Space1 link to Anchor b1 in Article B in Space2?


Answers:
author: Nic Brough -Adaptavist-
body: Yes, just use the built-in linking (start typing a link with a \[ )


Tags: confluence-administration
file upload results http error
Asked by Zedd, Kim:

*This question is in reference to Atlassian Documentation: [Upload Files](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765101)*

file upload function failed all day.

It results "http error"

Why????


Answers:
author: Karalee Kikiros
body: JIRA and Confluence cloud was having issues yesterday. If you don't already, I strongly suggest you subscribe to status updates for both JIRA and Confluence cloud <http://status.atlassian.com/>


Tags: cloud

confluence-cloud

upload