youngmon/atlassian-qna huggingface dataset:
How do i change the background color on CODE BLOCK
Asked by Gordon Baird:

When i change the color theme on the Code Block Macro to "midnight" or "blacl", it still comes thru as light gray on all code blocks. What am i doing wrong . (note - this is using Cloud version)

Thanks

Here is the doc reference but it doesn't work when follow these instructions<https://confluence.atlassian.com/confcloud/code-block-macro-724765175.html>


Answers:
author: Veera
body: [@Gordon Baird](/t5/user/viewprofilepage/user-id/3725651)

In Confluence Cloud New Editor, Code Block macro has been replaced with [Code snippet](https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html#ConfluenceEditingImprovements-Codeformatting).

Code snippet doesn't support customisation. It's been tracked as a feature request: [https://jira.atlassian.com/browse/CONFCLOUD-66437](http://Allow further customization of the "Code" macro in the new editor)

comments: author: August Vorsterman
body: 3 years later...


author: Alex Ferguson
body: Same


author: Nicole Smith
body: 4 years later...


author: Larry Dolinar
body: 1535 days later (lol)...

Having used the self-hosted version for a number of years, this cloud version's editor feels rearranged and dumbed down to a noticeable agree. It'll take some time to break old habits.

Rather telling that Gordon's link above currently goes nowhere; you have to highlight and paste it verbatim. Those comments are not reassuring; has the aroma of staff cuts or "strategic redirection".


Tags: cloud

confluence-cloud
Approval request expiry
Asked by Hakim Akka:

Hello,

Apptoval for confluence provides the possiblity to expire page or section approval atba pre-defined date. My question if this functionality can be leveraged to expire an approval request sent to someone in way that if no response is received (approved or rejected) the page owner or the person requesting the approval would receive an email alerting him/her that no response has been received.

Appreciate your help in this matter.

Thank you


Answers:
author: Aron Gombas _Midori_
body: You haven't precisely written [which approval app](https://marketplace.atlassian.com/search?query=approval%20for%20confluence) you are using here?

There is *Approvals for Confluence* , there is *Page Approval for Confluence* , there is *Approval Path for Confluence*, but it is not clear which one you're using.

But, generally speaking, you can implement [custom reminder emails](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/configure/notification-schemes) with the Better Content Archiving app. It can send a list of pages to approve to the approver user(s) using a custom schedule and custom email subject and body.
2 Step Verification using Phone
Asked by Jack McCready:

How do I add my phone to the 2 step verification? I have gone through the setup for 2 step verification but apparently my phone was never connected.


Answers:
author: Ste Wright
body: Hi [@Jack McCready](/t5/user/viewprofilepage/user-id/3725570)

You've followed the instructions on [this page](https://confluence.atlassian.com/cloud/two-step-verification-976161185.html) to set it up?

If yes, try logging out and logging back in. Ensure you're logged out of all instances you have access to - you can view these on your Atlassian Account under "Products" - you can also log out from the Accounts section - which is worth a try!

If it still doesn't ask for verification, I'd suggest trying on a different browser or in hide mode on a web browser (eg. Incognito on Chrome) just to ensure it's not a browser setting or similar "remembering" your login.

Ste
Cannot view pages in a space that I have access
Asked by jwood:

My admin has given me (jwood) full access to the space named "Landscape"

![Confluence permission issue 1.PNG](/t5/image/serverpage/image-id/80452i25F3ED855A1CAC0B/image-size/large?v=v2&px=999 "Confluence permission issue 1.PNG")

I can see that I have full access to the space

![Confluence permission issue 2.PNG](/t5/image/serverpage/image-id/80453i147058249017F90D/image-size/large?v=v2&px=999 "Confluence permission issue 2.PNG")

When I try to access the space I get a message that it is a restricted page

![Confluence permission issue 3.PNG](/t5/image/serverpage/image-id/80450i89EF6FC5A821BC3B/image-size/large?v=v2&px=999 "Confluence permission issue 3.PNG")

When I try to access a page within the space (via a URL sent to me) I get a message that it is a restricted page

![Confluence permission issue 4.PNG](/t5/image/serverpage/image-id/80451i14132EC59BC7F74B/image-size/large?v=v2&px=999 "Confluence permission issue 4.PNG")


Answers:
author: Veera
body: [@jwood](/t5/user/viewprofilepage/user-id/3725060)

The homepage of the space is restricted. So, you won't be able to view any pages in that space until you get access to homepage.

Being the space admin, you can check who has access the homepage from Space Settings \> Permissions \> Restricted Pages. Then you can ask them to grant you access to it.

Alternatively, you can remove the restrictions and add them again once you got access to it.

Refer to [Add or Remove Page Restrictions](https://confluence.atlassian.com/confcloud/add-or-remove-page-restrictions-724764891.html) for more details.

comments: author: jwood
body: Thanks Veera. That helped me resolve the issue.


author: Veera
body: Glad to know, [@jwood](/t5/user/viewprofilepage/user-id/3725060)


author: Ismael Jimoh
body: Hi [@jwood](/t5/user/viewprofilepage/user-id/3725060)

Pages on a space can be restricted to specific people.   
This restriction over rules the space permission.

Hence you will need to do the following:

1. Find someone who has access to the page and can edit
2. Ask the person to check page restrictions and grant you the view/edit access.

After this you should be able to view the page. Trpeat the above for each page.

Cheers

comments: author: jwood
body: Hi Ismael,

If the page is restricted will it have a lock icon on it - i.e. the opposite of the unlocked icon below?

![Confluence unlocked icon.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/80457i31A6E7D7C5A0287C/image-size/large?v=v2&px=999 "Confluence unlocked icon.PNG")

Also, is it possible that all of the pages in the space are restricted? Is there a setting somewhere that would make newly created pages restricted?

Cheers

Jeff


Tags: cloud

confluence-cloud
What is the API to get subdomain or base url of confluence?
Asked by Anuja Deshpande:

How to get subdomain using API, as accessible resource API isnt working


Answers:
author: Veera
body: [@Anuja Deshpande](/t5/user/viewprofilepage/user-id/3407625)

When you [subscribe for Confluence Cloud](https://www.atlassian.com/try) version, you can choose your domain name so that your Cloud site will be created as with that domain name.

Let's say if you choose, **anuja** as your domain, your Cloud site will be created with URL: *<https://anuja.atlassian.net>*.

Your Cloud URL is the base URL you need to use in the REST API calls. So, in this case *<https://anuja.atlassian.net>* becomes Base URL for your REST API calls.


author: Nic Brough -Adaptavist-
body: What do you mean by "subdomain"?

Also, if you want to get something from the API, you need to ask for it by the base url. If you don't know the base url of a Confluence already, you don't know where it is, so you can't ask. Whatever confluence you're trying to talk to, you already have the base url.

comments: author: Anuja Deshpande
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)

Consider following example,

curl --request GET \\ --url '<https://your-domain.atlassian.net/wiki/rest/api/audit>' \\ --header 'Accept: application/json'

I am referring to your-domain.atlassian.net, Is there an API which returns domains for current user.

It is mentioned in <https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/>

that, accessible resource API does not return base url. so what is the alternative to that API?


author: Nic Brough -Adaptavist-
body: To issue your example call, you have used the base url already. So you know it. It is '[https://your-domain.atlassian.net](https://your-domain.atlassian.net/wiki/rest/api/audit)/wiki .

As for the wider question, what you're really asking is "what services does a particular Atlassian account have access to?". There is no API on Atlassian's services for that because it's illegal for you to get that information.


Tags: cloud

confluence-cloud
How to lock down a page for construction/turn off notifications to team
Asked by Marissa Moyer:

Hi everyone, I am planning a massive overhaul of our main company space, and want to know how I can do this without sending 10,000 notification emails to the staff. Is there a way I can somehow lock down the space for this weekend so I can make my changes in peace? Even if it means temporarily revoking everyone's access to the space or something?


Answers:
author: Ste Wright
body: Hi [@Marissa Moyer](/t5/user/viewprofilepage/user-id/3722155)

There's a few options here:

1. Remove all permissions from the space bar yourself via Space Settings \> Permissions, depending on how complex these are. I tested this in our instance and the "Watchers" disappeared when they couldn't see the space, then re-appeared once I re-added their permissions.
2. Remove all Watchers from pages / the space, depending on how many you have. You can view Watchers by going to the Space Overview page, press the eye icon in the upper-right corner and press "Manage Watchers" and selecting page or space - or do this for any single page the same way.
3. Uncheck the "Notify Watchers" checkbox when Saving a page - for the new editor, the option is in the 3-dot icon inline with the "Publish" button.
4. Publish no pages until complete - you can click the 3-dots icon next to Publish / Change to view a page's preview. And your edits should stay on the page, even if you choose to Close it without publishing.

\^ Bar these, as far as I know, watchers will get a notification of each edit made to the page. This isn't customisable - see more information on what you do and do not receive as a watcher in [this page](https://confluence.atlassian.com/confcloud/watch-pages-spaces-and-blogs-724765353.html).

If you do go with (1) - I would assume users won't get notifications but I would spot-test this with your users. For (2), this could be complex if you have a mix of users watching the space or single pages - I'd check each page as you work to confirm.

Ste

comments: author: Marissa Moyer
body: Thank you so much Stephen! This was exactly what I needed.


Tags: cloud

confluence-cloud
In Confluence Cloud is there a way to set a fixed width for a table?
Asked by Dan Ireland:

I'm trying to set a fixed width table in Confluence Cloud, but don't see the ability to do so. It looks like you may be able to do it in the Server version but not the Cloud?


Answers:
author: Ste Wright
body: Hi [@Dan Ireland](/t5/user/viewprofilepage/user-id/3724701)

It's not available in the new editing experience recently introduced to Confluence Cloud - to see a feature comparison for the old vs new editors, [click here](https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html). It does mention "fixed width" here but it's more "centred".

There are a few options available now though:

1. You can choose for a table to be Centred, Wide or Full Width. This gives you options for base table size at creation. Click the button with two arrows in it to the far-right of your table to activate.
2. You can still have different column widths - hover over a line between two columns until it turns blue then drag to resize.
3. There is now a scroll-bar for tables which are longer than the page. This means if you have wider columns you don't have to scroll the whole page backwards and forwards - just the table itself.

\^ You can also follow another option for column customisation here - [CONFCLOUD-67748](https://jira.atlassian.com/browse/CONFCLOUD-67748).

Ste

comments: author: Perry Tancredi
body: I'm not seeing a button with two arrows to the far right of my table, was that button removed?


author: Ste Wright
body: Hi [@Perry Tancredi](/t5/user/viewprofilepage/user-id/4610908)

It's still there - it is only there in edit mode, and should be just below the Publish/Close buttons.

If you're still not sure, send us a screenshot of what you see in edit mode so we can help look with you :)

Ste


author: Perry Tancredi
body: Thanks, scrolling up to the top I do see the button now - though it's for the whole page and not just the table.

Thanks!


author: Veera
body: [@Dan Ireland](/t5/user/viewprofilepage/user-id/3724701)

You are right, it's not available in Confluence Cloud at the moment.

There are few feature requests to provide this.;

* [Provide more table formatting options in the new editor](https://jira.atlassian.com/browse/CONFCLOUD-68295)
* [Custom Table Size](https://jira.atlassian.com/browse/CONFCLOUD-67875)


Tags: atl-gruland

confluence-cloud
I am unable to upload files in wiki page
Asked by lb852g:

Since last week i am unable to attach any kind of file in my confluence pages.

When i try insert file, it is showing "HTTP error" message. If i try from link option it is responding as "Couldn't upload the file".


Answers:
author: Veera
body: [@lb852g](/t5/user/viewprofilepage/user-id/3724712)

The answer provided in the below link might help you.

<https://community.atlassian.com/t5/Confluence-questions/Confluence-HTTP-Error-when-uploading-file/qaq-p/1213971>

comments: author: lb852g
body: Thanks Veera, the link you shared is helpful. I came to know from our administrator that this error is due to space issue.


author: Veera
body: Glad to know that you were able to figure it out, [@lb852g](/t5/user/viewprofilepage/user-id/3724712)
All of a sudden, i am unable to edit/create pages
Asked by Karthik:

I used to create new page or edit team pages before. Now all of a sudden, when i create a new page, the Editor is turned grey which means, i couldnt able to type anything or add any content to my new page. Atlassian support didn't resolve this problem when i contacted them a month ago.

Do anyone else face the same issue and got a workaround? Screenshot below.

![ConfluencePageEditProblem1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/80417i7083EEA2FC1B0B2B/image-size/large?v=v2&px=999 "ConfluencePageEditProblem1.JPG")


Answers:
author: Veera
body: [@Karthik](/t5/user/viewprofilepage/user-id/3651064)

Try to create a page from a different network (e.g., mobile network) outside of your office network.

We have a couple of users who had similar issue if they are using restrictive firewall or proxy server settings within their network. This has been reported as a bug: [Edit functions is grayed out in Confluence Cloud for certain users](https://jira.atlassian.com/browse/CONFCLOUD-68168)

If you are using firewall or proxy settings, make sure you whitelist all the domains and IP ranges mentioned in [Atlassian cloud IP ranges and domains](https://confluence.atlassian.com/cloud/atlassian-cloud-ip-ranges-and-domains-744721662.html).


author: Alison
body: Hi Karthik,

Have you checked the permissions on the Confluence space? Perhaps you can ask the administrator if access has changed.

I know you said you can' type anything - what happens when you click into Page Title? In the new editor, the Publish option is enabled (turns blue) only after your enter a Page Title.

Alison


Tags: cloud

confluence-cloud
We Couldn't Display Your Content.....
Asked by Andy Tomlinson:

I have created a page with multiple videos on the page. These are questions that are frequently asked that are then answered in videos. When I formatted and went to publish, everything looked fine. Now, there is no content showing up as well as the page showing blank.

Any help is greatly appreciated as I am up against deadlines.


Answers:
author: pras
body: I'm having the same problem, and it appears to be a common one:

* <https://community.atlassian.com/t5/Confluence-questions/My-page-won-t-upload-and-shows-quot-We-couldn-t-display-your/qaq-p/1535185>
* <https://community.atlassian.com/t5/Confluence-questions/I-keep-getting-the-error-message-quot-We-couldn-t-display-your/qaq-p/1351601>

So far, I have been able to use the \[...\] menu at the top-right of the page to get to **Page History** and **Restore** a previous version of the page, so at least I can see something on the page, but when I try to make the same edits again it ends up hitting the same error again.

comments: author: pras
body: Also I noticed that when I view the broken versions in the Page History, they show this on one on my file attachments:

![Screenshot from 2021-01-24 17-30-26.png](https://community.atlassian.com/t5/image/serverpage/image-id/127094i092D39D1FBC6C570/image-size/large?v=v2&px=999 "Screenshot from 2021-01-24 17-30-26.png")


author: pras
body: I was able to fix my problem by deleting the file attachment that reported a "Broken macro" and re-uploading it with a different filename.

The original filename was very long and contained a ":", which might have been causing issues. I renamed it to a short name with only letters and numbers.


author: Andy Tomlinson
body: ![Screen Shot 2020-01-24 at 1.52.38 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/80396i01468F6CFF3AA2EA/image-size/large?v=v2&px=999 "Screen Shot 2020-01-24 at 1.52.38 PM.png")![Screen Shot 2020-01-24 at 1.52.28 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/80397i0E03AA16C059608C/image-size/large?v=v2&px=999 "Screen Shot 2020-01-24 at 1.52.28 PM.png")


Tags: cloud

confluence-cloud
No Access to "Backup and Restore"
Asked by HFrelin:

I need to have access to backup my company's confluence pages. I know there's an XML backup feature under "***General Configuration** \> **Backup \& Restore"***, but I don't have access to this section as I'm not a System Administrator.

***"You'll need System Administrator permissions to do this"***

However, I have the below privileges,

***"Site administrator:**Can administer your site, determine user access, and update billing details (like you)"*

and noone/group at my company appears to have sysadmin privileges. Is there a way to find out if someone has this privilege or get it for myself?

Thanks!


Answers:
author: Nich Hogue
body: If you check under your Global Permissions. You should see a breakdown table of which group has which permission. Most likely it's system-administrators is set as your System Administrator permission. If it's not you'll at least see which group is associated with that, if any. From there you can look into your Groups management, and see who is a member of that group.

Hope this helps.


author: Zak Laughton
body: Hi HFrelin!

As Nich mentioned, you should be able to see this permission in your global permission settings. If you need to regain access to the site admin permissions, you can follow the steps on [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html).

comments: author: HFrelin
body: Thanks for the reply! I see *system-administrators* in global permissions, but not in admin group management.

Does that Admin recovery method apply to Confluence cloud? If so and I regain admin access, will we be able to back up our Confluence Cloud work?

\* our site looks like <https://XXXX.atlassian.net>, so I assume it is a cloud service

Thanks in advance for any additional help!


author: Zak Laughton
body: Ah, yes, that reset only applies to Confluence Server, and the "...atlassian.net" address confirms you are on cloud. I'm not as familiar with assigning administrators in Confluence Cloud. Sorry for the confusion!


Tags: cloud

confluence-cloud
password lost after restore from cloud
Asked by Yong Liu:

Tried to install confluence in docker (Synology docker, postqres 12)

When I tried to restore from the backup (Backup to server from cloud account), can't login anymore.

1 Can't reset password as the local server email setting will be wiped out after the restore.

2 Tried to password reset, but can't find the path in synology docker.

3 Tried to use pgadmin, but dont know where is the user and how.

Thanks,


Answers:
author: Jack Nolddor [Sweet Bananas]
body: Hi Yong,

I believe you need to restore the admin password as described on [**Restore Passwords To Recover Admin User Rights**](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html) page.

Regards

comments: author: Yong Liu
body: Thanks, the link will not help for docker in synology. Can't find this file.


author: Tom_Nguyen
body: use this command to access docker and find the file

docker exec -it {your container} /bin/bash


Tags: confluence-server

server
Can I use the "Create from template" macro with a custom template and choose the parent page?
Asked by Kevin:

I am trying to use the "Create from template" macro with a custom template, but also have it go into a defined hierarchy or parent page. Every time I use the "Create From Template" macro with a custom template it creates orphaned pages. I want to be able to choose the heirarchy. Is there a way to do so?


Answers:
author: Andreas Purde
body: Sorry I missed the fact that you are on cloud not server.


author: Darryl St_ Pierre
body: Hi [@Kevin](/t5/user/viewprofilepage/user-id/1245062) ,

If you're using the Create... macro from the space Home page, it will indeed just drop pages with no structure. If you setup one or more Parent pages off of the Home page, you can have the macro on those parent pages, and it will create children underneath that parent page. Essentially, you have to create the parent page that will have the macro to create the children.

I'm not aware of any additional macro that will allow you to predefine an additional hierarchy, if you're looking to take it to that next level.

If you current situation is not starting from the Home page, it sounds like there may be a restriction set on the page the macro resides on.

I hope that makes sense and answers your question. Feel free to reply if you need further information. If this does help, I would ask that you consider marking the answer as an accepted solution.

Darryl


Tags: confluence-cloud
Where have the flow charts gone?
Asked by Arpita:

Hey Everyone,   

I remember we used to be able to add flow charts in confluence but I can no longer find it.

Did we lose another amazing feature with the new confluence upgrade?


Answers:
author: Ste Wright
body: Hi [@Arpita](/t5/user/viewprofilepage/user-id/3702616)

Which flow chart macro are you referring to?

I've tried both old and new experience for "flow" and "chart" and cannot find a macro on our test instance - I often find teams use Marketplace Apps for this, such as Gliffy or Draw.io - was it one of these?

To locate your macro in the new editor - either:

* Press / and type the name of the macro or...
* Press the "+" button in the tools row and select the macro or press "View More" at the bottom of the list to search all

If you know the name of the macro and it's not an add-on - let us know so we can check again :)

Ste