youngmon/atlassian-qna huggingface dataset:
pageid vs page name
Asked by Ross Ursula:

Created pages sometimes show in the browsers url at the and the pageid, somtimes the page name.

Why is there a difference and how can I have influence on that?


Answers:
author: Aron Gombas _Midori_
body: As far as I know, it depends on whether the page name can be safely encoded in the URL.

For instance, if the page name uses Latin characters only and it is relatively short, it is safe and readable in the URL, so Confluence prefers that. But if it is very long or if it uses "more exotic" characters, the URL would become ugly, and Confluence decides to identify the page by its ID.

It is a convention that has been in place since very-very old Confluence versions.

(You can always use the ID in the URL, even when Confluence prefers the name.)

comments: author: Ross Ursula
body: Thank you Aron, that was very helpful!

Can you tell me how I always get the ID in the URL, even when Confluence prefers the name? I can see the ID when I go to "View Storage Format" but I don?t get the document to be saved with the ID in the URL.


author: Aron Gombas _Midori_
body: Ross, I went as far as I looked this up in the Confluence code.

Please see the comment about the logic that chooses between name-based and ID-based URLs:

```
public static String getPageUrl(AbstractPage page) {
if (page == null || (page.isLatestVersion() && page.getSpace() == null))
return "";

String title = page.getTitle();

// only use simple/nice page url if the page does not contain:
// - non-ASCII characters
// - '+' or '-' characters because these can be picked up by the insert and stripe through filters
// - double quotes (") because orion doesn't play nicely with them (CONF-1287)
// - ends in punctuation (CONFDEV-3995)
if (isSafeTitleForUrl(title) && page.isLatestVersion())
return toDisplayUrl(page);
else
return getIdBasedPageUrl(page);
}
```


author: Niranjan
body: [@Ross Ursula](/t5/user/viewprofilepage/user-id/4108164) - Page IDs do not change whereas page names can be changed. Page name works fine for searches. I am unsure of your use case, but if it is about automation, you can prefer page ids for page references.


Tags: confluence-server

server
Change font-size of digi accordion
Asked by Anita Pinto:

Hi

Can anyone help me to change the font-size in a digi accordion.

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: What do you mean by "digi accordion"?

comments: author: Anita Pinto
body: Hi Nic

Thanks for replying. Digi Accordion is a marketplace addon for Accordions (i.e. expandable panels).

From what I understand from my search is that Accordion had 3 parts the heading, title and body section.

I was able to style the heading and the body section but not the title section which controls the font size and font weight. I believe the title section uses the attributes h3 to h6 for font-size.

But I was able to change the font color from the heading. I used the following class to change the color of the panel \& font color.

.panel \> .panel-heading

Thanks


