youngmon/atlassian-qna huggingface dataset:
Can database values be utilized as smart values??
Asked by Don Tyler:

I would like to compare date values that exist in a Confluence Database and if certain criteria are met, send an email notification via Confluence Automation that includes other database values (i.e. smart values)??

For example, I create virtual machines that contain content used for training. These VMs have an SSL certificate expiration date and I would like to notify my team BEFORE this expiration to avoid issues.

Confluence Database Name: My Very Cool Database

DB Field 1: Title

DB Field 2: Some URL

DB Field 3: SSL Cert Expiration

Visual of sample "My Very Cool Database"

Title Some URL SSL Cert Expiration

Apples https:/community.atlassian.com 08/29/2024

For my comparison I was using the following smart value for the criteria to match when 2 weeks before the SSL Cert Expiration value:

{{database.myVeryCoolDatabase.sslCertExpiration.diff(now).weeks.abs}}

For the notification I was trying different variations of this:

Value 1: {{database.myVeryCoolDatabase.Title}}

Value 2: {{ database.myVeryCoolDatabase.someURL}}

Value 3: {{database.myVeryCoolDatabase.sslCertExpiration}}

I am unable to get the comparison to evaluate properly or include the expected values (obtained from the database record evaluated) but I am also not sure if this is even supported.

Any thoughts would be appreciated!!


Answers:
author: Aron Gombas _Midori_
body: You can find the complete list of smart values here: <https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/>

To be honest, I see _zero_ smart values for databases.

What I would eventually try is that, considering that a database is a custom content type, the general content properties may eventually work. But the doc suggests that even those work only for pages and blogs.

But, the granularity of per-cell, as you suggested, is very unlikely to be supported.

comments: author: Don Tyler
body: Thanks for the reply Aron. I also did not see anything related to databases in the smart value list which I was assuming meant it was not supported. That being said, when I tried to use the AI to build something it recommended something similar to what I had in this post so I was hopeful. It didn't work for me though unfortunately so thought maybe the Community could steer me down the right path, or just confirm that this was not supported at this time (but hopefully in the future!).


author: Aron Gombas _Midori_
body: Wow, it sounds like the AI hallucinated non-existing things. :-)


Tags: cloud

confluence-cloud
Importing and adding data into Confluence database
Asked by Matt.Lightbourn:

I have created some dated statistics in Excel which I had to export as a csv file as it is a supported file type for Confluence database import option.

I found that I couldn't use the import to also create the necessary columns, I had to do those first, which was ok.

However, upon reviewing the import, I noted that all the dates had been read as if they were M/D/YYYY which, in New Zealand is incorrect, it is D/M/YYYY. In the import, there is no way to correct this.

Either Confluence should accept Excel files which would tell Confluence the format of a date, or the import option should include setting the format of the date of the csv file.

As an alternative to import, I attempted to copy and paste from Excel into the database which resulted in the entire table pasting into the first cell of the first row.

All in all, I am finding this database quite frustrating, a backwards step in functionality from tables which I loathed before but compared to the usability of this, at least I could get data into it, even if I didn't have the ability to set up views based on filters of it.

I don't think there is a user workaround or fix to this, but I consider it to be a bug, even a showstopper of Confluence databases. Is there a roadmap for fixing such issues? Thanks

Update

I got ChatGPT to convert all my dates as text to US format (because Excel reinterprets as a date again) and on the import, it reads it in the format that it wants to but every date is one month out - what is wrong with this import function? Terrible  

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


Answers:
author: Matt.Lightbourn
body: Oh my goodness, I see what it's tried to do, tried to be clever, tried to convert my NZT time zone. So if my date is the 1st of Jan it imports it as the 31st Dec. This is bonkers! I give up on this rubbish


Tags: cloud

confluence-cloud

database
Expand element - can you make first line a heading or format with colour or underline?
Asked by Margo Sutherland:

I'm loving the expand element, but I'd like the first line of that element to be larger (a heading perhaps) or in colour w/underline so it looks like a link when all the expand elements on a page are collapsed.   

Is this possible?


