youngmon/atlassian-qna huggingface dataset:
Location/path of deleted/trashed attachments in confluence server
Asked by Akhila Gade:

Hello,

Right now, I'm evaluating our Confluence Server instance in preparation for a Clean-up. And with the help of a few queries, I noticed that the trashed and deleted attachments are consuming a sizeable amount of disk space---roughly 110 GB. However, I was unable to locate where these were on the server.

Could someone tell me the location of these trash/deleted items in the server, please?

Thanks in advance


Answers:
author: Sagar
body: Hi [@Akhila Gade](/t5/user/viewprofilepage/user-id/5087854)

Welcome to the Atlassian Community.

As far as I know once you delete any attachment from the Confluence UI it is available in space trash folder so that when we try to restore the old version of page where attachments are present, but we delete the page from there as well it will permanently get deleted from the backend as well,

Also, where do you see that 110 GB space is acquired by the deleted attachments, because Confluence attachement storage hierarchy structure does not let us where the attachment is stored with respect space key etc like in Jira folder is created with project key where issue attachments are stored.

<https://confluence.atlassian.com/doc/hierarchical-file-system-attachment-storage-704578486.html>


Tags: attachment

confluence-server

server
Need help in Table Calculations using SQL query in Confluence Table Transformer Macro
Asked by Jitendra Shembekar:

Hi

Trying to get multiplication result in the last column of the below table. I am using table transformer sql query. Query itself does not give any error but it gives below error after publishing it.

Please help.

Table used

| Range | Actual Value | C1  | C2  | Multiplication |
|-------|--------------|-----|-----|----------------|
| 20    | 21           | 1   | 100 |                |
| 30    | 29           | 0.5 | 50  |                |
| 40    | 88           | 0.5 | 50  |                |

* Want to put multiplication of C1 and C2 values under Multiplication column
* SQL used in Table Transformer is
  * UPDATE T1 SET T1.'Multiplication' = T1.'C1'\*T1.'C2'
* Error I am getting
  * TypeError: Cannot read properties of undefined (reading 'C1')

How to resolve this?


Answers:
author: Stiltsoft support
body: Hi [@Jitendra Shembekar](/t5/user/viewprofilepage/user-id/5195907) ,

Please use the following query for the case:

UPDATE T1  
SET T1.'Multiplication' = **('C1' \* 'C2');**

SELECT \* FROM T1

comments: author: Jitendra Shembekar
body: Excellent ... that worked!

Thanks a lot [@Stiltsoft support](/t5/user/viewprofilepage/user-id/5062270)


Tags: filter

table

table-filter

table-filter-and-charts

table-transformer

table-transformer-macro
disable uncheck Notify watchers only for specific page
Asked by sangsub.kim:

some page is very important.

however many people update with uncheck "Notify watchers"

therefore I misss many changes.

but I don't want activate Notify watchers for every pages.

How can I disable checkbox for Notify watchers only for specific page?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@sangsub.kim](/t5/user/viewprofilepage/user-id/3444509) ,

unfortunately you can't manage this setting using builtin feature. On a server instance you could put in place a javascript in order to make that checkbox selected and uneditable.

In order to define specific page you should also define a configuration page but this need a specific app development.

Hope this helps,

Fabio


Tags: confluence-server

server
we can able to edit file and unable to upload as it is displaying failied. but we are getting in the
Asked by Rama Devara:

we can able to edit file and unable to upload as it is displaying failied. but we are getting in the console as "not allowed to launch a Atlassian-companion app as user gesture is required"


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Rama Devara](/t5/user/viewprofilepage/user-id/5195715) and welcome to the community,

The companion app works only for confluence server. Are you on prem or on cloud? What exactly type of file are you trying to edit?

comments: author: Rama Devara
body: Hi Alex,

Thanks for your reply. We have a old website which we are able to edit and upload through companion app. But in new website similar way and similar code we have written , the file is opening and able to modify .After modification will get an option to upload .then if we click an upload then it will displays it is failed.

I am editing (Power point presentation file) pptx file.
How do I stop figure captions from numbering like this in a pdf: 1 Figure, 2 Figure?
Asked by Catherine Anderson:

I am using Confluence Cloud's caption ability, adding a caption below the figure. I type: Figure: *Description* . That displays fine in Confluence, but when I pdf the document using Scroll PDF Exporter, what displays is 1 Figure: *Description* , 2 Figure: *Description* , etc.  

