youngmon/atlassian-qna huggingface dataset:
License expired when app is bought
Asked by droch:

Hello I have bought the license for Google and it appears as **Invalid licence.**

Please help me enable it.

Thanks!![Captura de pantalla 2019-03-22 a las 11.29.55.png](/t5/image/serverpage/image-id/49344i801BBB6A0ADFCBB2/image-size/large?v=v2&px=999 "Captura de pantalla 2019-03-22 a las 11.29.55.png")


Answers:
author: Dave Bosman [Realdolmen]
body: Hi [@droch](/t5/user/viewprofilepage/user-id/2070817)

Did you copy/paste the entire license key without modifying it?

Is there anything in the log file?

Did you buy the correct license for the correct plugin?

What is the license type, and does it match with the license of confluence? (amount of users)

Did you contact the developer of the plugin? (Maybe there is a bug)

Regards

Dave
Attachment macro: edit button missing Confluence 6.7.1.
Asked by Lassi Tykkylainen:

There used to be EDIT-button for editing MS Excel (and other MS Office) files but its gone. How to get it back? We have Confluence version 6.7.1.


Answers:
author: JP _AC Bielefeld Leader_
body: Did you do an upgrade of Confluence? Any addons for UI customization?

comments: author: Lassi Tykkylainen
body: I am pretty sure it was an upgrade because also viewxls-macros stopped working. It seems it's not present in Confluence version 6.7.1..

I did ask our admin but he doesn't reply. :(


Tags: confluence-server

server
Inline Tasklist and table CSS formatting
Asked by playerium-solomon:

I have a table with the last column filled with the task list check box and everytime I try to export to PDF the alignment becomes misaligned quite a bit. I've attached a screenshot.

I've tried updating the PDFLayout CSS, also looked around the forum and community but still didnt find anything that solved my problem.

I dont know much CSS so I am hoping some one can help provide me with the lines of CSS needed?

What I currently have;

[@pagetTeng](/t5/user/viewprofilepage/user-id/2589484)  
{  
/\*The A4 paper size is 210 mm wide by 297 mm long\*/  
size: 210mm 297mm;  
margin: 15mm;  
}  
table.fixedTableLayout {  
table-layout: auto !important;  
width: auto !important;  
}  
inline-task-list {  
text-align: right;  
margin-left: auto !important; ;  
padding-left: auto !important; ;  
}

![brave_2019-03-22_17-50-11.jpg](/t5/image/serverpage/image-id/49342i54F2A67C858F90B4/image-size/large?v=v2&px=999 "brave_2019-03-22_17-50-11.jpg")


Answers:
author: Diego
body: Hello Solomon!

I have tried to replicate this issue locally without success. I am using Confluence 6.14.2. Having said this, can I ask you a few questions?
> 1. Which version of Confluence are you running?
> 2. Is this present in any table with tasks in it?
> 3. Is your table fixed width or responsive?
> 4. Does this happen without CSS customization?
> 5. Where exactly did you apply the CSS? Can you send us a screenshot?

These details may help us understand how this result was achieved and then try to fix it!

Looking forward to your reply Solomon.

comments: author: playerium-solomon
body: Hi Diego,

Thanks for getting back to me with this. Let me try to answer your questions;

1. Which version of Confluence are you running?
   1. 6.12.1
2. Is this present in any table with tasks in it?
   1. Yep in all tables
3. Is your table fixed width or responsive?
   1. Fixed Width
4. Does this happen without CSS customization?
   1. Yes
5. Where exactly did you apply the CSS? Can you send us a screenshot?
   1. Applied in General Configuration/Global PDF Stylesheet. I attached a screenshot per request.

![brave_2019-03-27_14-11-45.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/49651i9A311D259E38D7BB/image-size/large?v=v2&px=999 "brave_2019-03-27_14-11-45.jpg")

Let me know if you need anything else.


author: playerium-solomon
body: Hi Diego, Any updates on this?


author: playerium-solomon
body: With Further Digging I found an answer to my issue. For those interested head to;

<https://community.atlassian.com/t5/Confluence-questions/Format-Tables-that-are-Exported-to-PDF/qaq-p/209101>

and use the following in your "Global PDF Stylesheet;

table  
{  
table-layout:auto !important;  
width: auto !important;  
}


Tags: confluence-server

server
uninstall command not working
Asked by SherazadeC:

Solved.


Answers:
author: Diego
body: Hey there Sherazade!

Would you mind sharing with us what was your problem and how you ended up solving it?