Answers:
author: Barbara Szczesniak
body: [@Margo Sutherland](/t5/user/viewprofilepage/user-id/5569389) This article was posted today and may help you understand the Expand macro better: <https://community.atlassian.com/t5/App-Central/Save-Time-and-Effort-with-Collapsible-Sections-in-Confluence/ba-p/2786485>

comments: author: Margo Sutherland
body: thank you for this article. I love the macro... and already got to its limitations! Sadly my expectations are higher than Atlassian is delivering. lol.


author: Brant Schroeder
body: [@Margo Sutherland](/t5/user/viewprofilepage/user-id/5569389) welcome to the Atlassian community

Confluence cloud does not currently allow for custom CSS which is what you would need to make the change you are describing. There is a feature request here: <https://jira.atlassian.com/browse/CONFCLOUD-36137> You should watch and vote for it.

comments: author: Margo Sutherland
body: thanks! I'll vote for that. I realize that the example that was shared with me was from Data Center ... so this is perhaps another example of Atlassian Cloud being a 'pared down' version? :(


Tags: cloud

confluence-cloud

element
How do I automate emails to page owners?
Asked by Owen_Pullam:

I created a confluence space for my team and would like to automate an email that reminds them to update their project page every few months. The pages themselves are "summary" pages, so they don't require very much maintenance to begin with, but a reminder would be convenient every now and then. I would prefer to send these updates even if the page is considered "active" by Confluence standards.

I'm relatively new to automation, so how should I go about this issue?


Answers:
author: Barbara Szczesniak
body: [@Owen_Pullam](/t5/user/viewprofilepage/user-id/5534446) If you want to learn more about the Automation features, there have recently been a couple of courses done with Atlassian and [@Matt Reiner \[K15t\]](/t5/user/viewprofilepage/user-id/2246048) that were recorded and posted on YouTube.

Links to these livestreams:

* Let's Automate All the Things in Confluence - <https://www.youtube.com/watch?v=YAMa4l82L2E>
* Let's Build Your Confluence Automations, Together! - <https://www.youtube.com/watch?v=vu96__8dVcw>


author: Mikael Sandberg
body: Hi [@Owen_Pullam](/t5/user/viewprofilepage/user-id/5534446),

Welcome to Atlassian Community!

A rule like this should do it:

![Screenshot 2024-08-15 at 10.52.12?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/342006i7E3777BDA0ADDE59/image-dimensions/326x270?v=v2 "Screenshot 2024-08-15 at 10.52.12?AM.png")

You would have to add a condition before the send email so it only picks up the specific pages, as the example is set up it would pick up all pages that was last updated 3 months ago.


Tags: cloud

cloud-automation

confluence-cloud
How do I set a Database default sort order in the default View?
Asked by Robb Shecter:

I want my Database to **always** be sorted by date when I go to its page. I don't want to have to click around or choose a different View, etc.

I haven't found a way to do this. It's annoying.

\* I don't see how to set a sort order on the default View.

\* The best I can do is create another view **which I must then click on every time I go to the DB's page**.

Any solutions?


Answers:
author: Kristian Klima
body: Hi [@Robb Shecter](/t5/user/viewprofilepage/user-id/5550645) and welcome to the community....

I don't think that's possible ... and as someone who has over 1K pages in my DB, I agree, it's frustrating.

Interestingly, the Lock structure feature exists but it does not lock the sorting


Tags: cloud

confluence-cloud
I have upgrade problem
Asked by zhaoxing:

when I upgrade confluence of version from 6.3 to 6.8 , it have a error, discribing 'IllegalStateException: Failed to create directory within 10000 attempts (tried 1723729556725-0 to 1723729556725-9999)',then the page is running

![??1.png](/t5/image/serverpage/image-id/341978i37BC4D953D045022/image-size/large?v=v2&px=999 "??1.png")


Answers:
author: Marc - Devoteam
body: Hi [@zhaoxing](/t5/user/viewprofilepage/user-id/5567130)

This looks like a permission issue.

Check the logs on the server, but it seems that the user that is executing the update has not enough permissions to create directories on the server.


author: John Funk
body: Hi [@zhaoxing](/t5/user/viewprofilepage/user-id/5567130) - Welcome to the Atlassian Community!

I am sure you already know this, but getting support for the server version is going to be hard since support for server has ended. You really need to consider moving to the Cloud or upgrading to Data Center.

