youngmon/atlassian-qna huggingface dataset:
Integrating Confluence with Wordpres
Asked by Greg Jorgensen:

Hi there,

My company has a robust Confluence environment, hosted on our own server, with a lot of FAQs, how-tos and random information from various departments.

I'm setting up a Wordpress site on our network for a related project, and would love it if I was able to embed a search function on the Wordpress site that returned results from our Confluence database(s).

Is this possible? Any plugins available, or are they simply two environments that don't work together?

Thanks.


Answers:
author: Bill Bailey
body: Yes it is possible via the Confluence API, but you are going to have to write your own code wrapper to make this happen along with a dedicated user account within Confluence.

<https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/>

comments: author: Greg Jorgensen
body: Hi Bill, thanks. A bit over my head but maybe a coworker can help.


author: Bill Bailey
body: Yeah, I have team that I get to do this kind of code work. ;-)


author: Shannon S
body: Hi Greg,

The [add-ons we have available](https://marketplace.atlassian.com/search?product=confluence&query=wordpress) are mostly for publishing purposes. However, since you're asking for a feature on Wordpress' side, you would need to look on their site for information regarding that add-on. I'm not aware of any personally.

I had a look myself, but it doesn't appear that any are available:

* [Wordpress plugins related to Confluence](https://wordpress.org/plugins/search/confluence/)

It's still possible there may be some workaround, so please watch this space in case some of your fellow Wordpress/Confluence users have some suggestions!

Regards,

Shannon

comments: author: Greg Jorgensen
body: Hi Shannon, thanks very much. I will keep my eyes open.


Tags: confluence-server

server
Installing confluence on AWS and Apache
Asked by Jeffrey Bistrong:

I am installing confluence on a single node of AWS, and I am curious if by default the instance of confluence will be behind an apache server: Trying to follow the instructions outlined here: <https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-mixing-public-facing-without-login-articles-and-internal-content?_ga=2.75504786.66127577.1537204989-774349336.1525122455>


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Jeffrey Bistrong](/t5/user/viewprofilepage/user-id/1190841),

By default its Nginx if you're using cloud formation.

[atlassian-aws-deployment](https://bitbucket.org/atlassian/atlassian-aws-deployment/src/master/)

but the template can be update to use apache instead.

comments: author: Jeffrey Bistrong
body: [@Edwin Kyalangalilwa](/t5/user/viewprofilepage/user-id/255918) thanks for the reply, bit of a newbie here. I will be using the server license of confluence and will be installing it on a single node of the AWS. Does your answer still apply, and could you point me in the right direction regarding instructions to do this.


author: Edwin Kyalangalilwa
body: [@Jeffrey Bistrong](/t5/user/viewprofilepage/user-id/1190841),

Got it. By default it won't be behind an apache server. You'll have to install apache separately forwarding traffic to Confluence's 8090 port.

This will be helpful. [Proxying Atlassian server applications with Apache HTTP Server](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html)

Apache isn't required to allow anonymous access. You'll have to enable anonymous access on the site level

and also at space level.

![Screen Shot 2018-09-22 at 4.39.15 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/33035i2B50AB715DE83D6F/image-dimensions/666x150?v=v2 "Screen Shot 2018-09-22 at 4.39.15 PM.png")

Enabling site level doesn't enable for each space. [Setting Up Public Access](https://confluence.atlassian.com/doc/setting-up-public-access-156.html)


author: Jeffrey Bistrong
body: [@Edwin Kyalangalilwa](/t5/user/viewprofilepage/user-id/255918) I am in the process of doing the installation on AWS, and I am curious if, confluence will be hosted behind apache, if I need to install confluence in a specific apache directory or the standard location?


author: Ramhya Ravichandran
body: Hi Jeffrey,

Just checking if the installation and therefore database connectivity and usage went fine when installing Confluence on a single node in AWS......i will have to do the same on a linux server in AWS. So any major roadblocks you faced if you can share will be most helpful.

Regards,

Ramhya R.


author: Jeffrey Bistrong
body: Hi Ramhya,

I ended up not needing to do this. Good luck on your deployment.
Missing file "exportDescriptor.properties"
Asked by isi:

Hello,

I have exported a backup from a confluence 6.2.1 server and am attempting to import it into another confluence 6.2.1 server, however the process does not work. Each import results in the following error:

"The zip file did not contain an entry '**exportDescriptor.properties**'. It contained: plugin-data/com.atlassian.activeobjects.confluence.spi/activeObjectsBackupRestoreProvider.pdata"

I don't have idea to bring it back please help me.

Thank you,


Answers:
author: Bank Chong
body: Hi Team,

This file all i have. I have only 3 file.

- attachments

- plugin-data

- entities.xml

I try to rezip by use 7-zip but it still don't have exportDesciptor.properties.

![Capture240.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/33193i2B8CA167A3477203/image-size/large?v=v2&px=999 "Capture240.PNG")

comments: author: Shannon S
body: Thank you for providing that.

Confluence will always include exportDescriptor.properties when creating a space or site export.

MacOS tends to discard exportDescriptor.properties if you try to zip it using anything other than the Terminal itself. This is what I was letting you know about earlier, and I think it's the exact issue you've run into. Have a look at [Restoring a Site](https://confluence.atlassian.com/doc/restoring-a-site-152034.html) for more details under **Troubleshooting**:
> **Did you download the export file on a Mac?**   
> If you get an error saying that Confluence can't find the `exportDescriptor.properties` file, chances are OS X has unzipped the backup for you and sent the original zipped file to the trash. You need to retrieve the original zip file from the trash and then try the import again.

If you need to zip the files again, instead of using 7-zip you can try to zip it using Terminal. You can [see my answer](https://community.atlassian.com/t5/Confluence-questions/How-to-avoid-missing-exportDescriptor-error-during-backup-import/qaq-p/767250) on this thread for an example of how to do it. Note that you will have to be able to retrieve the original exportDescriptor.properties file in order to do this.

Regards,

Shannon


author: Shannon S
body: Hi there,

Did you unzip and re-zip the file perhaps? This occurs often especially if done from MacOS.

You can have a look here for more information:

* [XML backup restore failed with 'The zip file did not contain an entry 'exportDescriptor.properties'' in Confluence](https://confluence.atlassian.com/confkb/xml-backup-restore-failed-with-the-zip-file-did-not-contain-an-entry-exportdescriptor-properties-in-confluence-300811533.html)

If that doesn't help, could you show us what the contents of your zip looks like?

Regards,

Shannon


Tags: backup

export
Download .docx as PDF
Asked by Daniel Seegr?ber:

Hi,

is there a way to download a Word-File (.docx) directly as .pdf without having to

1. download  
2. open  
3. save as pdf

it?

Thanks  
daniel


Answers:
author: Shannon S
body: Hi Daniel,

This is not possible.

A workaround in Confluence Server might be to open the document in Confluence (clicking View currently will open the document in a separate Confluence page, only on Server). Then you can use your browser's "Print to PDF" function if you were using a browser which supports it.

Regards,

Shannon

comments: author: Daniel Seegr?ber
body: Hi Shannon,

thanks for the answer and the workaround suggestion. Unfortunatelly, the Browser PDF Print option (Chrome) doesn't work very well for this usecase. The PDF is not properly formated, the scroll bar is visible,...

Hm, too bad. Well, maybe an Addon developer picks it up as an idea ;).

daniel


Tags: attachment

ms-word

pdf-export
User rights in sub spaces
Asked by Sven Wagner:

Hi guys,

I am new to Confluence and I have a short question, that is for me not clear right now from the documentation. At work we have a confluence wiki with spaces for every team. Now we need a sub space for some documentation that is interesting for our team and for external workers. Is it possible to creat users that have only read and write access to this sub space? We do not want to make a complete new space, because the knowledge in this sub space should be reachable from the space of the team as well.

Greetings

Sven


Answers:
author: Alana Fernando
body: hi [@Sven Wagner](/t5/user/viewprofilepage/user-id/2004253),

Welcome to the community.

I think the simple solution is using [permission and restrictions](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html). you can create user groups and grant them permission in space level/Page level. so that the pages you wish to share with others can be shared only granting them view permission.

Reference:

* <https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-how-do-i-create-subspaces>
* <https://confluence.atlassian.com/doc/page-restrictions-139414.html>

hope this helps ?
Create a gradient
Asked by Joachim Weichert:

Hallo, I'm new in confluence and I try to get a gradient in a field of a table.

I can change the background colour with *bgcolor="#7b204f*". No problem.

So I tried get a gradient with *Style="background-image: linear-gradient(to right, #7b204 100%, #ef4070 100%)*but it worked only in the preview while editing. But it disappeared at once after saving. Can someone tell me where my mistake is?

Thank you.


Answers:
author: Bill Bailey
body: How are applying this style?

comments: author: Joachim Weichert
body: This exactly is my question : How to apply a gradient in one field of a table. I can aplly a color but not a gradient.


author: Bill Bailey
body: Let me try again, what method are you using to apply a color and attempting to apply a gradient? External CSS? Source editor? HTML pasted into Confluence?


author: Joachim Weichert
body: Hi Bill, sorry, I will try to explain.

If you press "F12" a windows opens with the HTML code. In the upper left Corner of these Window there is a button "Select an element..." If I click my box in the table after selecting this button, I can see in the HTML-window the right line of this element. With an rightclick on this line I can "add element", for example *bgcolor="#ede8ed* *"* . This works well. To add a gradient a college told me I should write *style="background-image: linear-gradient(to right, #7b204f 0%, #ef4070 100%)",.*But this does not work, you will see the gradient only as long as you are in the preview mode. If you save the page, everything is gone. This is the way I tried it.

I hope you can understand my problem better now? Thanks.


author: Bill Bailey
body: If I understand correctly, you are opening a console window in the browser. Any changes you make there do not persist, and will disappear on page refresh. It is a good method to test changes, but you have to write a specific CSS rule based on your tests and save it to Confluence.

Also, you want to open the console of the view version of the page (not the preview). And unless you are wanting this gradient on just one cell, that will take work to focus the CSS just on that cell (for example, custom CSS loaded from a user macro).

You can find more on styling Confluence with CSS here:

<https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html>


author: Joachim Weichert
body: Thank you. That is exact the way I have done it.

I will try and tell you. Have a nice day.


author: Joachim Weichert
body: Thanks, but it didn't help much. I was unable to find the **General Configuration** - may be it is disabled? I fear, I will not be allowed to change it, because we are a firm with about 80 peaople to work with JIRA. I have to check and aks our system administrator to do these changes for me. Then I will try again.


Tags: atl-adm

confluence-server

server
can anybody share a good testscript for jira and confluence
Asked by maarten breesnee:

If you are doing a upgrade for jira or confluence what are you all testing as an admin?

I came so far for confluence to this:

* Login into confluence\\
* Check if the stats are the same
* Check if the addons are working
* Check if the content index is working
* Check if the application links are working
* Check if the menus for spaces are still working

what are you testing?


Answers:
author: Fabian Lim
body: Here is a good start: <https://confluence.atlassian.com/ug/files/933696759/935376749/3/1527838208027/JIRA+Software+upgrade+checklist.docx>


Tags: confluence-server

jira

test
Indexaci?n de Contenido
Asked by Carlos_Silva_Leon:

Hola,

No se me esta actualizando el contenido y las macros, y compruebo que en la idexacion de contenido me aparece que la cola esta parada. Como puedo reiniciar esta cola de procesos?

Gracias

Hello

Not be me is updating the content and macros, and I note that in the idexacion of content I get this stop tail. How do I reset this queue of processes?

Thank you


Answers:
author: Shannon S
body: Hi there,

Can you clarify exactly what you're looking to do? If you need to rebuild Confluence's index you can do so the following ways:

* [Rebuilding the search index](https://confluence.atlassian.com/doc/content-index-administration-148844.html)
* [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)

Regards,

Shannon

comments: author: Carlos_Silva_Leon
body: Hi, the version we use is ancient (3.4) have many spaces, which summon the news and were not update. In the section on management did not come out to the queue of processes it stood. ![Captura.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/33075i6F537E880C2E6177/image-size/large?v=v2&px=999 "Captura.PNG")


author: Shannon S
body: Carlos,

You could have a look at the document on [Confluence reindexing becomes stuck](https://confluence.atlassian.com/confkb/confluence-reindexing-becomes-stuck-776652081.html), or check the error logs to see what might be preventing the index from running.

I would still recommend attempting to rebuild from scratch according to the article I sent you earlier.

However, my greatest advice to you would be to upgrade Confluence as soon as possible. There have been many bug fixes since 3.4, including related to indexing. Pease consider upgrading to 6.0 or higher. See our [End of Life Policy](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) for information on when future releases will also reach end of life.

According to [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html), your upgrade path would be as follows:

1. Upgrade from 3.4 to 3.5.17
2. Upgrade from 3.5.17. to 5.0.3.
3. Upgrade from 5.0.3 to Confluence 6.0 or higher (the latest version, if you like.)

Let us know if you have any questions.

Regards,

Shannon


Tags: language-es
Confluence Space import, page id's
Asked by Mareks Birkenfelds:

Hi.

I'm administrator of on-site Confluence server, and I have received XML space export from client, that I need to import in our Confluence.

Space key is not used, so that is no problem.

My concerns are - we have such links in Confluence : http://SERVER/pages/viewpage.action?pageId=50661453

.. with pageid at the and, and in XML Space export - there is file entities.xml, with page id's : \<id name="id"\>2255752\</id\>

Question - what will happen if page id is already used in our Confluence, will our links be broken, or import will fail, or perhaps import will change page id's for importable Space ?

Could you explain ?

Thanks.

Mareks


Answers:
author: Shannon S
body: Mareks,

Are the links in the pages embedded manually, or were they added by selecting the name of the page and linking this way?

If they were added automatically then they will be updated upon import. If you added them manually then you may need to update them to the newly assigned page ID.

Regards,

Shannon

comments: author: Mareks Birkenfelds
body: Hi.

Since space export is provided by client, I have no such information - about the way links were added. But I will know - if they will not work - what is the reason and how to fix it in future.

Thanks for answer.


author: Shannon S
body: Mareks,

If the links were added manually, especially if the URL changed or if the page ID is used and isn't the same on the new instance, then Confluence has no control over updating them to the new information. This can be fixed by manually updating all entries in the database. An example of that is available here:

* [Change URLs in database](https://community.atlassian.com/t5/Confluence-questions/Change-URL-s-in-database/qaq-p/247617)

If the links were added automatically then they should correct themselves, but if they did not then that's something we'll need to have a look at. In that case I would advise you to raise [a support ticket](https://support.atlassian.com/contact/#/) and include a [sanitized copy of your database](https://confluence.atlassian.com/confkb/providing-database-dump-with-anonymized-content-213517430.html), the XML backup, and a support zip, and we can have a look at that for you.

Regards,

Shannon


Tags: confluence-server

server
Confluence Server Java API for getting watchers of a page?
Asked by br0wse:

I want to find a confluence server java api for getting watchers of a page.

But I can't find anything useful for doing this in <https://docs.atlassian.com/atlassian-confluence/6.6.0/>.

And alse there is no this api in confluence server rest api.

And I don't want use this link:${base_url}/json/listwatchers.action?pageId=${page_id}.

So is there a java api for getting watchers of a page?

Thanks in advanced.


Answers:
author: Prashant Mali
body: Hi [@br0wse](/t5/user/viewprofilepage/user-id/1506275) ,

Welcome to Atlassian Community!

You can get list of watchers for particular page using below rest api

**\<your confluence url\>/json/listwatchers.action?pageId=\<pageId\>**

Please try and confirm.

Thanks,

Prashant

comments: author: br0wse
body: Hi [@Prashant Mali](/t5/user/viewprofilepage/user-id/286095),

I know this rest api "**\<your confluence url\>/json/listwatchers.action?pageId=\<pageId\>".**

But when I use groovy httpbuidler,it always return null. My code is just like below:

```
def a=new HTTPBuilder("http://example.confluence.com:8090")
a.setHeaders([Authorization:"Basic ${"admin:admin".bytes.encodeBase64().toString()}",Accept:"application/json"])
//a.auth.basic 'admin','admin'
def b=a.get(path:"/json/listwatchers.action?pageId=2261002")
```

Could you please show me a example code?


author: Prashant Mali
body: Hi [@br0wse](/t5/user/viewprofilepage/user-id/1506275) ,

Please have a look on below code. and try to get business logic from the same.

```
Set<ConfluenceUser> users = new HashSet<>();?// Get users from page watchesfor (Notification notification : notificationManager.getNotificationsByContent(pageCeo)) {    users.add(notification.getReceiver());}// Get users from space watchesfor (Notification notification : notificationManager.getNotificationsBySpaceAndType(space, null)) {    users.add(notification.getReceiver());}
```

Thanks,

Prashant


author: Prashant Mali
body: Hi [@br0wse](/t5/user/viewprofilepage/user-id/1506275) ,

When I try API on my confluence page, getting correct output for the same.

we need to check groovy code.

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

Thanks,

Prashant


author: br0wse
body: Hi [@Prashant Mali](/t5/user/viewprofilepage/user-id/286095),

I can get the api from curl and python,but I am new to Groovy.


Tags: confluence-server

server
it is about "restriction on a page"
Asked by ???:

one of my colleagues can't see a page.

the error message is that ++**"page not found"**++

I think the problem is related to restriction on a page.

How can I fix this problem? what should I do?


Answers:
author: Nic Brough -Adaptavist-
body: I think you are right about restrictions.

You will need to find someone who can read the page (you maybe?), and get them to look at the red padlock. That will show the restrictions for the page and hence tell you why your other user cannot see it. You'll then need someone who can restrict pages in that space to change it.


Tags: restriction
How to I get report on all users with last edited page and on which space that they have last edited
Asked by Sachin Ramaprasad:

Hi, I'm trying to query on all users last edited page and on which space that was edited on. I could able to get the first part i.e., user vs last edited page (just the last page I need) but further querying onto which space that was done is what is really making my task quite difficult.

I was able to partially accomplish using following SQL query

```
SELECT u.lower_username, c.title, c.lastmoddate FROM content c join user_mapping u on u.user_key=c.lastmodifier where u.lower_username = '$user' group by c.lastmoddate DESC LIMIT 1;
```

From the above I could able to even join *spaces* table but my challenge is that some page that was edited by users , contains '*null* ' value in the db on which i'm trying match common columns '*spaceid*' and i'm unable to retrieve space names of those edited page and that list is unfortunately pretty big for me.

Any idea if this is ever possible ?


Answers:
author: Victor Mutambuki
body: sachin,

I don't know if this will fully give you what you need, however, you can take a look at the [Content by User Macro](https://confluence.atlassian.com/doc/content-by-user-macro-182682080.html)

victor

comments: author: Sachin Ramaprasad
body: Hi Victor,

I tried this macro and other content macros too , but this particular macro can run against just one user but I have 1000's of users and it becomes difficult. to have those in one page and also this gives a lot of content but i'm interested with just latest record. I was looking to automate this task running against this huge number of users. SQL or REST api is always helpful to automate our little tasks. I checked from REST api point of view, but I couldn't really get the data. So is there any other better idea to get this data ?

Cheers,

Sachin


Tags: confluence-server

server
How to upload folders in confluence
Asked by dinesh valavala:

Is there any way to upload folders directly into confluence page  
Please share the solution as I have upload some hundreds of folders from local


Answers:
author: Fabienne Gerhard
body: Hi [@dinesh valavala](/t5/user/viewprofilepage/user-id/2003209)

you can configure a WebDAV Client for use with Confluence (only Server!) as mentioned [here](https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html).

This creates an easy way to work with pages / folders -\> [see documentation here](https://confluence.atlassian.com/conf610/use-a-webdav-client-to-work-with-pages-952622867.html).

Hope I could help.