youngmon/atlassian-qna huggingface dataset:
What is the best way to get a notification from Confluence that a new page?
Asked by John Wilson:

Hello,

I'm trying get notifications from confluence into my Java web app whenever a new page is created in a certain space. What is the best way to do this? Is it even possible?


Answers:
author: Stephen Deutsch
body: Well, Confluence Cloud has webhooks that you can use within a Connect app in order to get updates about actions such as new page creation, but unfortunately webhooks have not yet been implemented for server: <https://community.atlassian.com/t5/Confluence-questions/Are-WebHooks-available-for-Confluence/qaq-p/382392>

In this case, I would say polling Confluence every couple of minutes over the REST API for any new pages created would be the only way you could achieve this currently.

comments: author: John Wilson
body: Is there a specific rest endpoint I should be using. I've been digging through the Java API too and it looks like my best option is to use the NotificationManager. I'm not sure which endpoint you are referring to.


Tags: rest-api

server
Is Confluence free for Service Desk users?
Asked by David Rodr?guez Torrontegi:

Hi,

We would like to include a KB on our Service Desk Cloud but we don't now how many license of Confluence do we need?

If we have 200 users that create issues and 10 agents that resolve the issues, if we are going to have only 5 people that could write KB documents.

How many Concluence Cloud Licence do we need? 5?

Best Regards


Answers:
author: Nic Brough -Adaptavist-
body: You only need a 10 user licence, to cover the writers.

The 200 customers will be able to see KB articles because they are customers.

comments: author: David Rodr?guez Torrontegi
body: Thanks!


Tags: confluence-cloud

jira-service-desk

jira-software-cloud

licence
Synchronizing two Confluence Instances
Asked by Aley Zaidi:

Hi all,

Is there any possibility that we can share our COnfluence Pages on one Server with another Confluence Server used at a separate company (out of our network) in China.  
Currently we share documents by exporting contents as PDF but we want to use some synchronization Plugin so that other Confluence Server (owned by Chinese company in China) get all content updates from our Confluence Instance.

Note: these two confleunce server are do not share any network or cluster environment. because they are two completely independent instances run by two different companies.

Thanks for your answers.


Answers:
author: Sloan
body: Hi Aley, all you could do is connecting the two Confluence instances via an Application Link. That would require that the Confluences are at least reachable on the Web, so they "see each other". When linked you would see activity of both Confluence in the Activity Stream Gadget.

Does the instances have a similar set of usernames? If yes you could do an Application Link with impersonation. If no, users would need to authenticate their login.

Users without an account on both instances would not benefit on an application link. Supplying access to users that need the documents could be an solution.

Here is the documentation for Application Links in Confluence: <https://confluence.atlassian.com/doc/linking-to-another-application-360677690.html>

comments: author: roman
body: Hi Aley, I would second this approach as well.

If you have two Confluence instances connected with application links, you can use [Scroll Versions](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions/server/overview) with [Remote Publishing Endpoint](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-remote-publishing-endpoint/server/overview) to publish spaces from one instance to another.

More information about remote publishing with Scroll Versions can be found [here](https://help.k15t.com/scroll-versions/latest/publish-to-a-remote-confluence-system-110528289.html).

Hope this helps.

Roman.


author: vitaliy zapolskyy
body: Native approach is to use space export-import

<https://confluence.atlassian.com/doc/restoring-a-space-152036.html>

there are some restrictions however. to make it easier Chinese company may want to run a separate Confluence instance 100% compatible with yours (version, DB, plugins).

Alternatively, do they really need to import content to Confluence?

Since currently they're happy with PDF, I guess, they don't need to edit your content.

Therefore you can mirror your site with wget and they could display static content.
How can I search for a particular status in Confluence cloud
Asked by Yves Berquin [Matrix Requirements]:

We are using the status macro to add some tags in Confluence (cloud) page.

We know that you can find pages containing that macro with:

```
macroName:status
```

But how can we find the content of the status?


Answers:
author: Shannon S
body: Hi Yves,

The content of the status macro is not currently searchable. There's a feature request for this below:

* [CONFCLOUD-31884](https://jira.atlassian.com/browse/CONFCLOUD-31884)

I do know that Stiltsoft makes an add-on that you can use with tables including status macro, and this might help you in some way?

* [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview)

Regards,

Shannon

comments: author: Yves Berquin [Matrix Requirements]
body: Thank you Shannon,

This will allow me to ... stop searching ... ;)

Yves


author: Shannon S
body: No worries, Yves! I tried a few different methods but I was not successful in any of them.

If you had Server you might be able to search in the database but I don't think this would meet your requirements for the feature.

Shannon


author: Yves Berquin [Matrix Requirements]
body: Another way would be to use the REST API but like we say in French it's a cannon to kill a fly.


author: Shannon S
body: That's an accurate statement!

If you want to share later what you did at least to get it via REST API it could potentially help future users, even if it is overkill! :)