<https://www.atlassian.com/migration/assess/journey-to-cloud>


Tags: confluence-server

server
Using Filter in Page properties macro by values using macro Status
Asked by N Holm:

Hello,

Im trying to filter on a Page properties macro that are using the Status-macro inside a cell but cant get it to work.

Im able to filter on plain text but not on values that are using the status macro.  

The cell is called "Teststatus" and it looks like this:  

![pagepropertiesfilter.png](/t5/image/serverpage/image-id/341976i7A81FE440D2D3B97/image-size/large?v=v2&px=999 "pagepropertiesfilter.png")

Including text: "\|Column\|value\|"  

1: No active filter, show both pages.  
2: Trying to filter on pages with "YES" in the column Teststatus, no hits.  
3: Trying to filter on pages with "NO" in the column Teststatus, two hits(?)  
4: Example on when im filtering on plain text and gets a correct result.

Any ideas on how to be able to filter on values inside the Status macro?  

\*edit Im primarily looking for ways to solve it without additional apps if possible.  

Br


Answers:
author: Stiltsoft support
body: Hi [@N Holm](/t5/user/viewprofilepage/user-id/5299480) ,

We can suggest trying the app that we develop - [Table Filter, Charts \& Spreadsheets for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?tab=overview&hosting=datacenter&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111).

