youngmon/atlassian-qna huggingface dataset:
TeamCity macros are not able to load in Confluence ...
Asked by Peter Augustinak:

Hi, I want to add TeamCity macros into my Confluence pages, but when I'm trying to select any of 4 TeamCity macros, it is just not loaded ... any help?

Or is there any other way how to add current run status into the page (similar like it works for Jenkins status macro)?

Picture of the problem screen:

<https://ibb.co/Fm5Wy8G>

Thanks in advance.


Answers:
author: Vadim Rutkevich
body: Hi Peter,

Please submit your ticket at <https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Other%20Add-ons>

Sincerely, Vadim

comments: author: Peter Augustinak
body: Done.


Tags: confluence-server

jenkins

macro

server

status

teamcity
How to create webhook for confluence server 7.2?
Asked by AppConnect:

I am following documentation  
<https://docs.atlassian.com/ConfluenceServer/rest/7.2.0/>  
I followed all steps give in a Documents for create a webhook.  
I am getting error in response from a server with status code 501 and in body I got,

{

"statusCode": 501,

"data": {

"authorized": false,

"valid": true,

"allowedInReadOnlyMode": true,

"errors": \[\],

"successful": false

},

"message": "Webhooks are not yet supported",

"reason": "Not Implemented"

}  
What things I need to do for creating webhook successful?


Answers:
author: Rachel Robins
body: It's not possible to register a webhook in Confluence 7.2. We've been working on adding webhook support, and the REST documentation was published too early. Sorry for the confusion this has caused.

Webhooks will be available in Confluence 7.7.0 for Server and Data Center. Registering a webhook can be done through the UI or using the REST API.