<br />

Shannon
How to manage backups of attachment for a global archive of a confluence project
Asked by dbouteloup@ignfi.fr:

Is it possible to backup all the attached documents of a confluence project with keeping original format documents in the backup (pdf, doc,xls...)?  
A simple backup with backup attachment don't keep the files in the original format and names


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: You are correct, and this is done for a reason. Jira behaves the same way. When you attach a file to a Confluence page, Confluence obfuscates the file name and writes it to disk. It then writes data to the database with the original file name and location (pointer) on disk. If you need to download the file, it knows what the original file name was from the database and it renames the obfuscated file back to its original name for you when you download.

Why does it do this? Great question, and there is a simple answer. Versions. When you upload a file to Confluence, it becomes version 1 of that file. If you upload a file of the same name to the same page, that second upload becomes version 2 and so forth. If they maintained the actual file name on disk, this would not be possible, as the second file would clobber the contents of the first file.

I guess that doesn't help you very much, but at least you know why it is the way it is. Why do you want the files in their original names for backup?


Tags: backup
Forbid Download of PDF macro
Asked by Timothy Gardner:

Hey everybody,

I have to insert a PDF file, but due to company regulations it is not allowed for the PDF to be downloadable. Viewers should only be able to view the file, but not download or print it. Is there any solution or work-around? Currently I exported the file as JPEGs and inserted those manually one after the other. It looks fine, but since the file has \>100 pages, it is not optimal.

Furthermore, I would like people to be able to look for words in the PDF via Strg+F if possible. Currently, due to my work-around using JPEG, that is not possible.

Anybody got any ideas?

Thanks for the support ;)


Answers:
author: Sloan
body: Hi Timothy

There is a way to disable Attachment Downloads, even of a specific filetype:  
<https://confluence.atlassian.com/confkb/how-to-disable-attachment-downloads-215484007.html>

I tested this, it works.

But be warned, this requires code changes of your confluence. And after this Admins won't be able to download the pdf-files too.

Cheers  
Nick

comments: author: Sloan
body: As Nic said, of course Users can still do screenshots and copies of the text.


author: Nic Brough -Adaptavist-
body: And if you can't download them, you can't read them.


author: Sloan
body: The preview should still work.


author: Nic Brough -Adaptavist-
body: True, although you can still get a copy of it from that!


author: Nic Brough -Adaptavist-
body: The act of reading it in its current format downloads a copy to the client, even if it is just temporary, so no, you can't do that.  
Your only option is to convert it into a format where they can only view it on screen as an image (and even then, there's nothing to stop them saving the images)
Knowledge base show deleted pages on Service Desk search box
Asked by laguiz:

Hi,

Issue : We have a simple service desk linked to a Knowledge base on Confluence. The knowledge base on the service desk still show deleted pages.

We tried :

* These pages are deleted and purged
* We try to link and unlink the confluence space from the service desk
* We also tried this : <https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html>

Confluence 6.5.0.

Any idea?


Answers:
author: laguiz
body: Well it seems that the issue is only visible for the super admin of jira not for customers.

comments: author: Alan Reynolds
body: Were you ever able to find a resolution for this? I am experiencing this also, but need to be sure that not even admin users see article suggestions that don't exist.


Tags: jira-service-desk
Password Reset Not Working - Confluence
Asked by Laura Walden:

I'm trying to reset a user password by clicking on the email link. I then go to reset password but i get an error

'Internal Error Occurred when trying to change the password'

I've tried again and again but going round int he same loops.


Answers:
author: Lei Wang
body: Hi,

Which user directory does the affected user belong to? It's important to know what permissions Confluence has with the directory as a read-only permission will not allow users to update their passwords (as expected since it's a read-only directory). We're currently tracking this behavior in the following feature request as Confluence should throw a more graceful and clear error message when this issue occurs:

<https://jira.atlassian.com/browse/CWD-4963>
How can I create URL accessible to a specific heading?
Asked by sophie:

On facebook, we can generate link to direct post by long clicking the timestamp of the post.

Likewise, I remember in the old version of atlassian wiki, i generated link from the heading.

But now I can't generate nor

1) external link from heading

2) or just link from heading inside attlasian page.

I tried <https://community.atlassian.com/t5/Confluence-questions/How-best-to-link-to-headings/qaq-p/237427>

and

<https://confluence.atlassian.com/doc/links-776656293.html#LinkingtoPages-LinkingtoanAnchororHeading>

and

<https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html>

