youngmon/atlassian-qna huggingface dataset:
background colour for table header
Asked by MJ:

I'm new to Confluence. I love how I can copy and paste a table from a Numbers file into confluence at it keeps the formatting:

![Screenshot 2021-11-12 at 13.01.39.png](https://community.atlassian.com/t5/image/serverpage/image-id/169126iDACB5754804F6A68/image-size/large?v=v2&px=999 "Screenshot 2021-11-12 at 13.01.39.png")

However, when I add a new column, the cell at the top gets a white background, and there doesn't seem to be a way to get the colour to match.

![Screenshot 2021-11-12 at 13.03.35.png](https://community.atlassian.com/t5/image/serverpage/image-id/169127iEEFF6C39955FD777/image-size/large?v=v2&px=999 "Screenshot 2021-11-12 at 13.03.35.png")The closest colour is grey which looks odd next to the others:

![Screenshot 2021-11-12 at 13.08.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/169128iD1980942C3F1ECC9/image-size/large?v=v2&px=999 "Screenshot 2021-11-12 at 13.08.16.png")

Any suggestions? Can I either force the new column to have the same formatting as the existing ones when created, or manually apply the existing colour to the new cell?


Answers:
author: Carolyn Phillips
body: Hi MJ,

One of my colleagues who was unaware of this issue in Confluence cloud managed to get the colours she wanted by copying the text in a table cell in Word with the correct background colour and pasting it into the table cell in Confluence.

I was amazed as I had resigned myself to the rather insipid colour pallet available. I will be using this hack from now on.

Huzzah!

comments: author: MJ
body: thanks!


author: Pavel Junek
body: Hi [@MJ](/t5/user/viewprofilepage/user-id/4632991),

Welcome to Atlassian community!

<br />

I'm afraid this can't be done. The background color in the table header can be changed [using CSS](https://confluence.atlassian.com/confkb/how-to-change-table-appearance-using-css-313464913.html), but this change is [restricted for Confluence Cloud](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html).

Pavel

comments: author: MJ
body: Hi Pavel, thanks for the response.


Tags: cloud

confluence-cloud

table
Assigning a license upon authorization
Asked by satortunov_vniia_ru:

After updating the system: any user who has passed the authorization will automatically receive a license in the system.

How and where to disable this feature?

We hit the license limit and "everything breaks down".

We are using LDAP.


Answers:
author: Nic Brough -Adaptavist-
body: That's not how it works. There is no "automatically receive a licence", as the licence is a single licence that applies to your server, there is nothing given to a user.

There is nothing here to "disable", there's nothing actually being done.

Your licence says "you can have up to X users **able** to log in to this system".

The X is counted by looking at the group, or groups, set up to say "people in this group, or groups, can log into Confluence".

To stop the problem you're having with new people taking you over your licence allowance, stop adding them to the login group(s) in LDAP. You might find it easier to change the group in use for logging in, to separate it out from the current login group(s).


author: satortunov_vniia_ru
body: Thanks! Removed automatic adding to group members (confluence-users) in the LDAP catalog settings in Confluence


Tags: confluence-server

server
User macro to validate last modified date of confluence page
Asked by Nallusamy Narayanaswamy:

Hi

I want to create a user macro which will validate whether last modified date is greater than given timeframe.

If current date - last modified date \>= 30 days, need to populate a waring message saying "The page needs to be reviewed as It was last modified 30 days ago"

Also, I want to set this day (30 days) to be dynamic. User should able to set their own timeframe when they adding the macro to their page.

Is it possible to have such a user macro that accept dynamic parameter? Can someone pls help?


Answers:
author: Nic Brough -Adaptavist-
body: This is not quite what user macros do, they don't "validate" or process things, they run when a page is rendered.

Now, that does not mean you can't get them to do things (you could write a macro that updates a counter somewhere every time a page is viewed for example, or trigger a script or javascript if they rendered a clickable button) but mostly they are used for rendering things, not doing things. Rendering stuff is a lot easier than making them process things (and quite often people don't get that processing stuff on view is usually a bad idea as it can end up being done way too many times!)

So, I want to redefine your macro a little bit, and check that my definition would do what you want. Given that your people would use the macro with something simple like

{update-needed: parameter X}

Then when the macro is added to a page, when rendered, it will do something like:

* If ( Updated date \< Today - X days)
  * Display a nice big warning panel saying "This page needs to be reviewed as It was last modified over X days ago"
* else
  * Display nothing
* fi

Would that be the right behaviour?


Tags: confluence-server

macro

server
Generate Jira Issue list based on Confluence Page Creation date
Asked by Nallusamy Narayanaswamy:

Hi,

We have a requirement of creating turnover page where the customer wants to automatically pull the list of jira issues which was created on the confluence page creation date.

I have created button and linked that to template to create such a page. Ex: The page title will be "NOC Turnover Notes for 11-11-2021" .

And, it will populate pre-defined table with some value pre-populated. I managed to pre-populate some value through user macro.

But, I don't know how to list out jira issues which are created on confluence page creation date. I don't know how to dynamically pass the parameter to JIRA/Issue Macro filter for this use case

Could someone please suggest a solution ?


Answers:
author: Fabian Lim
body: Hi [@Nallusamy Narayanaswamy](/t5/user/viewprofilepage/user-id/3739959)

You may want to consider investigating scriptrunner for conlfuence and see whether you can accomplish this.

Link: <https://scriptrunner.adaptavist.com/5.5.8/jira/interacting-with-confluence-from-jira.html>

Regards


Tags: confluence-server

jira

macro

server

user-macro
Indenting macros was possible on server, not working in Cloud?
Asked by Mihai T?n?sescu:

Hi,

I'm trying to build a structure like the following:

- a list

- inside the list, under one bullet point to have an "expand macro" or a table.

So far the table/expand macro always ignores the alignment and appears from the start of the row with 0 possibility of moving it to the right.

On the server / DC version I remember this always worked.

Is there any way to do it in the Cloud version of Confluence?

This seems like such a basic feature that I'm amazed it does not just plainly work.  
The Cloud version seems to be far behind the older Server one I used to work with.


Answers:
author: Shannon S
body: Hello Mihai,

Welcome to Atlassian Community, and thank you for submitting your question. It's nice to have you join us.

I understand you discovered you couldn't embed an Expand macro within a list in Confluence Cloud's new editor. The reason is that the new Confluence editor doesn't support adding macros inside a numbered or bullet list. See [Convert pages to the new editor](https://support.atlassian.com/confluence-cloud/docs/convert-pages-to-the-new-editor/) to learn the differences between the Legacy and the new editor.

We have an open feature request for embedding macros in lists below:

* [CONFCLOUD-67862](https://jira.atlassian.com/browse/CONFCLOUD-67862) *Bring back the option to add macros within a numbered or bulleted* list

In the meantime, you can still embed macros in lists in the Legacy editor. The Legacy editor is available as a separate template on some older Confluence Cloud sites, as in my example below:

![legacy-editor.png](https://community.atlassian.com/t5/image/serverpage/image-id/169386iB4D3AFAFB604B3AA/image-dimensions/498x280?v=v2 "legacy-editor.png")

If you do not have the Legacy editor template, you can create a ticket with [the Atlassian support team](https://support.atlassian.com/contact) and request that we enable it on your Cloud site. If you have any difficulty making that support ticket, can you let me know? I'm happy to help create it for you.

Take care, and I hope you have a nice day!

Shannon \| Atlassian Community Support


Tags: cloud

confluence-cloud
Confluence Table with dates in front of the columns from today to 30 days ahead
Asked by Marcel Kleinl?tke:

Hey there,  
I am looking for a way to give my users a table showing one day in every line. The line starts with today in lane 1  
tomorrow in lane 2 the day after tomorrow in lane 3 and so on and on....   
and it is supposed to be currently updated automatically every day...


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Marcel Kleinl?tke](/t5/user/viewprofilepage/user-id/4621836) ,

We can suggest trying our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview).

We assume that you have a predefined table with data - with or without column with dates.

If there are dates, then you need to wrap your table into the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro. If there are no dates and you want to autofill them, then wrap the table subsequently into the [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) and then into the Table Filter macro.

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

Let's check the Table Transformer settings:

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

SELECT FORMATDATE(DATEADD(day, 'Number', "11/05/2021")) AS 'Date',  
'Column 1', 'Column 2' FROM  
(SELECT ROWNUM() as 'Number', T1.'Column 1', T1.'Column 2' FROM T1)

Here "11/05/2021" is the start date for auto filling.

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

Here we choose the required date format.

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

As you can see, now we have auto filled dates pasted day by day.

Now let's move to the Table Filter macro. We need it for filtration - from the start date till "today" (as "today" changes every day, we'll see an additional row every new day).

![Fri 1-5.png](https://community.atlassian.com/t5/image/serverpage/image-id/169103iEC569243E8635A57/image-size/large?v=v2&px=999 "Fri 1-5.png")Here we set the corresponding date format:

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

And here is your result in the page view mode:

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

The filtering panel may also be hidden so that your users won't be distracted or to prevent them from changing the filters.

Hope this may help your case.


Tags: confluence-server

date

server
How can I receive emails send to confluence@myinstance.atlassian.net
Asked by Sebastian Gellweiler:

Hi,  

when I get an email notification from Confluence Cloud it is send from "confluence@myinstance.atlassian.net". When I reply to that email I get an error message that the mail can't be delivered. Is there a way to forward emails from "confluence@myinstance.atlassian.net" to "admin@mydomain.com" or to change the settings so that emails are being send from "admin@mydomain.com"?  

I've googled for that and looked through the settings. I found a feature request concerning the possibility to create a comment by replying to an email notification:  
- <https://jira.atlassian.com/browse/CONFCLOUD-5002>  

But this is not what I need for me it would be enough to actually be able to receive emails send to "confluence@myinstance.atlassian.net". I don't need them to be posted as reply.  

Thank you.


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@Sebastian Gellweiler](/t5/user/viewprofilepage/user-id/4209739) Short answer: you can't receive these emails. Atlassian has not set up this functionality.


Tags: cloud

confluence-cloud
language restrictions
Asked by Stanislav:

Hi everybody!  

I got an interesting question if there is a way to restrict language when naming spaces and pages in confluence?  
The problem is i want every page and space should be named in English letters only. Also interested in same restrictions in one space but its not the main need.   
Maybe if you now development solution for this like write own script for this, you welcome)  

Waiting for community to help ! Thanks)


