youngmon/atlassian-qna huggingface dataset:
Missing System Administrator After Cloud Import
Asked by joshua-hull:

After importing a backup from the cloud version of Confluence into the self hosted version we've found that no user in our system has system administrator permissions. We have access to the database but I'm unsure of the procedure to grant system administrators to one of the existing users. Any help would be appreciated.


Answers:
author: Nic Brough -Adaptavist-
body: See <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>

comments: author: joshua-hull
body: Unfortunately we're running we're running 6.0. We're able to log in with various users, its just there is no system administrator to grant that permission to other users.


author: AnnWorley
body: [@joshua-hull](/t5/user/viewprofilepage/user-id/197270) Please see [Migrate from Confluence Cloud to Server](https://confluence.atlassian.com/doc/migrate-from-confluence-cloud-to-server-298979321.html#MigratefromConfluenceCloudtoServer-Migrationsteps) for other steps you may also need to take to complete the migration.

I look forward to any follow up questions.


author: AnnWorley
body: Sorry about that - I posted while you were posting. You may use the SQL queries on this page to recover admin permissions:

[Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/conf60/restore-passwords-to-recover-admin-user-rights-852732163.html)


author: Nic Brough -Adaptavist-
body: The password reset docs apply for all versions of 6 (and quite a long way back into v5 if memory serves)
How do you manually change the order of a children display macro?
Asked by Sue Ganey:

Need a manual sort of children pages


Answers:
author: Robert
body: Hi Sue,

the macro itself offers 4 options to sort the children (title, creation, modified and the blank option). The only way I know of manually controlling the order of the children display macro is via the blank option. This option sorts the children like they are sorted in the page tree. The page tree is sorted alphabetically per default, but you can reorder the pages in the "Space tools".

I hope this helps.

Best Regards

Robert
database SQL error while restoring backup
Asked by Torbj?rn Richter:

Hi

I get the following warning while the import is running. Im not sure if will affect the import or not.

```
 WARN [Long running task: Importing data] [atlassian.confluence.setup.DefaultHibernateConfigurator] executeAdditionalSql Error executing SQL during schema changes: alter table SPACES alter column LOWERSPACEKEY varchar(255) not null, StatementCallback; SQL [alter table SPACES alter column LOWERSPACEKEY varchar(255) not null]; The index 's_lspacekey_idx' is dependent on column 'LOWERSPACEKEY'.; nested exception is java.sql.SQLException: The index 's_lspacekey_idx' is dependent on column 'LOWERSPACEKEY'.
```


Answers:
author: Filip Heyns (Eneco)
body: Hi Torbj?rn,

We get the same error importing an xml file created on a instance with a Oracle database into an instance with a MS SQL database.

I know this is from 2017, but did this turn out to be an issue? Import result seems fine.

I just created a Atlassian ticket, but I already wanted to check with you.

Regards,

Filip

comments: author: Torbj?rn Richter
body: Hi Filip

Yes this was long time ago and i have no memory of it :)

But I dont think it caused any problems with the import
Embedding the JIRA Collector form in Confluence Shows 2 Forms
Asked by Justin Alex Paramanandan:

I've created an issue collector and embed it to a Confluence page as a user macro. The page can be viewed here: [Sample Confluence Page with Issue Collector](https://confluence.jusuchyne.com/display/KB/Test+Issue+Collector+in+Confluence+Page).

The macro is configured as such:

```
<h3><a href="#" id="feedback_button">Contact Us</a></h3><br />

<!-- JIRA Issue Collector - append this at the bottom of <body> -->
<script type="text/javascript" src="https://<BASE_URL>/s/36f853d9001516883c0c9a7c3c93f500-T/-awxkeb/74006/b6b48b2829824b869586ac216d119363/2.0.24/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-UK&collectorId=995f5ade">
</script>

<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
 //Requires that jQuery is available! 
 jQuery("#feedback_button").click(function(e) {
 e.preventDefault();
 showCollectorDialog();
 });
}};
</script>
```

The form works and rendered properly on a desktop view. However, on mobile view, the form breaks (it is showing 2 forms):