but I could achieve what i tried.

How can i do it? Thanks.


Answers:
author: Stephen Deutsch
body: Hi Woojung,

Easy Way: Insert a Table of Contents macro in edit mode, click on the macro, click Edit, and then you should have a list of links to all the headings that you can copy/paste.

Advanced Way: In your browser, you can right click on the header you want to link to and choose "Inspect Element" (?? ??). Then in the console you will see something like id="pagename-headername". Double click on the text pagename-headername and then you should be able to copy it. Then in the URL bar you can type a # and paste the id text and if you press enter it will link you to the heading.

Note: When inserting in Confluence as an advanced link, you may have to remove the "pagename" part of "pagename-headername" in order to get the link to work, because Confluence adds the pagename part automatically.

comments: author: sophie
body: Thank you so much!

I tried easy way and it works exactly what I wanted. Thanks!


Tags: heading

link
Can I call a Confluence page into a SF or a JSON based app?
Asked by Ritu Sachdeva:

We have apps built in Salesforce and React JSON.

And our documentation is in Confluence. How do I call a specific page into a SF page? Similarly, can I link to the space itself?

Also, is linking possible at the app's Home page level or at a granular, custom "VisualForce-page" level also?


Answers:
author: Shannon S
body: Hi Ritu,

I'm not familiar with SalesForce's product itself, and so I don't know what the VisualForce-page level is, but if you need to call a specific Confluence page in SalesForce, see if there's a way to embed a page via an iFrame. This might be your best option.

Please be aware, however, if you need to display the content, then either the page has to be made public, requiring no login, or the user will need to login to their Confluence account to display the content.

You can include the entire URL to the page or use the short link that is available by looking at the Page Information.

Regards,

Shannon

comments: author: Ritu Sachdeva
body: Thanks Shannon for your reply. I will work with my Dev team to check out the option you have suggested.

When i embed the page via iFrame, do I call the complete xml export or does the page have some other property, like Page ID etc?


author: Shannon S
body: Hi Ritu,

No, the iFrame basically embeds another website into a smaller window in another website. So you would need to use a URL for this.

Your other options would be HTML export or Word Export. The XML export is really just best for re-importing into Confluence so it may not work for your requirements in SalesForce.

You can let your team know the options for Confluence, and they can work with SalesForce's requirements to get a solution for you.

Regards,

Shannon


Tags: confluence-cloud

salesforce
Confluence HTTP400 Invalid Address
Asked by Sergey Trapeznikov:

Hello, i have a problem with symbols in title of new topic.  
If i write a title "a\>b", then OK.  
If i write a title "a - b" and address string will see that as: /display/project/a+-+b, then OK  
But when i want to use "a -\> b", address string will see that as: /display/project/a+-\>+b, and give me a clear page.  
So i just open debugger-console and see that:  
Firefox: The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature  
Chrome: HTTP400 Error  
But it isn't error of encoding, because Confluence use UTF-8, pgsql use UTF-8 too, as and my browser.  
I try to use other encodings in my browsers, but it's useless.  

What i should do with this issue? Its a problem with web-server or exactly Confluence?  

PS. I can let you my HTTP Headers if it can be useful


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Sergey Trapeznikov](/t5/user/viewprofilepage/user-id/1181355) ,

please take a look to the following troubleshooting article <https://confluence.atlassian.com/confkb/confluence-issues-with-special-characters-used-in-content-name-when-behind-a-proxy-1018788864.html>

Hope this helps,

Fabio
ERROR: called with no current PropertyPanel +The given range isn't in document.
Asked by AustinS:

Im developing a customized macro and found these errors during testing.

Steps to reproduce the problem:

1. Insert macro
2. save it
3. edit it and chose "cancel"
4. delete it from page
5. trying add a new same macro w/ different params on the same position
6. no macro be inserted

Monitor in console, see errors:

* The node to be replaced has been already deleted from the document ;
* PropertyPanel.destroy: called with no current PropertyPanel, returning;
* The given range isn't in document

Using TinyMCE and Confluence version is 6.3.1

Any help would be greatly appreciated.

![Screen Shot 2018-01-26 at 12.28.39 AM.png](/t5/image/serverpage/image-id/13367i105AEAE00D06E629/image-size/large?v=v2&px=999 "Screen Shot 2018-01-26 at 12.28.39 AM.png")