Answers:
author: G subramanyam
body: Hi [@Stanislav](/t5/user/viewprofilepage/user-id/4592191) welcome to the Atlassian community.

Here's an article [choose a default language](https://confluence.atlassian.com/doc/choosing-a-default-language-214860191.html) for more details.

comments: author: Stanislav
body: hi thx) im not new here, just a new account  

you dont understand me for sure! nah i dont need to set language for the interface))  

I need restriction to create space or pages only in one language English  
Im already now that it is not simple question and there is no easy solution so im waiting for community to help me with any decision


author: G subramanyam
body: Hi [@Stanislav](/t5/user/viewprofilepage/user-id/4592191) thank you for making it more clear. Let's wait for suggestions from other Community members.


Tags: atlassian-marketplace

atlassian-support

confluence-administration

confluence-server

server
Loom video not loading
Asked by Simon Klobas:

Hi there  
I've embedded some videos into Confluence using a smart link, everything is public - both the Loom video itself, the folder it is in and the confluence page.  
When I view the video in confluence as a logged in user the video works well.  
When i view the confluence page in Incognito mode and when a public users views the confluence page the video will not load. Error message in the attachmements.  
please help!  
Thanks

<br />

![Capture.PNG](/t5/image/serverpage/image-id/169039i196583E5395140E0/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Fabian Lim
body: Hi [@Simon Klobas](/t5/user/viewprofilepage/user-id/4632530)

Have you tried using incognito and logging into Loom first, before you click on the confluence link?

I'm not familiar with loom, but do you need to be logged in to view content?

Regards


Tags: cloud

confluence-cloud
Can Confluence display clickable URLs when populated via the JIRA issues macro?
Asked by Anita Suri:

I have custom URL fields on my JIRA tickets that link to relevant info to my projects. When I surface these fields in a Confluence table via the JIRA issues macro tool it displays the URLs, but they aren't clickable. Is there a way to force Confluence to display these URLs as a clickable link instead of just displaying the address?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Anita Suri](/t5/user/viewprofilepage/user-id/4630508) ,

We can suggest using the following workaround with the help of our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview).

