youngmon/atlassian-qna huggingface dataset:
How can I add a simple colored rectangle
Asked by Stefan Pichler:

In the old editor one could add a simple colored rectangle with a specific color. This is a major documentation issue for us. How can I do this in the new editor?


Answers:
author: Stefan Pichler
body: So how do I do it now?


author: Jimi Wikman
body: Would it work to use the emojis for that as you can upload your own custom emojis?

comments: author: Stefan Pichler
body: Can you set a color for an emoji? Didn't find such an option.


author: Jimi Wikman
body: You can create an emoji that looks like what you want. Just make a set of colored rectangles and upload them. If the size is big enough that is?


author: Stefan Pichler
body: Then somebody has to maintain the files of the colored rectangles on a fileserver. If (s)he has to add a new color (s)he needs access to the file-server (which lots of users don't). Seems pretty complicated for a simple colored rectangle.


author: Jimi Wikman
body: No, you upload it to the emoticons, and it will be there forever, or at least until you delete it. Then you can use it from the emoticons function anytime you need it.


author: Stefan Pichler
body: So I've uploaded 20 rectangles in different colors. Now someone finds out that an additional color (number 21) is needed. He does not have access to the rectangle templates on the file-server (or does not know where to find them). He will not be able to make the rectangle with the 21st color, right?


author: Jimi Wikman
body: Ah, yes.

That is something you need to keep track of.


Tags: cloud

confluence-cloud
Calculations/formulas in confluence page that changes dynamically
Asked by Team Awesome BVBA:

Hellow,

I have a report with this tables:

"Defects total / defects ok / defects nok / % defects ok"  

I would like to have the % in the last column change depending on the numbers in the first columns.

How do i do that?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Team Awesome BVBA](/t5/user/viewprofilepage/user-id/5056816) ,

The ability to perform calculations in Confluence tables directly is not possible at the moment, so you'll need some 3rd party add-ons to fulfil the task.

