youngmon/atlassian-qna huggingface dataset:
how to customize the code page of the commit git-hoock message box?
Asked by alexandr_dragunkin:

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

Windows operating system

I use the following script \\.git\\hooks\\commit-msg

#!/bin/sh

*d:/VENV37/Scripts/activate.bat*   
*COMMIT_MSG_FILE=$1*

*d:/VENV37/Scripts/python .git/hooks/commit-msg.py "$COMMIT_MSG_FILE"*

How to get the correct display of characters in the console if the file is in UTF-8?


Answers:
author: alexandr_dragunkin
body: In addition to the previous message

The terminal displays a message if I switch the character set to cp1251

But switching the encoding in \\.git\\hooks\\commit-msg.py to cp1251 does not give any result

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


author: alexandr_dragunkin
body: Won! Indeed, some kind of symbol crept in. This behavior occurs if, when writing text, you correct the spelling using PuntoSwitcher. Apparently, this program leaves some traces when correcting the text.

I had to rewrite the text of the message completely carefully by hand and everything worked.

![???????????_2023-09-08_205703268.png](https://community.atlassian.com/t5/image/serverpage/image-id/279628i581A192BB419202E/image-size/large?v=v2&px=999 "???????????_2023-09-08_205703268.png")

Everything is beautiful in the terminal!

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


Tags: server
Atlassian Companion will not start. System exception Couldn't acquire lock, is another instance runn
Asked by Roger S?derman:

When trying to edit a MS document through Companion 2.1.0 nothing happens except a pop-up asking me to download Companion again.

The log throws an error for

```
System exception Couldn't acquire lock, is another instance running

error: adc:auto-updater 2024-09-06T09:44:26.955Z Error: Command failed: 4294967295 System.AggregateException: Ett eller flera fel har uppst?tt. ---> System.Exception: Couldn't acquire lock, is another instance running 
vid Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 
vid Squirrel.UpdateManager.b__33_0() 
vid System.Threading.Tasks.Task`1.InnerInvoke() 
vid System.Threading.Tasks.Task.Execute() 
--- Slut p? stacksp?rningen fr?n f?reg?ende plats d?r ett undantag utl?stes ---

```

Further down more errors are captured like:

```
Could not get temp link information:

SyntaxError: Unexpected token '<', "?<!DOCTYPE "... is not valid JSON

Unable to JSON parse and extract response error responseText: undefined

Error parsing protocol link
```

Can you help me make sense of this. The companion app is essential for us to edit MS documents.


Answers:
author: Fadoua
body: [@Roger S?derman](/t5/user/viewprofilepage/user-id/5587599)

Welcome to the Atlassian Community!

Did it ever work before? Or did you just install companion?

Best,

Fadoua

comments: author: Roger S?derman
body: Thank you for having me.

I am working in the projekt responsible for rolling out Confluence in the organisation.

We have a completely new installation with a production server and a staging server for test and backup and it does not work on either, hence we believe it might be an issue with our setup.

When we did a PoC of Confluence a couple of years back, we did get it to work, But that was made by a different set of people no longer working with the company. It is our infrastructure team who is responsible for setting up the servers and the application. It is running on virtual machines.

Roger


author: Fadoua
body: [@Roger S?derman](/t5/user/viewprofilepage/user-id/5587599)

Companion has to be installed on your local machine not at the server level.

<https://confluence.atlassian.com/doc/install-atlassian-companion-992678880.html>

Let me know how it goes.

Best,

Fadoua


Tags: companion-app

confluence-data-center

data-center
Export to CHM
Asked by Nadja Pollard:

We are moving to Data Center from Server and one of our requirements is to export as CHM. The Scroll CHM export is retired/not available in DC, so what have you been doing to create CHMs in DC?


Answers:
author: Jim Knepley - ReleaseTEAM
body: I'm sad to say that I don't think there is a way for Confluence DC to natively export a Confluence page to a Compiled HTML Help file. I would be happy to be proven wrong.

There are several HTML-to-CHM tools for Windows and Linux, you could try to create a CICD process around one of those, triggered by a Confluence webhook.


author: Marc - Devoteam
body: Hi [@Nadja Pollard](/t5/user/viewprofilepage/user-id/77242)

DC is in base the same as server but a scalable solution.

You just need to replace the license key. There is no need to import or export data.

If you do require to export/import on space level, only xml can be used.

comments: author: Nadja Pollard
body: Sorry, I should have been more clear. I am making sure that once in the DC solution, we still can create CHMs for each space for our end-user product documentation. The Scroll CHM Exporter that we currently use is not supported in DC. I was wondering if there was a Confluence or plugin solution that can continue to generate this deliverable.


author: Marc - Devoteam
body: Hi [@Nadja Pollard](/t5/user/viewprofilepage/user-id/77242)

Confluence ootb doesn't support chm, only HTML.

On the marketplace there are no more solutions offered.


Tags: chm

confluence-data-center

data-center

export
Finding the new project functionality as a subuser
Asked by Sara Jacobs:

Hi there,

I am an administrator for Confluence but not the head one. I can't find the new BETA project functionality even though we are a BETA user of Confluence. The guide is not showing me how I should be able to access.


Answers:
author: John Funk
body: Hi Sara - Welcome to the Atlassian Community!

Can you share a link to the guidance here?

comments: author: Sara Jacobs
body: Hi [@John Funk](/t5/user/viewprofilepage/user-id/7148) thank you! this is the link <https://support.atlassian.com/platform-experiences/docs/what-is-a-project/>. My manager who is the lead administrator can't find it either, we checked and we are in Platform Experiences early access program (EAP).


author: John Funk
body: Ah, so this is the beta for Platform projects in Jira. You should be able to find it in Jira by clicking on the Projects menu at the top. I am not sure how the EAP is associated with Confluence though.


author: Sara Jacobs
body: [@John Funk](/t5/user/viewprofilepage/user-id/7148) Thank you, that is a shame though, would have been a great functionality in confluence especially if you would add the ability to have a dynamic roadmap on the back of that to share internally/externally/ wth the ability to share confluence pages.


author: John Funk
body: You should definitely offer those suggestions to Atlassian - those sound like great things!


Tags: beta

cloud

confluence-cloud

platform-experiences
Confluence page creation through API will be deprecated soon, and there is no replacement
Asked by Daniel de Cordoba Gil:

In my Jira Service Project, I have an automation rule to create a Confluence page on issue creation. I use this endpoint to do this:

* https://{your-domain}.atlassian.net**/wiki/rest/api/content**

But when doing this I am getting the following warning.

* **Deprecated API, will be removed on Mon, 2 Dec 2024**

According to what I have found, my new endpoint should be:

* https://{your-domain}**/wiki/api/v2/pages**

But when calling it, and changing the request structure to the new one, I get a 404 saying the endpoint does not exist.

How to fix it? I don't want my automation to stop working in 2 months, and all tutorials on these kinds of automation refer only to the old API, not the new one.

Thanks!

PS: In case you need to know, the reason why I don't use the Creat Page in Confluence action in automation is because it does not allow to specify smart values in the body of the page.


Answers:
author: Daniel de Cordoba Gil
body: Turns out, my authorization was incorrectly configured.  
The 404 was still responding NOT FOUND only, but I guess that is for safety.

Same as before, headers need to contains an Authorization field, with value "Basic \<base_64_api_token\>"


author: Lukas Nicolai_Seibert_Media_
body: Hey [@Daniel de Cordoba Gil](/t5/user/viewprofilepage/user-id/5555763) , if Atlassian is deprecating an API, I would suggest our app, [AutoPage](https://marketplace.atlassian.com/apps/1218503?tab=overview&hosting=cloud?utm_campaign=community_question_danieldelcordoba_september9th&utm_source=atlassian-community&utm_medium=organic&utm_term=utm_parameter&utm_content=textlink). You can easily create Confluence pages from Jira issues and add smart values to the body of the page. Hope that helps! :)


author: marc -Collabello--Phase Locked-
body: Can you post a screenshot of the details of your automation? A 404 response could also mean that permissions are not ok.


Tags: automation

cloud

confluence-cloud

jira-software
exported pdf has no title
Asked by Zhaocheng Zhou:

confluence version is data center 8.5.12, currently using the page export to pdf function, encountered a problem: the exported pdf has no title, and the table in the content does not have the first row of title content, only empty cells.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Zhaocheng Zhou](/t5/user/viewprofilepage/user-id/4997978) ,

I just tested on my instance and pdf export works correctly on Confluence 8.5.12.

Please could you provide a screenshot about your issue with pdf?

Fabio

comments: author: Zhaocheng Zhou
body: ![3781725860393_.pic.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/346440i2531AF6B6F390C78/image-size/large?v=v2&px=999 "3781725860393_.pic.jpg")


Tags: confluence-server

server
Delete my account
Asked by DANIELA CEREMIGNA:

Hello,

I am no longer in a company and I had a space of Atlassian-Confluence for it. I am the admin. Also, I would need to delete the account.

Any ideas, please?

My Confluence is deactivated. Will my organization still be able to open a different account with a second Admin?

Thank you.

Daniela.


Answers:
author: Halina Cudakiewicz_Deviniti_
body: Hi [@DANIELA CEREMIGNA](/t5/user/viewprofilepage/user-id/5587267)

You can transfer admin rights to another user or notify your IT team. Then, you can delete your Atlassian account.

If your Confluence account is deactivated, your organization can still access the space if another admin exists. They can assign a new admin to manage the instance. If your account is deleted but the space remains, other admins can still manage it.


Tags: cloud

confluence-cloud

delete
Tab pane not showing my table format
Asked by Lupita Espinosa:

Hi, we recently move to cloud, I am trying to use a Table inside a Tab pane macro, but my table is not showing outlines and also is very narrow.

Is there a way to fix this?


Answers:
author: Vronik
body: Hi

Look at this post, maybe can help you

<https://community.atlassian.com/t5/App-Central-articles/How-to-create-tabs-in-Confluence/ba-p/2465646>

<https://jira.atlassian.com/browse/CONFCLOUD-58656>

<https://community.atlassian.com/t5/Confluence-questions/Tables-within-tabs-not-working/qaq-p/868504>

Regards


Tags: cloud

confluence-cloud
Two verification records
Asked by Paul Takemura:

From quite some time ago, we had included within our DNS, a record to verify our domain with Atlassian. As an Admin, I recently commenced with the process to "Level up your security at \<our domain\>". I was asked to add a verification record. I did so, and our domain passed verification. I removed the old verification record, and was told that our domain could not be verified, so I added it back in.  

Now we have two verification records, which does not seem normal. What is happening?


Answers:
author: Shannon S
body: Hi Paul,

Welcome to Atlassian Community! It's nice to have you join us. I'm Shannon, with the Confluence Cloud team, and I'm happy to assist you.

It's certainly possible for your domain to have two verification records. For example, this can happen if you [verified a domain to manage accounts](https://support.atlassian.com/user-management/docs/verify-a-domain-to-manage-accounts/) and also [added the domain as an email domain](https://support.atlassian.com/organization-administration/docs/add-your-email-domain/).

It's perfectly normal, and you should leave those records as long as you plan to use those services.

If you have any concerns, please let me know and I can help you out.

**Shannon S \| Atlassian Cloud Support**

comments: author: Paul Takemura
body: Hi Shannon,

Thank you very much for your explanation! I will rest easy ...

Paul


author: Shannon S
body: You're welcome, Paul!

If you have any more questions about that, let me know! I'll be here.

Take care, and I hope you have a great rest of your week.

Shannon S \| Atlassian Cloud Support


Tags: cloud

confluence-cloud

not-applicable

user-management
How to render the all HTML pages with in a folder as individual tabbed pages in confluence
Asked by Gopisetty_ Durgesh:

![Screenshot 2024-09-08 235839.png](/t5/image/serverpage/image-id/346140i15E48F5461CE1B9B/image-size/large?v=v2&px=999 "Screenshot 2024-09-08 235839.png")


Answers:
author: Josh Costella
body: Hi [@Gopisetty_ Durgesh](/t5/user/viewprofilepage/user-id/5586911)

Check out some of the recommendations made here: <https://community.atlassian.com/t5/Confluence-questions/How-to-create-tab-containers-tab-pages-using-html-in-confluence/qaq-p/2447441>


Tags: cloud

confluence-cloud
?Para cuando las pizarras en tablet?
Asked by VIQ:

Mucho trabajo hoy en d?a se realiza desde tablet,s y movil.

Ser?a muy interesante el poder usar la pizarras desde la app o en el explorador.

Gracias


Answers:
author: Jack Brickey
body: Hi [@VIQ](/t5/user/viewprofilepage/user-id/5586912) , for this feedback I would use the in app feedback link. Click on the "?" Icon in the upper right.


Tags: android

app

cloud

confluence-cloud

tablet
How to upload a HTML files project folder with sub pages and supporting images to a confluence
Asked by Gopisetty_ Durgesh:

How to upload a HTML files project folder with sub pages and supporting images to a confluence


Answers:
author: Kristian Klima
body: Hi [@Gopisetty_ Durgesh](/t5/user/viewprofilepage/user-id/5586911) and welcome to the Community.

Short answer is... you can't unless you create a conversion tool that can process your HTML into an XML format Confluence can understand.

My team migrated hundreds of documentation pages into Confluence using a good old copy paste from static html sites rendered from other CMS tools like MadCap Flare, Paligo or Zendesk.

Confluence editor is good in dealing with that type of content and typically doesn't require too much cleanup. The only thing that needs to be done after you move the content using copy/paste is fixing the links which you would do during the post migration sanity check.

The point is that conversion tool WILL introduce formatting and style errors so a sanity check will have to be done anyway. And the time spent developing the conversion tool might be greater than the time spent copy pasting content from your source to Confluence.


Tags: cloud

confluence-cloud
Restore Pages
Asked by daniela_skums:

Hello, my org used Confluence and one of the users created a few pages. We shut it down for a while and activated it a few days ago. The user noticed that his pages were gone and he didn't delete them (so it doesn't appear in the archive/ trash), also we don't have a backup for Confluence (because it was off). Is there a way to restore those pages?


Answers:
author: Dhanush
body: Hi [@daniela_skums](/t5/user/viewprofilepage/user-id/5586782) ,

The rollback of your site is possible only if the site was deactivated within the last 30 days. However, your Confluence Cloud (Free plan) was deactivated on 21st July, which is beyond this 30-day window. We attempted to check if we had an automated snapshot from Amazon Relational Database Service (RDS) available from when your site data was still present, but unfortunately, it was deleted after 30 days of site deactivation.

We strongly advise making a backup of your Confluence or Jira site in the future to prevent such issues. We understand the inconvenience this data loss may cause and we apologize for it.  

Thanks,  
Dhanush

comments: author: daniela_skums
body: Oh.. okay, well thanks anyway! :) [@Dhanush](/t5/user/viewprofilepage/user-id/4466060)


author: Valerie Knapp
body: Hi [@daniela_skums](/t5/user/viewprofilepage/user-id/5586782) , welcome to the Atlassian Community and thanks for your question. To me, it sounds like your case is one where Atlassian would be best placed to help you, as they can access your instance and try to figure out what is going on. So, I will ask them to take a look at this question and they will reach out to you for more info.

Cheers

comments: author: daniela_skums
body: Thanks! [@Valerie Knapp](/t5/user/viewprofilepage/user-id/4929946)


Tags: cloud

confluence-cloud
how do i see it all ?
Asked by Nadav Aharon-Nov:

Im the admin of the entire confluence, yet my employees open articles / pages and if they dont share it with me i dont see them.. how can i make sure i see everything without asking them to share with me?


Answers:
author: Mohamed Riza _ServiceRocket_
body: Hi [@Nadav Aharon-Nov](/t5/user/viewprofilepage/user-id/5586773)

Spaces follow the space permission. Therefore even if you are an admin of the Confluence as a whole, if you are not given access through the space permission, you will not be able to see the space directly. However, as [Valerie](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4929946) mentioned, you can always gain any access to any space through the admin center by adding yourself to that particular spaces permission.

Hope that clarifies.


author: Barbara Szczesniak
body: [@Nadav Aharon-Nov](/t5/user/viewprofilepage/user-id/5586773) To add to everyone else's responses, you should consider that, even though you are the Confluence Admin, there may be content within the instance that you should not have access to. For example, company financial data/plans, personnel files, 1-on-1 meeting notes...


author: John Funk
body: Hi Nadav - Welcome to the Atlassian Community!

Yes, just because you are an administrator does not mean that you have unlimited access to all things. But you also will not know what you do not see if they don't let you know. Or you will need to go Space by Space in the Space Permissions to see if you can see them otherwise or who permissions are granted to.


author: Valerie Knapp
body: Hi [@Nadav Aharon-Nov](/t5/user/viewprofilepage/user-id/5586773) , welcome to the Atlassian Community and thanks for your question.

It sounds like you are not enabled to see the Spaces where some of your employees are working.

You can change this in the Admin Center in the 'Security' and then 'Space permissions' section. When you open this page, scroll down to the bottom to find the individual spaces. If your Space Admins aren't using the Default Space Permissions for the Confluence instance, they may have individual Space Permissions configured so only the people working there can see the pages. You can modify this by clicking on the link to 'Manage Permissions' to go into the Spaces and enable yourself.

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

I would encourage you to try to understand why people aren't using the Default Space Permissions. It's possible to modify the Default Space Permissions to get to a configuration that people are happier to use, then you won't need to do this again, if people create new Spaces from now on using the Default Space Permissions where you as the Product owner have access.

I hope this helps but if you have any questions, please just ask.

Cheers


Tags: cloud

confluence-cloud
API create page under another page using parent title
Asked by charleslcso:

Hello, from this [page](https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/#create-a-new-page-as-a-child-of-another-page) I can create a sub page under a parent page by specifying the parent page ID.

I need to use the parent's page title instead of ID.

is this possible?


Answers:
author: Andrii Maliuta
body: Hello [@charleslcso](/t5/user/viewprofilepage/user-id/748616) ,

For COnfluence Server/Data Center you can use this endpoint: <https://developer.atlassian.com/server/confluence/rest/v900/api-group-content-resource/#api-rest-api-content-get> - so you get page by SPACE_KEY and TITLE the same way as by ID.

```
http://{baseurl}/confluence/rest/api/content?spaceKey={KEY}&title={PAGE_TITLE}
```


Tags: confluence-server

server
How I can change the "owned by" person in the posts?, since she doesn't work for us anymore.
Asked by Natalia Gonzalez:

*** ** * ** ***


Answers:
author: Samuel Gatica
body: Hi [@Natalia Gonzalez](/t5/user/viewprofilepage/user-id/5586174)

Welcome to the community!

To transfer ownership to someone else, first open the **More actions (...)** menu.

* Select **View ownership** , then **Change owner**.
* Use the search field to find a new owner by name or email. The new owner must have access to the space and edit access to the item for you to be able to make them the owner.
* Once you've chosen the correct person, select**Change owner** to confirm the transfer.

You can find more info in this article: [Transfer ownership of your content item](https://support.atlassian.com/confluence-cloud/docs/transfer-ownership-of-your-content-item/)

Hope this helps!

Best regards

Sam

comments: author: Natalia Gonzalez
body: Thank you very much for your warm welcome, time and help.

I imagine I should have a specific permission to be able to do it, which one it should be? My boss is the owner of the account and wants to grant me this access.


author: Samuel Gatica
body: Hi [@Natalia Gonzalez](/t5/user/viewprofilepage/user-id/5586174)

To edit a page, you don't need to be the owner; you just need access to the Space.

* Go to the space in Confluence Cloud.
* Select Space Settings in the sidebar.
* Select the tab relevant to whose permissions you want to change:
  * Users to add or remove individual people, or change their permissions
  * Groups to add or remove groups, or change a group's permissions
  * Guests to add or remove guests, or change their permissions
  * Anonymous access to allow or block anonymous users from accessing your space, or to change what permissions they have in the space
* Select Edit.
* Find the row for the user, group, or guest and check or uncheck boxes for the available permissions

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

Ref. [Assign space permissions](https://support.atlassian.com/confluence-cloud/docs/assign-space-permissions/)

Best regards

Sam


author: Natalia Gonzalez
body: Thank you very much! I finally was able to have available the "change owner" option, but when I attempeted it prompted me "Failed to transfer ownership". By any chance do you know if there is any workaround?


author: Samuel Gatica
body: Hi [@Natalia Gonzalez](/t5/user/viewprofilepage/user-id/5586174)

Please ensure that you have Admin permissions for the Space whose ownership you wish to modify.

Best regards

Sam


author: Natalia Gonzalez
body: I understand I do have the permission, my boss provide it. Just don't understand why is not allowing me to make the action possible.


author: Samuel Gatica
body: Hi [@Natalia Gonzalez](/t5/user/viewprofilepage/user-id/5586174)

Can you provide the steps to see if I can reproduce this internally and a screenshot of the error?

Thanks

Sam


Tags: cloud

confluence-cloud