youngmon/atlassian-qna huggingface dataset:
Links broken after server rename
Asked by Russell Johnson:

Hello,

I recently renamed my atlassian servers. I fixed the application links and the base urls for each application that we have licensed (jira, confluence, bamboo, crucible).

My problem is that some of the links in Confluence are still broken. The specific links are the Project Image for each Confluence project. The Sidebar link to Jira from each Confluence project and the body links for the Jira Documentation and Item Specification on each Confluence Project home page.

Can these links be renamed all at once in the database? I would prefer that over updating all 120 links manually.

Thanks,

-Russell


Answers:
author: Diego
body: Hello there Russell!  
Good to know that you were able to rename all your products with no major hiccup.   
In Confluence, we have**two types** of links:
> **- Hard Links**   
> **- Soft Links**

The Hard Links are created when a full link is pasted directly into the editor and then published. Something like <https://mysite.com/my/content>. Those will **not update** when changing Base URL of your instance.   
The Soft Links are created when using the link tool in Confluence. Those will update after the Base URL change.

You can take a look at our documentation about links here:

**[Confluence Server - Links](https://confluence.atlassian.com/doc/links-776656293.html)**

For fixing the Hard Links, we have this article:

**[How to I replace all Hard Links to my old Base URL](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html)**

For links from outside Confluence, you can change them manually in your database. However, we **strongly advise** you to before any of this, **backup your database** and also test the procedure on a **test instance** before applying to your production.

Further, could you clarify what are the **sidebar links to Jira** and also the **item specification** you mentioned earlier? Are those links that you manually inserted in Confluence?

Let us know if this helps out!

comments: author: Russell Johnson
body: Thanks for the information. I decided to just update each link manually.


author: Diego
body: Thanks for updating us with your decision Russell!

If you ever need assistance or need to address some questions, rest assured that the Community will always be open.


Tags: confluence-server

server
Failed to unzip the upload file
Asked by Sivarama Krishna CH:

![EVE import issue_2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/40126i4A459A5F7CC922E5/image-size/large?v=v2&px=999 "EVE import issue_2.PNG")![EVE import issue.PNG](/t5/image/serverpage/image-id/40121i8A96ED4882510BD0/image-size/large?v=v2&px=999 "EVE import issue.PNG")


Answers:
author: Federico Spagocci
body: I have the same problem with production site.

In sandbox it work fine..

any solution?


author: Harish Nair
body: did you find a solution?


Tags: cloud

confluence-cloud
Cannot seem to create a variable in a template
Asked by Andrew Cohen:

I have tried dragging a variable onto my confluence template but it does not give me the option to make it show up as a text field. When I preview the template it just shows as a question mark with text beside it? Im a missing something.


Answers:
author: Stephen Sifers
body: Hello Andrew,

We need a bit more information to find out what is going on with your reported issue. Along with a few basic steps we ask you to try to see if it may resolve the issue.

Basic Steps:

1. Is the issue present on another browser?
2. Is the issue present within an incognito session?
3. Are other admins having the same issue (if another admin is available to test)?
4. When you mention dragging a variable, can you please further describe this action?
   1. Is it the same as the screenshot below?
   2. ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/40161i82AE759FFDD9A6AE/image-dimensions/370x112?v=v2 "image.png")

Additional information:

1. Which version of Confluence are you presently running?
2. Which User Add-ons do you have enabled within Confluence?
3. Can you please provide a screenshot of what you're seeing?

Once we have the above information we will attempt to recreate the issue on our end to ensure it's not a bug. This type of behavior is not normal and we want to confirm there is not a defect within the product.

Regards,  
Stephen Sifers
How can I temporarily change page orientation in a PDF export?
Asked by Rosalind BANWELL:

Hi all,

I used @ page to set up my original *portrait* page, but I have some wide tables that I want to put into a *landscape* page. I can use a macro to apply a class for this in the Confluence page, but how do I change the orientation in the CSS? Or should I be doing this in the macro?

