youngmon/atlassian-qna huggingface dataset:
Slack notifications for Confluence user mentions
Asked by Connor:

I have the official Confluence app integrated with Slack, and when using the "/confluence help" command it shows a "/confluence mentions \<on\|off\>" command. According to [this community question](https://community.atlassian.com/t5/Confluence-questions/Confluence-user-mention-notifications-in-Slack/qaq-p/955867) though user mentions are not available in the Confluence app for Slack.

Can someone confirm whether that functionality is actually not available, and the command shown is just a placeholder? Or is that functionality actually available now?

![ConfluenceSlackApp-UserMentionsCommand.png](/t5/image/serverpage/image-id/50172i47A61E4AC6CA7362/image-size/large?v=v2&px=999 "ConfluenceSlackApp-UserMentionsCommand.png")


Answers:
author: Diego
body: Hello there!

Connor, I was the one who answered the other question and it was only partially correct. I got in touch with people involved with this integration and got more information about it.

Notifications for mentions do work between Confluence / Slack. However, it works for Comments, not page publish.

When a page is published, only the fact that the page was created is sent to the Slack Channel. But when a comment is sent, an excerpt of the comment is also sent to the Slack Channel. If someone is mentioned there, the person should receive the notification about this mention in a comment.

Here are a few details on this:
> * The /confluence mentions \<on/off\> is user based
>   * If the user turns it off, no notification about mentions will be sent
> * If the setting is off or the user is not logged in to slack, the mention will be just plain text

I hope this clarifies a little about this feature! Looking forward to your reply.


Tags: cloud

confluence-cloud

integration

slack
SpacePermissionManagerInternal
Asked by Gianluca Cristiano:

I need to use the interface SpacePermissionManagerInternal,

but I failed to import the component.

Example

private final SpacePermissionManagerInternal spacePermissionManagerInternal = ComponentLocator.*getComponent*(SpacePermissionManagerInternal.class);

during execution it gives me an error

Caused by: java.lang.ClassNotFoundException: com.atlassian.confluence.internal.security.SpacePermissionManagerInternal not found by ....

how can i use this interface?

Thanks for support


Answers:
author: Shannon S
body: Hello Gianluca,

Thank you for reaching out! I see you also created a support ticket for this, and they correctly advised you to reach out to our [Developer Community](https://community.developer.atlassian.com).

Can you confirm if you were able to create a question on that forum?

Regards,

Shannon

comments: author: WW
body: I see the [post](https://community.developer.atlassian.com/t/spacepermissionmanagerinternal-inject/28553) in the Developer Community that was created based on this question, but there is no answer.

I can't find an answer anywhere on how to use the SpacePermissionsManagerInternal class. How is the object initiated? Are we allowed to use this class or is it just for Atlassian?

I'm trying to use it in ScriptRunner since the method I want to use in SpaceManager is deprecated and has been since 5.9.


author: WW
body: This [post](https://community.atlassian.com/t5/Answers-Developer-Questions/Remove-a-user-s-space-permission-via-the-API-Confluence/qaq-p/534748#M72409) says that the SpacePermissionManagerInternal class is not available to people outside of Atlassian.

What do we do now?


author: WW
body: The forum won't let me post the link to the other question/answer where I posted the answer to this question unless this sentence is different enough. So, I'm typing extraneous information to make this post more different.

Here is the link to the [answer](https://community.atlassian.com/t5/Adaptavist-questions/Remove-user-permissions-from-Confluence-space/qaq-p/1524444#U1879631).


Tags: atl-adm
I don't see the updated PDF content in restricted mode, though my revised content exist?
Asked by Anand Rajaraman:

In restrict mode when I generate the PDF, I don't see the updated content in PDF, though I can see the revised content.


Answers:
author: Dominic Lagger
body: Hi [@Anand Rajaraman](/t5/user/viewprofilepage/user-id/2776824)

I have a few questions:

Do you use a special pdf exporter or the out-of-the-box export from Confluence?

What did you change (text, macro, images, ...)?

comments: author: Anand Rajaraman
body: Hi [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600) , I think this is a problem with the cache server here, because we operate from remote and there is a latency. Now, it is resolved.

Thanks,

Anand
Companion app on Citrix environment
Asked by Jan:

Hello, we are planning to update Confluence (Server) from 6.6.8 to 6.13. which would include the modified working with office documents via Companion.

Editing files in office is a crucial function for us. Many users are working through a Remote Desktop Service (Citrix).

According to this documentation

<https://confluence.atlassian.com/doc/administering-the-atlassian-companion-app-958456281.html>

the Companion App is not compatible with RDS/Citrix. Is that true? What can we do alternatively?


Answers:
author: Dominic Lagger
body: Hi [@Jan](/t5/user/viewprofilepage/user-id/680405)

I can not tell you wheter the companion app is working with citrix, but there is a workaround for the companion app.

see <https://jira.atlassian.com/browse/CONFSERVER-56359>


author: Frederik Reiter
body: Please refer to this post to get back the office connector **without** breaking the file preview (tested for confluence 6.15.2 and 6.15.4):

<https://community.atlassian.com/t5/Confluence-discussions/How-to-get-back-the-old-quot-Edit-in-Office-quot-Feature-Office/td-p/1081090>


Tags: attachment

citrix

companion-app

confluence-server

ms-office

server
number format change in Pocketquery
Asked by Adrien Dupuis:

Hi,

I try to change a format number in the converter with toLocalString() function :

```
number.toLocalString('fr-FR');
```

But there is no effect on the display number on my page...

Anybody knows what can I do ??

Thanks !

Adrien


Answers:
author: Sven Schatter _Lively Apps_
body: Looks like a simple typo to me:

```
var formattedNumber = number.toLocaleString('fr-FR');
```

Did you know you can also format your numbers in your template instead of your Converter? For this see [Velocity API Available In Templates](https://help.scandio.de/documentation/x/FADOAw) where you will find that the [Velocity NumberTool](http://velocity.apache.org/tools/2.0/apidocs/org/apache/velocity/tools/generic/NumberTool.html) is available.

comments: author: Adrien Dupuis
body: I try with the good one :)

```
toLocaleString('fr-FR')
```

but I have no change on my displaying confluence page...


author: Sven Schatter _Lively Apps_
body: Pretty hard for me to figure out without seeing all of your converter. ;)

Please raise a ticket at our [ServiceDesk for PocketQuery](https://help.scandio.de/servicedesk/customer/portal/5) and attach your converter, template and query and tell us exactly what you are trying to achieve. Feel free to censor any sensitive data.

Best regards,  
Sven


author: Roberto Marquez Bittencourt
body: Hi,

I have the same problem. I used the instruct below, but i get the result in plain text. If i not use de locale pt_BR (Brazil), i get the right result, but in english format.

```
$numberTool.format('currency', $value, 'pt_BR')
```

Best regards,

Roberto

comments: author: Sven Schatter _Lively Apps_
body: Hi Roberto,

since you also raised a support ticket we'll talk there! :)

Cheers,  
Sven


author: Roberto Marquez Bittencourt
body: Ok.

Cheers,

Roberto


Tags: confluence-server

pocketquery

server
I would like to be abble to attach or link files hosted on my server, like ISO's, softwares, other
Asked by Nys Xavier:

Hello, I'm using confluence self hosted server, and I would like to be able to link UNC path to files hosted on my servers.

I didn't find any solution online for my current version, witch is 6.8.2.

Thank you very much


Answers:
author: Diego
body: Hello there!

You should be able to attach files to instance normally, no matter their type:

[**Upload Files**](https://confluence.atlassian.com/doc/upload-files-139513.html)

However, linking a UNC file path does not work in most current browsers. For example:

**[UNC Paths in Google Chrome](https://superuser.com/questions/81576/unc-paths-in-google-chrome)**

**[Security in Depth: Local Web Pages](https://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html)**

A few years back, there have been other questions about this here:

**[Linking to Windows file server share UNC path not working](https://community.atlassian.com/t5/Confluence-questions/Linking-to-Windows-file-server-share-UNC-path-not-working/qaq-p/285934)**

[**Create "clickable" link for UNC path**](https://community.atlassian.com/t5/Confluence-questions/Create-quot-clickable-quot-link-for-UNC-path/qaq-p/360381)

What happens is that the browser automatically blocks the usage of those. For instance, Firefox will "do nothing" when you click it. Chrome will just try to load a page where the link is this:
> about:blank#blocked

So, let us know your thoughts on this. Looking forward to your reply!

comments: author: Jochen Betz
body: While it is true that Firefox can prevent it, it does not explain the behavior of Jira.  
If creating a simple html page without any javascript but only a simple link alike  

```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Local File Link</title>
</head>
<body>
<h1>Local File Link</h1>
<p>This is a link to a local file:</p>
<a href="file:///D:/Pictures/Screenshots/2024-06-11_13-36-07.png">Link to local file</a>
</body>
</html>
```

I can convince Firefox to open the link.

If you look at the code of Jira it looks different:

```

<a data-testid="link-with-safety" href="file:///D:\Pictures\Screenshots\2024-06-11_13-36-07.png" title="file:///D:\Pictures\Screenshots\2024-06-11_13-36-07.png" data-renderer-mark="true" class="css-tgpl01">A screenshot</a>
```

In addition there is a event linked to "click"  
![2024-06-11_16-33-25.png](https://community.atlassian.com/t5/image/serverpage/image-id/329189i0EB029610A589F81/image-size/large?v=v2&px=999 "2024-06-11_16-33-25.png")

So it is ACTIVE coding from Atlassian side which eventually prevents us from putting links to local files opening on click.
Best possible approaches to migrate from lotus notes to confluence
Asked by Mohammed Abdul Mujeeb:

Hi ,

Can any one provide the best and possible approaches to migrate from Lotus notes to Confluence migration

Thanks


Answers:
author: Petr Van??ek
body: Hi,

for this kind of migration best what you should do is contact one of Atlassian Solution Partner company. Just filter those companies based on your country and try to contact them.

<https://partnerdirectory.atlassian.com/>


Tags: confluence-server

lotus

server
Empty line above the profile
Asked by Dawid Nawrot:

Every time I use macro with profile I see an empty line above it and also the avatars wouldn't be displayed and I had to add them separately:

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


Answers:
author: Dawid Nawrot
body: Hi,

Thanks for the reply. The empty line comes probably from the fact that image is not displayed. Why would adding empty stylesheet help show images?

How can I make the images to be aligned to the left of the information of the user?


author: Diego
body: Hello there!

As I understand, we have two issue at hand here. One of them is that the user avatar is not displayed within the User Profile Macro. The other is that a blank space is added just before the User Profile macro.

Looking around our reports, I could find a report that takes care of the missing image. You can keep track of it here:

**[CONFCLOUD-65902 \| 'User Profile' macro does not display user's profile picture after a page is published](https://jira.atlassian.com/browse/CONFCLOUD-65902)**

Moving further, I could replicate the white line issue. With this in mind I created this report:

**[CONFCLOUD-66038 \| Adding a User Profile Macro inside a table cell adds a blank line above the macro](https://jira.atlassian.com/browse/CONFCLOUD-66038)**

Currently, the image issue has a workaround! You need to add a **Style Macro** to the page. You do not need to insert the User Profile Macro into it or anything, just add the Style Macro to the page.

The nest approach currently is to Watch and vote for those reports. Voting increases the issue visibility and watching will keep you up to date with everything!

Looking forward to your reply.
I am receiving error: You're not allowed to change these restrictions. How to get the permission?
Asked by Dipsundar Kanjilal:

It shows "**You're not allowed to change these restrictions. It's either due to edit restrictions on the page, or permissions settings for this space.".**

Please suggest how to get the permission ?


Answers:
author: Vasiliy Zverev
body: You need change restriction permission into this space.

Administration permissions requared for this.

See this for detailed information: <https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html>

comments: author: Dipsundar Kanjilal
body: Really appreciate your support.


Tags: confluence-server

server
Confluence Cloud Very Slow - April 2019
Asked by Samuel Kariuki:

Is there any maintenance happening on the Confluence Cloud today? OUr site is extremely slow.


Answers:
author: Ollie Guan
body: Hi [@Samuel Kariuki](/t5/user/viewprofilepage/user-id/2959183) ,

According to <https://status.atlassian.com/>

![TIM??20190401175411.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/50130i63DFF2D03877236F/image-size/large?v=v2&px=999 "TIM??20190401175411.jpg")

comments: author: Samuel Kariuki
body: Thanks [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638)

It was the general downtime from Atlassian that was affecting us and once they restored their services we were fine.

I've now subscribed to Atlassian alerts to ensure am well informed in advance whenever such maintenance is planned in the future.
??????? ?? ????? ?????? Confluence
Asked by ??????? ??????????:

???????, ?????? ????, ?????????? , ?? ????????? ?? ? ???? ??????? ? ?????????? ??? ???????? ?? ????? ??????????? ?????? ? ????? ???????? CentOs ? ????? ?????? Confluence?


Answers:
author: Gonchik Tsymzhitov
body: ???????????!

???? ?? ?????? ??????? ?????????? ????? ????????, ?? ??? ???????.

comments: author: ??????? ??????????
body: ????? ?? ????? ????????? ??????? ???????? ?? ?????? ?? 2? ?? 5 ????, ???? ????? ??????????? ????? ???????


author: Gonchik Tsymzhitov
body: ? ?? ????? ????????.

? ????? ? ?????? ???????? ???? developer ???????? .

???????, ???????, ??? ?????????? ?????? ????? ?? ??? ?????????? ????????.


author: ??????? ??????????
body: ?? ?????? ???????, ??? ?????? ?? ??? ?????????? ?????????


author: Gonchik Tsymzhitov
body: ???????? ??????????? 15 ????? 2019, ?????????? ????? 16 ?????, ????????????? ?? ?? ?????? ????? ??????????? ?? ????????? ??????


author: ??????? ??????????
body: ???????? ?? ?? ????????? ??????, ? ?? ???????????
Confluence Throwing White page
Asked by Aditya Chandra:

hi folks, any body experience issue with confluence. We are not able to open any of our confluence space.


Answers:
author: Petr Van??ek
body: Hi,

probably this problem - <https://status.atlassian.com/incidents/wh9tzyzktwxx>

For future problem you can try look at this - <https://status.atlassian.com/>
Non-ASCII characters (sometimes) show as ?
Asked by Christopher Berg Schwanstr?m:

Hello. We have an issue where on some pages non-ascii characters show as "?".

It seems to mostly happen on urls that include "/pages". If I edit any of these pages, the characters shows correctly.

When it breaks, it breaks it on every element on the page. For example, if I hover over the top right icon to show my name, it will also be broken on broken pages (it includes one of these characters), while it will be fine on pages that are not broken.

We have tried running the encoding test, and it has no problems

\<confluenceurl\>/admin/encodingtestrun.action

We initially set up confluence on MSSQL, after which we changed to Postgresql. We exported all the data to xml and reinstalled the confluence server with the new database server and reimported. It may seem that the problems happened after this.

Postgresql should be correctly configured:

confluence=# show LC_CTYPE;  
lc_ctype  
-------------  
en_US.UTF-8  
(1 row)

confluence=# show LC_COLLATE;  
lc_collate  
-------------  
en_US.UTF-8  
(1 row)

I looked around some of the tables to see how it looks like in the database, and it seems to be all good there.


Answers:
author: Christopher Berg Schwanstr?m
body: We fixed this by changing the java startup configuration, adding these options.

```
-Dfile.encoding=UTF-8
-Dsun.jnu.encoding=UTF-8
```

We tried adding them to bin\\setenv.bat, but it did not seem to be picked up.

Instead, we used the tomcat settings editor (The argument here is based on the Windows Service name)

```
C:\Program Files\Atlassian\Confluence\bin\tomcat9w.exe //ES//Confluence270319085364
```

And adding those two options under Java options.

After saving and restarting all characters are rendering properly.


Tags: confluence-server

server
how do i create labels in my template using checkbox
Asked by R H:

Hello community,

i found a view Posts here with the same Question, but the most of them are rly old or do not work for me.

So i want that my user using my templates with the Checkbox label macro included so they can just select the labels they need by creating a new article, i dont want them to write labels on theire own so i can excllude a few label mistakes.

Thanks in Advance :)


Answers:
author: R H
body: Im using now ScriptRunner with the free lable manage tool.

#Solved

comments: author: Nancy Bonanno
body: Interesting. Going to have to check that out.


Tags: checkbox

javascript
Can not connect Confluence
Asked by koike.akihiro:

Now we can not connect Confluence cloud service.

Is there any maintenance or something ?

Regards,

Akihiro


Answers:
author: jay chau
body: According to <https://status.atlassian.com/>

[Confluence Cloud pages are inaccessible](https://status.atlassian.com/incidents/wh9tzyzktwxx)**Investigating** - We are investigating an incident affecting some Confluence Cloud customers. Some users are unable to access Confluence pages. We will provide another update within the next hour.   
Apr 1, 08:52 UTC

comments: author: koike.akihiro
body: thanx,I got it.


Tags: cloud

confluence-cloud
Error in DB when enabling XML RPC
Asked by Sergei Cherevko:

Hi, when i press button "save" after editing some options (for example - Enable RPC XML) in "general configuration" i see this error

### Cause {#toc-hId-1056794384}

org.springframework.orm.hibernate.HibernateSystemException: SQL insert, update or delete failed (row not found); nested exception is net.sf.hibernate.HibernateException: SQL insert, update or delete failed (row not found)  
at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597)

caused by: net.sf.hibernate.HibernateException: SQL insert, update or delete failed (row not found)  
at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:25)

but after refreshing the page i see settings apply

anyone can help me fix this?


Answers:
author: Fabian Lim
body: Hi @\[deleted\],

Based on this KB article, it doesn't seem to be anything seriious: [https://jira.atlassian.com/browse/CONFSERVER-21451?focusedCommentId=232934\&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel](https://jira.atlassian.com/browse/CONFSERVER-21451?focusedCommentId=232934&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel)

Regards


Tags: confluence-server

server
Check list before Installing Confluence Software
Asked by Xheneta G?rxhaliu:

Hi everyone,

Do you have any check list that should be taken into consideration before/when installing Confluence Software?

Jira is already in place and we'd like to start using Confluence as well.

Thanks in advance!


Answers:
author: Jonathan Smith
body: Hi [@Xheneta G?rxhaliu](/t5/user/viewprofilepage/user-id/2353997) ,

JIRA and Confluence are stand-alone products.

When you are ready to integrate the products, you will end up creating **application links**. Here is the documentation on Application Links from Atlassian Support:

* [Integrating Confluence and JIRA](https://confluence.atlassian.com/doc/integrating-jira-and-confluence-2825.html)
* [Linking to another application](https://confluence.atlassian.com/doc/linking-to-another-application-360677690.html)

Regards,

Jonathan


Tags: confluence-administration

confluence-server

server
create a page in html from the REST API with Table of Contents macro
Asked by William.Brennion:

I would like to import some page from html to confluence, this work well with the REST API

{"type":"page","title":"test3",  
"space":{"key":"DM"},"body":{"storage":{"value":"\<somehtml\>"

But how could I add on top of that a Table of Contents macro ?


Answers:
author: Stan Ry
body: I'd also recommend using this python module: atlassian-python-api (<https://github.com/atlassian-api/atlassian-python-api>)

Following example (<https://github.com/atlassian-api/atlassian-python-api/blob/master/examples/confluence-page-update.py>) demostrates updating of the page by using the specified API. I am citing the sample here:

You can check the implemenation of update_page method here (<https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence.py>).

Hope this helps. Would be nice to hear back if it helped.


author: Stan Ry
body: You can get an example of updating a confluence page is [this article](https://www.codeproject.com/Articles/1191742/Update-Confluence-Wiki-Page-Using-Python).


author: Stan Ry
body: Hi [@William.Brennion](/t5/user/viewprofilepage/user-id/2957747),

You'd have to contatenate content of your destination page and HTML table layout that you are about to add. When using PUT method on <https://example.net/confluence_instance/plugins/servlet/restbrowser#/resource/api-content-id-label> API, the target page specified in **contentId**is overwritten by the content you place in request body.


Tags: content

rest-api