youngmon/atlassian-qna huggingface dataset:
how can we show attachment of a page, selected frompage tree
Asked by Karteek:

I have multiple pages and sub page along with attachment in each page. I want to show a pagetree and an attachment macro on a page. on clicking on page from page tree, respective attachments should display on the attachments macro.

Please help me in showing some approach.


Answers:
author: Shannon S
body: Hello [@Karteek](/t5/user/viewprofilepage/user-id/2776082),

Thank you for contacting us. Could you elaborate here? As long as you've added the attachments macro on the page itself, then when you click on the title in the page tree it will display that information.

Are you looking to have the Attachments Macro display elsewhere? What version of Confluence are you running?

Regards,

Shannon
tabs implemented in the macro-input-fields dialog-panel of a plugin. Clicked tab opens new window
Asked by George Ivanov:

Hi All,

I am trying to implement tabs in the macro-input-fields dialog-panel of my plugin

So, I followed <https://docs.atlassian.com/aui/7.9.9/docs/tabs.html>

The tabs appear in the panel, however, those do not switch properly. Instead, when you click a tab menu item, a new window gets opened.![tab_issue_2.png](/t5/image/serverpage/image-id/64811i028286D725E9BFF9/image-size/large?v=v2&px=999 "tab_issue_2.png")

The tabs documentation, linked above has a link to jsfiddle.net where the example and my code works fine.

The tabs are appended after the document loaded and I do call AJS.tabs.setup() after the append and see that my tabs get initialized and get aui-tab-events-bound=true property.![tab_issue_1.png](/t5/image/serverpage/image-id/64812i6C4D1BA1B574F5C7/image-size/large?v=v2&px=999 "tab_issue_1.png")

Could someone please advise what I could miss?

I tried on v 5.6.3 and 6.12.0 - with the same results. Should I include some additional js dependencies maybe?


Answers:
author: George Ivanov
body: Hi Shannon! Thank you! I already managed with this, so, can be closed

comments: author: Shannon S
body: Thank you for letting me know, George. You can feel free to share with us what the solution was, in case some users do happen upon this and want to know how to do the same.

Regards,

Shannon


author: George Ivanov
body: it was my mistake in the code, so nothing to recommend here :)


author: Shannon S
body: George,

Alright, at any rate, glad you figured it out! :)

Take care, and have a pleasant weekend.

Regards,

Shannon


author: George Ivanov
body: Hi Shannon!

Thank you!

So, the only thing required was unbinding the Atlassian 'click' event from the tabs anchors:

$("#my-tabs-id \> ul \> li \> a").off('click');

Have a great weekend too!


author: Shannon S
body: Hello George,

Thank you for contacting us, and I apologize for the lack of response you've received here on the Community.

