youngmon/atlassian-qna huggingface dataset:
Confluence API TLS Issues
Asked by Jason Abergel:

Hi All,

We recently migrated to a new MS 2016 Server (from 2008R2) running Confluence 6.7.1 Server via IIS and since then, we have encountered an issue with the API.

We have a PS script that fetches attachments from Confluence and stores them to a local directory via the API. On the old server this worked fine but on the new server, no go.

Interestingly enough, if we enable TLS 1.0, 1.1 and 1.2, the script works, but with only TLS 1.2 enabled, we get the following error.
> *Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send.*

I have tried adding the following to the Connector port in the server.xml, but this did not work either.
> *sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"/\>*

Neither did uncommenting out the Connector port for 8443.

At this point I am fresh out of ideas and would love for your assistance.

Thank you for your time!

Jay


Answers:
author: Boris Berenberg - Atlas Authority
body: Are you terminating SSL at IIS or Confluence? Looks like this may be a PS script issue with .NET: <https://stackoverflow.com/questions/36265534/invoke-webrequest-ssl-fails>

comments: author: Jason Abergel
body: That was it. I added the following variable to the script and it worked like a charm.

```
$AllProtocols = [System.Net.SecurityProtocolType]'Tls12'
[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols 
```

Thank you so much for your time :)

Have a good day, Cheers!


author: alex flora
body: I also needed to add the following line on my get requests when doing a lot of scripted additions:

# Reset current connection, resolves error "The underlying connection is closed"  
\[System.Net.ServicePointManager\]::FindServicePoint($ConfluenceURL).ConnectionLimit = 1

<br />

Sometimes my script closed with the same error messages half-way running

So globally enable the tls12 protocol in the script and whenever i query for a pageid i run this line before runing the query

The variable $ConfluenceURL points to the url of our main confluence site


author: Jason Abergel
body: SSL is configured at the IIS level and not in Tomcat. The script runs fine as long as TLS 1.0 and 1.1 are enabled. Once removed the script no longer works.

comments: author: Boris Berenberg - Atlas Authority
body: So then yeah it sounds like an issue with the script, not Confluence or IIS. See my other links.
Invalid characters Link to incidences Confluence to Jira Core
Asked by Eduardo Bascur:

I created a section on Confluence, and added an issue link with jira core, but when I add the issue link on my jira Core the name of my article does not see accents. The text do not readable. How to I resolve this problem?

The name of the article is "Creaci?n funcionarios en reloj control", the view name on jira core "**Creaci??n** funcionarios en reloj control"

**Jira Core issue Link with confluence**

![Link Jira Core.png](/t5/image/serverpage/image-id/18553i01F598568296BEE4/image-size/large?v=v2&px=999 "Link Jira Core.png")

**Confluence view.**

![Confluence_How_to.png](/t5/image/serverpage/image-id/18555i585AF23FEA8FA8AD/image-size/large?v=v2&px=999 "Confluence_How_to.png")

Thanks a lot in advance!


Answers:
author: Andy Heinzer
body: Hi Eduardo,