author: Anita Pinto
body: [https://marketplace.atlassian.com/apps/1219725/digi-formatting?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1219725/digi-formatting?hosting=server&tab=overview)

Hi Nic, do not worry about it, as someone already requested for this feature. See extract below.

Thanks for your help any way.

Anita

===

atlassian.net

Hi Digi team,

Previously we have said that we didn't want a H4 to be used in the title of Digi Accordion macro. (Issue [](https://bitbucket.org/digixperience/digi-formatting/issues/2/digi-accordion-appearing-in-table-of "Digi Accordion appearing in Table of Contents")[#2](https://bitbucket.org/digixperience/digi-formatting/issues/2/digi-accordion-appearing-in-table-of "Digi Accordion appearing in Table of Contents")).

However, since then we have found there are occasions where it would be useful to have a title appear as a heading. But for this to be optional. So the option to make the title just paragraph text (like it is now) OR a H1,H2,H3 or H4 (to appear in the table of contents if desired).

Regards

Peter


Tags: confluence-server

server
CanI edit a Google Doc from within a page after adding via the widget macro?
Asked by Christopher Wilkins:

Hey all, relatively new to the world of Confluence so forgive me if this has been asked and answered several times before.

So I have set up pages for users and added a google sheet. Whilst this pulls an image of the sheet which is super cool, can i edit the sheet directly from confluence rather than having to use the actual google sheet?

This would be a massive time saver and awesome function if possible.


Answers:
author: Diego
body: Hello there. Nice to have more people joining our team!

You should be able to edit files if the following plugin is installed:
> * [++***\[Atlassian Marketplace\] Google Drive for Confluence (Official)***++](https://marketplace.atlassian.com/apps/1213092/google-drive-for-confluence-official?hosting=cloud&tab=overview)

Here is our documentation on the app:
> * [++***\[Confluence Support\] Insert the Google Drive macro***++](https://support.atlassian.com/confluence-cloud/docs/insert-the-google-drive-macro/)

Let us hear from you!


Tags: cloud

confluence-cloud
escaped signs at project.organization.name in pom doesn't work with atlassian-plugin.xml
Asked by IT-Services:

Hello,

during developing an App, I have the following problem. Our company name, which I have added at the organization - tag at the pom, contains an \& sign. For the pom, this works perfectly when it is escaped like \&amp;

\<organization\>  
\<name\>Company \&amp; name\</name\>

When I create a plugin via the atlassian sdk, by default, the atlassian-plugin.xml contains the following section  
\<vendor name="${project.organization.name}" url="${project.organization.url}"/\>. E.g. if I run atlas-package, I get the following error:   

ERROR\] Failed to execute goal com.atlassian.maven.plugins:confluence-maven-plugin:8.1.0:test-jar (default-test-jar) on project tracking: unable to modify plugin.xml: Error on line 5 of document : Auf "\&" in der Entityreferenz muss umgehend der Entityname folgen. Nested exception: Auf "\&" in der Entityreferenz muss umgehend der Entityname folgen. -\> \[Help 1\]

If I change \<vendor name="${project.organization.name}" url="${project.organization.url}"/\> also to \<vendor name="Company \&amp; name" url="${project.organization.url}"/\> it works as a workaround.

This problem occurs generally, independently of the System like Confluence, Jira, ... .

So is it possible, to fix this, that this \<vendor name="${project.organization.name}" url="${project.organization.url}"/\> works for the atlassian-plugin.xml?

Thanks and with friendly regards


Answers:
author: Nic Brough -Adaptavist-
body: This is a problem with maven, not the Atlassian stuff. The simple answer from them is to not use control characters in fields intended for plain text.


Tags: app

confluence-server

development

server
Globale Confluence activity not working
Asked by MS:

Hello,

we can use the app confluence usage statistic and we can see the space statistic.

The problem is, that we can not use the global activities statistics.

In attachment you will find a screenshot of the error page. Can you please fix it!

Best regards

Marcus


Answers:
author: Diego
body: Hello [@Marcus](/t5/user/viewprofilepage/user-id/4081148) !

As I understand the Confluence Usage Stats plugin throws an error when you try to access it.

First thing I need to tell you is that there are no screenshots attached to your question. Would it be possible for you to send one with the reply to this comment? Please, keep in mind that our community is an open space and everyone can see everything that is posted here. Be sure not to disclose any sensitive information with the screenshot.

*Also, keep in mind that the plugin is disabled by default due to the performance impact it may inflict on instances.*

You can check more details about it here:
> * ++***[Viewing Site Statistics](https://confluence.atlassian.com/doc/viewing-site-statistics-123043962.html)***++

Let us hear from you!


Tags: confluence-server

server
Gibt es eine M?glichkeit auf einer Seite einen bestimmten Textabschnitt unsichtbar zu machen?
Asked by Angelika Schmid:

Gibt es eine M?glichkeit auf einer Seite einen bestimmten Textabschnitt unsichtbar zu machen?


Answers:
author: Sven Schatter _Lively Apps_
body: Hallo Angelika,

Ich bin mir nicht genau sicher was mit Textabschnitt gemeint ist. Generell aber, um Dinge zu verstecken die sich im Nutzer Interface befinden kann ich unsere App [HideElements for Confluence](https://marketplace.atlassian.com/apps/1211757/hideelements-for-confluence?utm_source=atlcom) empfehlen. Geht es um Text der sich als Inhalt in von euch angelegten Confluence Seiten befindet, kann ich [Visibility for Confluence](https://marketplace.atlassian.com/apps/202/visibility-for-confluence) empfehlen.

Cheers,  
Sven


Tags: new-to-confluence
Error in migration from Cloud to Confluence Server
Asked by Manuel Calder?n:

Following, I shows the error that appeared after install my export file .zip in the free 30 days trial.

Cause  
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isShowSignUp' in class com.atlassian.confluence.user.actions.LoginAction threw exception java.lang.NullPointerException: Application cannot be null at /login.vm\[line 6, column 28\]  
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342)

caused by: java.lang.NullPointerException: Application cannot be null  
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:895)


Answers:
author: Diego
body: Hello [@Manuel Calder?n](/t5/user/viewprofilepage/user-id/4107435) !

This error could be related to the order in which your user directories are currently set. More specifically, how they are listed in your database. Usually means that no directory with the index of 0 exists.

You can check more details about it here:
> * [++***\[Confluence Server\] Confluence returns system error due to 'Invocation of method 'isShowSignUp' in class com.atlassian.confluence.user.actions.LoginAction threw exception java.lang.NullPointerException at /login.vm'***++](https://confluence.atlassian.com/confkb/confluence-returns-system-error-due-to-invocation-of-method-isshowsignup-in-class-com-atlassian-confluence-user-actions-loginaction-threw-exception-java-lang-nullpointerexception-at-login-vm-693899125.html)

Even though we have this document about the issue, I would like to ask you a few questions:
> 1. *What version of Confluence are you currently running?*
> 2. *What is the operating system of your server?*
> 3. *Was Confluence working before the Cloud import?*

Let us hear from you!

comments: author: Manuel Calder?n
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952)thanks for your reply!!

I answer your questions below:

1. Confluence 7.4.4
2. Windows 7 64 bits
3. I would like to migrate from Cloud to Confluence server, but the thing is that I can't star the server before the Cloud import.

Before our answer, I was thinking that the problem could be that I don't have the required permissions to start running the server... is it a possible cause?

Thanks!!


Tags: cloud

confluence-cloud
How to I attach an emoji to a pages title?
Asked by Hubert Brzuchalski:

How to I attach an emoji to a pages title?


Answers:
author: Mario Abud
body: Hi [@Hubert Brzuchalski](/t5/user/viewprofilepage/user-id/4024336) ,

Search your emoji <https://emojipedia.org/>, and then copy and paste the emoji in the title.

Best regards


Tags: cloud

confluence-cloud
Accessing Child Pages via a Parent Page
Asked by Himanshu Shrivastava:

I am currently not able to access/open any Child Pages from a given Parent Page in Confluence. When I click on the Child Page I get the error "**Could not load child pages**"

I tried using different browsers IE, Chrome etc. but still the same issue. Also, I was able to access it ok till past couple of days, but suddenly started getting this error. Not sure why as nothing has changed on my laptop.

Also note that I can still access the Child Page if I copy the Child Page URL directly on the browser, just that I cannot do this via navigation from Parent Page. It is not possible to save/bookmark each and every Child Page URLs hence this is a big inconvenience for me and something I'd like to get help to get it fixed ASAP. I will greatly appreciate your inputs.


Answers:
author: Tyson Wells
body: Hi Himanshu,

Did you ever figure this out? I am having the same issue.


Tags: child-page

confluence-server

server
Space Re Naming
Asked by ian woods:

Hi All,

Hope someone can help me with this. I am using the free version of confluence cloud and I am trying to rename a space and have looked up solutions on the web.

They all say to go to the space, click on space settings and then under the overview click the edit button for space details.

I have done everything up to the edit button for space details which doesn't seem to be appearing on that part of the page.

Can anyone help me with this? It seems like it should be straight forward but alas a glitch has been found.


Answers:
author: Daniel Eads
body: Hi Ian, welcome to the Community!

As Kristin mentioned, it's possible you're not a space administrator for the space in question. Here's a quick screenshot of the controls you'd see, with space administrator permissions:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/112639iB97D22D3F06DE018/image-dimensions/435x333?v=v2 "image.png")

Given the age of your Confluence site, I think it's also possible you might be affected by an issue that kept people from being added as space administrators on the space that Confluence creates by default. You can see the details of this issue here: [CONFCLOUD-69052](https://jira.atlassian.com/browse/CONFCLOUD-69052)

If this happens to be the case, you'll want to upgrade to the Standard edition of Confluence (even as a free evaluation) in order to regain permission to the default space. Here's how you would do this in detail:

1. Navigate to *yoursite* .atlassian.com/admin, click **Manage subscriptions** on the left sidebar, and then click the Change link in the Confluence section  
   ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/112640i020EFCE710C57610/image-dimensions/396x163?v=v2 "image.png")  
   You'll need to switch from *Free* to *Standard* in order to proceed. Don't worry - Standard can be trialed as a free evaluation.  
