youngmon/atlassian-qna huggingface dataset:
JIRA and Confluence Integration - OAuth Issues
Asked by Navadeep:

Hi Atlassians,

We are not able to enable connection with JIRA and Confluence properly.

<br />

Could you please provide your suggestions.  

We have new version of Confluence 6.2.4 upgraded recently from version 5.6.4.  

JIRA version we are using is version 6.3.12.  

We were able to create JIRA issues as well from Confluence earlier.  

As our current environment of JIRA was not secure earlier, we were able to connect properly.  

Now after making the environment secure, I am not able to establish the connection in the application links.  

Please let me know the way forward.  
Please find screenshot for the same.![community.JPG](/t5/image/serverpage/image-id/7281i92BBC11E84615A28/image-size/large?v=v2&px=999 "community.JPG")

Best Regards,

Nav


Answers:
author: Gonchik Tsymzhitov
body: Hi!

1. Could you remove on both instance app links?

2. After that create a new application links with ssl.

3. If it does not work, could you provide atlassian-jira.log.

It will help to understand from logs which problem correctly.

Thanks

Cheers,

Gonchik Tsymzhitov


author: Navadeep
body: Yes Marcos, the cacerts are installed properly. We use a wildcard certificate. Used the same certificate which we used for PROD env.

We have tried all the options from the screenshot which I have shared.

Tried giving http: , https: , with port number, without portnumber in the application URL and display URL

Best Regards,

Nav


author: Marcos Sanchez
body: You said that you made your JIRA environment secure, so I understand that it's now under SSL.  
Are your cacerts installed properly? It may be a cause of misconnecting.


Tags: jira
Edit a member from a Team Space in Confluence
Asked by Anthony Alverola:

Hello, when adding a list of members to user group i get an error message :

The following error(s) occurred:

* User XXXX could not be found. Please confirm his or her existence with a Confluence Administrator.

I do confirm that this user exist ... so what's the pb please?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

ok, you confirm existence with your Confluence Administrator in User Management (Users) section

This user exist and has access to your space?

Thanks

Cheers,

Gonchik

comments: author: Anthony Alverola
body: Hi,

Yes he has access to the space. By the way, i found the solution : it's needed to add the "user id" and not the name \& first name ...
How to add a logo above the tree navigation at the left?
Asked by J?rgen Weidner:

I?d like to add our project logo (png-file) above the tree navigation at the left. How to do this?


Answers:
author: Danny Zuccaro
body: Hi Jurgen,

