youngmon/atlassian-qna huggingface dataset:
CQL to retrieve attachment counts per mimetype
Asked by lewismcgibbney:

The FAQ on [How to Determine the Number of Attachments in My Confluence Instance](https://confluence.atlassian.com/confkb/how-to-determine-the-number-of-attachments-in-my-confluence-instance-289276388.html) proved very useful but has led me to my next question. ***Is there a CQL command which would allow me to determine the* attachment counts per mimetype**?

The answer to this question will be used to determine whether I should integrate confluence with another search system.

Thanks for any consideration.

Lewis


Answers:
author: Jessica
body: Hi Lewis,

Welcome to the Atlassian Community!  

Checking our supported fields using the [Advanced searching using CQL](https://developer.atlassian.com/cloud/confluence/cql-operators/), currently there is no option to search for specific files mime types such as .pdf, .jpeg and etc.

Although it works using https://\<sitename\>.atlassian.net/wiki/search?type=attachment\&text=.jpeg in my test site for example, it might not be accurate, since it searches for the text that contains the extension file name there.

Give it a try and see if that works for you! Additionally, we have this feature request to be able to find attachment types in the search/cql:

* [Provide ability for additional attachment types in Advanced Search](https://jira.atlassian.com/browse/CONFCLOUD-72176)

Hope that helps, Lewis!  

Cheers,  
Jessica


Tags: cloud
Confluence "Share" Button To Open Search Of Slack Channels / Users?
Asked by Gail:

Hi All. I am our Jira and Confluence admin, but I have never seen this before in Confluence and cannot find specific articles on the web. A user tells me they used to be able to click the blue SHARE button on a confluence page and have a popup for slack channel or slack user show instead of the normal (see attached). Unfortunately she doesn't have a screenshot of what the button USED to do, and I just started as admin.

I don't think they are referring to Confluence slack notifications and subscriptions so I am stumped.

Any feedback is appreciated. ![Screen Shot 2022-06-01 at 2.01.32 PM.png](/t5/image/serverpage/image-id/200156i2D73FE4CDEF0ED58/image-size/large?v=v2&px=999 "Screen Shot 2022-06-01 at 2.01.32 PM.png")


Answers:
author: Jason S
body: Hi Gail,

Thanks for your question! I'm the product manager looking after the '*Share to Slack*' feature which your team mate was referring to.

* In Jira, the feature is now available to nearly all customers
* In Confluence, the feature has been temporarily rolled back

---

Confluence will be rolling out a significantly improved sharing experience soon, as per this update here: [New page sharing experience, coming soon to Confluence Cloud.](https://community.atlassian.com/t5/Confluence-articles/New-page-sharing-experience-coming-soon-to-Confluence-Cloud/ba-p/1847361)

Given this major, upcoming change we decided to temporarily rollback '*Share to Slack* ' to ensure our customers learn and adapt to this new, core sharing experience. '*Share to Slack*' will return to Confluence in the months after these core changes

I hope this answers your question.

Jason


Tags: cloud

confluence-cloud
Can I create a confluence page for commenting on and upvoting ideas
Asked by Michael Billingsley:

I'm looking to create a page within my team space that houses ideas and enables anyone in the company to review the idea and either vote or comment on the idea.


Answers:
author: Andrew Dildy
body: Hi [@Michael Billingsley](/t5/user/viewprofilepage/user-id/4954902), I see you're a product manager. Depending on your use case, you might be interested in our new beta product Jira Product Discovery. One of its features is allowing people to vote and comment on product ideas!

You can read more and try it out here: <https://www.atlassian.com/software/jira/product-discovery>


author: Fadoua
body: [@Michael Billingsley](/t5/user/viewprofilepage/user-id/4954902)

There are plugins on the marketplace for voting. Regarding comments, it is already available in Confluence. Users can give thumbs up for a comment they like.

I hope this helps. If not please let me know.

Best,

Fadoua

comments: author: Michael Billingsley
body: Thank you, I'm happy with the thumbs up feature and will dive into the marketplace to see what plugins I find! :)


author: K Dunn
body: Can you point me to which plugins are available for voting? I checked the Marketplace and could not find anything specific to voting.


author: Michael Billingsley
body: I'm currently using Poll Maker which hasn't been too bad. <https://marketplace.atlassian.com/search?query=poll%20maker>


Tags: cloud

confluence-cloud
How can I enter parameter in table of content Macro?
Asked by Jules Liao:

I am trying to create table of content but cannot find where to enter parameters.


Answers:
author: Andrii Maliuta
body: Hello [@Jules Liao](/t5/user/viewprofilepage/user-id/4954830) ,

Please specify the details: what Atlassian product type you use. For Confuence please refer to <https://confluence.atlassian.com/doc/table-of-contents-macro-182682099.html>
How to restore a folder
Asked by JIRA Support:

I was making a copy of a large folder from one space to another and deleted the original afterwards. It appeared that on of the subfolders was copied without it\`s own "children". I've tried to restore them from the "Trash" in the original space, but it can only be restored page by page, so I can't restore folders with their "children" all at once. How can I fix it or do a backup?


Answers:
author: Nic Brough -Adaptavist-
body: What do you mean by "folder?" Congluence doesn't have anything I would describe as a folder.

comments: author: Fadoua
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) lot of people call the parent page as the folder since it has child pages. Windows concept folder with files inside.

I am so used to this jargon ?????


author: Nic Brough -Adaptavist-
body: Yeah, I know it's semantics, but most of the time when someone says "folders" they are talking about a directory in a file system. It's not jargon that applies to a CMS or a Wiki in my world.

So I like to check before I go say all the wrong things!


author: JIRA Support
body: Yes, I was talking about parent page


author: Fadoua
body: Can you restore to a previous version through the page history [@JIRA Support](/t5/user/viewprofilepage/user-id/560365) ? Just sharing my thoughts


Tags: confluence-server

server
Ability to select "Europe/Kyiv (+0300)" in the list of timezones
Asked by Walter Hamilton:

![timezones.png](/t5/image/serverpage/image-id/200127iB8D39717CF0C7322/image-dimensions/193x165?v=v2 "timezones.png")

I was a little surprised when I discovered that Moscow and Minsk are present in the European timezones list (which, I recall now, have spread the war against the people of Ukraine), but Kyiv (a city that is 10 times larger than Minsk) is absent. How? Why should Ukrainians associate themselves with either Moscow or Minsk? It seems strange to me now, could you add another time zone "Europe/Kyiv (+0300)"?


Answers:
author: Nic Brough -Adaptavist-
body: I think the list is being derived from your installation of Java (or the "tzdata" database in your server). I have Europe/Kyiv offered in my calendars (albeit still the angllicised and old spelling Kiev )

comments: author: Walter Hamilton
body: Thanks, I definitely missed something. Updated to the latest version and everything is fine there.


author: Nic Brough -Adaptavist-
body: Whatever you think you might have "missed", it's going to be something silly that you would never have imagined you ever needed to think about.  

"upgrade something and it works" is always a good thing to try. When it works, Yay!


Tags: confluence-server

server

team-calendars-for-confluence
Performance Test Data Center Application - Request For Help
Asked by IT Solutions Tomasz Kaczy?ski:

Hi Everyone,

I prepare some new Confluence Data Center App and I would like to add it to the Atlassian Marketplace.  

I need performance and scale testing reports but I have no Cloud Environment and required experience to make these reports.  

Could anyone make those tests for my Confluence Data Center App and send me back the results?

I will be very grateful.  

Kindly Regards,  
Tomasz Kaczy?ski


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

There is no way to bypass the tests you need to do on a DC-flagged app. You don't need a Cloud environment, but you do need to work through the stuff on <https://developer.atlassian.com/platform/marketplace/dc-apps-submitting-your-app/>

It's up to you to do the testing.


Tags: cloud

confluence-cloud
if a page is formatted with headings and tables is it easier to find ?
Asked by Colm Maguire:

I am trying to find out how the search might work on documents with headings and tables and other format features.

Does the search have a preference over a page that uses the headings format on a page as to a page with no headings and using just paragraph to format a heading ?

I am trying to improve a) how we format our documents, and b) the findability of the document.

If a document is formatted 'correctly' does it stand a greater chance of being found? .


Answers:
author: ?ukasz Modzelewski _TTPSC_
body: I don't see any options in advanced search to filter for H1 etc. so I would assume page content is treated as text. But labels and good title can be used to narrow down the search.   
<https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html#ConfluenceSearchSyntax-Confluencesearchfields>

I was digging deeper and I found interesting page about understanding the ranking of displayed results: <https://confluence.atlassian.com/confkb/how-do-i-understand-the-ranking-of-confluence-s-search-results-785614686.html>

"Weightings are made up of the following: Document Age, Title, Content, Popularity"

comments: author: Colm Maguire
body: Thanks for that answer , now I am wondering, if by Content, table of contents? I am probably clutching at straws here lol. I was under the impression that the more formatted pages were being found quicker but it's probably because they are newer.


Tags: confluence-server

documentation

format

search

server
APPS for confluence cloud HR
Asked by R?ta Tij?nelyt?:

Hi,

we are using confluence cloud standart and looking for apps.

what we are looking for - something like Teamployees (this app is for Jira ;( ), calendar - where we can mark holidays or birthdays, even reminders, then we need excel, word and ppt app, which will let us open, change and save file without downloading it and reuploading again (found the app, which need another app to work), app where we can put info about employees - photos, status, number, email, position.

Maybe you use something like that and can offer good apps .

Thanks


Answers:
author: ?ukasz Modzelewski _TTPSC_
body: Hi [@R?ta Tij?nelyt?](/t5/user/viewprofilepage/user-id/4666912) ,

As for visualising events, our team developed Staffing Timeline app: [https://marketplace.atlassian.com/apps/1212995/staffing-timeline?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1212995/staffing-timeline?hosting=cloud&tab=overview)

In our internal use it's used for absence tracking in Confluence, but it can be easily adopted to anything resource/activity related and placed on timeline :)

Cheers,

?ukasz


Tags: cloud

confluence-cloud
Authentication Error In The Python API.
Asked by Cameron Pilla:

I am defining my confluence instance as seen below:

```
confluence = Confluence(
        url="https://wiki.COMPANY.com",
        username="MYNAME@company.com",
        password="APIKEY")
```

And when I attempt the code:

```
content = confluence.get_page_by_id("ID.OF.SOME.PAGE.I.CREATED.AND.PUBLISHED")
```

I get the following error:

requests.exceptions.HTTPError: 401 Client Error: for url: "PAGE I WANT"

<br />

Is this somehow and issue with the code or is it some issue with the permissions of my organization's confluence?  


Answers:
author: Andrii Maliuta
body: Hi [@Cameron Pilla](/t5/user/viewprofilepage/user-id/4953072) ,

Do you use <https://github.com/atlassian-api/atlassian-python-api> ?

Please note that for Cloud Confluence the URL will be yoursite.atlassian.net/wiki and for server any domain.

* For Cloud you use Username=email and pass = security token generated in your Atlassian profile
* For Server/DC you yse username={USERNAME} (not email)


Tags: cloud

confluence-cloud
Responsive mode not showing up. Unable to resize tables.
Asked by Heicmat Ghandur:

Hi there. I am trying to resize a table on a Confluence page, but the "responsive" option is not showing up, nor are all the other features that are usually available below the font features. Therefore, I am unable to resize tables. Does anyone what could be happening? Why has the Responsive feature as well as all the other features disappeared? ![Screenshot 2022-06-01 at 12.09.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/200090iFB3350107671441D/image-size/large?v=v2&px=999 "Screenshot 2022-06-01 at 12.09.01.png")


Answers:
author: Jessica
body: Hello Heicmat,

<br />

Hope you are doing well and Welcome to the Atlassian Community!  

The editor you are seeing (screenshot) is from the current editor.  
The one you described the options, are from the Legacy editor, which are not present in the current editor.  

That said, we would like to share with you we have this feature request, gathering the interest and feedback from our users to have it implemented in the current editor:  

* [Bring back the Responsive Tables option](https://jira.atlassian.com/browse/CONFCLOUD-69352)
* [Set custom widths in tables](https://jira.atlassian.com/browse/CONFCLOUD-67748)

Feel free to vote and also add any comments in the suggestion page, for our internal teams awareness.  
I have also added the link for this post internally for reference.  

If there is any other features you are missing not related to the tables itself, please let us know!  

Additionally, if you have the Legacy Editor available, you can still use it and will be able to see the options for the table there.  

Cheers,  
Jessica


Tags: cloud

confluence-cloud
Custom emoji creation not working
Asked by Asier.Gomez:

Hello,

I am trying to create a custom icon/emoji, but it doesn't appear the option.

When I open the emojis icon I can see the next:

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

I'm using Confluence Cloud.

Thanks for any help.


Answers:
author: Jack Brickey
body: Hi [@Asier.Gomez](/t5/user/viewprofilepage/user-id/4954154) , that is odd. I don't recall this being a permissions thing and I did not see any such configuration in my free instance. Mine looks like this...

![97AFA5F3-C850-4091-A568-ACF12098994A.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/200091i4956AFBD525CE052/image-size/large?v=v2&px=999 "97AFA5F3-C850-4091-A568-ACF12098994A.jpeg")

<br />

A couple of next step ideas:

* check with others to see if they are reproducing
* check a different browser
* check a different space

comments: author: Asier.Gomez
body: mmm thanks! Looks like it works with my private account.


author: Christal Vandecar
body: [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) We're seeing the same difference here as [@Asier.Gomez](/t5/user/viewprofilepage/user-id/4954154) did. I had created a number of custom emojis, and have been using them. Maybe a few days ago they were there. But today I see that the option to add custom emojis is not longer present in the emoji drop down. My custom emojis are gone.


author: Jack Brickey
body: [@Christal Vandecar](/t5/user/viewprofilepage/user-id/4556984) , I am not experiencing this. Thing I could suggest would be to reach out to [Atlassian support](https://support.atlassian.com/contact/#/) directly.


author: Christopher Crowell
body: I was having the same issue when trying to add emojis while editing the name of a page, but I was able to add the emoji successfully within the page edit view.


Tags: cloud

confluence-cloud
How do I remove a Jira link from a Confluence page?
Asked by Eteruza Medas:

I accidentally linked an incorrect Jira issue to Confluence. How do I remove the link? Note, that I am not familiar with the macros.


Answers:
author: Benjamin
body: HI [@Eteruza Medas](/t5/user/viewprofilepage/user-id/4733650) ,

Here's the documentation about links in Confluence.

<https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/>

Should be able to edit page and just highlight and hit the delete button on your keyboard to move the macro.

-Ben


author: Fabio Racobaldo _Herzum_
body: Hi [@Eteruza Medas](/t5/user/viewprofilepage/user-id/4733650) ,

welcome to the Atlassian community!

You need just to remove JIRA Issue macro within your page. That operation will automatically delete link between JIRA issue and Confluence page.

Hope this helps,

Fabio


Tags: cloud

confluence-cloud
SQL Date in Table Transformer
Asked by Leona:

Hi,

A simple SQL in Table Transformer, but nothing is returned.

SELECT T1.'Status', T1.'Due'  
FROM T1  
WHERE T1.'Resolution' = "Unresolved"  
AND T1.'Due' \> 2022-05-30

Macro Settings Date format is set to yy-mm-dd (see screenshot)

What am I missing? Thanks.![date.png](https://community.atlassian.com/t5/image/serverpage/image-id/200026iECCCB0EAA3373A9C/image-size/large?v=v2&px=999 "date.png")


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

Try to use double quotes for your date:

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

SELECT T1.'Due', T1.'Resolution'  
FROM T1  
WHERE T1.'Resolution' = "Unresolved"  
AND T1.'Due' \> ++"2022-05-30"++

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

Hope this helps.

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

Thank you for replying. With the code below, I receive

SELECT T1.'Status', T1.'Due'  
FROM T1  
WHERE T1.'Resolution' = "Unresolved"  
AND T1.'Due' \> "2022-05-30"  
ORDER BY T1.'Due' DESC

Something weird, for setting with yy-mm-dd, no results. All other date settings, I get result but wrong.

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


author: Katerina Kovriga {Stiltsoft}
body: The date format should correspond the format that you have in your table and in your query (see my example).

I have "yy-mm-dd" format in three places:

* the Table Transformer macro settings
* the "Due" column
* the date for comparison that is "2022-05-30"

For your case, as your dates come from Jira, choose the "M dd, yy" in the Table Transformer macro and change the date for comparison as "May 30, 2022".

Then everything should work correctly.


author: Leona
body: [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) I changed the setting to "M dd, yy" and it works!!! Thank you so much!


Tags: cloud

confluence-cloud

table-transformer
Where statement with apostrophe within value
Asked by Leona:

Hi,

I am using Table Transformer macro with the SQL

Select \* from T1 where T1.'Status' IN ("To Do", "Done", "Won't Do")

How do I include the apostrophe in "Won't Do" in the where clause? Thanks.


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

Please try the following SQL query:

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

SELECT \* FROM T1  
WHERE T1.'Status' IN ("To Do", **"Won"+ CHAR(39) + "t Do"**)

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

Hope this helps.

comments: author: Leona
body: Thank you [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) this works!!


author: Fabio Racobaldo _Herzum_
body: Hi [@Leona](/t5/user/viewprofilepage/user-id/4947997) ,

try to use double '

Example :

Select \* from T1 where T1.'Status' IN ('To Do', 'Done', 'Won''t Do')

comments: author: Leona
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) I tried the double '' did not work. :( thanks for replying.


author: Benjamin
body: HI [@Leona](/t5/user/viewprofilepage/user-id/4947997) ,

If this is like SQL, you should be able to escape it. In this case, you maybe about to run single routes around the apostrophe.

-Ben


Tags: cloud

confluence-cloud

table-transformer
Guide on creating automatically updating server status page.
Asked by Cameron Pilla:

My goal is to essentially create a confluence page that automatically updates images in a table representing server statuses based on either the results of a pinged URL or the text on the pinged URL. (Format of site the URL directs to being nothing except for a blank page with text representing the server status ("ok" or "not ok")). The table format is basically:  
Server \| StatusImage  
Where if Server status is "ok" i want to display image1 (or some text "ok") for StatusImage.  
and if Server status is "not ok" I want to display image2 (or some text "not ok") for StatusImage.

<br />

I have looked into doing this with REST API and python but am not entirely sure where to begin and how to make this successfully auto update when either the server status changes or after some set amount of time (whichever is easier). If anyone has any input or has done something similar I would love to hear it. I have not actually tried coding anything up yet as I have seen about 100 different posts with 100 different solutions (some from years ago) and am wondering if anyone has any advice on how to begin with this


Answers:
author: Brant Schroeder
body: [@Cameron Pilla](/t5/user/viewprofilepage/user-id/4953072) Welcome to the Atlassian community.

Instead of creating your own integration I would suggest just using the Atlassian Status Page product. <https://www.atlassian.com/software/statuspage> It will do everything you are requesting and more.


Tags: cloud

confluence-cloud
How to paste a butler rule onto another board?
Asked by Jacen Farmer:

I want to paste this rule: (the day after a card is due, add the red "Overdue" label) onto my board, but I cant figure out how. Please help.


Answers:
author: Soumyadeep Mandal
body: Hi [@Jacen Farmer](/t5/user/viewprofilepage/user-id/4198364) ,

Welcome to the community!

You can definitely share rules with your team, but it can be a bit tricky.

To be clear up front, rules cannot be _edited_ by a user other than the one who created them. So when sharing a rule, you're essentially sharing a copy of it that your team members can import and edit as their own, rather than _your_ rule.

The first thing you'll want to do is to add your rules you want to share to a Command Library (<https://help.trello.com/article/1139-command-libraries>). Once they are consolidated under a single tag, you can select that library from the Butler menu and enable the Shared slider.

After the rules are shared, your team members can open that same command library from their Butler menu and import the commands.


Tags: butler

due-date

rule