As my company develops the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app, I can suggest trying its [Table Transformer](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Transformer+macro?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro (if you prefer to work with native Confluence tables) or [Table Spreadsheet](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Spreadsheet+macro?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro (if you want to have a fully functional Excel sheet with cell formulas right in Confluence).


author: Shardul Juyal_Addteq_
body: Hi [@Team Awesome BVBA](/t5/user/viewprofilepage/user-id/5056816)

Calculations are not possible natively in Confluence. However, there are a lot of [apps](https://marketplace.atlassian.com/search?product=confluence&query=Formula) in the marketplace that will provide the same.

With our app [Excellentable spreadsheet for Confluence](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence?tab=overview&hosting=cloud), you can use the same formulas as excel/google sheets and natively use spreadsheets in Excellentable.

Regards

Shardul Juyal


Tags: calculation

cloud

confluence-cloud

filter

spreadsheet

table

table-filter

table-filter-and-charts

table-transformer
How to browse labels in Confluence Cloud
Asked by Randy Elias:

Hi All,

Following the instructions [here](https://support.atlassian.com/confluence-cloud/docs/use-labels-to-organize-your-content/), I can't access the the URL to browse labels in Confluence. Anyone else running into this issue? Is there a workaround?

Thanks,

Randy


Answers:
author: Oliver Siebenmarck _Polymetis Apps_
body: Hi [@Randy Elias](/t5/user/viewprofilepage/user-id/5032925) ,

Just checked, the URL still works as described in the documentation -- at least on my test instances. Please note, that you need to set a space key at the end. Even if you adapt the example URL to your instance, if you do not have a valid space key, you'll get a "Page not found" error.

If you want all labels from all spaces, you can simply use the URL with the **key** parameter. So for example, like this:

```
https://YOUR-INSTANCE.atlassian.net/wiki/labels/listlabels-alphaview.action
```

If you have a certain space you want to know the labels of, with the space key PM say, you can use the URL like this:

```
https://YOUR-INSTANCE.atlassian.net/wiki/labels/listlabels-alphaview.action?key=PM
```

Finally, if you want to dive a bit deeper into the world of Confluence labels, I can make the totally biased recommendation to take a look at [Magic Labels](https://marketplace.atlassian.com/apps/1226439/magic-labels-for-confluence?hosting=cloud&tab=overview), our own app for managing and working with labels -- things like renaming labels or using #hashtags to add labels.

Hope that helps,  
Oliver

comments: author: Randy Elias
body: Thanks [@Oliver Siebenmarck _Polymetis Apps_](/t5/user/viewprofilepage/user-id/2974121)

That space key before "key" fixed the issue. Thx!


Tags: cloud

confluence-cloud

label
Need to validate that a field doesn't have a special character.
Asked by patricia andraka:

I'm using Confiforms to create pages. The title field is used for the page title. I want to prevent users from entering any special characters, especially parenthesis. I tried to create a RegEx, but the only one that works is \[!@#$%\^\&\*(),.?":{}\|\<\>\]. Since the brackets are required to make the validation work, I can't use this formula in the Confiforms Field definition or with the CConfiforms Rules for field definition, the page can't be saved. Is there another way to check the field for special characters?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Have you tried to set the [validation rule on the ConfiForms Field Definition](https://wiki.vertuna.com/display/CONFIFORMS/Automatic+validation+for+your+fields) itself?

Alex

comments: author: patricia andraka
body: Yes, that is where I put the validation rule.


Tags: confiforms

confluence-server

server
Help with Creating a Chart
Asked by Michelfrancis Bustillos:

I am struggling to create a stacked bar graph based on a simple chart.

I am able to create the graph in Excel, but it seems like there is no way to do something similar in Confluence. See below for Excel chart as well as Confluence settings I'm currently trying.

Excel:

![Screenshot 2022-10-18 085521.png](/t5/image/serverpage/image-id/221372iD312F25765FFBA6B/image-dimensions/307x233?v=v2 "Screenshot 2022-10-18 085521.png")

Confluence Chart Settings: ![Screenshot 2022-10-18 085750.png](/t5/image/serverpage/image-id/221373i40A95F3D049779E4/image-size/large?v=v2&px=999 "Screenshot 2022-10-18 085750.png")

Confluence Output:  
![Screenshot 2022-10-18 090733.png](/t5/image/serverpage/image-id/221374i8056E9ED861C72F8/image-dimensions/306x255?v=v2 "Screenshot 2022-10-18 090733.png")


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

I've tried to do smth similar and the macro seems to be working fine for me:

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

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

To change your X axis from Dep to PC/Notebook, change the "Content Orientation" from horizontal to vertical.

Our company also develops the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app, so if it happens so that you have the add-on installed for your instance, you may try the [Chart from Table](https://docs.stiltsoft.com/display/TFAC/Column%2C+Stacked+Column%2C+Bar%2C+Stacked+Bar+chart+types?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro instead.


author: Shardul Juyal_Addteq_
body: Hi [@Michelfrancis Bustillos](/t5/user/viewprofilepage/user-id/5056735)

Creating graphs is not possible natively in Confluence. However, there are a lot of [apps](https://marketplace.atlassian.com/search?product=confluence&query=Chart) in the marketplace that will have the same charts and graphs.

With our app [Excellentable spreadsheet for Confluence](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence?tab=overview&hosting=cloud), you can create a chart just the way you do in Excel/Google Sheets. You can also import an excel with charts directly into Confluence.

Regards

Shardul Juyal


Tags: chart

confluence-server

filter

server

table

table-filter

table-filter-and-charts
Table Excerpt include returns an error
Asked by Elena Kondrashova:

Hi all,

Looking for support for the following issue.

I have three pages: page A, page B, page C.

My goal is to add "Table excerpt" macro on Page B and C, wrap "Excellentable" inside of each Table excerpt macro.

Then on page A use "Table excerpt include" in different sections, and pull "Excelletable" tables from page B and C via the Table excerpt macro.

**Problem**: It works for page A/B - I see a table from page B on my page A. But when I try to pull the table from page C, it gives me an error on page A (see SS).

I am not sure what is the reason for that, I am following exactly same steps as for pages A/B.

Any ideas?

![Screenshot 2022-10-18 094647.jpg](/t5/image/serverpage/image-id/221371i94942A32DE003416/image-size/large?v=v2&px=999 "Screenshot 2022-10-18 094647.jpg")


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

Please check how you collect the Excerpt from the page C - I guess by its title? Make sure that your Table Excerpt Include macro points to the right page.

And also check the name of the Excerpt on the C page for typos, extra spaces, etc. The names in the Table Excerpt Include and Table Excerpt macros should match.

comments: author: Elena Kondrashova
body: Hi [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) Thank you for your response! Yes, I have double checked that in "Excerpt table include" macro in field "Page title" I am referring to a correct page C, and in "Excerpt name" I am referring to a correct name on "Excerpt table" macro of page C, no typos or extra spaces.


author: Katerina Kovriga {Stiltsoft}
body: Then I can suggest [raising a support request](https://jsd.stiltsoft.com/servicedesk/customer/portal/2).

If you have Server/Data Center, please specify the version of the app (the current one is 9.4.0, if yours is an older one, please update not to lose new features and fixes).

For Cloud it is not relevant, your add-on will be always up-to-date.

Then attach two page storages: for the A page and for the problem C page. Go to the upper right corner -\> menu ... -\> View storage format. If you don't see this option, ask your Confluence administrator to do it for you.

Using the storage, our support team will be able to recreate exactly your pages with macros and their settings and look into the issue closely. The customer portal is based on the Jira Service Desk and is confidential.


Tags: filter

table

table-excerpt

table-filter

table-filter-and-charts
How do you using a reset button in javascript reset fieldtypes that are multiselect & checkbox group
Asked by Loren:

I did follow a javascript solution to create a reset button and the reset button is resetting the field types that are the field type drop down, text and date. But it is not working on resetting the fields that are multi select and checkbox group. I am doing it in confluence with Confi forms. And the below is a sample of some of the code I am using for it. I put the code in html macro in confluence.

    <script type="text/javascript">function my CustomScript(formId) {AJS.$('#' + fomdId).find('.save-cf-btn').after('<button type="button"` class="aui-button cf_reset_btn" style="margin=right: 10px;">Reset</button>');AJS.$('#' + formID).find('.cf_reset_btn').click(function() { AJS.$('#' + formID).find('#i_totr').val(''); AJS.$('#' + formID).find('#i_title').val('');  });}


Answers:
author: Alex Medved _ConfiForms_
body: Hi

I thought I have explained that in the [other question](https://community.atlassian.com/t5/Confluence-questions/Simple-way-to-toggle-a-reset-of-all-confiforms-fields/qaq-p/1647585)...

Here is a demo of what I was trying (hard) to explain:

<http://recordit.co/OtWXFJEZ7B>

Hope it helps

Alex

comments: author: Loren
body: Thanks so much again Alex. It's working now. My formatting was a little off before. But now it's working and the multi select and checkbox group are resetting as well with the reset button.


Tags: cloud

confiforms

confluence-cloud
Export to xml generates error > how to see the log file
Asked by Pim Vincentie:

Hi community,

I am trying to export a quite large Space (50+ pages) to then import in our other cloud confluence environment

Unfortunately going the export, it generates an error. It says to check in our log files. But the regular Confluence Audit log doesn't mention anything about this failed export.

I check this page https://**\[site-name\]**.atlassian.net/wiki/admin/auditlogging.action

Are there any other logs available? Couldn't find on Google.

Or any of you an idea of common causes of an error during export?

Kind regards,

PIm


Answers:
author: Pavel Junek
body: Hi Pim,

Unfortunately, Confluence Cloud does not have user/admin visible logs. In this case, contact Atlassian support.

Pavel

comments: author: Pim Vincentie
body: Thanks, will check in there then..


Tags: cloud

confluence-cloud
OAuth
Asked by Anshit Singh:

I was trying to implement OAuth2.0 on confluence server but wasn't able to configure it and in the documentation also there's no detail about the URL/commands. Please help me with the proper steps for implementing OAuth2.0 on confluence server.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Anshit Singh](/t5/user/viewprofilepage/user-id/5056414) ,

welcome to the Atlassian community!

Here an useful link about OAuth 2.0 on confluence <https://confluence.atlassian.com/doc/linking-to-another-application-360677690.html>

Hope this helps,

Fabio


Tags: oauth
Searching for App hosted in european Cloud for HTML Macro in Confluence Cloud
Asked by Petra Brebaum:

Hello,

I'm searching for an App **hosted in european Cloud** as alternative for the previous HTML macro in the server version which is not available anymore in Cloud.

Thanks for your support.

Petra


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Petra Brebaum](/t5/user/viewprofilepage/user-id/5034287)

I think that you should ask the vendor about where their app is hosted. If their app was developed with forge, then Atlassian is responsible for hosting it. If the app was developed with Connect, then the vendor is responsible for hosting it (therefore it could be a european cloud server).


Tags: cloud

confluence-cloud

html-macro
How to improve viewpage.action performance?
Asked by 5140883:

'viewpage.action' takes **3\~4 seconds** to load a page, due to a slow query related to 2 large tables

'**CONTENT**' table: over 11,000,000 rows, include 5680000 attachments and 3020000 pages

'**USERCONTENT_RELATION**' tables: over 3,000,000 rows

SQL analysis tells me 'CONTENT' is the KEY problem.

I cannot do anything with SQL query, I just can delete some useless data.

I can delete about 1000000 previous version pages to reduce 'CONTENT' size, but the improve is limited, and the size of 'CONTENT' will keep growing.

Is there any way to solve this issue permanently?

Like database sharding, or Data Center Confluence, or other resolution?

Thank you!

**viewpage.action speed:**

![viewpage.png](/t5/image/serverpage/image-id/221259iB5723B9E80A6E856/image-size/large?v=v2&px=999 "viewpage.png")

**Slow query like this:**

*SELECT
rt. currentId as contentId, rt. draftprevver as latestVersionid, rt. RELATIONID as relationId, CASE WHEN lt. LASTMODDATE \< rt. touchdate THEN rt. CONTENT_STATUS ELSE lt. CONTENT_STATUS END as contentStatus, rt. touchdate as lastModifiedDate
FROM
CONTENT lt
JOIN (
SELECT
ucr. LASTMODDATE as touchdate, ucr. RELATIONID, c. LASTMODDATE, c. CONTENTID, c. TITLE, c. CONTENT_STATUS, COALESCE( c. PREVVER, c. CONTENTID) as currentId, c. PREVVER as draftprevver
FROM
CONTENT c
LEFT JOIN USERCONTENT_RELATION ucr ON c. CONTENTID = ucr. TARGETCONTENTID
WHERE
ucr. RELATIONNAME = 'touched'
AND ucr. LASTMODIFIER = '8a4892f0760a770901761c86b7440047'
AND c. CONTENTTYPE in (
'PAGE', 'BLOGPOST')
AND c. CONTENT_STATUS in (
'current', 'draft')
) rt on lt. CONTENTID = rt. currentId
WHERE
lt. CONTENTID in (798650507)*


Answers:
author: Sloan
body: Hi there

It really depends on a few parameters.

First make sure the database itself has no perfomance issues. Check the connection to the database, make sure that enough database connections are set and they allign with the number of http threads. Look at [Confluence slows and times out during periods of high load due to database connection pool](https://confluence.atlassian.com/confkb/confluence-slows-and-times-out-during-periods-of-high-load-due-to-database-connection-pool-146407630.html)

Be aware that confluence also works with several cache mechanics. You might be able to improve the caches. See [Cache Statistics](https://confluence.atlassian.com/doc/cache-statistics-150472.html)  

For general perfomance tweaking this guide can help you, [Performance Tuning](https://confluence.atlassian.com/doc/performance-tuning-130289.html)

Moving to Data Center and running it in cluster mode can greatly improve perfomance if you have many users. But it does not just help when you switch from Server to Data Center single node.

? **DON'T manually delete content from the database via SQL. You could destroy the index and make a negative impact on the integrity of contents in Confluence.**

Cheers  
Sloan

comments: author: 5140883
body: Thank you!


Tags: confluence-server

performance

server
How to create jira tickets from confluence (Create transition has fields Required validator)
Asked by Vinodh:

Hi team,

I want to create jira tickets from confluece, I don,t have any required fields from Field configuration, but I have fields requied validator for create transition.

So, how do I get jira validator required fields in confluence create issue.

Best regards

Vinodh


Answers:
author: Sebastian Krzewi?ski
body: Hi [@Vinodh](/t5/user/viewprofilepage/user-id/4683655)

Did you consider using Issue collector?

Helpful links:

- <https://confluence.atlassian.com/adminjiraserver/using-the-issue-collector-938847338.html>

- <https://confluence.atlassian.com/adminjiraserver0817/advanced-use-of-the-jira-issue-collector-1071816234.html#AdvanceduseoftheJiraissuecollector-Embeddingtheissuecollector>

- <https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-insert-a-JIRA-Issue-collector-into-Confluence/qaq-p/1606801>

- <https://community.atlassian.com/t5/Confluence-questions/Can-I-add-a-Jira-issue-Collector-to-a-confluence-page/qaq-p/1805813>  

<br />

Regards,

Seba


Tags: confluence-server

jira

jira-server

server
We can't preview this file. You'll have to download the file to view it.
Asked by Priti Kothari:

Hi, I am trying to see the Excel file in the Confluence page. It gives me the error as below:

We can't preview this file. You'll have to download the file to view it.

My file looks like below.

Name: xyz.xlsx

Size: 380KB

Please help.


Answers:
author: Stefan Schweizer
body: I've the same issue with the Excel addon, see <https://confluence.atlassian.com/conf719/view-file-macro-1157466962.html#excel>

I found out that the Excel file cannot be shown/previewed if the Excel file size exceeds 2MB!  
So for me it seems to be an Excel addon bug!

comments: author: Stefan Schweizer
body: Ah, I've only seen right now that this don't seems to be the issue in this case since [@Priti Kothari](/t5/user/viewprofilepage/user-id/5056083) mentioned an Excel file size of only 380KB!


author: AAMIR ANSARI
body: Hi [@Priti Kothari](/t5/user/viewprofilepage/user-id/5056083)

Is the issue happening for just one excel or all the excel files? Also, are you running confluence on server or data centre?

I will suggest you tail the confluence logs while previewing the excel.

The Confluence log location would be - \<confluence-home\>/logs/atlassian-confluence.log

Check whether you see any errors related to the sandbox process being killed.

If so, please follow this link - <https://confluence.atlassian.com/doc/document-conversion-for-confluence-data-center-952624318.html>

I hope this helps.

Thanks,

Aamir


author: Brant Schroeder
body: [@Priti Kothari](/t5/user/viewprofilepage/user-id/5056083) Welcome to the Atlassian community

Is this your issue? <https://confluence.atlassian.com/confkb/unable-to-preview-attachments-when-viewing-a-page-but-other-attachment-functions-work-without-issue-945542592.html>


Tags: confluence-server

server
Synch Outlook contacts across software and phone for small business
Asked by Laura L_ Townsend:

Does anyone have 1 place they enter contact information and have it populate everywhere they need it? Where do you keep your master list?  

These areas all need contacts:  
Smart Phone (Android)  
Email software (Outlook)  
Time \& Billing (Looking at Everhour)  
Accounting (Looking at Wave)  
Link contacts to projects.  
Link contacts to Contacts (and Companies)  

I started looking at Contalist Trello powerup. And Crmble. Still confused over just what they do. I see they both synchronize with Google contacts. Which my phone can synch with.   

It never occurred to me to put my business contacts in Google -- I've always used Outlook. Curious what others using Trello and/or running small businesses are doing? Are you adding them multiple places or using something like Zapier to send them everywhere you need them?  

Thanks!


Answers:
author: milynnus
body: [@Laura L_ Townsend](/t5/user/viewprofilepage/user-id/4509864)

Glad to see you are trying out Contalist. I have worked with them to add a few nice features. I think one of the nice think I would like to have would be badges so we can see the setup from outside the card. Now you have to get an api to get the name into a custom fields. Otherwise, I have recommend it for clients to do po, quotation, send a copy of "card", simple automation to send standard emails, or reminders based on due dates etc. The plus is that the same addressbook is available in any board that you have the power up and with their business plan, your members and can send with their email. Returning a card to \*\*any\*\* board with their webform is really useful. I have use it to receive images and attach it to a card - eg request for a photo ID.
May I get my payment back
Asked by Juan del Pozo:

I paid for the Gold trello membership as a mistake, I wanted to pay for the Business class membership, Thing that I did later, but now I would like to get my payment for the gold membership back or at the very least that it passes to the Business class membership as a payment


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Juan del Pozo](/t5/user/viewprofilepage/user-id/4514076)

I think that you should contact [trello support](https://trello.com/contact?nosearch=1&source=from%20helpsite%20beacon#/) for this matter.

Regards,  
Alex


author: Andrea Crawford
body: Hello Juan,

Trello support should be able to help you with this. You can reach them at <https://trello.com/contact>.