This information can help other customers as well! Here we have some documentation on how to uninstall Confluence:

**[Uninstalling Confluence from Windows](https://confluence.atlassian.com/doc/uninstalling-confluence-from-windows-142115136.html)**

[**Uninstalling Confluence from Linux**](https://confluence.atlassian.com/doc/uninstalling-confluence-from-linux-255362396.html)

Let us know!


Tags: moderators
Move button on a pages in template
Asked by Tony Montana:

Hello!

We need **move buttons** to add in blue print template. (Example in attach.)

How to create this buttons with predefined settings for moving?

![Opera Snapshot_2019-03-22_123320_confluence.sam-solutions.net.png](/t5/image/serverpage/image-id/49341iB3FEDD76543AC098/image-size/large?v=v2&px=999 "Opera Snapshot_2019-03-22_123320_confluence.sam-solutions.net.png")


Answers:
author: Shannon S
body: Viktar,

Happy to look into this with you! :)

I assume those buttons you have there are simply a mockup? There aren't very many options within Confluence to create buttons, but you might be able to use a M[arketplace Add-on](https://marketplace.atlassian.com/search?product=confluence&query=buttons) for this.

Otherwise, if you know some Javascript, you will probably be able to create this yourself using a script or [User Macro.](https://confluence.atlassian.com/doc/writing-user-macros-4485.html)

Let me know what you think about that and if you have any questions.

Regards,

Shannon

comments: author: Tony Montana
body: This is path. We need a results


author: Shannon S
body: Viktar,

I'm terribly sorry, but I don't understand what you're asking.

What exactly do the buttons need to do? Were you able to try and develop something using javascript or as a user macro?

Regards,

Shannon


Tags: atl-adm

confluence-server

server
Confluence Server 6.15.1 Lost A->Z ordering of pages
Asked by Jiri Pik:

In the past, Space Tools -\> Reorder Pages offered to sort the pages A-\> Z. Now, the button is gone.

Is there a workaround to manual ordering?


Answers:
author: Diego
body: Hello there!

This is actually listed under our bug. The behaviour was fixed in your next minor version, Confluence 6.15.2:[](https://jira.atlassian.com/browse/CONFSERVER-58030)
> [**CONFSERVER-58030 \| Sort alphabetically button in the Reorder Pages page is not visible.**](https://jira.atlassian.com/browse/CONFSERVER-58030)

I have upgraded a local instance from 6.14.2 to 6.15.2 and the button is now present. If you plan to upgrade your instance, please have this in mind:
> * First try the upgrade on a test environment
> * Backup both \<confluence-home\> and \<confluence-install\> folder
> * Backup your database
> * Schedule a downtime for Confluence

Looking forward to your reply Jiri!
Backup information
Asked by Alfred plays:

Hello everyone!

Unfortnately i have not been able to find this anywhere.

How often does Atlassian back up the Confluence Cloud? And how far back can i restore data?

Thank you for your answers!


Answers:
author: Alexey Matveev
body: Hello,

You need to take backups yourself and you can only import back space by space.


Tags: backup

questions-for-confluence
Unknown server error
Asked by Glen Lopez:

Hello Confluence Support,

This issue is still present and already followed what's in <https://community.atlassian.com/t5/Confluence-questions/Unknown-server-error-when-trying-to-create-a-space/qaq-p/903634> but didn't resolved our problem.

We need to create space but doing that, a prompt window says: "An unknown server error has occurred."


Answers:
author: Glen Lopez
body: ![confluence table error.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/49324i385CEC89F8117FB3/image-size/large?v=v2&px=999 "confluence table error.PNG")

![confluence table error.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/49324i385CEC89F8117FB3/image-size/large?v=v2&px=999 "confluence table error.PNG")


Tags: confluence-server

server
Problem with Synchrony
Asked by ubnum:

Hi,

we have Synchrony not starting and not logging useful information, how understand where is the problem?

Thanks


Answers:
author: josh
body: I have found the synchrony logs hard to read, but there is within there some useful information. It's very buried, because it logs a gigantic amount of info to one line of the log file.

If you can find the error line, post it here even if it doesn't look like it provides useful info.

First things to check for you are that the port isn't being used by any other process and that you're not asking for too much memory for the Synchrony process on top of the Confluence process.


Tags: confluence-server

server
Google Apps Script to Create Confluence Page -- HTTP 500 Error
Asked by Steve Murphy:

I'm using the following code in a Google Sheet to create a Confluence page:

```
headers = {"Authorization" : "Basic " + Utilities.base64Encode(user + ':' + pswd), "Content-Type": "application/json"};

url = "https://confluence.atlas.asdf.com/rest/api/content/";
var params = { 
  "method":"POST",
  "headers":headers,
  "muteHttpExceptions": false,
  "type":"page",
  "title":newTitle,
  "space":{"key":"DOC"},
  "body":{"storage":{"value": "<p>This is <br/> a new page</p>" }, "representation":"storage"} 
};
var createResponse = UrlFetchApp.fetch(url, params); 
json_string = createResponse.toString(); // json data as a String only.
json_response = JSON.parse(json_string); // json data as an actual json object


```

However, my code produces this response:

```
Request failed for https://confluence.atlas.asdf.com/rest/api/content/ returned code 500.
Truncated server response: {"statusCode":500,"
message":"<?> No content to map to Object due to end of input","reason":"Internal Server Error"} (use muteHttpExceptions option to examine full response)
```

What am I doing wrong?

Thank you.


Answers:
author: Steve Murphy
body: I solved the problem. If anyone else is interested, please see the following:

<https://stackoverflow.com/questions/55308969/google-apps-script-to-create-confluence-page-results-in-status-code-500>


Tags: api

create-page

developer

google-sheets

script
Migrating from one (Cloud) url to another-need to download (NOT migrate) Word and PDFs to pc
Asked by Danuta Mount:

We are migrating from one (cloud) url to another.

We have hundreds of Word and PDF documents that we don't want to migrate but want to download to our computer for backup and legal reasons.

They are scattered in some spaces and pages we want to delete (and not migrate) and are in links in tables which would take endless hours to download one by one.

There MUST be a way that I can go to a page or space and download all the files at once?

We only use Confluence.

Help!


Answers:
author: Diego
body: Hello there!

Currently, we are capable of downloading all attachments pertaining to a single page. To so we need to:
> 1. Go to the desired page
> 2. Click the Three dots (...) at the top right corner
> 3. Click Attachments
> 4. Click the link to Download All

**Notes:**

* When you click to Download All, Confluence will create a .zip file with all your attachments
* Currently, there is no tool to download all attachments from a space

Hope this helps your migration! Looking forward to your reply.


Tags: cloud

confluence-cloud
Trying to create a filter with searchable keywords
Asked by Steve Schmidt:

Higher ups would like a filter created that they can put in keywords and filter/search through tickets. This is basic, stock functionality in JIRA, but since they arent logging into JIRA (this will be embedded in a Confluence page to which they will have access) they will not be able to use that simple functionality.

Is there a way a filter can be set up to do this?


Answers:
author: Vasiliy Zverev
body: If you want show issues to not authorised users you should allow anonimous user to see this issues. So, see this: <https://community.atlassian.com/t5/Jira-questions/quot-View-Issue-quot-Permission-for-anonymous-user/qaq-p/352531>


Tags: confluence-server

jira

jira-server

jira-service-desk

jira-service-desk-server

server
Content by label macro returns the same page in 'Related articles' section
Asked by Howard Wu:

I've noticed that in my Related articles sections that there really isn't a way to prevent the same article from being listed as a related article when it's the same article. Is there a way to filter the article out? Perhaps some logic to say that the title cannot match the current article's title?

Thanks!


Answers:
author: Howard Wu
body: I figured out the answer -- add a filter for title, then add in

```
-"[your article's title here]"
```

comments: author: Bill Bailey
body: Yeah, an annoyance with this macro, It should, by default, prevent a circular reference.


Tags: cloud

confluence-cloud
Can't delete a page in Confluence
Asked by David Todd:

It says in the documentation that I can just go to "..." then delete, but there was no delete option there. Is the documentation totally out of date?


Answers:
author: Nic Brough -Adaptavist-
body: Most of the docs I've seen also mention that your space permissions must be set to allow your account to delete - can you check that in the space administration section?

comments: author: David Todd
body: Thanks...Where does one find the "space administration section"?

I justed checked my personal 'Settings" and the only Editor settings had to do with Autocomplete and Auto-formatting. Nothing related to deleting pages.


author: Nic Brough -Adaptavist-
body: On the left hand pane, there should be a link to "space settings". If you're a space admin, one of the options it reveals will be the permissions. If you're not a space admin, it will only show you a couple of options (like content tools)


author: David Todd
body: I opened the Space settings, and there is no permissions tab or link, I has Overview, Content Tools and Integration; and under Content Tools it has Reorder Pages, Orphaned Pages, Undefined Pages, Attachments, Export, and RSS Feeds. When I try to go to the Integrations page it does give me some permissions warnings, Telling me that I am not permitted to perform this operation. I put in a ticket (in Jira) with my local administrator to see if he can figure this out. Thanks.


author: David Todd
body: One good thing about this is that I now know how to reorder pages. I would have thought that would be something done in the editor, but here it is in Space Settings. Thanks again!


author: Nic Brough -Adaptavist-
body: No problem.

What you're seeing under "space settings" is what I would expect when you do not have "space administration" rights - you get a set of option cut down to what you have the permission to do.

If you had space-admin, you'd see more, including the permissions stuff where you could grant yourself (and others) the right to delete pages.

But as you're not an admin, you've done the right thing by asking an admin to give you the permissions!


author: David Todd
body: Good to know!

I think it would be a useful enhancement if Atlassian added a feature to let you know if you were and admin or not, and could thus realize there was more functionality available to request, like a greyed out admin tab, or similar. So that users like me don't get frustrated looking for buttons that are discussed online, but don't exist.

Thanks for the insights and all your help.

Cheers, David
Questions about the excel macro
Asked by Chris Walsh:

What is the replacement for the excel macro for Confluence pages?


Answers:
author: Vero Rivas
body: Hi [@Chris Walsh](/t5/user/viewprofilepage/user-id/2908896)

Look at this post, maybe can help you

<https://confluence.atlassian.com/doc/office-excel-macro-375849173.html>

Cheers
In Python, how do I set request parameters in POST call for uploading images to a page?
Asked by antony terrence:

I am trying to use Confluence REST APIs to make a POST call to upload images. In postman, I get error that says "unsupported media type." Can you tell me what I am doing wrong in the following python request:

```
import requests
headers = {
'X-Atlassian-Token': 'no-check',
}
files = {
'file_0': ('branch_strategy_2.jpg', open('branch_strategy_2.jpg', 'rb')),
}
url = '<baseURL>/rest/api/content/<pageID>/child/attachment'
file = "c_branch_strategy_2.jpg"
response = requests.post(url, headers=headers, files=files, auth=('uid', 'pwd'))
print(response.json)
```


Answers:
author: antony terrence
body: I found my answer, thanks to this post: <https://community.atlassian.com/t5/Confluence-questions/How-to-post-attachments-to-confluence-page/qaq-p/214853>

import requests  
headers = {  
'X-Atlassian-Token': 'no-check',  
}  
data = {"comment":"this is my file"}

files = {'file': open('branch_strategy_2.jpg', 'rb')}  
url = '\<baseURL\>/rest/api/content/\<pageID\>/child/attachment'  
r = requests.post(url, data=data, auth=('uid', 'pwd'), files=files, headers=headers)  
print(r.status_code)  
print(r.text)


Tags: confluence-server

rest-api

server
`There was an error processing the request.` on Saving page
Asked by shin:

How can I unblock this?


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid you need to look at the application log (It should be \<confluence home\>/logs/atlassian-confluence.log ) to see what the underlying error is. Do you have access to that?

comments: author: shin
body: I don't currently, but I could dig it up. At a cursory glance, what could be a good guess for this error's cause?


author: Nic Brough -Adaptavist-
body: Almost any system error that might cause the back-end to be slow or disconnect during an operation. I'm afraid the error you see here could be used for almost any back-end error, we really do need to look at the logs!
How to read confluence home directory path?
Asked by srijani lahiri:

Which plugin to be used for com.atlassian.confluence.setup. Need to execute below statements to get the path for confluence home directory

```
BootstrapManager bootstrapManager = new DefaultBootstrapManager();

?confluenceHome = bootstrapManager.getSharedHome();
```

Getting below error while using com.atlassian.confluence.setup  
cannot find symbol  
\[ERROR\] symbol: class setup  
\[ERROR\] location: package com.atlassian.confluence

I have also used the below code snippet to get the confluence directory path , but getting null as return from method getApplicationHome()

```
AtlassianBootstrapManager bootstrapManager = new DefaultAtlassianBootstrapManager();

String confluenceHome = bootstrapManager.getApplicationHome();
```


Answers:
author: Bill Bailey
body: How about:

```
String baseUrl = settingsManager.getGlobalSettings().getBaseUrl()
```

From this link

[how-do-i-get-the-base-url-and-contextpath-of-a-confluence-installation/](https://developer.atlassian.com/server/confluence/how-do-i-get-the-base-url-and-contextpath-of-a-confluence-installation/)

comments: author: srijani lahiri
body: Thanks... I will try and will let you know.


author: srijani lahiri
body: Tried to use the below code as per the link provided by you :

```
SettingsManager settingsMngr = new DefaultSettingsManager();
String confluenceHome = settingsManager.getGlobalSettings().getBaseUrl();
```

For SettingsManager added the package import com.atlassian.confluence.setup.settings;

But got below error while compiling:

cannot find symbol  
\[ERROR\] symbol: class settings  
\[ERROR\] location: package com.atlassian.confluence.setup


author: Mehmet ?irin Usanmaz
body: Hi Srijani,

You can follow the document.

<https://developer.atlassian.com/server/confluence/how-do-i-get-the-location-of-the-confluence-home-directory/#img-src-http-confluence-atlassian-com-images-icons-favicon-png-class-confluence-external-resource-how-do-i-get-the-location-of-the-confluence-home-directory>

Thanks,

Mehmet Sirin

comments: author: srijani lahiri
body: Hi,

I have tried using the same. It gives me below error while compiling :

```
BootstrapManager bootstrapManager = new DefaultBootstrapManager();

?confluenceHome = bootstrapManager.getSharedHome();

```

Getting below error while using com.atlassian.confluence.setup  
cannot find symbol  
\[ERROR\] symbol: class setup  
\[ERROR\] location: package com.atlassian.confluence
How do you keep highlighted information within your document when you transfer it to Confluence?
Asked by Dawnn Burrell:

There are some documents that I highlight words and/or place text box images around words and transfer that document to Confluence. There used to be a time when the highlighted words and text box images in a document transferred to Confluence, but not anymore. Is this no longer available in Confluence?

Thanks much.


Answers:
author: Dawnn Burrell
body: I did some testing and discovered that if I copy the highlighted information within a document and then paste it into "Paint 3D" and then paste it into Confluence the highlight remains.

comments: author: Dawnn Burrell
body: This application also applies to placing text boxes around words and images.
ios Plist MDM
Asked by IT Support:

I am trying to have the URL pre-configured on the app with MDM. Do you have documentation on the plist values I could pre-configure the app with?


Answers:
author: Nic Brough -Adaptavist-
body: You will need to explain the jargon you have used in this question to help us understand it. Specifically

* Plist
* MDM
* And confirm that by "app", you mean the Confluence app for iPhone/iPad?
Fetching history of a page in Confluence using get history or get version Rest API call
Asked by Krishna Chaitanya M:

when i try to fetch history of a page that has 100s of revisions, i am only getting the latest revision.

tried both with version and history. We are using title to identify the page instead of page number.

Any idea how to get all the revision history through rest API call?

* <http://example.com/rest/api/content/1234/history>
* <http://example.com/rest/api/content/1234/version>

Instead of above I am using page title

[http://example.com/rest/api/content?spaceKey=TST\&title=Cheese\&expand=version](http://example.com/rest/api/content?spaceKey=TST&title=Cheese&expand=version?)

[http://example.com/rest/api/content?spaceKey=TST\&title=Cheese\&expand=history](http://example.com/rest/api/content?spaceKey=TST&title=Cheese&expand=history)

Please suggest

KC


Answers:
author: Diego
body: Hello there!

Using the expand=version will bring up only the latest version. The REST call we want to use is something like this:

```
http://instanceurl.com:8090/rest/experimental/content/<pageID>/version?expand=content
```

With this you will need use the pageID instead of the name+spaceKey combo. This will return to you information about all page versions.

You can check more information about REST here:

**[Confluence REST API Documentation](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/)**

Looking forward to your reply!
Moving the Confluence MSSQL database to a new server
Asked by Marcin Jurkowski:

Hi,

We have self-hosted Confluence v5.9.4 running on SQL2014 server.  
We want to move the datase from SQL Server A to SQL Server B (both are running MS SQL2014).

I found this post from 2012 but I'm not sure if it's still valid 7 years later:  
<https://community.atlassian.com/t5/Questions/Moving-the-Confluence-database/qaq-p/115539>

If not, is there any official documentation how to do this?

Thanks in advance :)

MJ


Answers:
author: Brant Schroeder
body: We just migrated and those steps are correct. The file on Confluence that you will edit will be **confluence.cfg.xml**. Change the database settings to match the new database server and you are good to go.

It also a good to check and make sure that the DB is configured correctly after the restore. (It should be but good to double check) <https://confluence.atlassian.com/doc/database-setup-for-sql-server-9258.html>


Tags: confluence-server

server

sql