The steps found [here](https://confluence.atlassian.com/confcloud/changing-the-site-logo-724765495.html) should help you change the logo.

If this resolves your question if you could please click the check to the left to close the item.

Thanks,

Danny
Seeing what changes happened in a draft
Asked by Ken:

Is there a way to see the differences between a draft update for a page and the published version of that page? Since Confluence saves a draft when you leave a page while editing, I occasionally come back and see a draft with no clue as to what I had changed.


Answers:
author: GBE
body: Any feedback on this question?

With collaborative editing and 'shared draft', this is even more complex to SAVE/PUBLISH a page without knowing what are the pending changes / what have been modified by others.


Tags: collaborative-editing

diff

draft
Macro placeholder encoding error
Asked by Thorsten B.:

Hi,

after upgrading from CentOS 7.3 to 7.4 i can see some strange behavior with the macro placeholder images.

The content is not wrong or has some issues but when i go to the edit mode then i get encoding error while rendering the macro placeholder images.

Like this (codeblock macro)

![confluence_codeblock.PNG](/t5/image/serverpage/image-id/7269i30964DEC36E5BCB6/image-size/large?v=v2&px=999 "confluence_codeblock.PNG")

But i can use the macro and edit it without a problem. Also the content is saved to the database and can be viewed without a problem.

The only thing which happend during the last 4 weeks was an upgrade from CentOS 7.3 to 7.4.

I checked with a new CentOS 7.4 VM and a clean install of confluence but got the same misbehaviour.

Setup:

CentOS 7.4

Confluence 6.3.4

PostgreSQL 9.5

Nginx

\>\> locale  
LANG=en_US.UTF-8  
LC_CTYPE="en_US.UTF-8"  
LC_NUMERIC="en_US.UTF-8"  
LC_TIME="en_US.UTF-8"  
LC_COLLATE="en_US.UTF-8"  
LC_MONETARY="en_US.UTF-8"  
LC_MESSAGES="en_US.UTF-8"  
LC_PAPER="en_US.UTF-8"  
LC_NAME="en_US.UTF-8"  
LC_ADDRESS="en_US.UTF-8"  
LC_TELEPHONE="en_US.UTF-8"  
LC_MEASUREMENT="en_US.UTF-8"  
LC_IDENTIFICATION="en_US.UTF-8"  
LC_ALL=

setenv.sh

CATALINA_OPTS="${CATALINA_OPTS} -Dfile.encoding=UTF-8"

admin/encodingtest.action

shows no error ==\> everything is fine

Test-Setup with the same behaviour:

CentOS 7.4

Confluence 6.3.4 and Confluence 6.4.1

embedded H2 database

Nginx

Also tried to get the image without nginx and got the same result.


Answers:
author: Thorsten B.
body: Found the problem

<https://confluence.atlassian.com/jirakb/fonts-displayed-incorrect-in-gadgets-and-database-monitoring-graph-938041773.html>

Install the system fonts and reboot the system

```
yum groupinstall fonts
reboot?
```
Confluence 5.10. - disable new dashboard
Asked by Bernd Anderer:

We need to update to Confluence 5.10. but we MUST disable the new dashboard for all users without giving the option to switch to the new dashboard.

Can this be done?

If so.... how?

Thank you

Bernd


Answers:
author: Shannon S
body: Hi Bernd,

Per [How to re-enable the new dashboard](https://confluence.atlassian.com/confkb/how-to-reenable-the-new-dashboard-in-confluence-5-9-790633943.html?_ga=2.147647159.1642966581.1507535880-1729042927.1506935118), there's a dark feature called **simple.dashboard.disabled** . When a user logs into 5.10 for the first time, they are presented with a button at the bottom that says **Give me the old dashboard** . When they click that, it adds that dark feature to their user specifically at the URL **\<base_url\>/users/darkfeatures.action**.

However, I've checked, and you can add the same line to the site-wide dark feature, causing the old dashboard to be set for all users by default, without giving them the option to choose the new dashboard.

So:

1. Go to **\<base_url\>/users/darkfeatures.action**
2. At the top, under **Global Dark Features** click **Change** next to ***These dark features are enabled for the entire site.***
3. Enter your sysadmin password.
4. At the bottom now, there will be a message under**Site Dark Features** that says Enable dark feature. In that field, paste this: **simple.dashboard.disabled** and submit.
5. Now, you can navigate back to your dashboard and you will see it is automatically set to the old dashboard.

Something to keep in mind; Confluence 5.10 will reach [End of Life](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) in June and will no longer be supported. As of Confluence 6.0, the new dashboard is the norm, and it will not be possible to disable the new dashboard.

Kind Regards,  
Shannon
How to hide content to certain users?
Asked by Simone Baracchi:

I want to hide some content from certain users, for example unauthenticated users.

I've been using the "include" plugin, placing the hidden content in a separate space with different permissions, but recently (I think?) it started showing an error if the users couldn't access the hidden space contents.

I wanted to hide that error with a custom CSS... but recently the support for custom CSS has been completely deprecated.

I've found some other solutions but they put the hidden content inside the page "code" as "comments" that you can see only by editing the page. I don't like this solution since you have to give write permissions to the users in order to be able to see the contents (or anyway, you need to edit the page to see it).

Is there some other way to do this?

edit: I'm refering to Confluence Cloud.


Answers:
author: Thomas Schlegel
body: Hi Simone,

I've written an article about hiding content on a Confluence page:

<https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-Hidden-Treasures/ba-p/595803>

I think, the visibility plugin is the one, you are looking for.

comments: author: Simone Baracchi
body: Thanks for the link. Interesting read, but it seems the only option with Confluence Cloud is adding a div with "display: none" and accept that the content is there anyway.

I was hoping in something slightly more secure. The "Include" plugin has been working fine, if it wasn't for the error it shows.

The visibility plugin isn't available for Cloud.
Confluence and Jira on same machine
Asked by Anurag Ashok:

I am not getting success to install the Jira and Confluence in same machine. Jira is already working but when I tried to install confluence, Jira also stopped working.

I followed the confluence installation as mentioned in document and able to reach upto url http://localhost:8090. But unable to connect with any one of options: standard JDBC database connection or Datasource Name.

Can you provide simple step by step procedure for installing confluence with existing Jira machine.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Please, see below:

<https://confluence.atlassian.com/conf57/installing-confluence-and-jira-together-701435562.html>

<https://community.atlassian.com/t5/Jira-questions/Installing-JIRA-and-Confluence-on-the-same-server/qaq-p/6105>

Step by step:

1. mkdir /atlassian

2. extract tar file /atlassian/confluence

3. extract tar file /atlassian/jira

4. set split home directories like this /atlassian/confluence-home

5. set split home directories like this /atlassian/jira-home

6. set java home

7. and configure conf/server.xml for different port jira and confluence

8. After that you configure systemd or init.d file

9. start system

I hope this info enough.

Thanks
How can I embed a link to an RSS feed into my space overview page?
Asked by Shorn Tolley:

I have a Confluence Cloud wiki space, it has pages and blog posts.

I can use the RSS Feed Builder to build an RSS Feed - and that works fine.

But I don't want my users to have to use the RSS Feed builder, and additionally online RSS readers that do auto-discovery of RSS feeds can't use the feed builder either.

What I want to do is take the link that the Feed builder created and embed it onto the overview page of my wiki. Such that a user will be able to click on it/drag it to their RSS Reader/browser etc. (just like you can do on the result page of the feed builder).

**NOTE** : I am not trying to embed the *content* of the RSS feed into my page -I just want to publish the RSS feed link itself, so users can find and use it easily.

Additionally, I'm hoping that doing this will enable RSS feed discovery to work properly.

Example (I use Ino reader): If I copy the URL of my space into the Ino Reader application, it should be able to discover the RSS feed by analysing the page, and then the user is able to subscribe to the RSS feed from there.


Answers:
author: Fabian Lim
body: Hi There,

I suggest you take a look at this KB on how to build an RSS Feed. Link: <https://support.atlassian.com/confluence-cloud/docs/build-an-rss-feed/>

Regards


Tags: rss
Pages are showing blank line under Page name and indenting page content
Asked by Jodie Gisler:

We are running Confluence cloud. When creating new pages today I am now getting a blank line being displayed under the Page Name and all of the page contents are indented. The content is broken into sections. All existing pages with the same content format are displaying correctly. It is only pages I have created as of today.


Answers:
author: Boris Berenberg - Atlas Authority
body: Can you provide a screenshot? Just make a new page with some bogus data. What happens if you copy paste an old page into a new one, does the issue still occur? What happens if you copy a new page into an old one? Can you reproduce this on a different browser? Can other users reproduce this?

comments: author: Jodie Gisler
body: I have resolved the issue. It is happing when I use page tree with the current page set as the parent. If I remove the page tree the indenting no longer occurs. Thanks


author: Dan Bilsborrow
body: ok. so why does this happen?
Unable to create a new Confluence page with the REST API
Asked by Ryan Greene:

Hello,  
I am attempting to create a new Conflunce page using the REST API as described here:  
<https://developer.atlassian.com/confdev/confluence-server-rest-api/confluence-rest-api-examples>  
and  
<https://docs.atlassian.com/atlassian-confluence/REST/latest/#content-getContent>

I get a successful response, however the return is the HTML for our main confluence page, not what I expected to get back as described in the documentation.

This issue appears to be very similar, if not identical to this problem:

<https://community.atlassian.com/t5/Confluence-questions/Why-does-Confluence-REST-API-return-html/qaq-p/42841>  
Which appears unresolved still.

Here's what I'm doing:  
curl -u XXXXX:XXXXX -X POST -H 'Content-Type:application/json' -d'{"type":"page","title":"new page","space":{"key":"T4T"},"body":{"storage":{"value":"\<p\>This is a new page\</p\>","representation":"storage"}}}' [https://dev-confluence.server.com/confluence/rest/api/content/](https://dev-confluence.blizzard.com/confluence/rest/api/content/)

Where T4T is my space key.

I've tried adding an ancestor to an existing page in the space, as well as removing the space key with the ancestor, nothing seems to be working.

Any suggestions?


Answers:
author: Chris Watkins
body: Removing the "/confluence" from the url seemed to fix this problem for me. So your url above would become

[https://dev-confluence.server.com/rest/api/content/](https://dev-confluence.blizzard.com/confluence/rest/api/content/)

Dunno, if it will help you, but it certainly did me!

comments: author: dgetme
body: Hi Chris,

Have been hitting my head around for a while unable to find a solution to this one and this works like a charm. Thanks a ton.

Removing confluence from the url is a perfect fix.

The Confluence API document needs to be updated. - <https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/>

I'll request for a correction.


Tags: developer

rest-api
Confluence and Sophos XG firewall
Asked by Rafal Niznik:

Hi,

I would like to ask you guys for advice because I have some issues with editing the pages. My Confluence instance is behind Sophos XG Firewall with Web Server Protection (WAF) set in place. I'm able to access confluence from internet but when it comes to editing pages there is an issue and I cannot find any articles how to set this correctly. Would you be able to help? I also want to set HTTPS connection to Confluence  

Best Regards

Raf


Answers:
author: Rafal Niznik
body: Configuration was actually very simple

Under Web Server create new server type https and set custom confluence port

Under Firewall you have to create Business application rule that listens on specific interface on port 443 and requests coming from specific domain name.

Under protected servers select earlier creates Web Server and you should be ready to go


author: Andy Heinzer
body: About the problem, we need more info on what the problem is when trying to edit pages.

* Are you seeing an error message?
* What version of Confluence is this?
* Are there errors in the confluence logs when this happens?
* Or are you only seeing errors in the browser session logs (developer tools in Chrome can help display if these are happening)

In regards to setting up confluence to use SSL, there are several guides by Atlassian, but these are typically for other software proxies like [nginx](https://confluence.atlassian.com/doc/running-confluence-behind-nginx-with-ssl-858772080.html), or [apache](https://confluence.atlassian.com/kb/securing-your-atlassian-applications-with-apache-using-ssl-838284349.html). There is also a guide for using SSL [when Confluence is not behind a proxy](https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html).

But I am afraid we don't have a specific configuration guide for such hardware devices. It can probably be done, but it largely is dependent upon the way those products are configured and Atlassian does not have detailed knowledge of these other products. You can probably use the Apache guide as a template to understand what changes have to happen to both Confluence and firewall/proxy in order to make this work.


Tags: firewall

synchrony
Install error Gliffy for Confluence
Asked by joe mellor:

Anyone help with the following error:

[root@CDSconfluence](mailto:root@DEVU0000799) \~:$ egrep "2017-10-04 11:56:4\[0-9\]" /var/confluence/logs/atlassian-confluence.log 2017-10-04 11:56:40,207 ERROR \[UpmAsynchronousTaskManager:thread-1\] \[sf.hibernate.util.JDBCExceptionReporter\] logExceptions The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size. 2017-10-04 11:56:40,207 ERROR \[UpmAsynchronousTaskManager:thread-1\] \[sf.hibernate.util.JDBCExceptionReporter\] logExceptions The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size. 2017-10-04 11:56:40,208 ERROR \[UpmAsynchronousTaskManager:thread-1\] \[sf.hibernate.impl.SessionImpl\] execute Could not synchronize database state with session 2017-10-04 11:56:40,298 WARN \[UpmAsynchronousTaskManager:thread-1\] \[upm.core.install.DefaultPluginInstallationService\] execute Plugin installation failed: Failed to install OBR jar artifact 2017-10-04 11:56:40,299 WARN \[UpmAsynchronousTaskManager:thread-1\] \[upm.core.install.DefaultPluginInstallationService\] execute com.atlassian.upm.spi.PluginInstallException: Failed to install OBR jar artifact  


Answers:
author: joe mellor
body: Thanks Gonchik, will try and let you know


author: Gonchik Tsymzhitov
body: Hi!

1. About value you can follow use this script -

<https://github.com/major/MySQLTuner-perl>

2. Problem can be with classloader, etc. Hence Just cleanup osgi cache to understand.

Gliffy works under many version, before upload it has been tested.


author: joe mellor
body: Hi Gonchik

will tell my devops to try this, quick q.s:

1. what value do we need to increase 1. above to

2. does 2. above cover all plug-ins? i.e. we run Jira and Confluence, and no other major plug-ins, but there maybe the standard Confluence plug-ins e.g. language etc.


author: Gonchik Tsymzhitov
body: Hi!

1. Please, increase innodb_log_file_size in my.cnf.

2. Remove .osgi cache below <https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html>

- Gonchik
Backup and Restore options missing in Confluence 6.3.12 version
Asked by Navadeep:

Hi Atlassians,

I want to restore the latest available data in JIRA Prod to JIRA Test environment.

During this process when I checked the TEST Environment UI, I couldn't see the Restore option.

I was able to see it in the PROD environment, but not in TEST Environment

Please find the screenshots for your reference.

Thanks,  
Nav![image1-Test.JPG](/t5/image/serverpage/image-id/7234iAA3FB1DCE3EDE2A5/image-size/large?v=v2&px=999 "image1-Test.JPG")

![image2-PROD.JPG](/t5/image/serverpage/image-id/7235i53A99D4408C0155E/image-size/large?v=v2&px=999 "image2-PROD.JPG")


Answers:
author: Navadeep
body: Hi Gonchik ,

Thanks for the response. Unfortunately there are no bundled-plugins or osgi-plugins available in our JIRA PROD and TEST Environment.

I have shutdown JIRA and restarted it just now.

They are not created.

I have seen osgi,bundled plugins in Confluence.

Is there any way that we can provide access to a specific user-id with the system-administrator access from the database.

Have few tables like cwd_user, cwd_group. Is there any way that we can update specific table with permissions to specific user ?

Please suggest.

Best Regards,

Nav


author: Gonchik Tsymzhitov
body: Hi!

Could you follow these steps for test env?

* Shut down JIRA
* Delete the following hidden plugin cache directories:

  ```
  JIRA_HOME/plugins/.bundled-pluginsJIRA_HOME/plugins/.osgi-plugins
  ```

* Restart JIRA (These directories will be recreated on JIRA reboot with new plugin cache)

After check option?

If it will not appear, let's check system plugins.

Some system plugin has been disabled.

Thanks

Gonchik


Tags: jira
Editing left nav in confluence
Asked by Benjamin Gill:

We have a section in confluence where we keep meeting minutes, and it is getting long. I have been asked to find a way to only show the latest 10 child pages in the left nav, and have the full list show on the parent page for meeting minutes. Is it possible to limit the child pages that show in the left nav for confluence?


Answers:
author: Vero Rivas
body: Hi [@Benjamin Gill](/t5/user/viewprofilepage/user-id/1154729)

Look at this post, maybe can help you

<https://confluence.atlassian.com/doc/configure-the-sidebar-317194694.html>

Cheers


Tags: display

side-bar
How do you terminate SSL in Tomcat for Synchrony?
Asked by David Jensen:

We are currently in the process of getting Confluence to run over HTTPS. We are running windows server 2012 and are not using a reverse proxy. We have the cert installed and I have configured the server xml file so it is running over https, but we are getting the following error in the browser "this page is trying to load scripts from unauthenticated source". After checking the console in the developer tools of the chrome browser, the following error message was found.

"Confluence.domain.com was loaded over HTTPS, but requested an insecure script 'http:/confluence/synchrony-proxy/resources/js/vendor/sockjs.min.js'. This request has been blocked; the content must be served over HTTPS"


Answers:
author: Balaji J
body: Hi David,

Did you find a way a fix this, we are facing same issue and request your inputs and steps to fix the same.

Thanks,

Balaji


author: Gonchik Tsymzhitov
body: Hi!

Looks like you will spend a lot of time for terminate to ssl.

Could you try to use revers proxy?

Because a lot of documentation based working with synchrony based on revers proxy. (e.g. nginx -\> <https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html>)

You can see in this docs:

<https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html>

a small quote:
> Avoid removing the `http` connector, as the Synchrony proxy health check, still requires HTTP. If you do not want to include the `http` connector, you can use the `synchrony.proxy.healthcheck.disabled` system property to disable the health check. You should also **not** disable the internal Synchrony proxy (by setting the `synchrony.proxy.enabled` system property to `false`) as this is known to cause problems when you're terminating SSL at Tomcat.   
>
> <br />
>
> And please review your synchrony design below this docs   
> <https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html>
admin account is blocked
Asked by Exploit Confluence Exploit Confluence:

Hello,

I recovered the confluence operation on my company and the admin account is blocked with the captcha (he comes bask all the time) .. after changing the password, the captcha remains.  
I have reset the session number in error on the admin interface but I'm still stuck.  
Could you help me please ?

Sorry for my English.

Chris


Answers:
author: Thomas Schlegel
body: Hi Chris,

this page might hopefully help you:

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