My recommendation would be to raise the same question on our [Atlassian Developer Community](https://community.developer.atlassian.com). The difference with that Community is that questions are related to developing for Atlassian software, such as add-ons. Whereas with this Community, it's mostly end-users who aren't as familiar with the subject.

Let me know if you have any trouble.

Regards,

Shannon


Tags: atl-dev

confluence-development
Atlassian Companion issue - file saved on PC
Asked by Bjorn Ragnarsson:

I have one problem with the Atlassian Companion which is stopping me from using "Companion" in our Confluence environment. This is problem I got due to the "new" EU law(GDPR). When edited a file a copy of the file is saved on the PC before uploading to Confluence. I know you can remove the file manually but it becomes a problem since not everyone is aware of the file left on the PC. Since "Companion" knows where the file is stored it should be possible to have it removed by "Companion". A configurable feature maybe?


Answers:
author: Alex K
body: Hi [@Bjorn Ragnarsson](/t5/user/viewprofilepage/user-id/1911932) , on application startup Companion will clear the temporary ".atlassian-companion" directory. We want to allow users to opportunity to recover their files for cases such as the upload failing, or if they accidentally close the desktop application that is editing the file. Therefore in most cases, the temporary files persisting is a benefit.

Although a valid feature request would be adding an option: "remove file from local storage after upload".


Tags: confluence-server

server
How to change the tool tip for create button
Asked by Karteek:

I have Created one Page Template and made it as default. when a user click on create button, a custom page template will be appeared by default. however the tooltip of Create is still showing "Create blank page". how to change it to the template name or simply "create".


Answers:
author: Rafael Pinto Sperafico
body: Hi [@Karteek](/t5/user/viewprofilepage/user-id/2776082) ,

Could you please attach a screenshot to this thread, so we can review where the tooltip you are referring to continue on being displayed?

Kind regards,  
Rafael

comments: author: Karteek
body: ![createpage.png](https://community.atlassian.com/t5/image/serverpage/image-id/64827i051580BBABD1D9B7/image-size/large?v=v2&px=999 "createpage.png")


author: Karteek
body: Create button which is on header


author: Rafael Pinto Sperafico
body: Hi [@Karteek](/t5/user/viewprofilepage/user-id/2776082) ,

Thank you for the screenshot.

This "Create blank page (c)" comes from:

```
<a href="/pages/createpage.action?spaceKey=~admin&amp;src=quick-create" id="quick-create-page-button" class="aui-button aui-button-primary" title="Create blank page (Type 'c')" tabindex="0">Create</a>
```

This is created by the anchor's title by default. If you want to change that, you could create a Script tag under *At end of the BODY* on http://localhost:8090/admin/editcustomhtml.action

```
<script>
AJS.toInit(function(){
var createPageButton = AJS.$('#quick-create-page-button');
AJS.log(createPageButton);
})
</script>
```

And update the title attribute to something other than what is there.

More information on <https://confluence.atlassian.com/confkb/how-to-override-quick-create-page-button-in-confluence-5-9-x-818253227.html>

Kind regards,  
Rafael


author: Karteek
body: Thank you


author: Sylvain Leduc
body: Hello would you please have the same KB but for Jira button like the "create" button ?

Thanks !


Tags: confluence-server

server
Why some user from JIRA Server cannot login in confluence?
Asked by Franti?ek Mika:

The confluence user with valid account in JIRA Server (logs in JIRA successfully) cannot log in confluence (invalid name/password message).

The another confluence user with valid account in JIRA Server (logs in JIRA successfully) logs in confluence without problem.

The only one difference I recognised is in "Unsynced from Directory" list. The first confluence user is stated within the "Username" field expression (ie.: user1,user2,user3), whilst the other user is NOT.

Shall I delete the records from the "Unsynced from Directory" list to fix the problem?


Answers:
author: Mirek
body: A user will appear in the Unsynced from Directory tab if they were previously deleted from Confluence (or removed from an external directory that was then synchronised with Confluence). A user is considered 'unsynced' if it exists in the `user_mapping` table and has a username, but lacks a corresponding record in the `cwd_user` table for their full name and email address.

Please check this documentation for more information about unsynced users

<https://confluence.atlassian.com/doc/delete-or-disable-users-138318.html>

comments: author: Franti?ek Mika
body: Thanks.


Tags: confluence-server

server
Can someone clarify why I am unable to take a copy of my page in Confluence Cloud
Asked by Anand Rajaraman:

I am unable to take a copy of my page that has got above 250 image attachments, the page seems to look busy and then Atlassian display the following message. I even tried staying on the same page for over 10 minutes but nothing happened..

I clicked to check Atlassian Status link in the page and all the modules from Atlassian including Confluence were showing OPERATIONAL.

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


Answers:
author: Anand Rajaraman
body: [@Mirek](/t5/user/viewprofilepage/user-id/781521) !! there is a application fix ..

[CONFCLOUD-57375 - Copying a page with a high number of attachments (180+) results in a time out.](https://jira.atlassian.com/browse/CONFCLOUD-57375) But, in my case even this fix doesn't work.


author: Mirek
body: It might be had to give you the root cause only based on your description. We need logs here. I think that you should follow the recommendation from the message and contact Atlassian Support directly.

<https://support.atlassian.com/>
Getting "This page can?t be displayed" after upgrade of Confluence from 5.9 to 5.10.8?
Asked by Graeme:

Today I upgraded Confluence from 5.9 to 5.10.8 on Windows 7 SP1 PostgreSQL 9.2.1 and immediately afterwards I was able to see its pages no problem. I did this upgrade as the first step in advice received here at <https://community.atlassian.com/t5/Confluence-questions/Moving-Confluence-PostgreSQL-instance-to-new-Windows-10-laptop/qaq-p/1165727>

However, since rebooting, I've been getting "This page can't be displayed" (Internet Explorer) and "This site can't be reached" (Chrome) whenever I try to open Confluence using http://localhost:8090/display/P/Home (which is my usual way).

How can I get Confluence working again?


Answers:
author: Daniel Eads
body: Hey Gaeme,

Sounds like Confluence might not be running. It's possible that it wasn't reinstalled correctly as a Windows Service after your upgrade, or potentially that the Windows Service isn't set to start automatically.

We've got[some knowledgebase info here](https://confluence.atlassian.com/doc/start-confluence-automatically-on-windows-as-a-service-172071.html) about changing/troubleshooting the Confluence Windows service. Let me know if you still run into trouble, but my guess is that if you took a look at your Task Manager, you'll find that there's no Confluence process running right now. That would be the sign that it didn't just automatically start back up after the computer restarted.

Cheers,  
Daniel

comments: author: Graeme
body: Hi Daniel

I could not see Confluence in the Task Manager so I tried following Manually Installing the Confluence Distribution as a Service at <https://confluence.atlassian.com/doc/start-confluence-automatically-on-windows-as-a-service-172071.html?_ga=2.184802593.967750848.1567042054-445225022.1474536912> and got to where you can see in the picture.

I think I need to set JRE_HOME before trying to install the service again but is that Oracle path to and including java.exe exactly what I need to set it to?

-Graeme

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/64880i2B8CB826D074CC35/image-size/large?v=v2&px=999 "Capture.PNG")


author: Graeme
body: Hi Daniel

I'm still stuck on this. I have tried setting JRE_HOME to various paths including the test below where JRE_HOME is set to C:\\Program Files (x86)\\Java\\jre1.8.0_51\\bin\\client

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/64935iB7D5CBED98E3DE81/image-size/large?v=v2&px=999 "Capture.PNG")

I seem to have multiple installs of Java on my machine:

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/64936iEE35F3C714769E4A/image-size/large?v=v2&px=999 "Capture.PNG")


