youngmon/atlassian-qna huggingface dataset:
Adding Restrictions
Asked by Andrew simpson:

While our page is underway, I want to allow just the 5 people working on it to be able to see. However, when I press Restrictions, it wont let me change, and has a pop up saying 'You're not allowed to change these restrictions. Its either due to edit restrictions on this page, or permissions setting for this page'

Can you let me know what to do. Thank you


Answers:
author: Nic Brough -Adaptavist-
body: Get one of the space administrators to check the permissions for the space. My guess is that your account does not have "restrict" permission. The other possibility is that an existing restriction is preventing you from editing.
Pull report of all articles created
Asked by fahad.h:

Not sure if this is possible, but i am looking for a report that can be pulled or created and shared of all articles created.

The report should basically contain

1. Article id (if the link can be provided it would be great)
2. Created by (name)
3. Date created
4. Under which folder or page


Answers:
author: James Dellow
body: Confluence Cloud provides a reports like this, but it only reports on content tagged with a specific label - see the Content Report Table Macro.

You could certainly achieve this using the API. I have done something similar in the past.


Tags: cloud

confluence-cloud
Can I configure date picker to display calendar weeks?
Asked by Martin Schulz:

Is it possible to configure the date picker to show calendar weeks?

++**Current:**++

![current.jpg](/t5/image/serverpage/image-id/44590i20C53D4FFAF3555F/image-size/large?v=v2&px=999 "current.jpg")

**++Should:++**

![target.jpg](/t5/image/serverpage/image-id/44591i52014D4C1A640C42/image-size/large?v=v2&px=999 "target.jpg")

Using: Confluence 6.13.0


Answers:
author: Diego
body: Hello there Martin!

Currently, this feature is **not present for the Date Picker**. The Date Picker follows these guidelines:

