youngmon/atlassian-qna huggingface dataset:
CSS class
Asked by Yulia Karpenko:

Hi everyone! I've just wanted to clarify how coluld I set up CSS class insude the page code that way only headings with Level 4 to include in my Table of Content?

Thank you!

Yulia


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@Yulia Karpenko](/t5/user/viewprofilepage/user-id/4641208) On Confluence Cloud you can't do this.


Tags: cloud

confluence-cloud
Counting comments on page without
Asked by Carl Jakob Schmidt:

Hello,

I am trying to find a way to count the comments on a page (the ones at the bottom as well as the inline comments) without using dedicated macros.

In my current situation, I only have a macro avaiable which requires the pageID as an input (the keywords $self or @self are not working) and returns a predefined table without the option for further customization.

I couldn't find the macro in the [list of macros](https://confluence.atlassian.com/doc/macros-139387.html), so I guess it's a custom macro.

Also for this macro to work I would need to created the page including the pageID macro, obtain the pageID, edit the page, insert the custom macro with the pageID and save. Unfortunately this is not an option in the current situation.

I am not an administrator and have no access to e.g. the HTML marco.

Using Xpath in Chrome, I could count the comments by using

```
$x('//*[@id="page-comments"]/li').length
```

However I am not able to get this code (or its Jquery equivalent) to the page.

I tried using the [Markup macro](https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html) for that, but the code isn't rendered, because Confluence does not render the \<script\> tags for security reasons, if I am not mistaken.

So without being an admin and without having a dedicated HTML macro, how could I possibly count the comments on a page?

Your help would be really much appreciated =)


Answers:
author: Brant Schroeder
body: [@Carl Jakob Schmidt](/t5/user/viewprofilepage/user-id/4641128) Welcome to the Atlassian community

Have you considered working with your admin on a resolution to the issue? If it is something you want to be displayed on the page I think that is the only way you will be able to work through this is with the admin. If you just want to do a could occasionally then you could view the source and search "comment-" it would then give you the count.

comments: author: Carl Jakob Schmidt
body: Hi Brant,

thanks for welcoming me and replying so quickly. I will get in touch with my admin. I was just curious or hoped that there would also be another way to do that.

Best wishes  
Carl


Tags: cloud
Table transformer to do string operations on Jira status result
Asked by emagnun:

In the below table, "Jira Task" column uses Jira macro to pull the info. Now how do I retrieve the status string (DONE/TO DO/IN PROGRESS) from "Jira Task" column and fill in the "Status" column? I assume I can use table transformer but I'm not sure how to do.

![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/169986i238CBC34CB9C8E26/image-dimensions/327x191?v=v2 "Capture.JPG")

++Output to user now, is as below. Expectation is "Status" column should have the jira status string that I can use for further operations and keep "Jira Task" column as it is.++

![Capture.JPG](/t5/image/serverpage/image-id/169928i468D34BB0B997683/image-dimensions/338x117?v=v2 "Capture.JPG")


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

You may try the following SQL query:

SELECT T1.'Product', T1.'Customer', T1.'Jira Task',  
CASE  
WHEN  
T1.'Jira Task'-\>split(" ")-\>1 LIKE "In"  
THEN  
(T1.'Jira Task'-\>split(" ")-\>1 + " " + T1.'Jira Task'-\>split(" ")-\>2)  
WHEN  
T1.'Jira Task'-\>split(" ")-\>1 LIKE "To"  
THEN  
(T1.'Jira Task'-\>split(" ")-\>1 + " " + T1.'Jira Task'-\>split(" ")-\>2)  
ELSE  
T1.'Jira Task'-\>split(" ")-\>1  
END  
AS 'Status',  
T1.'Note'  
FROM T1

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

comments: author: emagnun
body: Thanks


Tags: confluence-server

server

table-transformer
Add new localized texts to the Confluence UI
Asked by Birgit Matuolis:

Hi,