Its [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) macro allows you to create clickable links to Jira Issues - please check [here](https://docs.stiltsoft.com/display/public/TFAC/Custom+Transformation+-+use+cases+with+advanced+SQL+queries#CustomTransformationusecaseswithadvancedSQLqueries-CreatingclickablelinkstotheJiraissues) for an example.

Maybe your company already uses our app for table filtration, aggregation, calculations and visualization, but if the answer is "no", then we'll be happy to organize a live demo for you and your team - please book a [suitable time slot here](https://calendly.com/tablefilter/live-demo?month=2021-11).

comments: author: Anita Suri
body: Thanks for your reply but I think you're misunderstanding my need. The links I want to surface don't link to the JIRA issue itself, they are stored in custom fields on JIRA tickets and link to external sources (like Box) for assets. Is that something your app supports?


author: Katerina Kovriga {Stiltsoft}
body: It depends on the type of the links you use - my example is a general one and helps in the following situation: you have a table column with beautiful links, for example, ++LINK-1++ , ++LINK-2++ , ++LINK-3++, etc.

Returned by the Jira Issues macros they are unclickable and look like plain text: LINK-1, LINK-2, LINK-3, etc.

Our macro allows you to recreate this links if they have similar beginning: for example, we take the first part of the link "<https://some_server.com/>", add the endings (LINK-1, LINK-2, LINK-3, etc.) and transform the whole combined text ("<https://some_server.com/LINK-1>" for the first cell, for example) back into the short beautiful links, for example, ++LINK-1++.

If you have a mixture of plain text and different links inside one table cell, then this option won't be suitable for your case.


Tags: cloud

confluence-cloud
Deactivated User Not Appearing in Search Results
Asked by Harold Vickers:

When searching for the Confluence articles filtered by author, I'm getting zero results even though it's clear that they have contributed. This happens for just one contributor.

When a user is disabled, are they subsequently no longer included in search results?


Answers:
author: Fabian Lim
body: Hi [@Harold Vickers](/t5/user/viewprofilepage/user-id/4632209)

Welcome to the community.

Not the ideal solution, but there is a thread here with a workaround: <https://community.atlassian.com/t5/Confluence-questions/How-can-I-make-inactive-users-searchable-in-Confluence/qaq-p/718885>

Cheers


Tags: confluence-server

server
Can I set up a spreadsheet that automatically updates in Confluence when I update the spreadsheet?
Asked by David Crawford:

To clarify, I want to upload an excel spreadsheet on Confluence so that, when a user views the page, they see the spreadsheet's contents. I figured out how to do that, so my next step is to set up a macro or table or whatever that will allow me to update the spreadsheet on my computer or on SharePoint, and the Confluence page automatically updates to reflect this update without me having to go in and change the spreadsheet manually.

I hope I made my goal clear, let me know if I have any questions. I appreciate anyone's input on this, as I'm new to this system.

Thanks!


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@David Crawford](/t5/user/viewprofilepage/user-id/4632039) ,