How can I stop the unwanted numbering? Is this an issue with Scroll PDF Exporter or Confluence?  

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


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Catherine Anderson](/t5/user/viewprofilepage/user-id/4969002)

I would expect this to be an issue from the Scroll pdf exporter and not Confluence's native export. Try searching their settings for figures here <https://help-cloud.k15t.com/scroll-pdf-exporter/5.10/cloud/add-captions-to-images-figures-and-tables>


Tags: cloud

confluence-cloud
Page is showing "Site Not Found" when details are enclosed in Numbered Heading Macro
Asked by Heidi Pomar:

A couple of our documents are using Numbered Headings, recently, we noticed that those using these Numbered Headings macro were showing **Site Not Found.**

When we edit, we could see the contents that we thought we lost. We can do a work around where we take the contents off the macro but this is a tedious task as most of the documents have this issue.

What happened here? and how can we solve this in one go?

![NumberedHeadingMacro.png](https://community.atlassian.com/t5/image/serverpage/image-id/251688i1086A8EE0EA17605/image-size/large?v=v2&px=999 "NumberedHeadingMacro.png")![PageSiteNotFound.png](https://community.atlassian.com/t5/image/serverpage/image-id/251689i9F80835B3B7D1583/image-size/large?v=v2&px=999 "PageSiteNotFound.png")


Answers:
author: MeesterDev
body: You probably need to update the Numbered Headings macro.

I just updated which fixed the exact same problem (with the exact same macro).


author: Zoriana Bogutska_Adaptavist_
body: Hi [@Heidi Pomar](/t5/user/viewprofilepage/user-id/5195689)

Confluence Cloud doesn't have built-in numbered headings macro. So you can have this macro using a third-party solution from Atlassian Marketplace.

Probably app you have used was paid, and your Confluence admin didn't continue a subscription.

If you don't know what exactly app you used, you can consider apps that marketplace offers. For example:

* [Numbered Headings for Confluence](https://marketplace.atlassian.com/apps/1230321/numbered-headings-for-confluence?hosting=cloud&tab=overview&utm_source=Atlassian-Community&utm_medium=referral&utm_campaign=Comment_Page-is-showing-site-Not-Found-when-details-are-enclosed-in-Numbered-Heading-Macro_20230523)
* [Content Formatting Macros for Confluence](https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?tab=overview&hosting=cloud&utm_source=Atlassian-Community&utm_medium=referral&utm_campaign=Comment_Page-is-showing-site-Not-Found-when-details-are-enclosed-in-Numbered-Heading-Macro_20230523)

The second one with numbered heading macro includes other macros that could be useful for you during content formatting (tabs, buttons, tooltips, cards, etc.) Let me know if you have any questions, apps I've shared are developed by my team.

comments: author: Stavros_Rougas_EasyApps
body: [@Heidi Pomar](/t5/user/viewprofilepage/user-id/5195689) as [@Zoriana Bogutska_Adaptavist_](/t5/user/viewprofilepage/user-id/5015547) said there are different numbered headings options app on the Atlassian Marketplace which add additional features.

But they are paid, so if you have a budget take a look at the [numbered headings app options](https://marketplace.atlassian.com/addons/app/confluence/newest?hosting=cloud&query=numbered%20headings). We make Numbered Headings by Easy Apps.

If budget is an issue some are cheaper than others, find the price-quality that works for you. The core features are the similar across all of them but some do additional things, for example our app updates the numbering when republish a page.


Tags: cloud

confluence-cloud

error

numbered-headings
Difficulties applying the "Flatten" directive with Wrangler in a complex nested Json
Asked by Maurilio Cardoso Gon?alves - Eng_ Dados:

I have the json structure:

*** ** * ** ***

{ products :  
\[ { ...

variants : \[ { ...

presentment_prices: \[ { ...

price: { amount : "xxx",  
currency_code : "USD"

}  
\] }

\] }

\] }

*** ** * ** ***

Context:  
I'm using the "HTTP" plugin to call an API and retrive the json object.

**- How to extract only the fields from record "price"?**

**- How to separate the fields of the "variants" record using directives?**


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Could you explain what this has to do with Atlassian stuff?


Tags: cloud

confluence-cloud

http
Issues with Content by Label macro
Asked by Becky Williams:

I started having a problem about 3 weeks ago with a page that has a Content by Label macro. It was working just fine until then.

Each week, we copy the previous week's template page, change a version number that links to Jira, and publish the new page. The previous week's page already contains the label that is listed on the Content by Label page, so we don't have to do anything with the label when posting the new page. The label is displayed on the new page, and the Content by Label list temporarily displays the new page. However, a short while later, the Content by Label page no longer includes the new page with the label.

To rectify this, I manually remove the label and add the very same label back onto the page, which causes the new page to be listed on in the Content by Label list and it never disappears again. What is up?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Becky Williams](/t5/user/viewprofilepage/user-id/3804606)

Can you post here the log files of when you try to load the page?

comments: author: Becky Williams
body: [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)I've never dealt with log files, but I found this article: [https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html#:\~:text=If%20you%20request%20help%20from,to%20create%20a%20Support%20Zip](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html#:~:text=If%20you%20request%20help%20from,to%20create%20a%20Support%20Zip).

Looks like I might need a Confluence admin to get them for me, right? I am a space admin, but I don't see where to access this path. Can you provide guidance?

Thanks,

Becky


author: Becky Williams
body: This ended up being an indexing issue on our end. Thank you!


author: Alex Koxaras _Relational_
body: Good to know it has been resolved!


Tags: confluence-server

content-by-label

label

server
Display information from templates on different spaces to one page
Asked by Matilda Dahlstr?m:

Hi all!  

We have a common space called Azure.  
We also have x amount of team spaces.  
We want each team to create a page (using a prepared template) where they enter some information.  
That information we would like to get/publish on our common space! So each time anyone uses a template on their own space, we would like that page to be displayed (like an excerpt situation) on the common space.   

How do we do this?  
Excerpt can't be used since it is cross spaces AND we need this for new pages as well, the parentID will be different.  

KR, M


Answers:
author: Rodrigo
body: Hola [@Matilda Dahlstr?m](/t5/user/viewprofilepage/user-id/5195180), and welcome to the Atlassian Community!

Interesting! I can initially think of a couple of Marketplace Apps which could help you with this goal. Allow me to share the links below.

Perhaps if sharing snippets of information (instead of the whole pages) is desired, MultiExcerpt would complete the job, as it offers you an advance "excerpt" functionality.

* [MultiExcerpt](https://marketplace.atlassian.com/apps/169/multiexcerpt?hosting=cloud&tab=overview) - Appfire

And if you would like to share the entire page, perhaps a tab navigation app like our application Navitabs could be useful. It allows you to select any pages you desire and easily display them on one page.

* [Navitabs - Tabs for Confluence](https://marketplace.atlassian.com/apps/28632/navitabs-tabs-for-confluence?hosting=cloud&tab=overview) - bitvoodoo
  * [Navitabs - Select existing pages](https://bitvoodoo-apps.atlassian.net/wiki/spaces/NTCLOUD/pages/12178554890/Tab+Wizard#Select-existing-pages)

Hopefully this may be helpful :)

With friendly regards  
Rodrigo

comments: author: Matilda Dahlstr?m
body: Hi!  
Thanks for the tips, Rodrigo!  
I'll check it out :-)  

KR, Matilda


Tags: cloud

confluence-cloud

display

template
Can you run one ScriptRunner macro from another ScriptRunner macro?
Asked by Marc Pincince:

In Confluence Cloud, is it possible to run one ScriptRunner macro from another one, passing a parameter value from the calling macro to the called one and receiving a returned value from the called macro to the calling one? I found limited information about a supposed runMacro command but couldn't figure out how to use it with ScriptRunner for Confluence Cloud. If it is possible to do what I'm asking, would you please provide a simple example and point me to a good source of information to get started?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Marc Pincince](/t5/user/viewprofilepage/user-id/3838666) ,

for my knowledge that is not possible.

Fabio


Tags: cloud

confluence-cloud

scriptrunner
"id.atlassian.com refused to connect" on courses app
Asked by Omri Avigdor:

"id.atlassian.com refused to connect" on the courses app

In all courses.

In other profiles in the company, everything is work.


Answers:
author: Omri Avigdor
body: fix. tnx


author: Ash Yadav
body: Hi [@Omri Avigdor](/t5/user/viewprofilepage/user-id/5187834) , Welcome to the Atlassian Community!

Can you try opening the page in incognito/private window and see if that helps?

Also please provide a screenshot of the error message if possible.

Kind Regards,

Ash

comments: author: Omri Avigdor
body: ![2023-04-13 15_34_27-Course Player - Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/251588i25180DF417BE585F/image-size/large?v=v2&px=999 "2023-04-13 15_34_27-Course Player - Confluence.png")


author: Ash Yadav
body: Thank you for sharing the screenshot.

Have you tried using your browser with incognito/private window?

This will prompt you to re-sign in and usually fixes issues like this.

I'd also recommend having a look at this KB: [Troubleshoot login issues with your Atlassian account \| Atlassian Support](https://support.atlassian.com/atlassian-account/docs/troubleshoot-login-issues-with-your-atlassian-account/)

Kind Regards,

Ash


author: Omri Avigdor
body: Have you tried using your browser with incognito/private window? - Yes. Still.


author: Omri Avigdor
body: Its also on Courses that I made.


author: Ash Yadav
body: Thanks for confirming.

Are these courses provided by your company or is this Atlassian material?

If its the latter, can you provide a link please?

KR,

Ash


author: Omri Avigdor
body: By Company


author: Ash Yadav
body: Ok, we're getting somewhere so.

Do you know if anyone else in your company is able to access this course material?

KR,

Ash


author: Omri Avigdor
body: Yes. Everyone.


author: Ash Yadav
body: Ok, this leads me to believe that the issue is on your side rather than the company, which is good because it should be relatively straight forward to fix.

The issue is likely still related to your browser or network connection.

I would recommend following this KB fully: [Login issues related to browser cookies \| Atlassian Support](https://support.atlassian.com/atlassian-account/docs/login-issues-related-to-browser-cookies/)

If at all possible, a different browser.

Let me know if that works.

KR,

Ash


Tags: app

cloud

confluence-cloud

training-and-certification
Bulk add watchers to an entire blog
Asked by David_Henriksson:

Hi!

Is there a way to bulk add users to watch the entire blog? Either by script or manually. I cannot find any REST endpoint for that. I can find an AJAX action (addspacenotification.action) but seems not to be possible to input multiple users on that action (only logged in user by default).

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


Answers:
author: Alex Koxaras _Relational_
body: Hi [@David_Henriksson](/t5/user/viewprofilepage/user-id/5194972) and welcome to the community

Use the following endpoint, but it is not for bulk adding watchers. You have to write a script which will call the below endpoint:

```
https://docs.atlassian.com/ConfluenceServer/rest/8.2.0/#api/user/watch
```

In addition take a look at this <https://docs.adaptavist.com/sr4c/latest/features/event-listeners/built-in-listeners/add-remove-watchers>

comments: author: David_Henriksson
body: Ah thanks. https://{confluence-url}/rest/api/user/watch/space/{spaceKey}?contentType=blogpost was exactly what I was looking for.


Tags: confluence-server

server
Can't find labels for graphics.
Asked by Claudia Frisch:

Hi there!

I am trying to create labels for graphics, tables and other objects in Confluence as in our technical documentation. I don't know which macro I should be using. What is it called? I would like the text title (with chapter numbering or similar) to show up under the image.  

(Note: We haven't migrated to the new version of Confluence yet). Thanks!


Answers:
author: Summer Hogan
body: Hi [@Claudia Frisch](/t5/user/viewprofilepage/user-id/5194959) - welcome to the community!

I do not currently use captions for images, but [this](https://jira.atlassian.com/browse/CONFCLOUD-2584#:~:text=To%20add%20a%20caption%20to,Voila!) might be helpful to you as it offers a lot of suggestions for what you are trying to do. As a note, I do not think they have captions for tables at this time; only images.


Tags: confluence-server

label

server
Resolve inherited restrictions
Asked by Ingmar Heinrich:

Hello there!

So I'm org admin for a Jira/Confluence Cloud, and I'm facing a problem.

I want to clean up some ancient page restrictions in one space that has a big page tree. Now I removed all restrictions of a specific page, but I still can't view it - probably because there are inherited restrictions. But how can I figure out which page(s) this page inherits restrictions, when it doesn't even show up in the tree?

Thanks,  
Ingmar


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Ingmar Heinrich](/t5/user/viewprofilepage/user-id/4956214) ,

did u check restrictions at space level? In order to view all restriction for a space you need :

1. Select **Space Settings**in the appropriate space.

2. Select **Restricted** in the **Manage pages**card.

Hope this helps,

Fabio


Tags: cloud

confluence-cloud

permission
Inserting a logo into a header using Stylesheet - getting HTTP Status 500 error
Asked by Beth Wadds:

Hi,

I've been trying to insert a logo into a header using the PDF stylesheet.

I've looked at:

<https://community.atlassian.com/t5/Confluence-questions/Insert-logo-for-PDF-export-header/qaq-p/1996630>

and

<https://community.atlassian.com/t5/Confluence-questions/How-to-insert-image-in-header-for-exporting-to-PDF/qaq-p/949260>

and modified the path with my own image location.

No matter what I try, when I click Save, I receive a HTTP Status 500 - Internal Server Error

Here's what I enter on the PDF stylesheet:

[@page](/t5/user/viewprofilepage/user-id/2601906)  
{  
margin-top: 2.54cm;  
margin-bottom: 2.54cm;  
margin-left: 1.27cm;  
margin-right: 1.27cm;

[@Top](/t5/user/viewprofilepage/user-id/1903495)-left  
{  
background-image: url('/download/attachments/622690402/candella_logo_desktop_1.png');  
background-size: 250px 86px;  
background-repeat: no-repeat;  
background-position: left center;  
height: 86px;  
width: 250px;  
}  
}

This is a sample of what I receive when I click Save:

**Type** Exception Report

**Message** java.lang.IllegalArgumentException: Host name may not be null

**Description** The server encountered an unexpected condition that prevented it from fulfilling the request.

**Exception**

```
java.lang.RuntimeException: java.lang.IllegalArgumentException: Host name may not be null	com.atlassian.confluence.extra.flyingpdf.config.ConfigurePdfExportAction.ssrfCheck(ConfigurePdfExportAction.java:169)	com.atlassian.confluence.extra.flyingpdf.config.ConfigurePdfExportAction.doEdit(ConfigurePdfExportAction.java:283)	java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)	java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	java.base/java.lang.reflect.Method.invoke(Method.java:568)
```


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Beth Wadds](/t5/user/viewprofilepage/user-id/5135059) and welcome to the community,

If you try with the full url, what response are you getting?

comments: author: Beth Wadds
body: Thank you, changing the image line to the following worked.

background-image: url('<https://candella.atlassian.net/wiki/download/attachments/622690402/candella_logo_desktop_1.png>');

Thank you very very much!


Tags: cloud

confluence-cloud
Confluence 7.13 EOL date
Asked by Mary George:

Can I please check if the EOL date for Confluence 7.13 is Aug 2023 or is it till Feb 2024?

Thanks for your help.

Mary


Answers:
author: Kishan Sharma
body: Hello [@Mary George](/t5/user/viewprofilepage/user-id/3609356)   

As per [Atlassian's EOL policy](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) page, the EOL date for Confluence 7.13 is -

* 7.13 (EOL date: 17 Aug 2023)

Atlassian have ended sales for new Server licenses, and will end support for server on February 15, 2024. So if you are running on Server license, you should start looking into switching to Data Center license or Confluence Cloud. Hope this helps.


author: Benz Kek _Adaptavist_
body: Hey [@Mary George](/t5/user/viewprofilepage/user-id/3609356),

It's 17 Aug 2023 for Confluence 7.13.

You can check them here: <https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html>

Cheers,   
Benz


author: Ollie Guan
body: Hi [@Mary George](/t5/user/viewprofilepage/user-id/3609356) ,

7.13 (EOL date: 17 Aug 2023)

<https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html>

btw, **Confluence 8.5** will be the next LTS release, planned for Q3 2023.

[Announcing the next Confluence long term support release](https://community.atlassian.com/t5/Data-Center-articles/Announcing-the-next-Confluence-long-term-support-release/ba-p/2302995)


author: Mary George
body: Thank you [@Benz Kek _Adaptavist_](/t5/user/viewprofilepage/user-id/4038300) , [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)

We are looking into migration options. I was trying to check if we can avoid an extra upgrade before the migration.

Thank you for your help.


Tags: confluence-server

server