youngmon/atlassian-qna huggingface dataset:
Backup Question
Asked by Bill Greer:

I have a backup of the xml file and I have a copy of the SQL Server database file. Is that enough? I really don't need the folder structure do I? It's a very small instance and I was hoping I could get away with just the XML and database backup.


Answers:
author: Tobias Anstett _K15t_
body: Hi,

I also think that the xml backup might be just ok for you. However please keep in mind that this has its limits especially if you include attachments ... which you have to do as you are not backing up the file system.

I always prefer a database backup strategy combined with file system backup strategy as described in <https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html>

If you stick to the backup please make sure to move the backup files to a different server, otherwise a crash might affect both backup and production environment.

Best,  
Tobias


author: Alexey Matveev
body: Hello,

If you have the xml backup, then you do not need a database backup. They both serve the same goal. But you still need to backup the data and logos directories.

comments: author: Bill Greer
body: I know where the logo directories are. Where are the data directories?


author: Alexey Matveev
body: They are both in the JIRA_HOME directory.


author: Bill Greer
body: Thank you


author: Alexey Matveev
body: You are welcome! If I answered your question, kindly mark my answer as accepted.
How to connect Confluence as Mapped Network Drive using personal username and password
Asked by Yaacov Weingarten:

Hi,

I tried to connect our Confluence Server data as a Mapped Network Drive to my Windows 10 using the instructions at: <https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html>

This worked only when I used the username and password of the SysAdmin. Using me personal uname/pw did not connect.

Is there a way to configure the WebDav connection to accept other user's credentials? (Do not want to hand out the SysAdmin pw to all users that need to access the data directly).

Thanx in advance,

yaacov


Answers:
author: Shawn C
body: Hi Yaacov,

When connecting to your Confluence instance via the WebDAV, your Confluence user account would have the same permissions as if it was accessing the content through the Web.

If you're unable to login to the WebDAV with your regular account, verify that it does have access to Confluence and that there are Spaces/Pages available for you to view and manage.