we're using Confluence as a Knowledge Base in combination with Jira ServiceDesk. This of course leads to a very limited functionality set and navigation abilities for unlicensed/read-only users in the Knowlede Base space.

We therefore decided to customize the notpermitted.vm template to explain why the users get redirected to that "Forbidden" page so often. So far so good.

Now my question - How can I add some new texts to this vm template and then translate them into German? I understand that all UI messages from Confluence are saved in a .properties file and I've already added the new English texts to that .properties file ( confluence-\<version\>.jar/com/atlassian/confluence/core/ConfluenceActionSupport.properties) and they are displayed fine in the "Forbidden" page. But how can I add these new texts in German? I haven't found any .properties files with _de_DE language identifier anywhere on the Confluence server and I don't understand where the default German translations of the UI are stored on the server. Can someone please point me in the right direction?  

I've already checked the following resources and tried to follow instructions there:

* <https://confluence.atlassian.com/doc/modify-confluence-interface-text-197745.html>
* <https://confluence.atlassian.com/confkb/how-to-edit-files-in-confluence-jar-files-103711179.html>
* <https://developer.atlassian.com/server/confluence/translating-confluenceactionsupport-content/>
* <https://developer.atlassian.com/server/confluence/creating-a-new-confluence-translation/>

but I'm not sure a "language pack" is really what we want here, as it's only a few additional texts that should be newly translated. The existing German translation of Confluence is fine.

Any help is much appreciated.

Cheers, Birgit

For context, this is what the customized notpermitted.vm template looks like "live" right now:

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


Answers:
author: Birgit Matuolis
body: I found the bundled German language pack on the server after some more research. This is really well hidden, but the language packs are (at least in Confluence 7.13.0) in /data/confluence/confluence\<Version\>/confluence/WEB-INF/atlassian-bundled-plugins/


Tags: confluence-server

jira-service-desk

language-de

server

translate
Notifications randomly not generating from mentions.
Asked by Jake Hewitt:

Hi All,

We have some examples were users are being mentioned in comments on pages but they are not getting notifications appear in the notifications window at the top right.

Where as with other areas they get notifications where they are mentioned. One example, they person who created the page, got mentioned in it, but didnt get a notification of it.

Look forward to hearing from you all with suggestions.


Answers:
author: Martin Flury
body: Hi Nicolai

After a digging a bit deeper, I think I found it on <https://confluence.atlassian.com/doc/mentions-251725350.html>   
***Mention notifications** - A notification is sent to a person the first time you mention them in the content of a page, but not for subsequent mentions. If you need to catch someone's attention, and you've already mentioned them on the page, try mentioning them in a comment. A notification is sent every time you mention someone in a page comment or inline comment, not just the first time*

I think if we need subsequent notifications, we have to go for the page comments or inline comments.  
That will serve our need.


author: Nicolai Sibler
body: Hi [@Jake Hewitt](/t5/user/viewprofilepage/user-id/4641103) ,

welcome to the community.

We have to clarify the issue a bit:

* Do the users that are mentioned have access to the pages they are mentioned on? Did you check space permissions and page restrictions?
* Do we talk about the first mention? Only the first mention on a page triggers a notification if the mention is within the page content. Additionally, you don't get a notification when you mention yourself.
* Are there email notifications even when the notification center is empty?

If the answer to all three questions is Yes, I'd probably raise a support ticket.

Kind regards,

Nicolai


author: Martin Flury
body: Hi Nicolai  
We do face a similar problem as Jake.  
Users do have access to a page and can edit the page, but they get only notified per mail with the watcher function, if they get mentioned with @, they do not get any mail notification.

A bit more in detail: *"Do we talk about the first mention? Only the first mention on a page triggers a notification if the mention is within the page content."*Is there a time connected with this behaviour? Mean if I get notified with @ on page today and I do get a mail, I won't get a further mails from additional @ on the same page at all, or would I get notified again via mail after somer time / days?


Tags: confluence-server

mention

notification

server
Cannot find Office Connector configuration
Asked by Rienk Douma:

I want to change the maximum image size for Word import (Office Connector). The configuration options should be located at:

*Settings \> General Configuration \> Office Connector*

or

*Settings \> Manage Apps \> Office Connector*

According to this page: <https://confluence.atlassian.com/doc/configuring-the-office-connector-170492758.html>

When I go to General Configuration there is no Office Connector section/option. When I search for Office Connector in Manage Apps, I only find the Office Connector Plugin without any option to configure.

My role is Site Admin.

Where can I find the configuration options for the Office Connector?


Answers:
author: Kishan Sharma
body: Hi [@Rienk Douma](/t5/user/viewprofilepage/user-id/4255410)

Can you please confirm your confluence version ? I think you are on server rather than cloud (which you have tagged while raising this question)  

When you go to **Manage Apps** and search **Office Connector plugin** under system apps, you need to expand the plugin, wherein you can find **Configure** button, refer screenshot below -

![2021-11-18_19_43_16.png](https://community.atlassian.com/t5/image/serverpage/image-id/169944iD4989BFC545451FB/image-dimensions/260x142?v=v2 "2021-11-18_19_43_16.png")  
Hope this helps.

comments: author: Rienk Douma
body: Thank you for your swift reply Kishan. We do not host a Confluence server our self. I forgot to mention I already expanded the plugin. This is what I see:

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


author: Kishan Sharma
body: Hi [@Rienk Douma](/t5/user/viewprofilepage/user-id/4255410) Are you a member of the confluence-administrators super group ie System Administrator global permissions ? If not, you might not see that option.


author: Rienk Douma
body: I'm not sure what you mean by confluence-administrators super group. I checked and I'm member of the following groups: administrators, confluence-users, site-admins. When I look for other groups I do not see other groups related to administrators.


author: Kishan Sharma
body: Hi [@Rienk Douma](/t5/user/viewprofilepage/user-id/4255410) Seems like you are using Confluence Cloud and not server. The [page](https://confluence.atlassian.com/doc/configuring-the-office-connector-170492758.html) you shared is for Confluence Server/Data Center versions and not cloud.   
For cloud you will need to reach out to Atlassian Support, [please submit a support ticket](http://support.atlassian.com/contact/) with them who can help you further with this.


Tags: cloud

confluence-cloud
search function finding previous versions of documemt
Asked by Mikael St?lberg:

If I search for the name of a document in the search box in confluence i will get search results from both current document (linked document from confluence site) and previous versions of the document.

The links on the confluence page is a shortcut to a document under "attachments" on the page and an advantage of confluence to us is to not have to delete previous versions of document.

Is there anyway around this?


Answers:
author: Fabian Lim
body: Hi [@Mikael St?lberg](/t5/user/viewprofilepage/user-id/3545821)

I would try to re-index confluence and see if the issues persist. Instructions on how to perofrm an index: <https://confluence.atlassian.com/doc/content-index-administration-148844.html>

Regards
Patch/Upgrade Notfications, Security Notification, Security Advisory Notification for Confluence?
Asked by asd asd:

Is there any place/way to receive Patch/Upgrade Notfications, Security Notification, Security Advisory Notification for Confluence? Also is there any way to subscribe to such notifications, if so, how?


Answers:
author: Kishan Sharma
body: Hi [@asd asd](/t5/user/viewprofilepage/user-id/4629901)

If you want to receive emails for security advisory, go to <https://my.atlassian.com/email> and subscribe to Alerts emails.

Hope this helps.


Tags: confluence-server

server
Table transformer to add new column in the middle
Asked by emagnun:

I want to show Jira Sprint tasks overview in confluence. Below is my source table and the result of table transformer that already has most of what I wanted. I will NOT display source table to user.

![Capture.JPG](/t5/image/serverpage/image-id/169792iADDB7244E969526D/image-dimensions/438x256?v=v2 "Capture.JPG")

++**Question:**++ how do i modify my table transformer to add one more column **!done** to show unfinished tasks count (To do + In Progress)? Is it possible to add it right after Sprint column? Below is my current SQL query.

![Capture.JPG](/t5/image/serverpage/image-id/169794iFC4FE534D25694F9/image-size/large?v=v2&px=999 "Capture.JPG")


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

Please check if this solution suits your case:

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

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

SELECT T1.'Sprint',  
(T1.'Sum of Status To Do' + T1.'Sum of Status In Progress') AS 'Not Done',  
T1.'Sum of Status Done' AS 'Done',  
T1.'Sum of Status T:' AS 'Total',  
ROUND((T1.'Sum of Status Done'\*100)/T1.'Sum of Status T:',2) AS 'Completion %'  
FROM T1

![Thu 2-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/169847iC99E91D756E4EBB2/image-size/large?v=v2&px=999 "Thu 2-3.png")

comments: author: emagnun
body: Thanks [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746)


Tags: confluence-server

server

sql

table-transformer
File thumbnail is not coming up on landing page, only the attachment is getting added
Asked by Abhishek Rana:

Hi Team,

After uploading the the attachment to confluence page, file thumbnail is not coming up on landing page, only the attachment is getting added.

Please suggest.


Answers:
author: Suvradip Paul
body: Hi [@Abhishek Rana](/t5/user/viewprofilepage/user-id/4583473) ,

Thanks for posting.

Are you following the same way described here - <https://support.atlassian.com/confluence-cloud/docs/display-files-and-images/> ?

Please let me know how if this helps.

comments: author: Abhishek Rana
body: Hi [@Suvradip Paul](/t5/user/viewprofilepage/user-id/4461672) ,

we are uploading through rest api.

<https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html>


Tags: cloud

confluence-cloud
Is there a way to revert back to approved version after making changes?
Asked by Rohith K:

I have a workflow for a confluence page that includes an approval step. After the approval step, I accidentally made some changes. That created two versions of the page and shows a draft version and approved version. I tried going back to previous version using page history but it still keeps the 2 versions of the page.

-![approval.PNG](/t5/image/serverpage/image-id/169926i3E68D1F490D99AD8/image-size/large?v=v2&px=999 "approval.PNG")![approvalsmissing.PNG](/t5/image/serverpage/image-id/169927i3ADCB1507A74C7C3/image-size/large?v=v2&px=999 "approvalsmissing.PNG")-

Is there a way to delete that draft version or going back to approved version?

Also when I view Approved version it's showing approved but the names of the people who approved are missing now?


Answers:
author: James Conway
body: Hello [@Rohith K](/t5/user/viewprofilepage/user-id/4640994)

Welcome to the community! It looks like you have a workflow doing quite a few things, I feel it is beyond the scope of a community post because we need to understand your specific use case.

Could you contact our friendly Customer Success team at <https://support.comalatech.com>

It would be really useful if you could generate a Support Package for this page and attach it to your ticket, please see <https://wiki.comalatech.com/display/CDML/Support+Console+-+Space+Tools>

All the best

James


Tags: confluence-server

server
Updating license key
Asked by GST Test:

After logged in, "View License" cannot be located. The license key cannot be updated.


Answers:
author: Kishan Sharma
body: Hi [@GST Test](/t5/user/viewprofilepage/user-id/4640269) Welcome to the Atlassian Community!  

Do you have system administrator access on your confluence instance ?   
If you go to Cog Icon -\> General Configuration -\> License Details what do you see ? Could you please share a screenshot of that page from your confluence instance ?


Tags: server
Draw.io diagram changed from normal diagram to embeded in a server to cloud migration
Asked by Antoine _Klee Group_:

Hello, I want to share something quite strange and hopefully find a solution.

I am moving a space containing draw.io diagrams from server to cloud.

On server, I have this diagram which is, a regular drawio diagram macro.

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

**I was somewhat changed to an embeded diagram in Cloud for no apparent reason (I did not edit the XML backup)**

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

**So obviously now it is not editable.**

When I perform a search on my confluence site looking for the diagram name, it only appears in this page, a single time, so I even wonder where the embeded diagram is even taken from on Cloud.

I did the space import using the wizzard on the cloud site, not via the migration assistant.

Anyone already encountered this issue?


Answers:
author: David Benson _draw_io_
body: We'll answer the support ticket you created.


Tags: cloud

confluence-cloud

confluence-server

draw.io
How to move page footer above comments section?
Asked by Bert Car:

Hello, I'm aware of how to customize the footer for a Confluence Space but is there a way to move the footer so it does not appear after the comments section and instead appears before the comments section?  

Fiddling with the "Page Layouts" within [Space Tools \> Layouts \> Content Layouts](https://confluence.atlassian.com/doc/customize-space-layouts-139512.html) didn't seem to give me the clear ability to reorder the footer above the comments. Any help or suggestions appreciated!


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

I'm afraid the footer is considered to be part of the "confluence framework", not the content. Content is basically the page, followed by the page comments (it also includes attachments, but they're shown in a different view, also surrounded by the "framework")

You can see this if you've ever tinkered with Confluence's "themes" - they can completely rework the framework, but they still can't break the content out of the central box with in the framework (they can move, or remove the footer to almost anywhere, but they can't split the content up)

On server, you do have access to the code, and you could try amending it so that the footer appears between body and comments, but I doubt it would be easy, and you would not be supported.

comments: author: Bert Car
body: Thanks so much, Nic!! You're a real legend! I've seen you on here so much. Thanks so much for taking the time to answer my question!!


author: Nic Brough -Adaptavist-
body: Sorry it wasn't an answer that got you what you wanted!


Tags: confluence-server

server
SQL Query to calculate the delta between two values and tally the total of the column
Asked by Veronica Brooker:

Hi everyone,   

I have a table 9 column table in Confluence. Two of the columns are numeric with a total sum applied.

The use case is:  
Column A: Service Credits - values are debits.   
Column B: Total Service Credits Accrued - values are credits.   
With each new entry into column A, I need to subtract that value from the running total in column B.  
Both columns should also have a total sum of at the footer of the table.

I have applied a Table Transformer, but I do not know the SQL query to do product this outcome. Can someone please share this with me or tell me if there is another Macro/way to accomplish this?   

![Confluence Table Transformer - SQL Query.png](https://community.atlassian.com/t5/image/serverpage/image-id/169780i5DE36870BAA094C2/image-size/large?v=v2&px=999 "Confluence Table Transformer - SQL Query.png")


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Veronica Brooker](/t5/user/viewprofilepage/user-id/4640199) ,

Please follow these steps: wrap your table into the [Table Toolbox](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Toolbox+macro) macro.

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

Then go to the macro settings and wrap your table subsequently into the [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) and into the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro.

Then go to to the Table Transformer macro and use the following SQL query:

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

SELECT \*, ('Total Service Credits Accrued' + 'Service Credits') AS 'New Column' FROM T\*

Go to the Settings tab and set the corresponding Date format:

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

Then go to the Table Filter macro settings and select the columns where you want to count the totals:

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

Hope this may help your case.

P.S. [Here](https://docs.stiltsoft.com/display/public/TFAC/Custom+Transformation+-+use+cases+with+advanced+SQL+queries) you can find more examples how to use the Table Transformer macro - use cases, source tables and SQL queries.


Tags: cloud

confluence-cloud

sql

table-transformer
How to access Jira Cloud Trial
Asked by Sophie Davison:

I tried to access the Jira/Confluence cloud migration trial and receive this message:

The Free cloud migration trials are available for Jira Software, Confluence, Jira Service Desk, and Jira Core. You need to have more than 10 users or 3 agents -- and have active, or recently expired, maintenance.

I am confused as we currently have 50 users and use Jira and Confluence.


Answers:
author: Jack Brickey
body: I would reach out to [Atlassian Support](https://support.atlassian.com/contact/#/).


Tags: confluence-server

migration-customer-care

server