author: Graeme
body: I have now been able to start Confluence manually.

However, I would still like to be able to get it installed as a service again.


Tags: confluence-server

server

upgrade
Confluence Upgrade Error: JRE _ASSEMBLY_EXCEPTION
Asked by Graeme Donald:

Testing Confluence upgrade from 6.14.3 to 6.15.8 on cloned environment and get the following error message:
> localadmin@venzsvrconf01:/home/localadmin$ sudo ./atlassian-confluence-6.15.8-x64.bin  
> Unpacking JRE ...  
> Starting Installer ...

\[all appears ok, then\]
> Your instance of Confluence is currently being upgraded.  
> Checking if Confluence has been shutdown...  
> Backing up the Confluence installation directory
>
> Deleting the previous Confluence installation directory...
>
> Extracting files ...  
> ./._ASSEMBLY_EXCEPTION  
> /opt/atlassian/confluence/jre/./._ASSEMBLY_EXCEPTION  
> Could not create this file. Shall I try again?  
> Yes \[y\], Cancel \[c\]

Trying again doesn't work.

System information

|--------------------------------|-------------------------|
| **Operating System**           | Linux 4.4.0-141-generic |
| **OS Architecture**            | amd64                   |
| **Application Server**         | Apache Tomcat/9.0.12    |
| **Servlet Version**            | 4.0                     |
| **Java Version**               | 1.8.0_201               |
| **Java Vendor**                | Oracle Corporation      |
| **JVM Version**                | 1.8                     |
| **JVM Vendor**                 | Oracle Corporation      |
| **JVM Implementation Version** | 25.201-b09              |

|----------------------|------------|
| **Database name**    | PostgreSQL |
| **Database version** | 9.6.11     |

Help much appreciated.


Answers:
author: Venkata Mangipudi
body: We got the same error on upgrade. Try going to the path and see if it exists  

The problem is, symlink for confluence.  

Just try this:  

Check if the confluence directory (with a symlink is there or not)  
$ ll /opt/atlassian  

if you cant find confluence directory, create one with the   