If permissions look correct, please go through the [WebDAV Troubleshooting](https://confluence.atlassian.com/pages/viewpage.action?pageId=200704715) guide to gather additional logging to further investigate.

-Shawn


Tags: confluence-server

server
Problem with search result ordering
Asked by Thomas Rainer:

Hi Community,  

we are using confluence as our central knowledgebase. From time to time I noticed that the order of the search results where not that what we expected in terms of prioritizing more important articles. As an example (in german) I can show you what I mean.  

When I start a search from our startpage where we placed a "livesearch" makro, I get the following suggestions for the result:  
![2018-09-04 13_44_35-Clipboard.png](/t5/image/serverpage/image-id/31272i2298A66385CAAEAC/image-size/large?v=v2&px=999 "2018-09-04 13_44_35-Clipboard.png")

In my opinion the search algorithm has some issues, since the first and the second result are "bad" pages that simply contains a link and nothing else. But my expected result, the third, would contain a lot of text where also the search keywords are used multiple times. Even the kewords itself are not an exact match on the first two results.  

That someone understand that algorithm?  
Is there a way to push some articles up. It also seems that if an article has more likes, that does not affect the search result position.  

A Knowledge Base without a reliable search is only worth 50%.  

Btw. When I click on "more results" my expected article goes even down to the fifth position.  
We are running the latest on premise Version of Confluence. The issue was in older versions exactly the same.

<br />

Hope that someone can help.  
Thank you  

Regards  
Simon


Answers:
author: Tobias Anstett _K15t_
body: Hi Simon,

There is no way to configure this in Confluence out-of-the-box.

However for server (if you are a developer) you can write a custom app implementing a Lucene boosting strategy as described in <https://developer.atlassian.com/server/confluence/lucene-boosting-strategy-module/>

Best,  
Tobias

comments: author: Thomas Rainer
body: Thank you for your fast reply Tobias!

That was the hint that I was searching for.. Seems that there is a plugin developer that addresses exactly that with his "search boost plugin".

[https://marketplace.atlassian.com/apps/1210798/search-boost-plugin-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1210798/search-boost-plugin-for-confluence?hosting=server&tab=overview)

furthermore I found a related Issue to my problem. There are issues with "exact matches" in search results that can be fixed with this plugin:

[https://marketplace.atlassian.com/apps/1218947/exact-match-boost?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1218947/exact-match-boost?hosting=server&tab=overview)

or by changing the indexing language from german to english.

Thank you!  

Lets see if it helps.

Regards  
Simon


author: Tobias Anstett _K15t_
body: Awesome :-)


author: Thomas Rainer
body: But one thing is still not clear for me.. Why is the result in the "as you type" result different than on the results page when I click on "more results"?


Tags: confluence-server

issue

search

server
soprry wrong account. cannot delete
Asked by Sales LieberLieber.com:

sorry wrong account.. cannot delete..


Answers:
author: Victor Mutambuki
body: Sales Lieber,

Who created the account.?

What global permission do you've in confluence?

If you're not the [system admin](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html), then you can't delete.

Victor


Tags: confluence-server

server
actualEnable Unable to enable plugin
Asked by Steffen Becker:

I installed a new confluecne server 6.4.1 (for export/import/upgrade purposes) but it fails to complete the setup.

After entering the DB connection settings ("Test Connection" succeeded) the setup fails and I my log says:

```
[atlassian.plugin.manager.PluginEnabler] actualEnable Unable to enable plugin
```

When I delete (for testing purposes) the entire content of **confluence/WEB-INF/atlassian-bundled-plugins/\***, the setup succeeds, but of course without any style elements etc.

++Some notes on my infrastructure:++

- confluence is installed on a Azure RHEL v7 VM with \*no\* internet connectivity

- 2 vCPUs, 4GB RAM

- the Database is a Azure DB (PaaS)

- there is a server on premise where apache is running and just proxy to the Azure VM (on Prem VMs can connect to Azure VMs, but there is no connectivity in the other direction)

++What I tried so far:++

- disabled selinux

- deleted content of confluence home

- set permissions to the confluence user on the entire confluence directory

- added option "-Datlassian.plugins.enable.wait=300"

Hope you can help me in this case.


Answers:
author: Diego
body: Hi Steffen! Thanks for sharing with the Community.   
This could be related to the database being used. Azure SQL is only supported in later versions of Confluence (Confluence 6.6 and beyond). You could try using a newer version of Confluence or another database, compliant with the supported platforms for Confluence 6.4.x:  

[Supported Platforms for Confluence 6.4](https://confluence.atlassian.com/conf64/supported-platforms-936511847.html) - Does not support Azure SQL  

[Supported Platforms for Confluence 6.6](https://confluence.atlassian.com/conf66/supported-platforms-943962907.html) - First version to support Azure SQL  

Let us know your thoughts on this!


Tags: confluence-server

server
How to back button "Edit in office" for attachment panel??
Asked by Tony Montana:

How to back button "Edit in office" for attachment panel? After Confluence 6.11 this button access in only Preview. Why???? And with App????


Answers:
author: Yogesh Mude
body: HI [@Tony Montana](/t5/user/viewprofilepage/user-id/618001)

In Confluence v6.11 the Atlassian have been added the new functionality for Editing any type of documents like word, excel using Atlassian Companion App.

you can find more details about the edit files [here](https://confluence.atlassian.com/doc/edit-files-170494553.html).

<https://confluence.atlassian.com/doc/confluence-6-11-release-notes-953678666.html>

comments: author: Tony Montana
body: I know, but its very unfriendly!!!!!!!!!!!
how to filter/search for issues that don't have any links?
Asked by camilo ariza barrero:

Hello community,

I'd like to know how to filter or search those issues that don't have any links? I know you can see this visually if you add a column "links" or "LinkedIssues" but unfortunately I need a filter that shows me all those issues without linked issues.

How can I write it in my advanced search? and If this is not possible, which options do I have?

Thank you

BR,

Camilo.


Answers:
author: camilo ariza barrero
body: Hi [@camilo ariza barrero](/t5/user/viewprofilepage/user-id/1810064)

Unfortunately, there is no way to filter out Issues with/without linkedIssues natively in JIRA. So, trying this through Advanced Search will not help. This topic has been discussed on the Community in the past, and here are a couple of related threads for your reading, if you have not already reviewed them -  
<https://community.atlassian.com/t5/Jira-questions/jira-query-issues-with-linked-issues/qaq-p/426769>  
<https://community.atlassian.com/t5/Jira-questions/how-do-i-search-for-issues-without-Issue-Links/qaq-p/300372>

This can, however, be achieved using ScriptRunner or JQL Tricks plug-ins.

Hope this helps!

Thanks  
Kalyani

comments: author: camilo ariza barrero
body: hi @\[deleted\]

thank you for your answer and it's a shame that there is no way for searching for such issues. A solution for this topic would be really helpful.


author: Lime Trees
body: Hi,

you can have a look at our add-on Link Finder which has special JQL function - **linkFinderForEmptyLinks** . It returns issues without any links. More details can be found [here](https://limetrees.atlassian.net/wiki/spaces/LTLF/pages/7307297/User+Guide).

Regards,

Lime Trees Support Team
If i get a server version of confluence can it connect to a server version of JIRA and bitbucket?
Asked by Varsha Jain:

If i get a server version of confluence can it connect to a server version of JIRA and bitbucket? This is very important for me to decide whether i can go with confluence and other atlassian products or not?

I have a restriction in the company where my data cannot sit on cloud, so i basically can use only the server on premise set up of all the atlassian products.

Also can the gitlab connector for confluence work with the on premise server version ?

Please advice


Answers:
author: Alexey Matveev
body: Hello,

Yes, you can connect Confluence Server to any other Server products like Jira and Bitbucket.

If by gitlab connector, you mean this plugin:

[https://marketplace.atlassian.com/apps/1216286/gitlab-connector?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1216286/gitlab-connector?hosting=server&tab=overview)

Then you can connect it to Confluence server.


Tags: confluence-server

server
I locked out of a confluence space
Asked by Julian Weiss:

Hi guys,

<br />

I'm admin in Confluence. I have multiple spaces. Somehow I removed admin rights for this space. I cannot change settings within the space nor delete the space.

I have admin access to all other Spaces. But no longer for this one. Even other admins cannot access that space anymore. What can I do to regain admin rights for that space?


Answers:
author: Alexey Matveev
body: Hello,

Kindly read this article:

<https://confluence.atlassian.com/confcloud/assign-space-permissions-724764762.html>

Go to the Manage and recover space admin permissions part.

comments: author: Julian Weiss
body: Helped perfectly! Thank you!


author: Alexey Matveev
body: You are welcome!


Tags: cloud

confluence-cloud
How to link to a specific section heading from an external site?
Asked by Aileen De Lara:

Hi!

So I have a really long KB, and I used a TOC so my viewers can jump from one section to another. Now, I'm sending an email and trying to direct them to specific sections of that doc using the link from the TOC (#section header) but it doesn't go to the specific section... Help please! :)


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi Aileen,

Using the link from TOC in your email should work. Please re-check by performing one of the following:

* Copy the specific section link address from the TOC, by right-clicking the link and selecting 'Copy link address' from the options,   
  OR
* Navigate to the specific section through TOC and copy the link from the URL

In both the cases the link you copy should look something like this - ++<https://wiki.company.com/SpaceName/PageTitle#PageTitle-SectionTitle>++. Use this link in your email. You should be able to direct your viewers to the intended section.

Alternatively, you can also use *Anchors* for these specific sections to accomplish the same. Please have a look at <https://confluence.atlassian.com/doc/anchors-139442.html>.

***PS**: Ensure your viewers have 'View' permissions to the page.*

Hope this helps!

Thanks

Sireesha

comments: author: Aileen De Lara
body: Hi Sireesha!

Thanks for your reply! I tried doing both (copying spec section and navigating to the spec section to copy URL) but failed.

If Im in the page, the TOC works perfectly. I don't understand what's wrong.. :(

Here is an example of my link to a specific section:

<https://ematic.atlassian.net/wiki/spaces/EKB/pages/194576786/UI+Dashboard+-+Bye-iQ#UIDashboard-Bye-iQ-Performance>

And yes, all my users have view access to the page.

Appreciate any help! :)


author: Sireesha Dugginapeddi [Appfire]
body: Aileen,

Once you copy the URL, try opening a new tab and check if you are able to open the copied link there. If it works, it should work in your email too.

If not, can you please share the error or failure message you see on navigating to the intended URL?

And, I have compared the URL you shared with the one I tested in my space. Here is the difference I see (No hyphen between words of the *Page Title* after #):

#UIDashboardByeiQ-Performance

Thanks

Sireesha


author: Aileen De Lara
body: Yeah, did that, the URL only goes to the page (top), not the section header/section where Im directing it to go. :(


author: Robert Reiner _smartics_
body: Maybe you could have a look at the HTML source of your page? There should be an attribute called id at the heading element that surrounds your heading title text. This is the value you need to put after the hash mark (#) for links from outside of Confluence.

And just to mention (probably not the problem since you see the correct behavior when you use the TOC): Also note that browsers may not point to the heading if the text of the page is shorter than the browser window. If that is the case you would need to make the window smaller so that the heading you intend to jump to is outside of the browser window.
Edit in Office confluence functionality is available for Confluence version - 5.10.8
Asked by Prashant Mali:

We are using Confluence version 5.10.8. where edit in office is not working. We are getting Protected mode warning when we edit the doc.

Could you please guide me on this.

Thanks,  
Prashant


Answers:
author: Shannon S
body: Hi Prashant,

That depends on your settings on your computer.

Have a look at this article:

* [How to Disable Protected View in Microsoft Office While Opening Email Attachments or Downloaded Files?](https://www.askvg.com/how-to-disable-protected-view-in-microsoft-office-while-opening-email-attachments-or-downloaded-files/)

Let us know if you have any questions.

Regards,

Shannon

comments: author: Prashant Mali
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046),

Thanks for the information. I will try and will let you know.

Thanks,

Prashant


author: Prashant Mali
body: Any update?
CQL for getting confluence pages based on linked JIRA tickets
Asked by alexmears:

Confluence allows you to identify how many JIRA issues have linked to a Confluence page:

![jira linked pages in confluence.png](/t5/image/serverpage/image-id/31200i9093F78A361E4D7A/image-dimensions/219x113?v=v2 "jira linked pages in confluence.png")

1. Is there a CQL that can pull all confluence pages with JIRA links?
2. Is there a CQL that can pull all confluence pages with JIRA links of a particular status e.g. "Needs Review"?


Answers:
author: Sattesh M
body: Hello Alex,  

I don't think you can look for pages with Jira links with a particular status using CQL, but you can look for all pages that have Jira links.  
Since any jira link becomes a "jira" macro in a Confluence page, just look for the macro "jira", and you should get a list of page with Jira issues in them.

* (ConfluenceBaseURL)/rest/api/content/search?cql=macro%20=%20jira

Hope that helps!  

Cheers,  
Sattesh


Tags: cloud

confluence-cloud

cql
Searching for multiple labels using CQL
Asked by Blake Pitts:

I'm trying to run a query to search for text within multiple labels, but if the text does not exist in one of the labels I want nothing to return.

Using: label IN (label1, label2) AND text \~ help, is not what I need as that works as an OR clause.

I need it to be a 'AND' clause but can't seem to figure out how to do that. I tried:

label= exampleLabel1 AND label=exampleLabel2 AND text \~ help, but this does not appear to work.

Is there way to do this?

Thanks!


Answers:
author: Santwana Sarangi {Appfire}
body: Hi Blake,

Can you please check with this query "rest/api/content/search?cql=label in (a) AND label in (b) AND text \~ help" and see if this works?

Ref: <https://community.atlassian.com/t5/Jira-questions/Searching-for-multiple-labels/qaq-p/439015>

Thanks,

Santwana

comments: author: Blake Pitts
body: That seems to work! Thanks!


Tags: cloud

confluence-cloud

rest-api
Installed Confluence 6.11 and macros are (mostly) not working
Asked by Dustin-M:

We have a test and production 6.11 of confleunce installed. We had some troubles with some macros off third party applications, so on our test system I have removed all add-ons, removed the cached directories, restarted confluence and I still can;t even get the {cheese} macro to display.

It works fine on one of our older instances, version 5.9.7 and I can;t work out why it isn't working on the newer version. Simple macros like {info} seem to work fine.

Any ideas on where I can look to resolve this?


Answers:
author: Dustin-M
body: After a bit of back and forth with support, we had success with Kenny Ng suggesting this was to do with a font. You can check out the solution here as it is to do with the STIX font not playing well with JAVA (openJDK) - <https://confluence.atlassian.com/bitbucketserverkb/linux-installer-fails-with-java-lang-arrayindexoutofboundsexception-0-error-938843556.html>


author: Sattesh M
body: Hello Dustin, since you've tried [clearing the Confluence plugin cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html), could you try resetting all plugins to their default state.

* [How to reset all Confluence plugins back to their default state through the database](https://confluence.atlassian.com/confkb/how-to-reset-all-confluence-plugins-back-to-their-default-state-through-the-database-859509873.html)

Do let me know how it goes!

comments: author: Dustin-M
body: Thanks for the information, but unfortunately this has not changed the issue. I still cannot get the {cheese} macro to work, even though some simple macros are working, like {info}, {status}

I have taken a screenvideo of this and can send it along to you so you can see what I am seeing, or I am happy to do a Web Conference if that works (I am in Sydney Australia)


Tags: confluence-server

macro

server
Where would I find documentation on /rest/experimental/ ?
Asked by Teemu Hatula:

Is there documentation available on certain REST-API calls?  

For example, one of the /rest/search/ calls was changed to /rest/experimental/search/ when upgrading to Confluence 6.7.x. I'd like to know what happened with it, is it a new feature or something else. Also is there a reason for it being behind the /experimental/ URL if it's already in a release version?  

Is there a resource or sorts available for changes like that or do I have to crawl through the release notes if anything was changed for the related macros that use that REST call or diff the 5.10.x -\> 6.7.x REST API docs? Mainly interested on everything related to stuff behind the /experimental/.


Answers:
author: Sattesh M
body: Hello Teemu, you can get the list of official rest API calls from the page below,

* [Confluence REST API Documentation](https://docs.atlassian.com/ConfluenceServer/rest/6.7.0/)
* We can just change the version number at the end of the URL above, for the that version's API documentation.

The official supported rest API for search is "/rest/api/search" and not the "rest/experimental/search".

I could not find a page that shows all the "experimental" API list, since it's not a full release, but I usually look for them by using the [Rest API browser add-on](https://marketplace.atlassian.com/apps/1211542/atlassian-rest-api-browser/version-history).

* Just download the latest version of the add-on from the link above, and install it from the **Manage add-on**section in Confluence.
* Once installed, you can view all APIs, even experimental or RPC ones in (ConfluenceBaseURL)/plugins/servlet/restbrowser

Hope that helps!

comments: author: Teemu Hatula
body: Thanks,  
I'll see what I can do with that.


Tags: confluence-server

rest-api

server
Linlk a una pallbra en un documento
Asked by Jos? Luis Rodriguez:

Es posible crear un link a una palabra en concreto dentro de una p?gina. No tanto ir a la cabecera de la p?gina, sino ir a una posici?n en concreto.

saludos


Answers:
author: Ignacio Pulgar
body: Puedes hacerlo insertando una Anchor Macro en la posici?n deseada, para posteriormente agregarlo a un enlace como se describe aqu?:

<https://confluence.atlassian.com/doc/anchors-139442.html>