youngmon/atlassian-qna huggingface dataset:
Issue regarding moving a page to another space
Asked by rajvi desai:

I am trying to move a page to another space but while in the moving tab, when I click on "Browse" tab there is no response to that click. What should I do to move the pages now?


Answers:
author: Ryan Fish
body: [@rajvi desai](/t5/user/viewprofilepage/user-id/2628080)

If you know the destination page name, then enter it under the advanced tab/ new parent page option.  

You could also use the search tab.

The root cause could be any number of things, is there an error code?

* [Ancestor table rebuild](https://confluence.atlassian.com/doc/rebuilding-the-ancestor-table-153948.html)
* Move, hide, edit pages [Permissions](https://confluence.atlassian.com/confcloud/move-copy-and-hide-pages-724764858.html)

comments: author: rajvi desai
body: As I am admin, I have all the rights but still the page isn't responding when I click on browsing options while moving pages.


author: Ryan Fish
body: [@rajvi desai](/t5/user/viewprofilepage/user-id/2628080)  
What steps have you performed to diagnose the error?

[Common index problems](https://confluence.atlassian.com/confkb/searching-and-indexing-troubleshooting-180847237.html?_ga=2.113841863.1575942647.1548855310-366638916.1523984988)

<br />

Content index supports Confluence's search functionality... try [ReIndexing](https://confluence.atlassian.com/doc/content-index-administration-148844.html). It can take a while if your Confluence instance is large  

<br />


Tags: index

performance
Confluence search - order results by date
Asked by Charlie Pank:

Surely this must be possible?


Answers:
author: Bruce Henry
body: Here's how you can do it manually by editing the URL:

https://\<my_confluence_url\>/dosearchsite.action?cql=siteSearch+\~+"\<search_terms_here\>"+order+by+lastmodified

https://\<my_confluence_url\>/dosearchsite.action?cql=siteSearch+\~+"\<search_terms_here\>"+order+by+created

comments: author: Wolvie Tech
body: .


author: Wolvie Tech
body: Not looking for a "filter". Not concerned with a "date range."

Looking for a standard "Sort" option / feature, as any list(ing) would / should have.

I am guessing this will have to be programmed in, by the page designers.


author: Charlie Pank
body: I don't want to filter results, I want to order them

comments: author: Jared Brenner
body: It doesn't look like Confluence has that functionality, but there are a number of plugins in the marketplace that might do this.


author: Jared Brenner
body: Hi Charlie,

After searching you can filter by Last Modified on the left, or add a filter for Created date:

![Search_modified.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/43949i1F361F5676AAC884/image-dimensions/180x562?v=v2 "Search_modified.PNG")


author: Fabienne Gerhard
body: Hi [@Charlie Pank](/t5/user/viewprofilepage/user-id/2628200) - welcome to this wonderful community

Did you try advanced search? As mentioned here in [documentation](https://confluence.atlassian.com/doc/search-139528.html). There you can set different filters like creator, title, date range or ancestor page.


author: Jakub Hanak
body: Hello [@Charlie Pank](/t5/user/viewprofilepage/user-id/2628200),

what exactly are you searching for in Confluence?

Jakub


Tags: atl-gruland

confluence-server

server
How to insert the value of a variable in a page template.
Asked by Tim Calladene:

When creating a page template, I want to add some variables that the user enters when creating the page.

Then, within the same page, I want to be able to insert the value previously specified by the user for a particular variable. However, when attempting to do this in Confluence, it creates 2 separate variables with text boxes for each.

For example, I want to specify a version number for a release note, so I create the variable $AppVersion.

Release Note for Application v$AppVersion.

Then later on in the same page I want to include some text like this:

Run the installer with the filename ApplicationInstaller_v$AppVersion.msi

However, when I attempt to do this, Confluence seems to create a new variable with the name $$AppVersion, and inserts another textbox. I don't want this, I want the value the user previously entered.


Answers:
author: Fabienne Gerhard
body: Hi [@Tim Calladene](/t5/user/viewprofilepage/user-id/2627509)

which browser did you use? When you're adding the Application Installer variable thing you should be able to choose from existing variable as you've already created it.

If you're using Chrome - there is a known issue [CONFSERVER-35911](https://jira.atlassian.com/browse/CONFSERVER-35911) which should already been fixed(according which version you use).

I made similar experiences you mentioned in Chrome. So maybe using another browser may help. Also have a look if the variable can be chosen after you created it for the first time.

comments: author: Tim Calladene
body: Hi [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720)

I am using Chrome, however I've also tried this using Internet Explorer and it has the same behaviour. I'm using v6.6 of Confluence.

If I create a variable "VersionNumber", when it gets added to the list of variables it appears as *$VersionNumber* . If I think want to insert this variable, Confluence creates a new variable with the name *$$VersionNumber.*

See the following screenshots:

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


author: Tim Calladene
body: For some reason, I cannot post any more images showing the $$Version status


author: Tim Calladene
body: I've done some more testing, and it seems that variables only work correctly when using Firefox browser. They do not work in either Internet Explorer or Chrome browsers.


author: Fabienne Gerhard
body: Should have mentioned that I used Firefox to create the templates. IE is a f\*\*\*ing nightmare and with Chrome I also had this problem. Sorry for not responding earlier.
Move failed. There was a problem contacting the server.
Asked by mspirotabry:

i'm attempting to move one confluence space to a different one and i'm getting this error "Move failed. There was a problem contacting the server."


Answers:
author: Shannon S
body: Mario,

Within Confluence, it's not possible to move spaces from one to another. Rather, you can export the Confluence space and re-import it in another Confluence instance, or after modifying the XML you can import it into the same instance.

Could you tell us exactly which steps you were taking when you ran into the error? If moving across Confluence instances, we'll also need to know the versions of each.

If you are the server admin, could you check your [Confluence Server Logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html) and let me know what error message is occurring? If not, please get in touch with your server admin as we need that information to proceed.

Thank you for your help.

Regards,

Shannon

comments: author: mspirotabry
body: thanks, yes i was trying to move one space to another, didnt know you cant do that.

I edited and then just copied and pasted to the new space instead.


author: Shannon S
body: Mario,

Thank you for letting me know!

Here's another option for you for the future:

* [How to Copy or Rename a Space in Confluence](https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html)

This way you can re-import a space backup but give it a different name in the XML file, creating a duplicate space.

Hope that helps!

Take care, and have a pleasant rest of your week.

Regards,

Shannon


Tags: confluence-server

server
Could not access the spreadsheet link in confluence page, showing error
Asked by Sivashankari Rathinam:

The error is :

The application experienced an internal error loading the SSL libraries from MS Excel Security warning and file is not opening too.

In what way this could be resolved??


Answers:
author: Shannon S
body: Hello Sivashankari,

Could you let me know what version of Microsoft Office you're using as well as your Confluence version?

It could be related to this article from Microsoft for Office 2013 (but would apply to other versions as well). [Office 2013 error "Certificate error: The Application Experienced an Internal Error Loading the SSL Libraries" when opening files](https://blogs.technet.microsoft.com/office_integration__sharepoint/2015/04/20/office-2013-error-certificate-error-the-application-experienced-an-internal-error-loading-the-ssl-libraries-when-opening-files/)

You'll want to get in touch with your server admin for that to make sure your SSL is setup properly to work with edit in Office.

Regards,

Shannon


Tags: confluence-server

server
Export PDF
Asked by serc:

Is it possible to export a pdf directly with the configured style?


Answers:
author: Sloan
body: Hi [@serc](/t5/user/viewprofilepage/user-id/2379213)

PDF export from Confluence is easily possible. :)

Check out these documentation pages (up on the right you can choose between Cloud and Server versions):

* [Export Content to Word, PDF, HTML and XML](https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html)
* [Customize Exports to PDF](https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html)

If the built in PDF export does not go far enough for you check out the Atlassian marketplace:

* [https://marketplace.atlassian.com/search?product=confluence\&query=PDF](https://marketplace.atlassian.com/search?product=confluence&query=PDF?)

Cheers  
Nick
Sharing/Mirroring content in confluence with different groups?
Asked by Pascal Nelling:

Hi everyone,

I am trying to build a process handbook for our company but not every department is supposed to see every article.

I was thinking about setting up different spaces per team so that each can only see part of the handbook. I also thought about using mirroring as a tool in order to keep the workload managable because I don't want to set different restrictions per page or section because it's a very big handbook and that would be too much work.

Is there an easier way to share articles or trees from one source with different groups? Please keep in mind that were are a lot of links in the articles that lead to other articles with different restrictions.

Please let me know if my request is not clear enough and I will be happy to elaborate.

Thank you very much in advance!

Pascal


Answers:
author: Shannon S
body: Pascal,

View restrictions are inherited, meaning if you apply the restriction to a parent page, it will cascade down into the child pages. This may help you considering it's a lot less work if you apply the permissions this way. Have a look at [Page Restrictions](https://confluence.atlassian.com/doc/page-restrictions-139414.html) for more details.

Otherwise, it would just make more sense to keep the pages they can see in one space, and the ones they shouldn't in another.

In addition, there's something called the [Excerpt Include Macro](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html) which allows you to include excerpts in one page from another. HOWEVER, the restrictions are inherited, meaning that if one excerpt comes from a page that a user is locked out of, even if the user has access to the page that has the excerpt include macro on it (referencing the page that is restricted), they won't be able to see the excerpt on the page. I'm just mentioning this in case you come across it, so you're aware of the limitations.

I'm including your question in the Marketplace Apps collection, in the event that there is an add-on that could help you with this.

Regards,

Shannon


Tags: atlassian-marketplace
Bullet list type in Confluence
Asked by Product_Team:

I am not getting the number format when using # symbol


Answers:
author: Jared Brenner
body: Hello!

It sounds like you may want to use numbered list instead of bullet list:

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

If that doesn't work it may be useful to post some screenshots of your error for the rest of us to see.

Good luck!
Confluence Rest API to add space permission
Asked by Mohamed Adel:

is there Rest API function to add permission to users in confluence , I tried to use the XMLRPC remote API through scriptrunner but it didn't work

I added a custom plugin that include XMLRPC 3rd libraries with no success too


Answers:
author: Diego
body: Hello there Mohamed!

Currently, this is **not possible** by using **REST API** with **Confluence**.

We have a **Feature Request** that tackles this. You can check the request here:

**[Ability to set space permissions via REST API](https://jira.atlassian.com/browse/CONFSERVER-44329)**

However, a third-party plugin may help your objective! You could check **Bobswift Command Line Interface (CLI)**for Confluence:

**[How to Get All Space Permissions](https://bobswift.atlassian.net/wiki/spaces/CCLI/pages/21823495/How+to+get+all+space+permissions)**

We are looking specifically at the **addPermissions**parameter:

**[CLI Commands - addPermissions](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/91881522/Documentation#Documentation-addPermissions)**

Let us know if this helps you out!

comments: author: Mohamed Adel
body: Thanks [@Diego](/t5/user/viewprofilepage/user-id/1188952)


author: paulburchak
body: [@Mohamed Adel](/t5/user/viewprofilepage/user-id/1185930) I'm trying to find a way to set space permissions using REST API as well. Have [@Diego](/t5/user/viewprofilepage/user-id/1188952) links help to find a solution? If yes, could you please help me and send any references on it? I havent find any **Feature Request**mentioned in his answer...


author: Mohamed Adel
body: I found another way . Using Power scripts for confluence plugin . It is free and you can write your own webhook using their simple language then you will be able to call the webhook as rest function easily.


author: paulburchak
body: Thanks [@Mohamed Adel](/t5/user/viewprofilepage/user-id/1185930)


author: Ken McClean
body: For anyone looking at this in 2023, these answers are no longer correct. It is possible to use REST to manage Confluence Space permissions.  

The trick is that you cannot do it from WITHIN Confluence. The REST API endpoint is only available if you're not an App (i.e. this rules out ScriptRunner).  

<https://www.kennethmcclean.com/blog/scripting-confluence-cloud-space-permissions/>

comments: author: Rahul Raj
body: [@Ken](/t5/user/viewprofilepage/user-id/902142) We are looking for an API for Confluence Data Center, not for Cloud. The solution you are talking about won't work for Data Center.


Tags: confluence-server

server
Change font family from the Header
Asked by serc:

Hi guys,

can anyone tell me how i can change the font to Arial? I try it with

```
@bottom-right
 {
 content: counter(page) " / " counter(pages); 
 font-family: Arial;
 font-size: 9pt;
 }
```

and

```
<p style="font-family:Arial; font-size: 9pt; line-height:0cm">
```

but it doesnt work.


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@serc](/t5/user/viewprofilepage/user-id/2379213),

Replace 'Arial' with 'Arial, Helvetica, sans-serif' (combination of family name and generic family).

Re-try with the following:

```
@bottom-right
 {
 content: counter(page) " / " counter(pages); 
 font-family: Arial, Helvetica, sans-serif;
 font-size: 9pt;
 }
```

Hope it works!

Thanks

Sireesha
Getting Javascript required error when editing office docs in confluence. Pls help
Asked by Divya Srinivasan:

Hi Team,

I tried to edit the uploaded excel/word doc in Confluence through the **'Edit in Office'** option. Once I click on the option, it opens the excel and asks for SSO login credentials,once entered,then the excel opens with no data but it just says "**Javascript is required. Enable Javascript OAM Server"(attached screenshot)**

/Note: Javascript is enabled in chrome browser.

*Excel/Word Version : 2013*

*Excel Format : .xlsx![javascript error.PNG](/t5/image/serverpage/image-id/43781iA366C7E6959E4F9C/image-size/large?v=v2&px=999 "javascript error.PNG")*

*Browser : Chrome*

*Confluence Version : 6.6.1*

Please help me to resolve this issue.

Regards,

Divya Srinivasan


Answers:
author: Diego
body: Hello there Divya!

Could you clarify a few points for us:
> 1. Is this problem present when you open **any Excel file**?
> 2. Is this problem present when you open **other types of files**?
> 3. Does this happen if you **use another browser**?
> 4. Is this affecting **other users**?
> 5. What happens if you try to open the file **in another computer**?
> 6. What **version** of Microsoft Office were you using **when this error happened**?

Looking forward to your reply!


Tags: confluence-server

server
When I upgraded from version 5.7.4 to version 6.12.2, I was faced with a log error, who can help me.
Asked by ???:

![??????_1548391297728.png](/t5/image/serverpage/image-id/43775i9D31BE7D6C573981/image-size/large?v=v2&px=999 "??????_1548391297728.png")![??????_15483912185014.png](/t5/image/serverpage/image-id/43776i1AF0094386771BD6/image-size/large?v=v2&px=999 "??????_15483912185014.png")![??????_15483913129671.png](/t5/image/serverpage/image-id/43777iC24828FEADBD4F10/image-size/large?v=v2&px=999 "??????_15483913129671.png")![??????_15483913373371.png](/t5/image/serverpage/image-id/43774i6C02616734C9A490/image-size/large?v=v2&px=999 "??????_15483913373371.png")

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


Answers:
author: roman
body: Hi,

which database are you using? It could be that the version used with 5.7 is not compatible with 6.12. You can check the supported versions here: <https://confluence.atlassian.com/conf612/supported-platforms-958778616.html>.

Roman.
confluence page font setting
Asked by Anderson Hsu:

Dear Support Team ,

How can I setup font size in page content ? Thanks a lot.

![Screen Shot 2019-01-23 at 10.20.17 PM.png](/t5/image/serverpage/image-id/43736i39D8E5695D27F51D/image-size/large?v=v2&px=999 "Screen Shot 2019-01-23 at 10.20.17 PM.png")


Answers:
author: Bill Bailey
body: On the page you can't. You need to edit either the global or space stylesheet (CSS). The docs are here: [Styling Confluence with CSS](https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html).

Typically, I create a custom stylesheet for each client to style their Confluence instance more in keeping with their corporate branding.

You can change local style by creating a user macro to wrap you content in either CSS class or inline CSS.
Can I add a label to a blueprint template? I can see no label icons anywhere
Asked by Liz B:

I'd like to change the label of the decisions template in one of the spaces. I can edit the blueprint template (apart from changing the title) but see no options for adding a label


Answers:
author: Yoga Reddy {Appfire}
body: Hi [@Liz B](/t5/user/viewprofilepage/user-id/2623337)

Currently, It is not possible to edit the labels of a blueprint. And has already an [open ticket](https://jira.atlassian.com/browse/CONF-29447) for this issue. Please take a look into it.

Thanks

Yoga

comments: author: Liz B
body: Thanks Yoga


author: thomas.bugl
body: Hi, is there a solution?
Can I restrict creating pages in the home page of a space
Asked by Humbalan:

Hi all,

in Confluence I would like to restrict users from creating pages directly in the home page of a space. In lower levels of the hierarchy page creation should be permitted. This is to prevent from changing a default configuration of the uppermost level of pages in a space. Example:

    Space home page --+-pageA1 -+-pageB11-+-...                  |         +-pageB12                  |              ...                  |                   +-pageA2 -+-pageB21                  |         + pageB22                 ...            ...

No one should be allowed to create new A-pages, but everybody have permission to create B-pages.

Is that possible in Confluence?

Best regards

By the way: I work with Confluence 6.2. server


Answers:
author: Bill Bailey
body: No, there is no way I know of to do this. Edit/view rights only impact the ability to edit or view a page (inherited from parents). But you can only restrict the ability to create pages at the space level.

comments: author: Humbalan
body: Thank you for answering. Although the answer is a bit disappointing, it prevents me from further search. :-)

Best regards


author: Bill Bailey
body: Well sometimes knowing you can't do something is of value. Part of the reason is that the page hierarchy in Confluence is just the result of metadata. The pages are all stored flat (you can see it in the URL). So there is no way to know what is a child page of top-level page (or rather it would take a custom plugin/JavaScript and a lot of testing). This is also why all page names within a space must be unique.


author: thgmx
body: Sorry [@Bill Bailey](/t5/user/viewprofilepage/user-id/502089), I would like to set the*Accepted answer* icon to your answer but don't know how to change it.

Regards


author: Bill Bailey
body: Thanks, I have the *dangerous* power to do so! ;-)


author: thgmx
body: :-)


author: Mario Carabelli
body: I had it wrong so I deleted my answer.

comments: author: Humbalan
body: Thank you anyhow for answering so quickly. :-)


Tags: confluence-server

permission

server
API response in browser does not match response in Python (command line)
Asked by Emily Kern:

Hi, I tested an API query in my browser and got a reasonable response (i.e. a lengthy json object that provides plenty of information).

I tried running the same query in my Python code and received a completely different response. While I got a Response \[200\], the json object was completely different in structure and therefore content.

The query I used: <https://baselink.com/rest/api/space?spaceKey=spaceKeyName>

Browser result: lengthy json file that had the same structure as shown in API documentation examples.

Python (command line) result: a VERY short json object that had different keys altogether, with the only information of some value being the query used. One specific value in this stunted response was under jsonObj\[links\]\[self\], and the value of that was the same exact query I used in the browser (<https://baselink.com/rest/api/space?spaceKey=spaceKeyName>). Why does this happen?

And if it makes a difference, I am using the requests and json libraries in Python.


Answers:
author: Craig Castle-Mead
body: Hi Emily,

Just wanted to confirm that you passed in the same authentication via the command line as you did via the Web UI? If not, you may just be getting the public spaces in Python.

If you run <https://baselink.com/rest/api/space?spaceKey=spaceKeyName> in a clean browser session, does the response match your Python response?

CCM

comments: author: Emily Kern
body: Yes, it's the same authentication. I call it within a Python script, but run the script from the command line.

I am starting to get more matching results be replacing 'spaceKey' with 'key' (the documentation says the parameter is spaceKey, but JSON results show key).

That said, I still can't retrieve the correct JSON object for a space whose key I know of and have specified in the call. I end up retrieving all spaces instead.

Thanks,

Emily


Tags: confluence-server

server