You can check it out right now in the [Confluence 7.7 Beta](https://confluence.atlassian.com/display/DOC/Confluence+7.7+beta+release+notes), or take a look at the documentation:

* [Managing webhooks](https://confluence.atlassian.com/display/confeap/managing+webhooks) (beta documentation)
* [Webhooks](https://developer.atlassian.com/server/confluence/webhooks/) (developer documentation)


Tags: confluence-server
Knowledge base alerts
Asked by Ionut:

Hi guys,

I'm creating a Knowledge base and I want to create an **alert system** for it. This space will contain department process related informations for agents.

Let's say that one of my (Telecom operator) antenna is broken and I want to inform the agents to be prepared for the customers to call. I want to create an **alert** on the space and once it's created to send a notification to all of the agents.

I could use Jira tickets for this obviously but I'm curious if there's a much friendly way to do it. There are **35 agents** in the team and it'll be a hard work to put all of them manually in "*Watchers*" on a Jira ticket.

P.S. An issue is ecountered every ++2/3 days.++

Thanks in advance,

Ionut


Answers:
author: JimmyVanAU
body: Hi [@Ionut](/t5/user/viewprofilepage/user-id/3709540) ,

Can we spin this another way? As an author, you want to notify the team of new alerts/articles.

Some questions:

1. Are all agents licensed Confluence users?
2. If all agents are Confluence users, can you make them [watch the space](https://confluence.atlassian.com/doc/watch-pages-spaces-and-blogs-139579.html)? This time every time a new article is updated, they'll get an email.
3. Alternatively, you can publish a blog post (either with the article content, or linking to the KB article/page), and the team should also receive alerts if they're watching blog posts.

Those are my thoughts for now.


author: Riya Ray
body: Hi [@Ionut](/t5/user/viewprofilepage/user-id/3709540)

I agree with [@JimmyVanAU](/t5/user/viewprofilepage/user-id/716620) suggestions.

Additionally, you can also add all the users (agents) on the space. This will ensure that a notification email is sent out to all the added users whenever any update/ change is made on the space.

Hope this helps!


author: Ionut
body: [@JimmyVanAU](/t5/user/viewprofilepage/user-id/716620) [@Riya Ray](/t5/user/viewprofilepage/user-id/3663706) Thank you both. The Blog idea + agents added on space worked for me.

Thanks,

Ionut


Tags: cloud
CQL with special characters in page title
Asked by Pepe:

I'm struggling to figure out how to encode special characters in a CQL query against page title. I believe it'll be some magic combo of tricks that I haven't stumbled upon yet.

This is a start but doesn't work in my case: <https://stackoverflow.com/questions/38730384/confluence-rest-api-search-error-with-encoding-cql-query-when-encoding>

With title: Pepe "testing" CQL encoding

encoded as: Pepe %%22testing%%22 CQL encoding

I get the bad request response: 'message': 'Unrecognised clause at : "testing%"CQLencoding',

Using the page title verbatim: 'message': 'Unrecognised clause at : "testing"CQLencoding',

The request looks like this:

```
space = 'PRAE'
title = 'Pepe "testing" CQL encoding'
params = 'cql=space=%s and title=%s' % (space, title)
server_confluence_page = get('%s/rest/api/content/search?%s' % (confluence_server_baseurl, params))
```

It doesn't look promising: <https://jira.atlassian.com/browse/CONFSERVER-55559>


Answers:
author: Pepe
body: for posterity - I was fixing up links as part of a cloud to server merge project. The page names stayed consistent so I leveraged that. I abandoned this path and ended up building my own mapping of:

md5 hash of page title, cloud page id, server page id


Tags: confluence-server

server
Difficulties editing Retrospective Template page
Asked by Zoe Fisher:

Has anyone encountered this issue and found a fix?

We are using a Retrospective Default template in Confluence (original not the new editor). As the creator/owner of the page, I have no issues adding or editing content on the page but my team runs in to various issues such as: copy not saving, being deleted upon saving, the cursor not working or automatically deleting copy, copy being randomly styled.


Answers:
author: Fabian Lim
body: Hi Zoe,

Do you know what type of browser are your teammates using?

Regards


Tags: cloud
Migrating from PostgresSQL 9.2 to 9.6+
Asked by Devin Sijan:

Hi,

We are currently running Confluence 6.11.1 with PostgresSQL 9.2..24. The upgrade steps tell me this version of Postgres isn't supported in 7.5 which we would like to upgrade to. Can anyone give me some direction on the proper methods of upgrading Postgres to a supported version (9.6) before upgrade Confluence?

Also, we are running Jira Core and Server as well. Should they be upgraded in parallel or can Confluence be upgraded on it's own?

Thanks,

Devin


Answers:
author: repi
body: [@Devin Sijan](/t5/user/viewprofilepage/user-id/3570262)

Postgresql runs under which operating system?

If under Linux, just start the update. The DB is automatically integrated into the new version.  
I would also switch all applications (Jira, confluence...) to the new version, otherwise you would have to run two postgresql servers in parallel.

comments: author: Devin Sijan
body: Hi,

Just to confirm, are you saying an update of the DB to 9.6 isn't required?


author: repi
body: Hi,  
I have been using postgresql under linux as a DB for my private confluence for several years. If there is an update for postgresql, I always proceed as follows:  
1. stop confluence  
2. call the postgresql linux update routine  
3. after the update check whether postgresql is running  
4. Start confluence

My confluence makes an automatic backup every day, as does the postgresql confluence db.  
If something goes wrong! :)


author: Devin Sijan
body: repi,

Thanks so much for those details. I'd like to pick your brain a bit more here. Based on what I had been reading before, I needed to setup a new postgres instance on 9.6, take a DB dump of the old postgres instance and start it up on the new.

When you're calling out the "postgres linux update routine" are you simply referring to yum update or the same?

Appreciate it!

Devin


author: Devin Sijan
body: Are you using something like this? <https://www.percona.com/blog/2019/04/12/fast-upgrade-of-legacy-postgresql-with-minimum-downtime-using-pg_upgrade/>


author: repi
body: My confluence runs on a Pine64 single board computer of the rock64 type in credit card format.  
A modified Debian is used as the operating system.  
An update is carried out using the typical update routine apt update followed by apt list --upgradeabel.  
There I recognize, before I start the actual update, whether an update of the psotgresql server is pending.  
So far, I never had to make any manual changes to the postgresql db after going through the upgrade.

Unfortunately, I cannot say whether the procedure you linked is part of my update.

To backup the db I use pg_dump (for confluence db) and pg_dumpall.


Tags: postgres
Where is the option to connect an LDAP Directory?
Asked by James Dean:

I followed this article, <https://confluence.atlassian.com/doc/connecting-to-an-ldap-directory-229838241.html>, which is the only thing I can find. But there is no 'User Directories' or anything that gives me the option to add a directory. Is it because we are on the free plan? If that's the case I also can't find that limitation in the documentation anywhere.


Answers:
author: Kurt Klinner
body: [@James Dean](/t5/user/viewprofilepage/user-id/3950804)

Hi James

welcome to the community. The documentation you are looking at is for on-prem hosted confluence instances. As you are using the Confluence cloud offering please check <https://confluence.atlassian.com/confeval/other-atlassian-evaluator-resources/atlassian-cloud-authentication-saml-sso-g-suite-atlassian-account-and-ldap> and <https://confluence.atlassian.com/cloud/use-ldap-and-adfs-with-atlassians-cloud-products-979415726.html>

All the best

Kurt


Tags: active-directory

cloud

directory

ldap
Anyone familiar with error -Unable to edit Editing is unavailable right now. Try again in a few min
Asked by Ray Garcia:

We just started to see this error when we try to edit pages,

**Unable to edit**

Editing is unavailable right now. Try again in a few minutes.

Anyone familiar with this?


Answers:
author: Tom?? Vrabec
body: As mentioned above. Just faced to this issue, it is caused by malfunctioning Synchrony. You have to ask you devops to fix that issue and meantime, as workaround, you can turn off the collaborative editing in general configuration.

comments: author: Roberto Messina
body: Thank you Tomas! you saved the day.

Even restarting the server did not function, you have to restart the service from web interface.

We are leaving confluence soon.

Regards


author: Najjar _Innovura_
body: Hi Ray

I spent 5 hours fixing this error today. Try to change Collaborative Editing mode to limited. and try to edit. If editing was possible in limited mode, then you are facing issues with Synchrony.

Tell us what happens

comments: author: Stefano Coletta
body: Had the same problem today. Changing Collaborative Editing mode to limited, editing, then switching back to On fixed the problem.


author: ??kran Demir?al?
body: Hi,

Does anyone have any solution? We restartted Confluence but this problem is not solved.

Version is 7.19.17. How can we changing the Collaborative mode to limited. In our version has only on/off option.

Regards


author: Bhuushan Jaju
body: This problem is occurring for a single page and other pages are editing properly.

Any idea?

Thanks!


Tags: collaboration

confluence-server

edit

server

synchrony
Is there any way to change a table back to the old version and not the Cloud one?
Asked by Guilherme:

Amongst the pages I manage, one of them has that Confluence Cloud style table and it's really bad. When I try to type a date and I'm already at the top of the page, the selector disappears and I can't attach files from my computer, only links or recently browsed pages.

Is there a way to change a cloud table back to the good old table?

When I say "Cloud Table" I mean the first info you see when you browse this page: [https://confluence.atlassian.com/doc/tables-136463.html#:\~:text=Confluence%20tables%20allow%20you%20to,the%20way%20you%20like%20it.](https://confluence.atlassian.com/doc/tables-136463.html#:~:text=Confluence%20tables%20allow%20you%20to,the%20way%20you%20like%20it.)


Answers:
author: Jack Brickey
body: If you are trying to change a page that has been converted to the new editor back to the old editor you might find this article of use - [Change-to-your-content-is-in-your-hands](https://community.atlassian.com/t5/Confluence-Cloud-articles/Change-to-your-content-is-in-your-hands/ba-p/1324476?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_comment&utm_content=topic)


Tags: cloud

table
Recommended Upgrade Path for Confluence Server 6.11.1
Asked by Devin Sijan:

We are currently running Jira Server 6.11.1 on Linux and need to upgrade to latest due to a myriad of issues with confluence not properly saving and auth not working. I'd like to understand if we can upgrade directly to the latest version or if it's recommended to step through versions.

Also, our database is now listed as unsupported. What's recommended?

Thanks,

Devin Sijan


Answers:
author: Nic Brough -Adaptavist-
body: Do you mean Jira or Confluence? If it's both, then can you tell us what Confluence version you have?

comments: author: Devin Sijan
body: I'm specifically referring to our confluence installation, but we have Jira Server and Core as well. Do they need to be upgraded in parallel?

Devin


author: Nic Brough -Adaptavist-
body: You can probably jump Confluence directly to the latest version.

I say "probably" because there's always variables that might break it. However, I have just been through a whole series of Confluence upgrades, 5.2 through to 7.4. We had some hiccups in lower versions, but if you've got an off-the-shelf Confluence, you should not see any problems going from 6.0 or above to 7.4 in one step.

The two things that might bite you are:

* Apps
* User macros

You'll need to test to see if these may affect you.

Generally, you don't need to lock-step your Jira and Confluence upgrades - since Jira 5 and Confluence 4, they've been perfectly compatible as long as they're not too far apart.


author: Devin Sijan
body: Sounds good, much appreciated! From what I'm reading it sounds like you are correct. We just have an outdated postgresSQL DB that needs updating first before we can proceed. :(
When delete the space it throws error no long running task
Asked by somaganinaresh:

When removing the confluence space it shows error as per reference i have enclosed the screen shot and i have given all space level permission how to resolve this issue plz help me


Answers:
author: Tibor Bal?zs
body: Sometimes tasks remain stuck in the backend and require some time to delete. I had this issue when tried to delete a Space in Confluence Cloud. Just leave it for a while and it will clear automatically. If it doesn't then I would suggest opening a ticket with Atlassian Support


author: Valentina_S
body: Thanks for Info


Tags: cloud
SSO for Confluence
Asked by Ed Selig:

I see that there is a way to setup single signon for Jira, but I am not seeing anything for Confluence. We have a data-center version of confluence that is accessed using a domain account. Does anyone know of an easy way of setting up single sign on with the users AD account?


Answers:
author: Ed Letifov _TechTime - New Zealand_
body: The easy way of setting up Confluence SSO with users' AD accounts is ... to use [EasySSO for Confluence](https://marketplace.atlassian.com/apps/1212583/easy-sso-confluence-kerberos-ntlm-saml?hosting=datacenter&tab=overview&utm_source=community&utm_medium=answer&utm_campaign=easysso-datacenter&utm_term=easy+way+to+setup+SSO&utm_content=textlink "EasySSO for Confluence app listing on Atlassian Marketplace")

We give you 5 different authenticators, including both NTLM and Kerberos -- so Integrated Windows Authentication will work both on the internal network and in the "hairy" cases e.g. over VPN, with browsers automatically falling back on NTLMv2 when Kerberos is not available.

And if your IT Security Team insists on you seeing the redirect screens to your IdP-of-choice for the sake of centralised control on the IdP side (e.g. 2FA on ADFS or AzureAD level) - we also offer you SAML in the same package.

Our support is 24x7 - reach out if you find any of these not easy enough.


author: Jon Espen Ingvaldsen Kantega SSO
body: As [@Kurt Klinner](/t5/user/viewprofilepage/user-id/734136) suggests, two alternative protocols for SSO are SAML and OpenID Connect.

There is also a third alternative, Kerberos, for organizations using Active Directory. This SSO mechanism will authenticate users automatically on trusted networks and without showing any login screens at all. The following short article describes the user experience and shows how simple it can be achieved: <https://kantega-sso.com/articles/kerberos/>

It is possible and common to use such SSO protocols in combination, where kerberos gives users on office network the most user friendly user experience, while users working remote have to login through a SAML or OpenID Connect provider.  

Regards,

Jon Espen

[Kantega SSO](https://marketplace.atlassian.com/vendors/1211151/kantega-sso)


author: Kurt Klinner
body: [@Ed Selig](/t5/user/viewprofilepage/user-id/3858300)

Hi Ed

<https://confluence.atlassian.com/doc/single-sign-on-for-confluence-data-center-879955981.html> is a good place to start, depending if you would like to use SAML or OpenID you can than follow the contained links

Cheers

Kurt
Re-Installed: Need to retrieve the original server ID or reset the license
Asked by Richard Boyce:

I reinstalled my Confluence instance on Docker, since I originally installed a on-current version. I didn't think to make a note of my server ID, so now I don't know what to change the confluence.cfg.xml to for the original license to be valid.

Please can I retrieve the server ID, or reset the license?


Answers:
author: Richard Boyce
body: Okay, it turns out this is apparently not needed. The existing license worked just fine without changing the server ID in the confluence.cfg.xml.
como mis invitados pueden ver contenido sin iniciar sesion
Asked by Luis Mauricio Regalado Rodriguez:

como mis invitados pueden ver contenido sin iniciar sesi?n

quiero que parte de mi equipo vea el contenido sin tener que iniciar sesion


Answers:
author: Vero Rivas
body: Hi [@Luis Mauricio Regalado Rodriguez](/t5/user/viewprofilepage/user-id/3950916)

?chale un vistazo a este art?culo, tal vez te ayude

<https://www.atlassian.com/es/software/confluence/guides/get-started/set-up>

Un saludo


Tags: cloud
Map AD Groups to Spaces
Asked by James Bal:

Hi,

We are currently moving to a production version of Confluence. Our evaluation version is configured and integrated with AD which authenticates our users. Currently we create groups, then add individual users, then grant permissions to Spaces using these groups.

We would like to map AD groups so that membership of an AD group would automatically allow access to one or more spaces. For example, all members of the Finance AD group would be able to access those Spaces we have given the Finance AD group permission to view. This way once we have configured our space permissions we can then manage Space access via AD instead of Confluence.

Is this possible?


Answers:
author: Ed Selig
body: This works well. We currently have it setup so that all the users in the main AD group has access to view, and each teams AD sub group has full permissions to their space. Keep in mind that if you give a group view permissions to a space and another full permissions to the same space, if the user is in both groups they will have they will have full permissions.

Also you can use restrictions to restrict access with AD groups to specific pages.

comments: author: James Bal
body: Thanks Ed, but how is this done? When I try to add an AD group to a space it isn't accepted, it doesn't recognise the AD groups. How does the mapping work?

Apologies if this is basic stuff, I'm new to Confluence.


author: Thomas Starup
body: Hi [@James Bal](/t5/user/viewprofilepage/user-id/3950710) - did you ever figure this out ?

I seem to have the same problem four years later.

Thomas


author: repi
body: Is this possible?

Yes, it works like this:  
You can also mix users and groups from the AD with users and grpups from the internal directory.


Tags: active-directory

confluence-server

server
Is there a way to adjust an anonymous view for public spaces in Confluence?
Asked by Alicja Mostowik:

Hi All,

I was wondering if there is a way to adjust what elements are displayed in spaces published for anonymous view? Specifically, I mean elements like:

![page menu.png](/t5/image/serverpage/image-id/97404iD3B64726E4DAB035/image-dimensions/155x280?v=v2 "page menu.png")![space tools.png](/t5/image/serverpage/image-id/97405i4BB409931E8F8E35/image-dimensions/144x115?v=v2 "space tools.png")

I should think that information like "Page History" or "People who can view" are absolutely irrelevant for anonymous viewers, it just should show exporting options. The same applies to Space tools, which I think are totally irrelevant for anonymous access.

Does anyone have any experience with such adjustments of publishing for anonymous view?

Thanks in advance for any help!

Kind regards,

Alicja Mostowik


Answers:
author: repi
body: [@Alicja Mostowik](/t5/user/viewprofilepage/user-id/3801029)

This is not possible with the confluence standard functions.  
A lot can be deactivated with the hide elements app, which has recently been no longer free:

[https://marketplace.atlassian.com/apps/1211757/hideelements-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1211757/hideelements-for-confluence?hosting=server&tab=overview)

comments: author: Alicja Mostowik
body: Thank you [@repi](/t5/user/viewprofilepage/user-id/302600)! I will definitely give it a go. Unfortunately, it's "People who can view option", which worries me the most, and this app doesn't seem to be able to hide it.

Anyway, thanks again!


author: Alicja Mostowik
body: If anyone would be interested in this matter, I have been advised the following solutions for customizing anonymous view:

<https://confluence.atlassian.com/confkb/how-to-hide-page-tools-and-comments-section-for-anonymous-users-in-confluence-697139365.html>


author: Matt Reiner [K15t]
body: Hi [@Alicja Mostowik](/t5/user/viewprofilepage/user-id/3801029)

You could also try out my team's app [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=server&tab=overview). With it, you can totally customize the look of anonymous spaces using a customizable theme or by writing a unique one using HTML, CSS, and JavaScript.

We use it on [our help site](https://help.k15t.com/) and so does [Atlassian](https://support.atlassian.com/confluence-cloud/resources/).

Let me know if you ever want to see it in action.


Tags: anonymous

confluence-server

server