(I'm testing Confluence Server 6.13)

Many thanks,

Rosalind


Answers:
author: Daniel Eads
body: Hey Rosalind,

There is a macro for doing this (and it is the easiest way - it's not native in Confluence) you can use. You don't have to apply a style to the class macro. This macro is instead the PDF Landscape macro in the free [PDF Macros for Confluence](https://marketplace.atlassian.com/apps/1213333/pdf-macros-for-confluence?hosting=server&tab=overview) add-on. There are some other handy macros in that add-on if you're going to be doing a lot of PDF exports, it's definitely worth an install!

Cheers,  
Daniel

comments: author: Rosalind BANWELL
body: Hi Daniel,  
I agree, [PDF Macros for Confluence](https://marketplace.atlassian.com/apps/1213333/pdf-macros-for-confluence?hosting=server&tab=overview) is great and we have been using it for several years and through several upgrades.

Testing for our upgrade to 6.13 (server) it is not working, which is why I'm having to rapidly find alternatives... all our PDF documentation is generated directly from Confluence pages!

I tried using [PDF Macros for Confluence](https://marketplace.atlassian.com/apps/1213333/pdf-macros-for-confluence?hosting=server&tab=overview) with a blank CSS and had the same problems as with my current stylesheet, so that's not the issue. I've also tried uninstalling and reinstalling the macro too, but I still have the same problem...

So, I'm back to trying to make the landscape orientation work for a particular class in the CSS... does that sound like it should work? Could this work if I nest it under "Page"? (No luck so far, it seems to be all in portrait or all in landscape!)

<br />

All suggestions welcome!

Thanks,  
Rosalind


Tags: confluence-server

server
Sending a JSON file to template when opening the page
Asked by Kalado:

Hello,

I have a php/javscript page that creates a searchable list of users from a database.

Currently I host the page on the same server as Confluence and include it on a page with the html-include macro.

I would like to create a plugin that does that all in confluence with java.

I finished the "Write a simple Confluence blueprint plugin " Tutorial.

So when the page is opened there should be a java function that connects to a database and sends a JSON to the page.

Is this possible and does someone have some ressources on how I would go about this specific part (Executing a java function on page open and making data available to the page)


Answers:
author: Thomas Deiler
body: Please repeat your question at <https://community.developer.atlassian.com/>

Thanks for understanding

Thomas


Tags: ajax

app

confluence-server

development

java

json

server
Can you define a list in one page allow it to be called in another page?
Asked by Brandon Jalbert:

I would like to define a List Data object in 1 place but allow it to be used in multiple pages. This way, when the List Options change, I only need to change the List Data object once.

i.e.

Page 1:

Location table

++\| List \| Location 1 \|++

++\| List \| Location 2 \|++

Page 2:

Configuration table

++\| List \| Configuration \|++

++\| List \| Configuration \|++

Page 3:

List definition

Option 1

Option 2

etc.


Answers:
author: Diego
body: Hello there Brandon!  
The objective here can be a little bit tricky to reach by hand, but we have had other customers that went ahead with similar projects as well, but used third-party plugins:

**[Dynamically populate the HTML Dropdown template using pocketquery plugin in confluence](https://community.atlassian.com/t5/Confluence-questions/Dynamically-populate-the-HTML-Dropdown-template-using/qaq-p/658835)**

There is also another third-party add-on that may help you out:

**[Easy Dropdown Menu](https://marketplace.atlassian.com/apps/1216797/easy-dropdown-menu-drop-down-selection?hosting=server&tab=overview)**

Another similar situation is presented here:

**[Custom drop down list for Statuses](https://community.atlassian.com/t5/Confluence-questions/Custom-drop-down-list-for-Statuses/qaq-p/445314)**

Currently, there is no native method to achieve this. Let us know your thoughts!


Tags: confluence-server

server
How to control the confluence administrators group notifications?
Asked by Einat Dahari:

We have upgraded lately to v6.12  
Ever since all the users that we have on the confluence-administrators group receive an email notification for **any request for access**by other users. It didn't happen in the previous version and I can't find where it's defined in the system. Anyone is familiar with this? thanks


Answers:
author: carolyn french
body: Hi Einat, and welcome to Community!

Apparently, v6.8 introduced a new request for access notification sequence. It's defined [here](https://confluence.atlassian.com/doc/confluence-6-8-release-notes-946014166.html#Confluence6.8ReleaseNotes-Requestaccessisnow5timesbetter):
> Confluence chooses people to contact in the following order:
>
> 1. people who have contributed to the page, can still see the page, and have 'Restrict' or 'Admin' space permission (sorted by last edit date)
> 2. space administrators who can see the page (sorted alphabetically)

Hope this helps!

Carolyn

comments: author: Einat Dahari
body: Hi Carolyn:)  
Thanks for answering so quickly!  
Very useful information.  

Do you know if Confluence allows to modify it?  
I would like to remove some of the administrators from receiving this type of notification as it spams their email.   
Thanks!  

Einat


author: carolyn french
body: You're welcome :)

Maybe you can reconfigure how you structure and use your user groups. For example, for any 'troublesome' spaces, you can use a different new group of users for that space admin, so that 'confluence-administrators' group is not getting spammed.


Tags: access

administration

confluence-server

notification

request

server
Confluence service going down intermittently
Asked by Arun Das:

We have a problem where confluence going down very often with a 502 Proxy error.

We switch the application port each time when confluence is down.

Error messages from apache,

\[Wed Dec 12 13:29:44.942350 2018\] \[proxy:error\] \[pid 12815\] \[client 131.97.138.59:55650\] AH00898: Error reading from remote server returned by /rest/api/content  
\[Wed Dec 12 13:29:54.645775 2018\] \[proxy_http:error\] \[pid 12601\] (70007)The timeout specified has expired: \[client 131.97.138.59:55703\] AH01102: error reading status line from remote server localhost:9090

As of now we have increased,

***max-file-descriptor to 32768***

***maxThreads in server.xml to 100***

***hibernate.c3p0.max_size in confluence.cfg.xml to 125***

Please provide your views.


Answers:
author: Amith Mathur _Appfire_
body: Hi [@Arun Das](/t5/user/viewprofilepage/user-id/933766),

If you have your confluence instance configured behind the Apache, then you need to update the values in the Apache configuration files. The 502 proxy errors are related to the timeout values. Add the following in your httpd.conf file and restart the Apache and Confluence once.

```
Timeout 2400
ProxyTimeout 2400
ProxyBadHeader Ignore
Keepalive=On
```

Thanks,  
Amith Mathur


Tags: confluence-server

server
How can I export a confluence doc and then import it back without losing any data/ formatting?
Asked by LIndsay Kiefer:

I need to be able to move documents out of confluence and back into confluence and be able to keep all the macros and page layouts once i import it back.


Answers:
author: Mirek
body: I am afraid it would be not possible. It depends you content of course. If you have complex tables and a lot of macros it would be more differences comparing to normal simple text with images.Over the years people struggling with DOC formatting and not sure if someone would find a way to make it exactly the same working both ways.


Tags: confluence-server

server
Could not edit/post global templates on confluence
Asked by Ryan Triwardhana:

I am encountering a problem when creating/editing global templates on confluence.

for some reason after saving a new templates, it would not appear on list of global templates.

and on another case the template are published, however when I attempt to edit it, the changed content would not be reflected on the templates

currently I am using Confluence 1000.0.0-757578ebeac - cloud version and have privilege as site admin

please help


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Ryan Triwardhana](/t5/user/viewprofilepage/user-id/2366713),

Looks like you are not part of the Confluence **system-administrators** group, please verify the Global Permissions in Confluence and make sure you have the **System Administrator** Permission.

Thanks,

Kiran.

comments: author: Ryan Triwardhana
body: hi [@Kiran Panduga {Appfire}](/t5/user/viewprofilepage/user-id/645618)  

I don't think that would be the problem, since sometimes the template are successfully posted

editing also enabled, but no changes are reflected


author: Kiran Panduga {Appfire}
body: Hi [@Ryan Triwardhana](/t5/user/viewprofilepage/user-id/2366713),

In General, the Confluence Cloud has the option to edit/create new templates and it works well. However, as this is not with permissions, let me ask you few follow up questions,

* Is this issue with all the Global templates or specify template ?
* Recently added third party plugins ? Sometimes, third party plugins are known cause for this issue.
* Any particular error message while editing the templates ?
* what level of Permission granted to the user ?
* Look and feel specific customization, in place ?

Thanks,

Kiran.


author: Ryan Triwardhana
body: Hi [@Kiran Panduga {Appfire}](/t5/user/viewprofilepage/user-id/645618),

After trial \& error and analyzing the template content I found out that some part of the content in templates (Tables with pictures) generates error which caused the template fail to load to global templates or even make changes to the edited content.

So I decided to scrap along the faulty part that I want to put in templates and use similar workaround.

I still dont know what cause that though, but it is already solved

thank you


Tags: cloud

confluence-cloud

template
Filter/Sort Status Macro in a Table
Asked by Gabriel Wernbacher:

Hy All!

I'm using for my JourFixe the Status Macro.  
Is it possible to Filter this Status in a Table as an example from the Screenshot so i would like to filter all "OPEN" Status rows.

Thx  
BR Gabriel

![confluence_status.png](/t5/image/serverpage/image-id/40080iBABFFF070E9F6C46/image-size/large?v=v2&px=999 "confluence_status.png")


Answers:
author: Danielle Downs
body: I'm finding that the text contents of the text in the status 'pill' is being ignored altogether and not even being sorted alphabetically, so the order appears almost random, although it could be defaulting to date last modified.

If I just enter text, rather than using the status 'pill', it does sort correctly, but I want to colour code the status using the status icons to make them stand out (isn't that what they're for?!). It seems I can't have both though :-(


author: Jennifer Hemmens
body: Hey Gabriel,

The status macro seems to be a static div: when you sort the table it will sort the statuses alphabetically.

If you use JIRA for issue tracking, you can sort the JIRA tasks table by status.

comments: author: Katie A
body: [@Jennifer Hemmens](/t5/user/viewprofilepage/user-id/1387821) when you said it will sort the statuses alphabetically, what do you mean?  

By colour? (that doesn't seem to be the behavior)  
By title? (as [@Danielle Downs](/t5/user/viewprofilepage/user-id/3568094) stated, that doesn't seem to work either).

If you know the answer, that would be much welcome! :)


Tags: cloud

confluence-cloud
Confluence notification not working
Asked by Marco Peterseil:

I want to receive emails from Confluence If somebody changes the content of a page. I set up the watcher for me on this page. But I get no email after a change. "Send a test email" in Confluence mail servers configuration is working for my email address.

I set up debug logging for

com.atlassian.confluence.jmx

com.atlassian.confluence.mail

I found no real hints for the root cause.

In System plugins these modules are enabled.

page-created-notification  
page-edited-notification  
page-moved-notification  
page-trashed-notification


Answers:
author: carolyn french
body: Hi Marco,

How did you test after you set up yourself as a watcher on the page? Did another user make a change and update the page (and keep the box checked to notify watchers)?

![2018-12-12_2127.png](https://community.atlassian.com/t5/image/serverpage/image-id/40116i917E3B017865FA46/image-dimensions/321x96?v=v2 "2018-12-12_2127.png")

Are you getting other notifications from Confluence when they happen?

Carolyn

comments: author: Marco Peterseil
body: Yes as being watcher I made a change on the page and kept the box checked but there is still no notification.


author: Marco Peterseil
body: My colleague complained also she made a change on other pages and the watchers received no notification and the watchers box were also checked.


author: Marco Peterseil
body: We use News Teaser add-on module on the page. Maybe that could be the reason why it fails to work If somebody makes a change on the page.


author: carolyn french
body: Look under Settings-\> Email and if you don't have the following checked, then you will not receive notifications for changes you make.

The add-on could possibly be impacting your notifications. Can you test again on another page?

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


author: Marco Peterseil
body: I applied this setting. Success. On the page without News Teaser add-on module it works for me.

Thanks!


author: Marco Peterseil
body: I added a space on the page out of news teaser and it works well.


Tags: confluence-server

server
Error while posting changes. Proxy and WebSocket.
Asked by hutsi:

1. Open the page  
2. Click "Edit"  
3. Make edits  
4. Click "Refresh"

![??????.png](https://community.atlassian.com/t5/image/serverpage/image-id/40051i2A27AADF98EFE579/image-dimensions/484x291?v=v2 "??????.png")

TO BE:  
The editor should close and open the edited page.

AS IS:  
An error occurs.  
"Connection timed out. If this happens again, contact your Confluence administrator. You may be using a proxy server that blocks WebSocket connections."

Office proxy is indeed used and there is no possibility to change it.  
Are there any other ways out? What does WebSocket use?


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@hutsi](/t5/user/viewprofilepage/user-id/2428206),

Generally, Collaborative editing in Confluence requires a WebSocket connection. If one can't be established due to a timeout, or a proxy server or firewall that doesn't allow WebSocket connections, the editor will fail to load.

There are multiple reasons, one see this error message.

* Unsupported Web Browser
* Proxy disallow the web socket connections
* SSL configuration, if applicable
* Firewall disallow the web socket connections

I would recommend to check the network connection and review the atlassian-confluence.log file to identify the exact reason for encountering this issue.

Plus, If SSL configuration is in place, make sure to trust the certs into JAVA keystore.

For additional information, please refer to the below KB article

<https://confluence.atlassian.com/confkb/confluence-throws-the-editor-didn-t-load-this-time-error-when-trying-to-edit-a-page-840796639.html>

Thanks,

Kiran.


Tags: confluence-server

server
Can't login to Confluence
Asked by Mohammad Hashem:

Hello,

I have a jira server connected to Active directory and a confluence server connected to jira for authentication suddenly after renewing the certificate of Jira I can't login any more to confluence and I am getting Sorry, an error occurred trying to log you in. Please try again.


Answers:
author: Johan Soetens _Dumblefy_
body: Hello,

I think your new remote certificate is no longer trusted, you'll have to reimport it.

[Application Links Troubleshooting Guide](https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html)

[SSL and application link troubleshooting guide](https://confluence.atlassian.com/applinks/ssl-and-application-link-troubleshooting-guide-790632063.html)


author: Mohammad Hashem
body: Hello,

If I access jira I can see the certificate is trusted and valid.
How to include a read more link on parent page
Asked by Dillon Weyer:

I am using the Children display macro for a glossary page I am creating. From a usability perspective, yes the title is a link to the full child page, but on the parent page, it isn't obvious that the text displayed is only a snippet of the full definition. What I was thinking was to include a read more... link on the parent page so that the user is aware that for each term they need to click the link to view the full definition. Any ideas on how I can include this as part of the children display macro or achieve it some other way?


Answers:
author: roman
body: Hi [@Dillon Weyer](/t5/user/viewprofilepage/user-id/2292668),

there are multiple ways on how to do it.

1. If you have a commercial license for Confluence (above 10 users), you also get access to Confluence's source code. That way you could create your own custom macro by utilising the original logic with some added functionality.

The downside is that you would have to let your users know that they should use the custom macro, not the built-in one.

2. Again, if you have a commercial license, you could completely re-write the built-in macro and build a custom Confluence out of this just for you.

The downside is that some apps replace default macros with their own implementations that have additional functionality in the spaces where those apps are active (we do this for Scroll Versions app).

3. The best approach would be to use custom CSS or JS on the global or space level that adds or re-writes the links to children pages and adds a text such as "read more". That way the macro is not overwritten, and the changes are applied on the clients (end-users' computers).

I hope this helps.

Roman.

comments: author: Dillon Weyer
body: Hi [@roman](/t5/user/viewprofilepage/user-id/853566), I am new to confluence so thanks for the assistance. I like idea 3, can you point me to some documentation that can guide me in terms of how I can achieve that option?


author: roman
body: [@Dillon Weyer](/t5/user/viewprofilepage/user-id/2292668),

Children macro prints out the list as bullet points. Therefore, if this macro is usually in the same position on the page, it should be possible to traverse through the HTML code with JS or CSS and add a paragraph with ::after.

The custom CSS code can be inserted on a space level in Space Tools ? Look and Feel ? Stylesheet.

JS code can only be inserted globally in Confluence: Confluence Admin ? Custom HTML.

I don't have the exact code to share, unfortunately. But I hope this helps you.

Related links

\* CSS ::after selector: [https://www.w3schools.com/cssref/sel_after.asp
\*](https://www.w3schools.com/cssref/sel_after.asp) How to use JS in Confluence: <https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html>

Roman.


author: Dillon Weyer
body: Thanks very much


Tags: child-page