Answers:
author: AustinS
body: I found it is bug from TinyMCE version 3, which is used in Confluence 6.3.1 and it has been fixed in new version. (<https://www.tinymce.com/docs/changelog/#version456-march302017> )

But it has been fixed in version 4 and this version will be used in Confluence 6.6 (<https://developer.atlassian.com/server/confluence/preparing-for-confluence-6-6/>).

comments: author: AnnWorley
body: If you are all set I will mark your question as answered. Please let me know if we can help with anything else.


Tags: tiny-mce

wysiwyg
Can you organize entries alphabetically?
Asked by Michael Blumfield:

My company is creating a new way of organizing some of its operations and creating a lot of entries accordingly. Is there a way to sort them alphabetically so we can group similar ideas together? Thanks for your help.


Answers:
author: Thomas Schlegel
body: Hi Michael,

pages in your Confluence are sorted alphabetically by default unless you start to sort them manually. Then the latest page is added as the last one in the tree.

You can restore the default sort order by clicking on the "A-Z-arrow" again:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/13372i8EFA460F74CCFE21/image-size/large?v=v2&px=999 "image.png")

comments: author: Michael Blumfield
body: Great. Thanks, Thomas.


author: Michael Blumfield
body: Hey, Thomas. I was looking at this again. The pages I am looking at are actually child pages of another page, and I'm not an administrator. Is the sorting only available to administrators? Can you sort the child pages? The way we would name them would be with Jira titles, so it would be three common letters that signify the organization, then numbers. E.g., XYZ-1903, XYZ-2405, XYZ-1204 might need to be resorted.  

Any guidance you can provide? I could work through the help documents but am just trying to get a quick answer if possible. Thanks. I appreciate it.
Table of Contents like Page Tree
Asked by Alexandra Wayne:

Hi there - I would like to create a table of contents where the page trees are located so it does not take up page space. How can I do that?


Answers:
author: Krisztian Kovacs
body: Hi there,

this might be of help: <https://jira.atlassian.com/browse/CONFSERVER-43090>

Also this page: <https://community.atlassian.com/t5/Confluence-questions/TOC-in-sidebar/qaq-p/433604>

I've never tried it myself but it could work.

I hope this helps.


Tags: page-tree
Confluence at a corporation within a small group ?
Asked by Cat Ferrez:

I'm a tad confused on pricing for Confluence.

I read $10 dollars for use of server for 10 people

or $1500 for use of server for 25 people.

Does this include licensing for the software too?  

Thank you:)


Answers:
author: Mikael Sandberg
body: Yes, the cost include the software, and any updates for the first year. If you after the first year pay for for the maintenance you will be able to update the software too. Have a look at [Licensing FAQ](https://www.atlassian.com/licensing/confluence#serverlicenses-7).

comments: author: Cat Ferrez
body: thank you!


author: Cat Ferrez
body: One more question. Is it really just $10 dollars for 10 users or is that per person  
and do you getthe software, and any updates for the first year. If you after the first year pay for for the maintenance you will be able to update the software too   
for $10.00?


author: Mikael Sandberg
body: Yes, it is really $10 for 10 users starter license, and all of it is going straight to [Atlassian Foundation](https://www.atlassian.com/company/foundation). And yes, if you stay with 10 users you keep paying $10 every year you renew the maintenance, and software upgrades are part of the maintenance.


author: Cat Ferrez
body: thank you Mikael:)
How do I skip the Page Template Assistance when inserting a $documentOwner value?
Asked by Jose Estrada:

![$documentOwner.png](/t5/image/serverpage/image-id/13352i11B5A8270BA0B4B3/image-size/large?v=v2&px=999 "$documentOwner.png")

This should be added automatically when you create a template, not ask you to manually insert the document owner, that's the whole purpose of using $documentOwner value isn't it?

How do I get rid of this second step and made my template automatically fill that row with the person that creates an "Expedite Product Requirement" (this is the name of my template)???


Answers:
author: Stephen Deutsch
body: Hi Jose,

Instead of using a template variable (because Confluence has no way of knowing that it should fill in the page creator name in the $documentOwner variable), a better way would be to use a user macro.

Just create a new user macro with the key "document-owner", name "Document Owner", and with template text like this:

```
## @noparams
$content.creator.fullName
```

You can choose whether you want everyone to be able to see the macro in the macro chooser or just a Confluence administrator (the macro will still work for everyone if you put it in a page/template though).

Insert this "Document Owner" macro in the right space in the template, and then it should show the name of the person who created the template.

comments: author: Jose Estrada
body: Wow! it worked, Thanks a lot Stephen, appreciate your help!


Tags: questions-for-confluence
How to add content to Calendar
Asked by Srinivasa Raghupatruni:

I created a calendar and want to add notes on a specific day like birthday etc


Answers:
author: Victor Florin Pana
body: I assume you are referring to Confluence Calendars and if this is the case, have you looked over the documentation of the add-on?

<https://confluence.atlassian.com/teamcal/add-events-241566251.html>


Tags: team-calendars-for-confluence