Since this text looks correct in Confluence, but not in Jira I think the problem is actually with the encoding Jira is using. I would recommend trying to follow the steps in [JIRA Application internationalisation and encoding troubleshooting](https://confluence.atlassian.com/jirakb/jira-application-internationalisation-and-encoding-troubleshooting-203394762.html).

We typically recommend setting all aspects of Jira to use UTF-8, however I have noticed that out of the box, many installations of Jira are not necessarily using this, either because of system environmental variables or sometimes the system just defaults to use another encoding method such as ANSI.X3 or cp1251.

I would recommend trying to start Jira as that guide recommends with:
> * Start JIRA with the variable `-Dfile.encoding=utf-8 and -Dsun.jnu.encoding=UTF-8`. See [Setting properties and options on startup](https://confluence.atlassian.com/adminjiraserver070/setting-properties-and-options-on-startup-749383528.html).

Please try these steps and let me know the results.

Andy

comments: author: Eduardo Bascur
body: Hi Andrew,

I have reviewed your comment and I did what you told me. The answer is correct.

I set the variable -Dfile.encoding=utf-8 and -Dsun.jnu.encoding=UTF-8 on file setenv.bat of my jira, and problem was resolved.

```
set JVM_SUPPORT_RECOMMENDED_ARGS= -Dfile.encoding=utf-8 -Dsun.jnu.encoding=UTF-8
```

The configuration is done with Jira stopped, then I rebooted the instance once upon the change was made.

Thanks for your help!


author: Andy Heinzer
body: Awesome, glad to hear it. Thanks for letting us know that this helped.


author: Boris Berenberg - Atlas Authority
body: I would look at what DB collation you're using in Jira. It may not support those characters. Can you try just copy and pasting the string into a Jira comment to see how it looks there?

comments: author: Eduardo Bascur
body: Boris, thanks for your answer, but the problem was resolved.

I did comment this solution more down.

Thanks again!


Tags: jira
combine Confluence space with team calencer
Asked by Waller Marco:

Dear Sir or Madame  

We're using Confluence. I created a Space for my team. We're entering Tasks with end-dates in the space.  
As well we created a team calender. How can a task or a date be visible in the Team-Calender?  

For example, when we define a milestone in a confluence space site, it would be great if this appears in the team calender.

We're creating tasks while using  
task123 @user45 //date67

How does the "task123" appears on the calender on "date67" ?

thanks and regards  
Marco


Answers:
author: Minh Tran
body: [@Waller Marco](/t5/user/viewprofilepage/user-id/1205484)I don't think we currently have similar things between Confluence Inline Task and Team Calendar.

However, you can follow up some existing feature suggestion tickets here:

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

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

comments: author: Waller Marco
body: Hi  

Thank you for your fast answer. I'm surprised that this functionality isn't implemented yet. Do you think it will be fixed soon or does this seems to be a bigger development.  

Best

Marco


author: Minh Tran
body: [@Waller Marco](/t5/user/viewprofilepage/user-id/1205484) That is a product decision decided by our Product Managers. I suggest you to raise your voice in above tickets. That is the right way / channel to communicate and share your thoughts for it


author: Waller Marco
body: [@Minh Tran](/t5/user/viewprofilepage/user-id/732683)Thanks for your fast answer. I added a comment in the mentioned tickets.


author: Max Foerster - K15t
body: Hi Marco,

a task on a Confluence page is not comparable to an event type in Team Calendars. So anyone please correct me, but you will have to maintain such things in Team Calendars as well and not on a Confluence page unfortunately. There are a few open feature requests are regarding this.

Best, Max
Table of contents under this header only
Asked by Parag Baxi:

I am unable to create a table of contents that only lists subheaders under a specific header. It would create a dynamic list.

Example:

---

Header Fruits

Here you'll find a list of fruits:

{table of contents that only shows:  
Subheader Apple  
Subheader Pear  
}

Subheader Apple

Apples are yummy.

Subheader Pear

Pears can be sour.

Header Veggies

Subheader Lettuce

---


Answers:
author: Patrick Cartier [Candylio]
body: When you edit the table of contents macro you have a few options to only include certain headings:

You can set your headings that you would like to see in the table all at the same heading level (i.e heading 3). Then use the minimum heading level and maximum heading level to only get those headings. The rest of your headings on the page will need to be different and that may make the page look funny.

The other option is to use the include or exclude headings field depending on how many headings you want to include or exclude. Naturally I would choose to use include if there are less headings to include than exclude, and vic versa for exclude.

Hope this helps
Is it possible to give the spaces a static sort?
Asked by Gerhard Kaiser:

The order of spaces changes nearly every day. The most frequently used spaces are on the top. But that ist a little bit confusing. A better solution would be to have a user defined and static sorting.


Answers:
author: Minh Tran
body: [@Gerhard Kaiser](/t5/user/viewprofilepage/user-id/995200)

For Confluence Server, you can follow up and put your comments here

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

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


author: thais
body: Hi, Gerhard,

We have two feature requests that deal with sorting the Spaces:

- [CONFCLOUD-37567 - Order spaces manually](https://jira.atlassian.com/browse/CONFCLOUD-37567)

- [CONFCLOUD-41340 - Dashboard My Spaces not sorted](https://jira.atlassian.com/browse/CONFCLOUD-41340)

Although the first feature request is marked as "resolved - won't do", we suggest you add yourself as a watcher to both of them, taking the time to vote on them to increase their popularity. In addition, more information about how Atlassian implements New Features can be found in [this page](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).
Confluence and JIRA got desynchronized after modifying IP address range
Asked by Anand Mutagond:

Confluence and JIRA got desynchronized after modifying IP address range. Log in authentication is done through LDAP and it is configured using jira server but we are able to log in to jira.


Answers:
author: AnnWorley
body: Long story short, an admin needs to log into Confluence and make sure the user directory is set up for the right Jira IP and the Jira User Server needs to include the new Confluence IP in the Application setup.

For logging into Confluence as an administrator: [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html)  

To make sure Jira User server expects authentication requests from the Confluence IP:[Connecting Confluence to Jira applications for User Management](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html#ConnectingtoCrowdorJiraforUserManagement-ConnectingConfluencetoJiraapplicationsforUserManagement)

If the existing user directory won't connect, please follow[Connecting to Crowd or Jira for User Management](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html#ConnectingtoCrowdorJiraforUserManagement-ConnectingConfluencetoJiraapplicationsforUserManagement) from the beginning and create a new user directory in Confluence. You can still use your LDAP directory via Jira.
Companion App Settings
Asked by Robert S Levy:

How do I change the Companion App settings? It keeps defaulting to Keynote for .ppt files but I want it to use Libre Office?

Thanks


Answers:
author: AnnWorley
body: The operating system chooses which app to use with which file extension. Here are some ways to change it in newer Mac and Windows versions:

**Mac**   
In the Finder, select the file, then choose File \> Get Info.

You can also Control-click the file, then choose Get Info.

In the Info window, click the disclosure triangle next to "Open with."

Click the pop-up menu, then choose the app.

To open all files of this type with this app, click Change All.

**Windows**

Click "System," then click "Default apps" in the column on the left. This screen shows you the most common default programs that can be changed, most of which are set to Microsoft programs when Windows is first installed. Click on any of the program icons to change the associations for the file type or protocol.


Tags: companion-app
Hide the side bar
Asked by Flavio:

I can't hide the side bar. I'm the administrator of the website, but I can't see user macros in the configuration. I'm very disappointed with Confluence. It is too complicated and nothing I read in the posts seem to work in my version. I'm using it hosted at Atlassian.


Answers:
author: Dan Winkler
body: Using the **\[** key works. It's one of the handiest shortcuts I know of.


author: Minh Tran
body: [@Flavio](/t5/user/viewprofilepage/user-id/1205340) if you hove the mouse to the middle between the sidebar and the main page, you will see a small arrow appearing. That will allow you to hide the side bar to the left side

Or if you use your mouse to hold the border blue line between sidebar and main page, and drag it to the left, you can also hide the sidebar too

I hope this help you

![Image 2018-04-04 22-44-57.png](https://community.atlassian.com/t5/image/serverpage/image-id/18637i0400D805C4A3FFB7/image-size/large?v=v2&px=999 "Image 2018-04-04 22-44-57.png")


author: Flavio
body: Nope, there is no arrow!


author: Rob
body: Can you not click the little arrows at the bottom left of the sidebar to hide it?


author: Andrea Mendez
body: Hi, if you are using Confluece Cloud there are some features that are only available in server and not in cloud, for example, User macros are only available in server :)
How to customize Plugin Properties dialog for both Confluence for Server and for Cloud?
Asked by CelesteCS:

Hello,

A plug-in has a set of parameters in Plugin Properties dialog. Depending of a parameter value some additional elements should be shown.

How such behavior can be accomplished for both Confluence for Server and Cloud?

Thanks!


Answers:
author: Minh Tran
body: [@CelesteCS](/t5/user/viewprofilepage/user-id/671030) The way to create plugins for Cloud and Server are totally different in these days.

So I don't think there is a common way to do that kind of task for both Confluence Server and Cloud

Here are some useful links i hope it helps you for Confluence Server plugin development:

<https://developer.atlassian.com/server/confluence/extending-the-macro-property-panel/>

<https://developer.atlassian.com/server/confluence/adding-a-configuration-ui-for-your-plugin/>

For confluence cloud, you could check it out <https://developer.atlassian.com/server/confluence/adding-a-configuration-ui-for-your-plugin/>

comments: author: CelesteCS
body: Hi Minh,

This documentation describes mostly standard cases, but customization is not a common case.

Anyways, thanks!


author: Minh Tran
body: [@CelesteCS](/t5/user/viewprofilepage/user-id/671030) if you can describe your case clearer with screenshots, i think i can lead you better resources


author: CelesteCS
body: Hi Minh,

I would start from the simplest example:

1. There is Param1, which is of type enum. So it is shown as a combo-box in the Plugin properties dialog. It has three values, for example: Task1, Task2, Task3
2. When one selects a specific Param1 value, there should appear another combo-box, based on this value:
   1. If you select Task1, the Param2_1 is shown, which is also a enum, so combo-box with SubTask1_1, SubTask1_2 and SubTask1_3 is shown. If you select
   2. If you select Task2, the Param2_2 is shown, with variants SubTask2_1, SubTask2_2 and SubTask2_3
   3. If you select Task3, the Param2_3 is shown, with variants SubTask3_1, SubTask3_2, SubTask3_3 and SubTask3_4

As you see in the example, the appearance of Param2_1, Param_2 and Param_3 depends on the value of Param1 value. How I can accomplish that in plugins for Server and for Cloud?

Thanks!


Tags: atl-dev
delete the profile
Asked by stefania papadia:

hello, i like to know how i can delate my profile on ResearchGate.

Thank you


Answers:
author: Shannon S
body: Hi Stefania,

As Nic mentioned, we're not ResearchGate, but they have the information you need on their website:

* <https://explore.researchgate.net/display/support/Profile>

Under Top Questions:
> **I have two profiles - why did this happen and how can I fix it?**
>
> Duplicate profiles are sometimes created because of the various ways you can sign up to ResearchGate. The best way to fix this is to delete whichever profile is less complete. At this time, there's no possibility to merge duplicate profiles.
>
> To delete your secondary profile:
>
> 1. Log in with the email address you used to create your secondary profile
> 2. Go to your [Account Settings](https://www.researchgate.net/account.AccountSettings.html) page
> 3. Scroll down to the bottom of the page
> 4. Click the **Delete account** button.
>
> If you no longer have access to the old profile, please let us know through the **[Contact form](https://www.researchgate.net/contact?type=contact_duplicate_accounts)** and provide us with the ResearchGate URLs or email addresses for the duplicate profiles. Also, please specify which link should be kept and which link should be removed.
>
> Please note that we can only transfer the publications to your new account and remove the old one. Profile views, followers, followings and questions will not be transferred.

If you still have issues, please reach out to ResearchGate directly.

Shannon


author: Nic Brough -Adaptavist-
body: You'll need to ask ResearchGate - we're end users of Atlassian stuff here, not the admins for your system!
Created Knowledgebase - Issues moving pages
Asked by Matthew Blackwood:

So I created knowledgebase pages in confluence and moved the existing pages in to these, now the labels are broken with the following error;

**Error rendering macro 'contentbylabel'**

parameters should not be empty

Any idea why since they still exist and have labels ?

I notice the KB module has imported these labels too


Answers:
author: AnnWorley
body: I tried moving some labeled pages out of their original hierarchy and indeed to other spaces but the Content by Label kept reporting all of them.

Please let me know step by step how to reproduce your use case as I seem to be misunderstanding at some point.

I am not sure what the error message you posted means by "parameters should not be empty." Please attach a screen shot of the Content by label macro, for example:

![Screen Shot 2018-04-03 at 11.15.03 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/18523iC0D500E78A9891D0/image-dimensions/692x428?v=v2 "Screen Shot 2018-04-03 at 11.15.03 AM.png")

There also could be a filter set:

![Screen Shot 2018-04-03 at 11.16.04 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/18524iEB1C7B82017C7B86/image-dimensions/562x344?v=v2 "Screen Shot 2018-04-03 at 11.16.04 AM.png")

Please give these settings a review and let us know any findings.

Thanks,

Ann


Tags: label
Confluence daily backups vs Custom database backup
Asked by Abhishek Sharma:

We know that confluence takes daily backup of the existing data in the system, also the data is stored in a DB.

Our question is that incase the DB gets corrupted or data is lost due to accidental delete or Disk failure etc. Is the daily backup sufficient to restore the DB back in its original state.

Or do we need to take the back up of DB as well?


Answers:
author: Shannon S
body: Hello Abhishek,

The automatic backup is fine for small and evaluation instances, but we do recommend that you have your own [production backup strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html) as well.

Please have a look at the page above for information on configuring your own backups for use in case of corruption or data loss.

Regards,

Shannon


author: Igor M.
body: Hello,

We recommend setting up a separate DB backup as well as backup of home and installation directories. Built-in XML backup is great, but once your production instance becomes large, it might become inefficient, take longer to run and require to consume more server resources. Saying that you can still restore your instance using XML backup, as it includes DB backup too.

Have read of our [Production Backup Strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html) on best practices and recommendations on setting up production backups.

Regards,

Igor
Cant remove space
Asked by Matthew Blackwood:

I deleted the How To's space I created but it some how still appears, it's empty but still viewable and requests to create a page - I just want it gone.


Answers:
author: Sloan
body: Hi [@Matthew Blackwood](/t5/user/viewprofilepage/user-id/1203466)

Did you delete the Space with **Space Tools -\> Overview -\> Delete Space** ?  
Are you able to still open the Space Tools of this space?

Cheers  
Niklas
Remove edit function from Anonymous User
Asked by Matthew Blackwood:

How do I setup anonymous access but disallow the right to create or edit, we want the ability to have read only access to users who are not logged in and no rights to edit.


Answers:
author: Nic Brough -Adaptavist-
body: In the global permissions, allow anonymous access.

In each space permission, allow anonymous "use" but not "create/edit" - you'll be able to see how it works just by looking at the space permission page.
Howto escape PSQL exit command?
Asked by Simon Cordt:

I have a codeblock and want to show how to exit PSQL, which is done by issuing \\q.

However, \\q is always gone after saving the edited page.

If I escape the backslash by writing \\\\q, \\\\q is also shown in the saved page. But that's not what I want, of course.


Answers:
author: Shannon S
body: Hello Simon,

Unfortunately, this is not possible, due to these limitations:

* [CONFSERVER-2494](https://jira.atlassian.com/browse/CONFSERVER-2494)

> The backslash escape syntax is an unfortunate legacy of Confluence's wiki markup, and not one we can change without wide-reaching side-effects that would break existing content. As such, it would only get fixed if we did a wholesale replacement of Confluence's markup.

There are a few workarounds listed on the page, but it doesn't appear they are working any longer, as I have tested this on 6.8.0 as well as Confluence Cloud.

As a workaround, I was able to display preformatted text using the [HTML macro](https://confluence.atlassian.com/doc/html-macro-38273085.html). both \<pre\> and \<code\> would work here. You can also use the macro to format the text on your example if you want to include a border or anything more here.

Let me know if you have any questions about that.

Shannon

comments: author: Simon Cordt
body: Wrapping it in a \<pre\> will do just fine.

Thank you for the hint!


author: Shannon S
body: Simon,

No problem! Glad it helped.

Take care and kind regards,

Shannon


Tags: code-block