or

<br />

if you are not able lo go inside the directory, then it must be issue with symlink  
$ cd /opt/atlassian/confluence/jre  

How to create a new/valid symlink to confluence directory  
ln -s confluence atlassian-confluence-6.15.8


author: KMuthukumar-RP
body: [@Graeme Donald](/t5/user/viewprofilepage/user-id/1000772)How did you resolve the error and proceeded with upgrade. I am having the same issue.


author: Mirek
body: Hi [@Graeme Donald](/t5/user/viewprofilepage/user-id/1000772) ,

Please check permission on the server. User that run Confluence should have full read/write permission to all directories (especially Home directory).

comments: author: Graeme Donald
body: Confluence Home directory (/var/atlassian/application-data/confluence) is rwxrwxrwx \& owner is Confluence, Group is Confluence, and user is a member of the Confluence group.
I have prepared charts in excel. how can I link my data to that chart.
Asked by Sonal:

Hi,

I have prepared charts in an file excel. I want to add charts in confluence in such a way that in that excel file if I change the data the charts will be automatically updated.

How can i do that?

Regards,

Sonal


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

There are several approaches to do this:

1. [Office Excel](https://confluence.atlassian.com/doc/office-excel-macro-375849173.html) macro displays content of the attached Excel file.
2. [Chart](https://confluence.atlassian.com/doc/chart-macro-163415075.html) macro builds a chart on the basis of static table data.
3. [Chart from Table](https://docs.stiltsoft.com/display/public/TableFilter/How+to+use+Chart+from+Table+macro) macro ([Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app) builds charts on the basis of any kind of table data. It can be combined with Office Excel macro, or you can store store and edit tables in Confluence, create [pivot tables](https://docs.stiltsoft.com/display/public/TableFilter/How+to+use+Pivot+table+macro) or make different [calculations](https://docs.stiltsoft.com/display/public/TableFilter/Custom+Transformation+-+use+cases+with+advanced+SQL+queries) on them and then build charts directly in Confluence.

comments: author: Sonal
body: Hi Andrey,

Thank you for your guidance.

1. I believe options 2 \& 3 will need the data to be stored in confluence?

2. How will option 1 work since MYOB confluence is cloud based?

Regards,

Sonal


author: Andrey Khaneev _StiltSoft_
body: 1. You need to attach Excel file to a Confluence page. This attachment can be [edited in Confluence](https://confluence.atlassian.com/conf65/edit-office-files-939701129.html), or you can upload a new version of the file. Office Excel macros differs in Confluence Server and Cloud edition, you can try it and see if it suits your needs.
2. Most likely you'll need to store data in Confluence. Chart macro works with tables and static macros that produce tables. Static macros are those macros that produce tables before the page is loaded. Many macros load tables dynamically after the page is loaded.
Service Desk not linking to Confluence
Asked by Andrew ONeill:

Hello!

I am having an issue getting Service Desk to link to Confluence. On the Confluence side everything thing seems to be working. I can't seem to find why one side is working and not the other. They are both on the same server so its very strange. Has anyone seen this error before?

Andrew

![image.png](/t5/image/serverpage/image-id/64753iA5F4A3F8431004A8/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/64754i784E2E06D2056358/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/64755i38D2CB2DD7EED758/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Shannon S
body: Hello again, Andrew!

The issue here is that Service Desk isn't able to reach Confluence due to the connection being prohibited.

Have a look below:

* [Unable to connect to JIRA for authentication - Forbidden 403](https://confluence.atlassian.com/confkb/unable-to-connect-to-jira-for-authentication-forbidden-403-728139630.html)

1.
   > JIRA does not include Confluence server IP address in [JIRA User Server](https://confluence.atlassian.com/jira/allowing-other-applications-to-connect-to-jira-for-user-management-233767143.html) settings
2.
   > JIRA has not [whitelisted](https://confluence.atlassian.com/jira/configuring-the-whitelist-231342130.html) Confluence server or IP address, despite both of them located within same server.
3.
   > There is a proxy or firewall that blocks such access from Confluence to JIRA.

Have a look at that solution and let me know if you're able to get connected. If you continue to have trouble, can you confirm with us if either Jira or Confluence is behind a firewall, and if they're on separate servers?

Regards,

Shannon


Tags: jira-service-desk
How can I change the color & color brightness settings Crucible and Fisheye
Asked by Sylvan Weis:

The file listing on the left side of the screen is highlighted in a light blue and it is hard to see which file is selected. In reviews using a projector makes it even worse. it would be great if I had personal setting where I could choose how I would like to see the information presented.


Answers:
author: Rafael Pinto Sperafico
body: Hi [@Sylvan Weis](/t5/user/viewprofilepage/user-id/3542294) ,

You should be able to customise Fisheye and Crucible look and feel by following this knowledge base article - <https://confluence.atlassian.com/fishkb/customizing-fisheye-and-crucible-look-and-feel-428802654.html>

Alternatively, you could make use of [Look and Feel for Fisheye and Crucible](https://marketplace.atlassian.com/apps/1216128/look-and-feel-for-fisheye-and-crucible "Look and Feel for Fisheye and Crucible") plugin available on Atlassian Marketplace.

Kind regards,  
Rafael
Using Confluence 6.14; we've made a major push for a community accessible knowledge base. That know
Asked by Victoria Harpe:

the new knowledge base is name ITS Knowledge Base. But what is bing searched is one named /customer/kb

There is not a space named customer kb or a page that we can find. Is that some type of default?


Answers:
author: Shannon S
body: Victoria,

Thank you for contacting us. From what I understand, when users search on your Service Desk, it's searching a different space? Can you show me what you mean by that? Please provide a screenshot if possible.

Regards,

Shannon
A cautionary tale: Confluence to Word to Confluence
Asked by Patrick O_Connell:

Hello,

Just writing this in the hopes that it'll help someone to avoid the same experience.

A couple of weeks ago, I wanted to create a great big table, for the status of all pages descending from a certain one. The children display macro was the obvious starting point.

I was uncertain if I wanted the end product of this to be in Word or Confluence, but I needed at least to do text-to-table in Word. Child display macro output = column 1. This would have 6 columns, in the end, but those others could be added in Confluence. Or not.

And **right here** is where I went wrong. Instead of copying in Confluence and pasting to Word, I apparently exported from Confluence, because I just tested this and was able to reproduce what happened. (I think I was concerned about too large an amount of data in the paste buffer).

And I didn't realize this had happened, for all links to in-wiki pages. Fictionalized example:

<http://wiki.abc.co/display/XYZ/efgh>

became

file://jkl1-abc.co/display/XYZ/efgh

Then copied and pasted back into Confluence. And I've only realized **now,** about two weeks later, that those file:// links **don't work.** I have a broken in-wiki link for every row of that table, and there are many rows. Find-and-replace doesn't find the "file://." I've got some work ahead of me.

Under the general heading of...  
<https://imgflip.com/i/397nzz>  

Pat O'Connell  
Technical Writer  
MindGeek Montreal


Answers:
author: Bill Bailey
body: Well you need the [confluence-source-editor](https://marketplace.atlassian.com/apps/1210722/confluence-source-editor?hosting=server&tab=overview). THis will allow you to edit the actual source of the page, and then use Regex (If you need to ), to find all the fill:// instances and replace with https://. Boom! In five minutes, your problem is solved.

The source editor is essential when working with content brought in from Word, to clean out a lot of junk that comes in.


Tags: confluence-server

export

server
Unable to access "Administrator Access"
Asked by William Li:

Hello there,

I an new to the Confluence product. Installed it on RedHat RHEL7 with 30 days free trial license and it works.

Problem need help: try to access admin but got redirected to a page for password--\> entered password correctly --\> page stay the same no error

Please help!


Answers:
author: jira guy
body: It should work. This is an additional security in JIRA/Confluence which provide secure session while accessing admin options.

If nothing works, try this

<https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>

comments: author: William Li
body: Thanks for replying.

Unfortunately I am still having issue to use the administrative functionality.

the default password for admin does not work.

I tried to use docker container, it has the same issue.

appreciate any help


author: jira guy
body: Try steps in here to restore admin password

<https://confluence.atlassian.com/crowdkb/restoring-passwords-to-recover-admin-user-rights-283642653.html>


Tags: administration