![Image uploaded from iOS.png](/t5/image/serverpage/image-id/10752i1C2DD68C01EB96EB/image-size/large?v=v2&px=999 "Image uploaded from iOS.png")Is there any way I can fix this rendering? Again, this only happens on the mobile browser (Safari Mobile, Chrome for Android, Firefox for Android).

I've also referred to the [Advanced use of the Jira Issue Collector](https://confluence.atlassian.com/adminjiraserver073/advanced-use-of-the-jira-issue-collector-861253497.html) page, but there's no mention of any configurations I need to do.


Answers:
author: Shannon S
body: Hi there,

Currently the Jira Issue Collector is not fully supported by mobile browsers. We have a feature request for this below:

* [JRASERVER-30358](https://jira.atlassian.com/browse/JRASERVER-30358)

Before the support is rolled out, then you may run into some other features that do not work properly while on mobile.

Let us know if you have any questions about this.

Regards,

Shannon

comments: author: Justin Alex Paramanandan
body: Thanks, [@Shannon S](/t5/user/viewprofilepage/user-id/510046). That's really unfortunate that the issue collector is not supported on mobile devices. We hope to see future improvements on it (as we are moving forward ina mobile world).


Tags: issue-collector

jira

server
What is the default time frame of Popular tab in confluence
Asked by SUNIL SABALE:

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

What is the default time frame of Popular tab shown above.

I am not able to get older popular updates after upgrade.

I restored database from production server on 26th Sept 2017.

Today is 11 Dec. Im able to get popular updates for changes Im doing recently. I lost the older updates before 26th sept.

Is there any time frame for the Popular tab content?

Thanks,

Sunil


Answers:
author: Shannon S
body: Hi Sunil,

The content from the Popular tab is updated whenever indexing is run on Confluence. This generally happens automatically.

However, seeing as you just did a restore of the database, I would recommend rebuilding the index from scratch:

[How to rebuild the content indexes from scratch on Confluence Server](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html)

I would recommend doing this during maintenance hours since it can take some time depending on the size of your instance.

Let me know if you have any questions!

Regards,

Shannon

comments: author: SUNIL SABALE
body: I Shanon.

I already tried with Scratch index, still it did not show me anything in popular tab.

Then I read in below link that it shows history of just 1 week from current day.

<https://ecosystem.atlassian.net/wiki/spaces/USGTRK/overview>

Is it default behaviour


author: SUNIL SABALE
body: So what I did, I tried to change date on Confluence server to the old date near to the backup done.

And it showed me the popular data

Regards,

Sunil


author: Shannon S
body: Hi Sunil,

The page you sent is actually for Usage Tracking Plugin which includes a copy of a macro for popular content, but this isn't the same as the Popular Tab on the sidebar.

However, it does appear that they do indeed use the same time frame for default. I've been able to confirm this on my personal instance.

I've created a feature request below as this time frame appears to be un-editable:

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

As for the change you made, I would not recommend leaving it that way as you will be unable to see Popular Content Updates going forward for the current week. It will always be one week off.

Let me know if you have any questions.

Regards,

Shannon
Running Confluence behind NGINX - synchrony misconfiguration?
Asked by Mihael Sedmak:

Hi,

I've used the information in [this article](https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html) to set up an nginx proxy in front of a self hosted Confluence Server instance.

The article proved to be very useful, but the synchrony proxy configuration did not work - specifically the block

    location /synchrony {        proxy_set_header X-Forwarded-Host $host;        proxy_set_header X-Forwarded-Server $host;        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;        proxy_pass http://some-server:8091/synchrony;        proxy_http_version 1.1;        proxy_set_header Upgrade $http_upgrade;        proxy_set_header Connection "Upgrade";    }

had to be replaced with

    location /synchrony-proxy {        proxy_set_header X-Forwarded-Host $host;        proxy_set_header X-Forwarded-Server $host;        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;        proxy_pass http://some-server:8091/synchrony;        proxy_http_version 1.1;        proxy_set_header Upgrade $http_upgrade;        proxy_set_header Connection "Upgrade";    }

Please notice the bold text for the diff.

After applying the change, the collaborative editing feature works, but fails at times (random pages, random users) with an appearance of [this sort of error](https://community.atlassian.com/t5/Confluence-questions/Getting-error-quot-Unable-to-communicate-with-server-Saving-is/qaq-p/27058). All the suggestions in the error thread have been applied, no effect.

Am I missing something in the original config that is stopping the original config to work? Could the change I made be the cause of the

Thanks in advance!


Answers:
author: Lars Olav Velle
body: From my understanding the /confluence-proxy is used when you do not have a proxy server in front of confluence such as nginx.

What version of Confluence are you on?   

it might be related to a bug:  
<https://jira.atlassian.com/browse/CONFSERVER-45726>


Tags: atlassian-support

nginx

synchrony
Language problem in Export to PDF
Asked by namooforest:

Page Tree appears at the bottom when using PDF Export and Custom Export functions.  
If Page Title is Korean, it will be broken in Tree.  
Korean Title is visible in other page, but it only appears PDF Export page.  
Is there anything you need to set up separately?![question.png](/t5/image/serverpage/image-id/10740iF9433C0F492C292A/image-size/large?v=v2&px=999 "question.png")


Answers:
author: Hasnae
body: which version of Confluence are you on ?

comments: author: namooforest
body: version 6.5.0 build 7502


author: Hasnae
body: I can't reproduce it at all on my 6.5.0 instance, which browser are you using ?

![Screen Shot 2017-12-22 at 09.23.03.png](https://community.atlassian.com/t5/image/serverpage/image-id/11480i19D0F7B97FFD5768/image-dimensions/490x283?v=v2 "Screen Shot 2017-12-22 at 09.23.03.png")
'No Confluence page found with the given URL' when linking a Confluence Page in JIRA
Asked by Krishan Srimal Hettihewa:

When link a existing confluence page into Jira its giving me following error.  

"No Confluence page found with the given URL"  

I have found a workaround for this in [here](https://confluence.atlassian.com/jirakb/no-confluence-page-found-with-the-given-url-when-linking-a-confluence-page-in-jira-426118083.html) but the solution is for Apache. but I'm running Confluence with Nginx web server. does anyone has an idea how we can do this with Nginx?


Answers:
author: AnnWorley
body: I am not sure how to apply a similar fix in NGINX to the one that works for Apache, but I can link the setup guide for NGINX for you to compare your configuration to: [How to use NGINX to proxy requests for Confluence](https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html)

Hopefully you can find a difference between the documented configuration and yours which will resolve the issue. It will be great if you can follow up on this thread to let the Community know what you find.
Moving issues
Asked by Shwetha S:

Hi All,

I am trying to move pages to another location.

Error comes up

"The following error(s) occurred:

* Move failed. There was a problem contacting the server."

Could you please suggest how can I get over this?


Answers:
author: Shannon S
body: Hi there,

Were you able to try the steps mentioned at [Unable to move pages due to error there was a problem contacting the server](https://confluence.atlassian.com/confkb/unable-to-move-pages-due-to-error-there-was-a-problem-contacting-the-server-215485073.html)?

Let us know if those steps didn't work and what errors you are seeing in your [Confluence Server Application Logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html).

Regards,

Shannon
Removing users
Asked by Help_Desk:

In my original setup I created a confluence internal user called Mark and then connected a windows directory which also had the user mark in it.

I then realized when I tried to login with the directory user it did not work but did with the password stored in the internal DB. Some how the internal user has combined with the directory user.

I want to delete the internal user so it always logins in with the directory user account but I can't. Because content is assigned to the user (eg. demo space) it will not delete.

How can i delete it as I do not want the internal mark user only the directory one.


Answers:
author: Shannon S
body: Hi there,

When you have [Multiple Directories](https://confluence.atlassian.com/doc/managing-multiple-directories-229838494.html#ManagingMultipleDirectories-Permissions) in Confluence, whichever directory is listed first in the directory order is the one that will take priority when logging in.

So if you want all of your users to use their passwords in your Microsoft Directory then you want to make sure to list that one first.

I wouldn't recommend deleting the user, and in fact, Confluence won't allow it if they have any content. The best course of action here, besides reordering your directories, is to simply deactivate the user in your Internal Directory. This way, if you wish to keep your Internal Directory listed first, Confluence will default to the user's login in the Microsoft Directory since he is not active in the Internal Directory.

I hope this clarifies things but let us know if you have any questions.

Regards,

Shannon
How do I automatically show a JIRA Story's Assignee with the Story link?
Asked by Davy Chang:

Hi there,

Every week, I copy and paste JIRA Story links across multiple projects into one weekly to-do list in Confluence for the team.

<br />

How do I show the Assignee for each Story automatically with each Story link?

![Screen Shot 2017-12-10 at 2.13.41 PM.png](/t5/image/serverpage/image-id/10729i990BA071228704EC/image-size/large?v=v2&px=999 "Screen Shot 2017-12-10 at 2.13.41 PM.png")

Thanks in advance,

Davy


Answers:
author: Shannon S
body: Hi Davy,

There's no way to do it automatically, but when you go into the Jira Issues Macro you can switch from Single Issue to Table view. Then, at the bottom you can choose which fields display, including the Assignee field.

For more details have a look at this page:

* [Jira Issues Macro](https://confluence.atlassian.com/doc/jira-issues-macro-139380.html)

We do have a feature request for users to be able to set their own default columns, have a look here:

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

Let us know if you have any questions!

Kind regards

Shannon
IOS File app integration for Confluence File lists?
Asked by Martin Gudmundsson:

Will the Confluence iOS app get File app integration? This could be very useful when you want to use a Confluence file list as a cloud file storage, like OneDrive, Box etc.


Answers:
author: Shannon S
body: Hi Martin,

There are not currently plans to include this, but I have suggested it to our team at the below feature request:

<https://jira.atlassian.com/browse/CONFCLOUD-58502>

Please vote on the request to help show interest and feel free to comment your usage case there so we can understand how best to implement it.

Let us know if you have any questions about this!

Regards,

Shannon

comments: author: Martin Gudmundsson
body: Thanks! I voted and will add some comments. Although I think the description in the issue describes it quite well.

Br Martin


author: Shannon S
body: Thanks, Martin!

I think if you can provide some background it will help as well, since generally the Files app is for connecting with Fileshare apps and not wiki software. It might help us to understand the reasons that users might want this functionality.

Thank you!

Kind regards,

Shannon


Tags: ios

mobile
Confluence Edit page - macros display strange characters
Asked by Francis Perron:

Hi

I have a fresh confluence install and I have a problem of strange characters as mentioned here: <https://confluence.atlassian.com/confkb/confluence-ui-shows-garbled-or-corrupt-text-on-captcha-macros-and-or-diagrams-due-to-missing-fonts-938027858.html?_ga=2.211575187.760331416.1512766618-1177533871.1509117897>

I followed the instructions from A to Z but it didn't fix.

Any idea? Thanks


Answers:
author: Francis Perron
body: I cleared my browser cache, it fixed it
Configure Jira Service Desk and Confluence for multiple clients and products
Asked by Michael Woffenden:

Using Jira Service Desk (JSD) linked with Confluence for KB, we want to support the following scenario.

* We have multiple customers that we will support using JSD and Confluence.
* We have multiple products that we support.
* Each customer uses only a subset of the products. Therefore, we would like to provide a tailored experience for each user, depending on the customer they belong to, and the product(s) their organization uses.

What's the best way to accomplish this? I'd like to know whether or not we need a single JSD project or more than one. Also do we need multiple Confluences spaces, how the security would work, etc.

Thanks in advance!


Answers:
author: Gaston Valente
body: Michael,

You can try by starting with a single project in jira and a single space in confluence.

kb pages uses tags per request type to define the content to display.

there are plugins like extensions for jsd that allows you to specifity security rules to hide or show request types

you can try to achieve what you need with this setup.

comments: author: Michael Woffenden
body: Thanks Gaston, I'll look at those options. I'd rather stay with one project / space as setting up a single project is a fair amount of work.

I'm using JSD Cloud, so I'm not sure if all the needed extensions will be available to me, but I'll take a look.


Tags: jira-service-desk
Image watermarking
Asked by MarsStone:

How to add watermarks to images that already exist in confluence?

Is not to add to the page, is the picture already exists in the page to join the watermark!

Thank you for your message?


Answers:
author: Kassia
body: Hello, to add a watermark to the image, you can just use a watermark-adding tool. I have used a software called **Easepaint Watermark Expert** , and I think this tool is very easy and efficient, maybe you can also have a try, here is the tutorial: <https://www.easepaint.com/how-to-add-text-watermark-to-photo.html>


author: Shannon S
body: Hi Shilei,

It is not possible to add watermarks within Confluence to images.

To do this, you will need to add the watermark using your image editing software. Then, if you re-upload the image to the same page using the same filename, it will overwrite the existing one, making a new version of that attachment.

Let me know if you have any questions!

Regards,

Shannon
REST POST request from Confluence html macro returns ?HTTP Status 415 ? Unsupported Media Type? erro
Asked by mgunduc:

We are (F5 Networks, Inc) heavy Jira and Confluence using company.

I am stuck while attempting to create Jira issues through html macro in Confluence.

I am essentially using \<form\> element to get some input and send it through a java script making an REST API POST request (via XMLHttprequest) with Content-Type set to application/json.

I get "HTTP Status 415 -- Unsupported Media Type" error.

However, if I disable \<form\> element and use \<button\> element (commented in the code below), it works.

Some insight on this behaviour would greatly be appreciated.

Here is the code snippet:

\<form method="post" action="https://\<*Server URL*\>/rest/jira-integration/1.0/issues?applicationId=29bbc237-8c6b-3a19-8e64-4da8fed882e6" name="myForm"\>

TMA Owner: \<input type="text" name="tmao" id="tmao"\>

\<input type="submit" value="Submit" onclick="submitform()"\>

\</form\>

\<!--

\<button type="button" onclick="submitform()"\>Submit\</button\>

--\>

\<script type="text/javascript"\>

function submitform() {

var data = {"issues":\[{"fields":{"project":{"key":"TMA"}, "issuetype":{"name":"TMA Review"}, "customfield_11683":{"name": "gunduc"}, "summary":"TMA 1", "description":"TMA testing"}}\]};

var xhr = new XMLHttpRequest();

xhr.open("POST", "https://\<*Server URL*\>/rest/jira-integration/1.0/issues?applicationId=29bbc237-8c6b-3a19-8e64-4da8fed882e6", true);

alert("Sending JSON3.1");

xhr.setRequestHeader('Content-Type', 'application/json; charset=UTF-8');

xhr.setRequestHeader('Accept', 'application/json);

xhr.send(JSON.stringify(data));

console.log(xhr.responseText.substring(0, 150)) ;

};

\</script\>


Answers:
author: Aleksandr Zuevich
body: Hi,

please compare your requests in two cases (using browser Network console). I suppose when you press Submit in form the data is sent using form-data while when you press Submit outside the form you invoke your submitform function. If you are sure that your function is invoked in two cases check stopPropagation or preventDefault event's methods.


Tags: api
Undesired e-mail notifications for some users
Asked by Maarten:

In the cloud instance I am using, one user is complaining about being notified by e-mail for every single page edit.

We checked and double checked settings and we have e-mail notifications enabled for:

* Recommended updates
* New followers

We do not want to turn these of, but want to stop the "Spam" caused by any page edit.

I (system adminstrator) have the same settings and it is working as intended. What could be the issue?

Thanks

Maarten


Answers:
author: Hasnae
body: Page edits are sent if you are watching a page or a space containing that page.

Can you please double check the "Watches" tab under the user's profile / settings

![community_watches_answer.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/11367i977AAC022C88DCA3/image-dimensions/383x348?v=v2 "community_watches_answer.jpg")

Moreover, at the bottom of the email , you should find a link to "Stop watching" the page or the space.

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

Hopefully this helps alleviate the spam :)

Have a great day

comments: author: Maarten
body: Thank you very much.

Indeed the user was watching all activity for one space. It is unclear how that was activated relatively from the beginning.

Hope that solves it.

Regards

Maarten


Tags: confluence-cloud

email

notification