Our [Table Filter](https://docs.stiltsoft.com/tfac/dc-server/table-filter-42239756.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro supports macro generated tables (and the Page Properties Report macro as well) and recognizes Statuses/Handy Statuses/Emoticons.

If you are not familiar with the app, please book a [live demo](https://calendly.com/tablefilter/live-demo?month=2024-08) from the team - we'll be able to discuss your use cases.

comments: author: N Holm
body: Thanks, i had hoped it would be able to be solved without any additional apps but its good to know that there are alternatives.


Tags: confluence-data-center

confluence-server

data-center

filter

server

table

table-filter-and-charts

table-filter-charts-spreadsheets
Find user-owned spaces
Asked by Ferdi D:

Hello dear community,

I have just recently taken over administration of our Atlassian-products, hence my inexperienced question.   
Just recently we verified our domain. Now I was in the process of clearing old/unused accounts. While deactivating, for 3 accounts I got the message that these accounts are the last owners/members of a space.

Now I already looked this up but I cannot SQL for the spaces as we use Confluence Cloud.   
As the accounts had already been deactivated once, I also seem to be unable to log in as the respective users to check that way.

Is there any other way in which I could find all the spaces a user is owner/member of?

Thanks in advance and have a great day!


Answers:
author: Luis Pellacani
body: Hey [@Ferdi D](/t5/user/viewprofilepage/user-id/5568373)

Welcome to Atlassian Community.

On top of [@Andrii Maliuta](/t5/user/viewprofilepage/user-id/3493851) suggestion, you can generate a [Space Report](https://community.atlassian.com/t5/Confluence-Cloud-Admins-articles/See-and-learn-about-all-of-your-spaces-with-the-new-Space/ba-p/2703423), which will include all your spaces and their creators (displaying Atlassian Account ID and Name), on a CSV format. You can generate a report by following the steps below:

1. Navigate to Confluence administration by clicking on the settings wheel in the top right of the top nav bar
2. Once in Confluence administration, under the **Data Management** section, find the **Space Reports** option within the left nav
3. Once in the **Space Reports** feature, click on the **Create Reports** button in the top righthand corner, wait for your report to be created, and then click download once it's ready

You can access the space reports section directly using the URL below (just change your site name in the beggining):

* https://\<YOUR-SITE\>.atlassian.net/wiki/admin/space-reports

I hope this helps.

Cheers,

Luis Pellacani

comments: author: Ferdi D
body: Hey [@Luis Pellacani](/t5/user/viewprofilepage/user-id/5180638)   
This was exactly what I was looking for!  
Thank you so much for your help!   

Have a great rest of your week!


author: Luis Pellacani
body: Hey [@Ferdi D](/t5/user/viewprofilepage/user-id/5568373)

It was a pleasure.

Have a wonderful week ahead.

Cheers,

Luis Pellacani


author: Andrii Maliuta
body: Hello [@Ferdi D](/t5/user/viewprofilepage/user-id/5568373) ,

TO find the creators of the spaces you can use Advanced search and select type = SPACE and creator = {USER};

You can try to use Script Runner ([https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview)) and use API to get the spaces and its owners/creators.

comments: author: Ferdi D
body: Hello [@Andrii Maliuta](/t5/user/viewprofilepage/user-id/3493851)  
Does this also work for already deactivated accounts?

All the best  
Ferdi


Tags: administration

cloud

confluence-cloud
Assign task to multiple people
Asked by Viktoriia:

Hi everyone,

I work with Confluence **Data Center** and would like to assign the same task to multiple team members so that each one of them sees this task in their Assigned to me Tasks tab. In Data Center version there is no People tab, where it would be possible to create teams and assign tasks to teams.

If I create a task using the Task list element and assign team members with @, then the second mentioned person (I assume, along with everyone mentioned after the first assignee) does not see this task in the Assigned to me tab.

So

Task 1 @Teammember1 ---\> works

Task 2 @Teammember1 @Teammember2 @Teammember2 --\> does not work for 2 out of 3

Please help me find an appropriate solution that does not involve labeling the whole page or creating a subtask for each team member (the team is growing, it's going to be very tedious).

Thank you in advance!


Answers:
author: Marc - Devoteam
body: Hi [@Viktoriia](/t5/user/viewprofilepage/user-id/5568974)

Welcome to the community.

This is a long running open issue at Atlassian, the expectation that this is solved looks slim.

See, [CONFSERVER-26786](https://jira.atlassian.com/browse/CONFSERVER-26786)

Sorry the give you, an non hopeful solution


Tags: confluence-data-center

data-center
why i could not run the official code
Asked by KAI HUA CHE:

when i run this code:  

def get_page_body(staff_id,pwd,page_id):  
confluenceAPI = "<https://wpb-confluence.systems.uk.hsbc/rest/api/content/>"+page_id+"?expand=body.storage"  
HEADERS = {'Content-Type': 'application/json','Authorization':f'Basic {api_key}'}  
requests.DEFAULT_RETRIES = 100  
session = requests.session()  
response = session.get(confluenceAPI, auth=(staff_id, pwd), headers=HEADERS, verify=True)  
result = json.loads(response.text)  
return result  
It says JSONDecodeError: Expecting value: line 1 column 1 (char 0).  
In the past time i could run it successfully but now i can not. Why?


Answers:
author: YY Brother
body: Hi [@KAI HUA CHE](/t5/user/viewprofilepage/user-id/5568869)

Welcome to our community.

Is it a Python code to access Confluence datacenter product? The `JSONDecodeError: Expecting value: line 1 column 1 (char 0)` error typically occurs when the response body you're trying to decode as JSON is either empty or not in JSON format.

Hope it helps.

Thanks,

YY?


Tags: atlassian-accounts

cloud

confluence-cloud

not-applicable
Pulling data from SAP SuccessFactors - data center
Asked by jeoj:

We need to pull some data from SAP SuccessFactors into Confluence data center . Is this possible?

Basically there is a requirement for getting some SAP details (user, annual leave, available balance days, etc) is that possible?


Answers:
author: Prabhu Palanisamy _Onward_
body: Hi [@jeoj](/t5/user/viewprofilepage/user-id/5318435) - [OnLink](https://onwardb.com/jira-sap-successfactors/) supports data pull from SAP SuccessFactors but is only supported for Jira Cloud and Jira Service Management. If you use Assets in JSM, you can pull data from SAP SuccessFactors and store in Assets. You can then references assets in Confluence.

comments: author: jeoj
body: Unfortunately in this case I'm using Jira Service Management as a Data Center, like my Confluence, while [Onlink](https://marketplace.atlassian.com/apps/1231655/onlink-hr-systems-integration-for-jira?hosting=cloud&tab=overview) is cloud-hosted. Are there any other possible options?


Tags: confluence-data-center

confluence-server

data-center

sap

server
Table Resize options randomly don't show
Asked by Behealilu:

We currently got the problem, that we sometimes cant get the UI to resize tables.

So when I place my Cursor over the Line between two Columns, there is noch UI to grab and drag it somewhere.

Like today, I was working on the way to work on the train and it worked fine. When I got to my workplace, I wasnt able to resize tables anymore.

A Collegue of mine, using the same Confluence, was able to do so. But he observed it also a few times in the past.

Has anyone else observed such behavior?

We are currently experiencing an issue where we sometimes can't resize tables in the UI.

For example, when I place my cursor over the line between two columns, the UI doesn't show any option to grab and drag the column.

This morning, while working on the train, everything was functioning correctly. However, when I arrived at my workplace, I could no longer resize tables.

A colleague of mine, who is also using the same Confluence instance, was able to resize tables but mentioned that he has encountered this issue a few times in the past as well.

Has anyone else experienced this behavior or maybe already found a solution?


Answers:
author: Dan Breyen
body: Hi [@Behealilu](/t5/user/viewprofilepage/user-id/5555673) you may want to check [Atlassian's Jira site](https://jira.atlassian.com/secure/Dashboard.jspa). I took a look and found several issues similar to yours, but figured I'd let you go through this and decide for yourself.

I used this criteria: project = "Confluence Data Center" and text \~ "table" and text \~ resize and status != closed

If you find something, please vote for and watch it for updates.

If you don't see anything, you could open an issue with [Atlassian Support](https://support.atlassian.com/contact/?support_type=customer&inquiry_category=#/) for further assistance.

Hope that helps.


Tags: confluence-data-center

confluence-server

data-center

resize

server

table
Add links to spaces on home screen
Asked by Jonathan Pitson:

We are using Confluence Cloud.

I've been asked to add 2 links to spaces on the Confluence start/home page, which will be present for all users.

I can't see a way to do this, we could add links to the application navigator, or to force the start page to a specific space.

Would anyone know to do this (or to automatically add these space in the left hand pane under 'spaces'?


Answers:
author: Marc - Devoteam
body: HI [@Jonathan Pitson](/t5/user/viewprofilepage/user-id/5515674)

Yes you could act towards setting a different space as home page for everyone. This will definitely give you the option to create the page as your require.

On the default home page, the only option you would have is to edit the global announcement section and set the links there.

The global page is not editable.

My suggestion is to create a new space and set this as the default home page.

The left hand menu shows the spaces your as a user are able to see and as an user you are able to set your own favourites (this is not global)


Tags: cloud

confluence-cloud
Request: Inline image behaviour
Asked by Andrew Schischka:

Hello

I wonder if it would be possible for images to behave in a similar way to document files when they are set to display inline? ie a pdf will show the pdf icon followed by the file name text when set to inline. Both the icon and the text are a link to the actual file. When an image (jpg etc) is set to inline, it just displays a very small thumbnail of the image but without the file name. If I want both the thumbnail and text to link to the file, I have to create a separate link pointing to the attached file which is a bit more work.

I understand not everyone wants the text next to the inline image, so perhaps there could there be an option to choose either style?

Thanks

Andrew


Answers:
author: Brant Schroeder
body: [@Andrew Schischka](/t5/user/viewprofilepage/user-id/5568956) welcome to the Atlassian community

The functionality you are describing, as you know, does not exist. Atlassian has a site were individuals can submit feature requests. I was not able to find one for what you are asking for so I would suggest that you submit it. By doing this others can vote on it and Atlassian can review it for consideration.

When you submit a feature request be as detailed as possible. I would suggest including screenshots as well.

You can submit feature request here: <https://jira.atlassian.com/secure/Dashboard.jspa?selectPageId=10440> After you submit one you should come back and add the link to your feature request here so more people can find and vote on it.

comments: author: Andrew Schischka
body: Very helpful, thanks. I'll do exactly that.


Tags: cloud

confluence-cloud
Hi there our domain appears to have expired for our online learning tool who should I contact?
Asked by Carlin O_Neill:

Domain expired for

[www.ubcouniversity.com](http://www.ubcouniversity.com)


Answers:
author: Trudy Claspill
body: Hello [@Carlin O_Neill](/t5/user/viewprofilepage/user-id/5568700)

Welcome to the Atlassian community.

This is a community for questions about the Atlassian product named Confluence.

Can you explain how your question relates to that?


Tags: cloud

confluence-cloud