**[Atlassian Design - Date Picker](https://atlassian.design/server/components/date-picker/)**

However, **Team Calendars** does have this feature:

**[CONFSERVER-51397 \| Show week number in Team Calendar](https://jira.atlassian.com/browse/CONFSERVER-51397)**

You can **embed a team calendar** to the desired page and then check the week number settings under **general configuration:**
> 1. Create a page
> 2. While in edit mode, **add a team calendar macro**
> 3. Select the view mode as **month**
> 4. Publish the page
> 5. Go to **Cog Icon \> General Configuration \> Team Calendars**
> 6. Search for **Team Calendar** in the left hand side menu bar
> 7. Under **Global Settings** mark the **Display week numbers**checkbox
> 8. Save the settings
> 9. Go back to the newly created page

After that, week numbers should display into the Team Calendars macro. You can also insert the Team Calendars Macro into an already existing page.

Martin, let us know your thoughts on this!

comments: author: Martin Schulz
body: Thank you Diego!

Sadly the **Team Calendar** is not available in our installation nor do I need it just for the calendar week feature on regular dates.

Do you know if there are any plans on adding this feature to the **Date Picker**?


author: Diego
body: Hello Martin!

Thanks for asking. Currently, adding this feature to the date picker is not within the Roadmap.

Great to have you here in the Community!


author: Rui Pinheiro
body: We would like this feature here. So sad it isn't available, we thought this DatePicker component would be the one with the nearest behavior than the Jira's date picker. :(


Tags: confluence-server

server
Team calendar: Problem with mail notification about new team calendar events
Asked by Angela Clement:

We use the team calendar plugin and are definitely not watching the calendar itself nor the page in which the team calendar is included. Nevertheless the users get email notifications about new events which are added to the calendar.

What also is strange is, that even the user who added the event himself gets a notification about this event.

Is there any way to turn these notifications off (as the usual ways do not work)?

We use conflucence server version 6.9.0 and Team Calendar version 6.0.25

Thank you!


Answers:
author: Jan
body: Hi Angela,

Could it be that these users are watching the entire space the calendar is assigned to? We were wondering about this, too - some time ago. With the former versions of Team Calendars you needed to watch the calendar itself to get updates by mail.

Since ? Team Calendars are always assigned to a space, which results in notifications when watching that space.

comments: author: Angela Clement
body: Hello Jan,

thanks for your answer. Unfortunately that does not solve my problem. When I go to the "Watches" page in my profil I do not watch any spaces nor pages. Nevertheless I get a notification when a collegue adds or deletes a new event. And I also do not watch the calendar itself (on the "my calendars" page the respective calendar is not watched).


Tags: confluence-server

server
copy pages - how to customise ALL page titles ?
Asked by Andrew Glossop:

this doesnt work:

replace title text - \*

with this text - \* (copy)

cant find any docs that covers using this find/replace


Answers:
author: Victor Mutambuki
body: Andrew,

Welcome to confluence.

Each page must have a unique title. Confluence won't save pages with same titles in the same space.

Victor

comments: author: Andrew Glossop
body: my question was how to use the filter to edit/replace and append a suffix to all the name. I can do this for a specific name, but I want something that works for ALL possible names


Tags: cloud

confluence-cloud
Can I use non-ascii letters like ?, ?, ? in space names
Asked by jarl-dk:

Is it possible to use non-ascii characters like ?, ?, ? in space names and space keys?

Jarl


Answers:
author: Diego
body: Hello there Jarl!

You should be able to create spaces with non-ASCII letters:

![Screen Shot 2019-02-06 at 11.04.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/44753i5C8478C51CF02A88/image-dimensions/517x207?v=v2 "Screen Shot 2019-02-06 at 11.04.00.png")

However, could you clarify a few points for us:
> 1. Are you facing issues when you try to **create spaces** with such characters?
> 2. Are you able to create spaces **without non-ASCII**characters?
> 3. Has this worked at some point **in the past**?
> 4. What are your results after **running the Encoding Test**?

If you never ran the Encoding Test, you can find more information about it here:

**[Troubleshooting Character Encodings](https://confluence.atlassian.com/doc/troubleshooting-character-encodings-167194.html)**

Let us know your thoughts on this!

comments: author: jarl-dk
body: In your screenshot it is not possible to see the space KEY. The KEY is used in the URL among other things, can the space key also contain non-ascii letters?


author: jarl-dk
body: I ask because my admin that is creating the space says that confluence does not support ?,?, ? in the URL for the space. The URL contains the key, right?


author: Diego
body: Alright, thanks for clarifying that Jarl!

As your admin noticed, you **can not** use non-ASCII characters as Space Key:

![Screen Shot 2019-02-06 at 12.10.37.png](https://community.atlassian.com/t5/image/serverpage/image-id/44768i0EEE822FDE46E912/image-dimensions/440x231?v=v2 "Screen Shot 2019-02-06 at 12.10.37.png")

And yes, when you create a page within Confluence, that page's link will contain the Space Key in it. Such as:

```
http://myinstance.url:8080/display/AEA/UMLAUT
```

This page is within the space I created earlier. The Space Key was automatically set as AEA due to the fact that the Space Name is set as **???.**

So no, the Space Key or URL will not / can not contain non-ASCII characters


author: jarl-dk
body: Thanks for clarifying.
Pagecounter on Titlepage
Asked by serc:

Hi guys, anyone knoe how i can start the page counter, after the titlepage?

actually im using this:

```
@bottom-right
{
content: counter(page) " / " counter(pages);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 9pt;
}
```


Answers:
author: Tobias Anstett _K15t_
body: Hi [@serc](/t5/user/viewprofilepage/user-id/2379213),

As far as I understand you example and the variables used, one of your counters uses the name "page".

First you will need to hide the page counter on your titlepage using css. Next you will need to make sure that you use the counter-reset function "counter-reset(page)" before your first 'real' page is rendered - doing so the first page should start with 1. Of course you need to do the same for the pages counter.

Btw. using [Scroll PDF Exporter](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence) this can be done in a graphical template designer.

Best, Tobias
Generate random ID in User Macro
Asked by Brian Mendes:

I've been using $action.dateFormatter.calendar.timeInMillis for a while now to create a random ID for some JS functions I call in my user macro but this doesn't seem to work anymore.

I use the same macro serval times in a page therefor I have to be able to distinguish between them. The macro generates an form and an email depending on what is selected in the editor (Installation request or Problem report).

Is there an other way to generate a random ID?


Answers:
author: Bill Bailey
body: Yeah, it looks like those methods are depreciated. Here is one thought, there is this method in the [general utils](https://docs.atlassian.com/ConfluenceServer/javadoc/6.14.0/com/atlassian/confluence/util/GeneralUtil.html) accessible via [Velocity](https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity/)

------------------------------------

#### getRandomSubSet {#toc-hId-1460539933}

```
public static?<T>?List<T>?getRandomSubSet(List<T>?list,                                          int?sizeOfSubset,                                          Random?random)
```

Returns a randomized subset of the list provided. If the size of the subset is larger than the list, the entire list is returned in a random order.

Parameters:
:   `list` - - the list to subset
:   `sizeOfSubset` - - the size of the subset to return
:   `random` - - the source of randomness

Returns:
:   a randomised subset of the list

------------------------------------

So create your list of some random set of IDs, then just select a subset of one element from your list randomly.


Tags: user-macro
I can't access new help center in jira.
Asked by Service Desk:

I tried to access through this procedure but i failed, i don't see this **project setting,**then i can go to portal setting

Any one who knows, please i need your assistance

1. Go to **Project settings** **\> Portal settings**

2. Click on **View and customize** under **Look and feel**

3. Toggle on the new experience under **Try the new help center**


Answers:
author: Manon Soubies-Camy
body: Hello [@Service Desk](/t5/user/viewprofilepage/user-id/2193055) and welcome to Community!

This is for Jira Cloud only, are you sure you have a Cloud instance? Is your Jira URL https;//\<yoursitename\>.atlassian.net?

- Manon

comments: author: Service Desk
body: Hello [@Manon Soubies-Camy](/t5/user/viewprofilepage/user-id/1215212), Thank you for responding from my question.

Yes I use jira cloud and my url is in this format https;//\<yoursitename\>.atlassian.net


author: Manon Soubies-Camy
body: Hi [@Service Desk](/t5/user/viewprofilepage/user-id/2193055),

Ok, are you a Jira administrator then? See [here](https://confluence.atlassian.com/servicedeskcloud/customize-the-help-center-954239157.html):
> As a Jira administrator, you can brand the help center
How to list users with access to a space using SQL
Asked by Janne Toikander:

We're using JIRA 7.13.0 and Confluence 6.14.0.

What I want, is a list of usernames who have at least "read access" to a space with key "LIMITEDSPACE".

User may exist via:

- Confluence Internal Directory

- Remote Jira Directory (which has users in internal JIRA directory and via LDAP directory)

How to achieve this?

All Atlassian docs I was able find was the opposite way (which spaces a user has access to, etc.)


Answers:
author: Shannon S
body: Hi Janne,

The issue here is that a lot of your users might not have been given explicit permissions to a space, but rather have permissions to access the space via a group.

I would recommend reviewing the following article for examples. Although the queries might not be exactly what you need, you should be easily able to rewrite them for your purposes:

* [How to List Which Spaces a User Can Access](https://confluence.atlassian.com/confkb/how-to-list-which-spaces-a-user-can-access-321258272.html)

Keep in mind that although you're using Jira Remote Directory, any users who have licensed access to Confluence can be found in the database under their user ID in user mapping.

I hope this helps! Let us know if you have any further questions.

Regards,

Shannon


Tags: atl-adm

confluence-server

jira

server

sql
Sort Sidebar Page Tree Permanantly
Asked by Jason Tolotta:

This refers to both **Confluence** **Cloud** and **Server**.

The sidebar page tree is not sorted alphabetically perpetually.

I know that I can sort the pages via the **Space Settings**, however, this does not persist and requires constant manual sorting via this screen.

I saw this page, but it is not an ideal solution.

<https://community.atlassian.com/t5/Confluence-questions/Sort-page-tree-in-sidebar-by-title/qaq-p/177757>

What are the exact steps to permanently sort the pages in the sidebar after new pages are created?

I have no restrictions to add CSS to site, if that is a solution.


Answers:
author: Jason Tolotta
body: The following worked with Confluence Server 6.13

1. Navigate to the **Space Tools** page
2. In the sidebar area, click the **Configure sidebar** link
3. Click the minus symbol next to the **Navigation display options** section to hide this
4. Navigate to **Look and Feel** \> **Sidebar, header and footer**
5. Add the following to the **Sidebar** ? section  
   **Page Tree**   
   {pagetree:root=Page Name\|sort=natural\|excerpt=true\|reverse=false\|startDepth=3\|expandCollapseAll=true\|searchBox=true}  

   \[OR\]  

   **Child Pages**{children:reverse=true\|sort=natural\|style=h4\|page=Home\|excerpt=none\|first=99\|depth=2\|all=true}

**References**

Page Tree Macro  
<https://confluence.atlassian.com/doc/page-tree-macro-163414255.html>

Children Display Macro  
<https://confluence.atlassian.com/doc/children-display-macro-139501.html>

comments: author: Andreas Schnederle-Wagner
body: unfortunately in CLOUD there is no "Sidebar" Option ... :-(


author: Clare
body: I'm having the same issue. I take meeting notes regularly and I'd like the most recent notes to automatically be at the top of the list of child pages but it always goes to the bottom. I'm not sure how to do this other than manually dragging the notes to the top each time.


author: Kristin Kilburn_ PMP _Administrator_
body: Is there a way in Confluence Cloud to set the sidebar to automatically alphabetize? This discussion provides a solution for non-Cloud, but what about Cloud?

Thanks in advance!


author: Douglas Martin
body: I also have the cloud version and this does not seem to address the issue. I would love to be able to have the sidebar page tree sort alphabetically perpetually.
Confluence had problems starting up
Asked by Tracom Services:

Hi,

We have had server installation of Bitbucket, Jira and Confluence in our systems. And they have been working normally without any issues.

Just recently, we updated the Jira from 7.4.2 to 7.13.1. When this was done. Jira and Bitbucket came up well.

But confluence was not able to fully start up. It brings an error:

"Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:mananagedjobs (Start and stop the Managed Scheduled Jobs)"  

<br />

We sought out to update Confluence as well from 6.11.2 to 6.14.0.  
But the Issue is still persistent.  

See attached the image of the error.![Confluence.jpg](/t5/image/serverpage/image-id/44562iA05682E0794A9CED/image-size/large?v=v2&px=999 "Confluence.jpg")


Answers:
author: Grigory Salnikov
body: Hello, [@Tracom Services](/t5/user/viewprofilepage/user-id/2020014) and welcome to our Community!

Do you happen to use H2 database? If so, please, see the related question and the discussion below it:

[Confluence had problems starting up after upgrading to 6.12.1](https://community.atlassian.com/t5/Confluence-questions/Confluence-had-problems-starting-up-after-upgrading-to-6-12-1/qaq-p/936375)

comments: author: Tracom Services
body: Hi,

No we don't use H2 but use PostgreSQL 9.6.4 on x86_64-pc-linux-gnu.
How to link related spaces to my space/page?
Asked by Joselle Varela:

Hi,

I am currently making a prototype knowledge base. The idea is, the knowledge base (space) contains all the solutions (detailed in pages) that we have. If there are related software projects to that solution, we can create a separate software project space.

My question is -- how can I automatically list (bullet point, preferably) the related project spaces to solution page in the knowledge base? I understand that there's a Space List macro, but the user can see a drop down and other text, which I want to remove.

Thank you!


Answers:
author: James Dellow
body: I built something like this as custom user macro for Confluence Server to show related pages - it used labels on the page that were dynamically inserted into the Content by Label macro. Unfortunately, achieving something similar in Cloud (to meet your specific requirements) but using the same basic approach will need a custom macro installed as an app.

The next best thing might be to try the Content by Label macro or the Page Properties macros.

If you use the Content by Label macro, you will need to come up with a unique label structure that is only used on home pages, but that may be hard to enforce. But it will give you a nice simple list of links.

Page Properties will give you a bit more control, but may not look as good because it will display a link to the page + 1 other column of data (you could add a description).

Another approach might be the Search Results macro, as it has an option to search the space description (you can use "OR" in the search to match on multiple keywords in the description across multiple spaces)- again the way that macro displays might not be great for your purpose.

However, in all cases you would still need to configure the macro on each page to manually set the labels/CQL/search term you want to match with.

A custom app would be the the most elegant approach.

comments: author: Joselle Varela
body: Hi James, thank you. I'm using the Content by Label macro to start. Testing it for a few days now shows that yes, it's possible to achieve this goal, but it can be messy to enforce. For now though... this works. :-)


author: James Dellow
body: Yes, sorry its not the neatest approach, but hope it gets you close to what you need working with out of the box features.


Tags: cloud

confluence-cloud

knowledge-base
Notify multiple recipients?
Asked by Jim clark:

We are using a template in Confluence and one of the fields is an Approver field. There are usually multiple approvers (@jll [@Dumont_Joe](/t5/user/viewprofilepage/user-id/443820) [@Bill Gray](/t5/user/viewprofilepage/user-id/664940), etc). Is there a way to notify all the users in the approvers field?


Answers:
author: Shannon S
body: Jim,

Just to clarify, this is just a field you created in Confluence that you are labeling as 'approvers' and you're not using any specific add-on to add approvals into Confluence, correct?

In a sense, you would require to notify anyone that you mentioned in that field but not on the entire page, is this correct?

What sort of things would you need to notify them on? For example, they are already going to be notified when they are mentioned on a page. Do you want to auto-subscribe anyone mentioned on the page so they get updates when the page is modified?

Shannon


Tags: confluence-server

server
Issue starting confluence after upgrade
Asked by System Admin:

Database: The database collation 'utf8_general_ci' is not supported by Confluence. You need to use 'utf8_bin'.

my.cnf

\[mysqld\]  
datadir=/db  
socket=/var/lib/mysql/mysql.sock  
character-set-server=utf8  
collation-server=utf8_bin  
default-storage-engine=INNODB  
user=mysql  
# Disabling symbolic-links is recommended to prevent assorted security risks  
symbolic-links=0  
#table_cache = 200 mysql 5.6 will not start if enabled.  
query_cache_size = 256M  
sort_buffer_size = 200M  
read_rnd_buffer_size = 200M  
join_buffer_size = 500M  
open_files_limit = 2048  
table_definition_cache = 1024  
transaction-isolation = READ-COMMITTED  
innodb_log_file_size=2GB  
max_allowed_packet = 256M  
binlog_format=row  
\[mysqld_safe\]  
log-error=/var/log/mysqld.log  
pid-file=/var/run/mysqld/mysqld.pid


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Robert Stogsdill](/t5/user/viewprofilepage/user-id/40502),

I understand that in my.cnf the collation is set to \*utf8_bin\*, but still you are seeing the database collation 'utf8_general_ci'

To address this issue, you need to change the collation at the Database, table and column level by following the instructions given in the below Atlassian KB article.

<https://confluence.atlassian.com/confkb/how-to-fix-the-collation-and-character-set-of-a-mysql-database-670958160.html>

I hope this information will be helpful.

Thanks,

Kiran.


Tags: confluence-server

server
Attachment Macro doesn't show list
Asked by Tim Savage:

Hello,

For some reason the Attachment Macro doesn't show any of the files that attached to the page. I want to show a list of all the files attached so that we know at a glance if a file was uploaded. I have included the macro into my page, but even though I have 2 files attached to the page, nothing shows up in the macro.

Please help.

Thanks,

Tim


Answers:
author: Davin Studer
body: Here's what I would suggest to start with.

1. Take a look at the properties of the macro and verify that the "Page title" field is empty. If the page field is empty it looks to the page the macro is on for its attachments.
2. Look at the "Attachment labels" field and make sure that is empty. If there is a value there then the macro will look for attachments on the page in the "Page title" field with that label. Any other attachments will be ignored.
3. Verify that your page does indeed have attachments.


author: Jason Jia
body: [@Davin Studer](/t5/user/viewprofilepage/user-id/781467)

I was about the issue the same question when I saw this one. I had the exactly same problem,. And I am sure space ID is correct, and when I click on the paperclip icon, there are all my attachments shown there.

After checking the properties of the attachments label, the attachment label is not empty, after I remove that one, the file list show up.

Thanks,


author: Jonathan Smith
body: [@Tim Savage](/t5/user/viewprofilepage/user-id/2487321),

Couple things to try:

* Edit the attachments macro and confirm it is pointing to the correct space ID (noted in the URL). If this is wrong, correct and save.
* Click the paperclip icon at the top of the page and see if your files display.


Tags: cloud

confluence-cloud
Need to delate user
Asked by Ana Gonz?lez:

Hi, I just added some users to Jira, but I added them with the wrong permissions, how can I solve this or delete this user?

Ana.


Answers:
author: Sloan
body: Hi Ana

Is this question for Jira Cloud or Server? I linked both documentations:

* For Server <https://confluence.atlassian.com/adminjiraserver/create-edit-or-remove-a-user-938847025.html>
* For Cloud <https://confluence.atlassian.com/adminjiracloud/creating-editing-and-deleting-users-794198944.html>

Regards  
Niklas


Tags: jira