You may also browse the Atlassian Marketplace and search for the related apps.

Our add-on that is [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) provides the [Table from CSV](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+from+CSV+macro) macro. This macro allows you to output a table from CSV or TSV data source and supports outputting data from a URL or an attached file.

[Here is a step-by-step guide](https://docs.stiltsoft.com/display/public/TFAC/Outputting+tables+from+Google+Sheets+and+Google+Drive+in+Confluence) how to connect the macro to Google Sheets and Google Drive - this may fulfil your case. Furthermore, you'll be able to filter, aggregate and visualize this recreated table right in Confluence.

Unfortunately, the macro doesn't support the SharePoint accounts.


author: Kishan Sharma
body: Hi [@David Crawford](/t5/user/viewprofilepage/user-id/4632039) Welcome to the Atlassian Community!

Supplementing to Brant's answer, instead of keeping your excel sheet on your desktop/sharepoint, you can simply edit the excel directly from confluence using Atlassian Companion app and re-upload it again. Check out [Edit files](https://confluence.atlassian.com/confcloud/edit-files-724765124.html) for all the details.


author: Brant Schroeder
body: [@David Crawford](/t5/user/viewprofilepage/user-id/4632039) Welcome to the Atlassian Community

There is no app that will allow you to update the spreadsheet that is stored on your desktop and sync it with that which is stored in Confluence. You can open the excel file stored in Confluence update and save it through the Confluence office connector if you are on server.

If you use SharePoint there are several apps that will connect the document in Sharepoint to Confluence and keep the excel file in sync with the one in SharePoint [https://marketplace.atlassian.com/search?product=confluence\&query=sharepoint](https://marketplace.atlassian.com/search?product=confluence&query=sharepoint)


Tags: spreadsheet
Missing attachments after restore
Asked by Francisco:

Hi!

I restore an on-premise Confluence site from my backup. The process finished with no errors, but we found that all the attachments are missing on every page.

The attachments are in the backup.zip next to the entities.xml and reviewing this file, I can see the files missing.

I have already tried copy+paste the full attachments folder from the backup to the confluence-home folder, but it didn't work. I also read this page ([Retrieving File Attachments from a Backup \| Confluence Data Center and Server 7.14 \| Atlassian Documentation](https://confluence.atlassian.com/doc/retrieving-file-attachments-from-a-backup-187758.html)) but it didn't work and is not possible to fix the files one by one because the backup is huge.

Any suggestions?

Thanks!


Answers:
author: Brant Schroeder
body: [@Francisco](/t5/user/viewprofilepage/user-id/4632114) Welcome to the Atlassian Community

Is your confluence site really large? XML restores for large sites can have issues. Do you still have access to the old confluence site? If so I would recommend doing a restore this way <https://confluence.atlassian.com/doc/restoring-data-from-other-backups-148627.html>

If you do not have access to the old instance anymore you should look and see if the attachments directory was even created and if it exists prior to you copying something into the home directory. If it does you should take a look at this <https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html>

comments: author: Francisco
body: Hi! Thanks for your answer.

No, we don't have access to the old site. We only have the backup.

Yes, the attachments directory was created during the site installation, but the attachments in the backup.zip weren't copied inside.

I'll try with the second link and let you know if it worked.

Thanks!


author: Francisco
body: Hi!

Finally, after 12 hours, the process finished processing but I got this output:

Recovering File # 1079 of 22624The /var/atlassian/application-data/confluence/attachments/ver003/134/65/42565634/36/224/23724036/24871289/10 already exists, can't copy /var/atlassian/applic

How is it possible that this recovery process says that the file already exists and in confluence I see that all files are missing?

Thanks!


Tags: confluence-server

server