2. Regain permissions to the space by:
   * Navigating to**Settings\>Space Permissions\>** **Recover Permissions** and selecting the default space  

     OR  

   * Open a case with Atlassian Support at support.atlassian.com/contact
3. End your Standard evaluation if you wish, by changing your edition back to Free in the Manage Subscriptions section of your site administration

Cheers,  
Daniel


author: Kristin Lyons
body: Are you an administrator of the space or a confluence administrator?

comments: author: ian woods
body: yes for confluence not for the space


Tags: cloud

confluence-cloud
Key value pairs supported in confluence articles?
Asked by Michael Jeszenka:

Hello,  

I'm wondering if it is possible in confluence to define key-value pairs that I can reference in my articles. For example, if I have a url that I will include in my documentation on several difference articles, I would like to define that url once as a key value pair and simply reference that key in each of my articles, instead of entering the url. This way if the url ever changes, I can edit it in my key value pair and have it reflected on every article that it was referenced from.  

Is something like this possible?


Answers:
author: Daniel Eads
body: Hello Michael, welcome to the Community!

This is an interesting use-case. I understand you're hoping to define an item once (in this case, a URL) and re-use it multiple times across Confluence. I can think of a few various ways that similar things can be done:

1. [The exerpt macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-macro/) may be the most straightforward way - on a page, you add the **excerpt** macro and put the text you want to reuse inside it. On separate pages (your articles in this case), you use the **excerpt include** macro to bring in the excerpt from the first page. A single edit on the first page updates the text in all the subsequent pages you used the excerpt include macro on.
2. It's possible to use a Glossary app for something like this (a little more in-line than an excerpt). The term would be the key part of the keypair, and the definition would be the URL you want to link to. Updating the glossary definition would be the way to update the URL. [Check out the Glossary apps available for Confluence Cloud here](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=glossary) .
3. URL shortening services are also a great way to solve this. You can create a shortened URL, and update the "actual" link endpoint at the shortening service if it changes in the future. [This article outlines some URL shorteners](https://medium.com/@golinks/the-full-history-of-go-links-and-the-golink-system-cbc6d2c8bb3) that might be the cleanest-looking options.

Cheers,  
Daniel


Tags: cloud

confluence-cloud
Confluence Cloud - Option to Move a page/tree not appearing
Asked by Greg Williams:

I'm attempting to assist a user in moving a page to a new Space but the option to **Move** is missing from the list of options.

* I have admin rights to the tenant and to the Space itself. I even set myself up as an individual user to ensure I had all the permissions necessary at the Space level during troubleshooting.
* I checked and it is not in the "Orphaned Pages" tab in the settings. In fact there are no "Orphaned pages" on this Space.
* The page in question is a parent page. Child pages to this one can be moved.
* Other pages within the space can be moved. The option appears for them when selecting the 3 dots in the upper right of the pages.

If you look at the screenshot you will see to what I'm referring. The page name is "Player Testing" and it has the "\>" next to it (expanded to show child pages). Child pages to this one can be moved. (e.g. "Player Analysis"). Other "Parent" pages above (blurred out by request) can also be moved if we were to choose to do so.  

![2020-09-30_17-06-07.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/112509iA47A01EF8948C99B/image-dimensions/500x306?v=v2 "2020-09-30_17-06-07.jpg")

Is there something I'm missing or a setting I'm overlooking? Thanks!


Answers:
author: Balavinayagamoorthi Ramasamy
body: When i see the screenshot, i understand, this page has EDIT restriction to you,

Please add yourself in the allowed user list or remove restrictions.

comments: author: luke.vandam
body: Worked for me, thanks.


Tags: cloud

confluence-cloud

move

page

tree
Not seeing custom fields in jiraissues macro
Asked by Ian Prisk:

I have added fields to my issues types, but am not seeing those fields when using the /jiraissues macro on Con

I am an administrator level user in Jira, using in this case a next-gen jira project


Answers:
author: Fabian Lim
body: Hi [@Ian Prisk](/t5/user/viewprofilepage/user-id/3461684)

There is a thread here that may have a workaround for your issue: <https://community.atlassian.com/t5/Confluence-questions/Jira-Issue-Macro-not-showing-custom-field-value-in-Confluence/qaq-p/1495475>

Regards


Tags: cloud

confluence-cloud

issue
Is there a way to see who and when an item was added to Confluence Calendar?
Asked by Dailin Young:

How can i see who added an item to Confluence Calendar?


Answers:
author: Fabian Lim
body: Hi [@Dailin Young](/t5/user/viewprofilepage/user-id/3812789)

You can start watching a calendar and you will get notified when new entries are added.

Instructions: <https://confluence.atlassian.com/teamcal/watch-a-calendar-247070749.html>

Thanks


Tags: confluence-server

server
What is the difference between confluence attachments vs. attachments uploaded by users?
Asked by P:

In Confluence versions 3-6, there are attachments that are built into the system (like global logos and various fav-icons.PNG). You can see more information about them here: <https://confluence.atlassian.com/doc/changing-the-site-logo-138567.html>

After Confluence is installed and ready for use, users can begin to upload their own attachments.

My Question : How can you tell the difference between attachments that come bundled with confluence 6.2 and ones the user uploaded in the database?

In the database, we can run the following query:

```
SELECT * from CONTENT where CONTENTTYPE='ATTACHMENT'
```

This gives a list of all the attachments in the database (favicon.PNG files as well as user uploaded ones).

How do I modify the SQL query to give a list of only user-uploaded attachments? Could it possibly be:

```
SELECT * from CONTENT where CONTENTTYPE='ATTACHMENT' and spaceid != 0 
```

I would appreciate an answer from Atlassian database team.

Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: Confluence databases are slightly more clever and explainable than Jira databases, but they still really do have the same attitude that Jira does - it's a data store, not a database, and hence the worst possible way you can possibly try to read the information in it (not data, information).

Too much of the logic is done in the code.

There is no easy way to distinguish between "system", "space", or "page" attachments, let alone the others, or the stuff thrown in by apps.

Whatever you are trying to do here, I would strongly recommend moving to use the REST API instead of database reads.


Tags: confluence-server

database

server

sql
Updating an outlook email on Confluence using Atlassian Companion
Asked by Sunjoo.Kim:

I'm trying to update an outlook email on Confluence using Atlassian Companion. I get to open, edit and save it, but then the 'update' button doesn't activate. The status doesn't progress here. Please see the image below. Could you help?

![confluence outlook.PNG](/t5/image/serverpage/image-id/112488iC30B6E2E29164E0E/image-dimensions/472x507?v=v2 "confluence outlook.PNG")


Answers:
author: Alex K
body: Hi [@Sunjoo.Kim](/t5/user/viewprofilepage/user-id/4107118) ,

Does Outlook save the new email 'in place", or does it do a "save as"? If we are saving a new copy of the email, then Companion will not be able to track the change and re-upload it to Confluence.

Do other file types and other applications work with Companion?

Regards,  
Alex

comments: author: Sunjoo.Kim
body: Hi Alex,

I saved the updated email 'in place.'

I haven't tried any other file types with Companion yet. This is my first time.

Thanks,

Sunjoo


Tags: cloud

confluence-cloud
A Page with this Name Already Exists Error
Asked by Jeremy Cohen:

While working on a page I created, I went to publish the changes and got an error that the page already exists. I just powered through by adding a one to the title, but I can't find this other page to delete so I can change the title back. How do I get to chose the title I want for the page?


Answers:
author: Bill Bailey
body: Two possibilities:

1. You are not authorized to view the page
2. Page was deleted, but not removed from the trash bin

Talk to your admin.


Tags: cloud

confluence-cloud