youngmon/atlassian-qna huggingface dataset:
How do I create a master branch?
Asked by roni hoffman:

I cloned a repo into an empty folder. Usually when I do this a master branch is created automatically by default but for some reason this time it isnt. When I add files to the cloned folder source tree does not recognize any working copy changes. How do I resolve this? If I try and just add a master branch it gives me the error

git -c diff.mnemonicprefix=false -c core.quotepath=false branch master  
fatal: Not a valid object name: 'master


Answers:
author: colinwiseman
body: My solution to this was to hit the "create .gitignore" file in the UI for the new repository. Bitbucket then created Master for me.


author: Martin Thomsen
body: If this is still a problem, try checking you global .gitignore file. It could be that the file you want to add are ignored. I had a similar issue, and found the problem was that \*.txt was added to my global .gitignore file, you can probably find the file in your user directory: \~/.gitignore


author: Jobin Kuruvilla [Adaptavist]
body: You don't need to create master branch. When you add the new folder and commit the changes, it goes under "master" by default.


author: Balram uxd

author: roni hoffman
body: Yes I tried that and I can't commit anything because sourcetree doenst recognize that any files have been added ot the folder. I think it may have something to do with the fact that there was another user that set this souretree up. I have logged him out everywhere.

sourcetree.PNG  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-do-I-create-a-master-branch/qaq-p/420217?attachment-id=2745){#link_1169badaa5e7b0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/24506/1/sourcetree.PNG){#display_1169badaa5e7b0_0}

comments: author: Jobin Kuruvilla [Adaptavist]
body: What happens when you navigate to that folder in command line and try "git status"?


author: Tim Crall
body: I would definitely recommend trying to resolve this issue from the command line first.One thing I've found sometimes when really weird stuff like this is happening is that it turns out the SourceTree is not looking at the directory on the local computer file's structure that I thought it was. Working at the command line makes this more obvious. The results of "git status" and "git branch" commands when in the repo at the command line will be informative.


author: Tim Crall
body: Jobin's answer should normally be correct, but it sounds like you already know that and that something weird has happened. What do you see if you do a "git branch" command at the terminal?

I would probably try just cloning again to see if it works as expected this time. If not, try creating a new folder, cd'ing into it (at a unix or Git Bash terminal) and doing

```
git initgit remote set-url origin &lt;remote-repo-url&gt;git pull
```


Tags: branch

clone

repository
Is there a git-cal or git-stats feature on sourcetree?
Asked by Paulo Silva:

Just like the title says,

<https://github.com/k4rthik/git-cal>

<https://github.com/IonicaBizau/git-stats>

provide similar features. I would like to know if there is such a feature on sourcetree, and how to use it?

Thank you.


Answers:
author: Timothy
body: Yes. But as a paid add on (<https://marketplace.atlassian.com/plugins/com.stiltsoft.stash.graphs/server/overview>).

comments: author: Seth
body: Those addons are for Bitbucket Server (formerly Stash). SourceTree doesn't support them (or any other calendar-based view) in its interface.
How to enable STASH host type in Source tree?
Asked by Paul Barnard:

I have SourceTree running on two computers (my laptop and my desktop). On the laptop I have several repos linked to our corporate STASH server. It works great. On my desktop I can not select a host as being STASH. STASH simply does not appear in the dropdown choices. I have killed all SourceTree items in preferences and application support. I have downloaded the latest version and replaced the app. No change. I can find nothing in the preferences or any reference to this in web searches. I must be missing something obvious but this is driving me nuts.

This is the remote account setup on the desktop

Screen Shot 2015-12-21 at 15.47.54.png

This is the remote account setup on the laptop

Screen Shot 2015-12-21 at 15.58.03.png

[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-enable-STASH-host-type-in-Source-tree/qaq-p/13894?attachment-id=7224){#link_11737756b3bb56}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/394/1/Screen%20Shot%202015-12-21%20at%2015.47.54.png){#display_11737756b3bb56_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-enable-STASH-host-type-in-Source-tree/qaq-p/13894?attachment-id=7225){#link_11737756b3bb56_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/394/2/Screen%20Shot%202015-12-21%20at%2015.58.03.png){#display_11737756b3bb56_2}


Answers:
author: Seth
body: There's been some rebranding going on. Bitbucket Server is the new name for Stash.

<https://www.atlassian.com/software/bitbucket/server>

comments: author: Kurt Newcomb
body: when you use Bitbucket Server and input a STASH url it fails.
Is there a way to get the amount of all the attachments and what type are?
Asked by Jairo Mu?oz Bola?os:

Is there a way on the Confluence Cloud version to know how many PDFs, png, and doc files the instance has?


Answers:
author: Brant Schroeder
body: [@Jairo Mu?oz Bola?os](/t5/user/viewprofilepage/user-id/4583615) Currently in cloud there is not a means to do this. I would suggest voting for this feature enhancement as it is similar to your request <https://jira.atlassian.com/browse/CONFCLOUD-75846>

comments: author: Jairo Mu?oz Bola?os
body: Got it!

Thank you so much for the answer.


author: Barbara Szczesniak
body: [@Jairo Mu?oz Bola?os](/t5/user/viewprofilepage/user-id/4583615) I'm not sure if this will resolve your issue, but, if you have access to the **Space Settings** , you can go to **Manage Pages \> Attachments** to see a list of all attachments in the space. You can filter by file extension and count the number of files of each type. There appear to be 20 files listed per page.

comments: author: Jairo Mu?oz Bola?os
body: Thank you [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859), Yes I thought about that, the problem is we have hundreds of spaces...

I submitted a support ticket and they were able to send me a file with all the attachments and their extension, so I filtered and worked fine.


Tags: cloud

confluence-cloud
Is there a limit to the number of images I can add to a page and link to another?
Asked by LAMPEREVOLINSKI, DEBRA:

* I created a page and uploaded three images (PNG files at 150 px each) and linked each to a unique page.
* A few days later I wanted to add two more images with links.
* I uploaded one image, created the link and saved/updated the page.
* One image then immediately disappeared from the page, resulting in only 2 images now visible.

How can I upload images so that more than two display? And is there a limit to how many can be uploaded? Ultimately, I'd like at least twelve (12), however an infinite number is preferred. Sincere thanks!

![Confluence Image Limitation.png](/t5/image/serverpage/image-id/278306iE953033D172A1847/image-size/large?v=v2&px=999 "Confluence Image Limitation.png")


Answers:
author: Brant Schroeder
body: [@LAMPEREVOLINSKI, DEBRA](/t5/user/viewprofilepage/user-id/5306254) welcome to the Atlassian community

You can add a lot of images to a page. I think eventually it might make the page load slower but we have pages that have 30-40 images on them. Are the images that you are adding the same name? I have seen individual have issues when they add images that all have the same name.

comments: author: LAMPEREVOLINSKI, DEBRA
body: Hello Brant. The images all have unique names and average 15KB each. Might it be a setting?


author: LAMPEREVOLINSKI, DEBRA
body: ![2023-09-01_08-46-57.png](https://community.atlassian.com/t5/image/serverpage/image-id/278913i91585EBAF5578BE9/image-size/large?v=v2&px=999 "2023-09-01_08-46-57.png")


author: Brant Schroeder
body: No you should be good to go. Not a setting issue maybe it is a browser / browser plugin issues. What browser are you using? Have you tried another browser?


author: LAMPEREVOLINSKI, DEBRA
body: I recreated the page and the issue seems to be resolved. Thanks for the replies and all the best!


Tags: confluence-server

image

server
SQL DBUser Permissions for Confluence setup
Asked by IESAdmin:

Hi

I am trying to setup the Confluence with Microsoft SQL and i have a question about the user explicit permissions if this code will work

USE {DBNameHere};  
GRANT ALL PRIVILEGES TO {UserDBUSerName Here};  
GO


Answers:
author: Brant Schroeder
body: [@IESAdmin](/t5/user/viewprofilepage/user-id/5306273) Welcome to the Atlassian community

I would suggest following the guide that Atlassian provides here: <https://confluence.atlassian.com/doc/database-setup-for-sql-server-9258.html>

comments: author: IESAdmin
body: ok


author: Brant Schroeder
body: [@IESAdmin](/t5/user/viewprofilepage/user-id/5306273) can you accept this to help others find the answer to this question?


Tags: confluence-server

server
Risk Matrix/Assessment/Register for Confluence Data Center Plugin
Asked by Z H:

Hello,

Is there a plugin for Confluence Data Center for Risk Maxtrix/Register/Assessment or anything similar to that? Cannot locate anything for Data Center hosting environments, only for Cloud.

Many Thanks,

Z


Answers:
author: David Pinn
body: Risk Register offers a gadget that can be embedded in a Confluence page. Instructions [here](http://docs.projectbalm.com/risk-register-documentation-(data-center)/reports-and-dashboards-(data-center)/).

David Pinn  
Vendor of Risk Register

comments: author: Z H
body: [@David Pinn](/t5/user/viewprofilepage/user-id/551057)

Many Thanks for your assistance!


author: Z H
body: [@David Pinn](/t5/user/viewprofilepage/user-id/551057)

Can you provide some Sample Data for this gadget and Plugin? My Team and I are looking at different options to configure this plugin into our environment.

Thanks,

Z


author: David Pinn
body: I'm not sure what you mean by sample data. You will find helpful resources, including a User Guide, videos, case study, and FAQ on the ProjectBalm website at <https://www.projectbalm.com/resources>.


author: Laurie Sciutti
body: Hi [@Z H](/t5/user/viewprofilepage/user-id/5052520) \~ are you looking for a template? If so, just download this Cloud one and import into your DC space: <https://www.atlassian.com/software/confluence/templates/risk-assessment>

comments: author: Z H
body: Hi Laurie,

Thank you so much for getting back to me. I'm looking more for a plugin, similar to Risk Register for Jira. Not a template to be exact.

Thanks,

Zahin


Tags: confluence-server

server
Updates to Confluence forge-app requires re-approval from Users
Asked by giri.venkatesan:

I believe an upgrade to the Confluence cloud app built with Forge UI automatically updates all the installation. However, does an individual user has to approve/accept again in order to get the upgrade.

NOTE: The app uses Confluence User object to store some metadata (secrets).

Is this expected or any alternative approach to bypass user re-approval (grant permissions) again.

Please advise.


Answers:
author: Aron Gombas _Midori_
body: You have go through the "Approve access" interaction *only* if the new app version requires additional permissions! If it doesn't, then there is no AA.

For example, you installed and approved app version 1. But then the developer added a new feature which requires an additional permission, which was not required by app version 1. If he releases this as app version 2, then after updating to version 2, the user has to approve it again.

It does make sense.

Also, note that Atlassian plans to remove the whole AA in the next months. Theoretically it is a correct thing to do, but it is really cumbersome.


Tags: cloud

confluence-app

confluence-cloud
is it possible to change the owner of a space?
Asked by devin.burnam:

In working broadly in documentation, I create spaces for teams to use. Ultimately, it would be beneficial for someone within the team to be the owner of the space. Is this a possibility? I have researched this before and found that it was not a possibility, but there was the somewhat recent roll out of the ability to change the owner of a \*page\* (maybe in May of this year?) and was curious if something similar was possible with a space. I didn't find any obvious options within space permissions, space settings, etc.

Thanks for any info!


Answers:
author: Kian Stack Mumo Systems
body: [@devin.burnam](/t5/user/viewprofilepage/user-id/4636259),

The space owner has no special permissions. Just make sure to add the user into the space admin permissions.

Thanks,

Kian


author: Aron Gombas _Midori_
body: There is no dedicated "space owner" feature in Confluence. Even "page owner" is a relatively new concept, as you noted, and it is limited to one owner per page, there is no bulk-update, etc.

In the [Better Content Archiving for Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview) app, any page or blog post can have any number of owners. Plus, an owner can own a whole page tree! You just have to make him the "tree owner" of the root page and he will own all descendants.:

![quick-actions-dialog-set-owner-cloud-png-1840?900-.png](https://community.atlassian.com/t5/image/serverpage/image-id/278407i646885BBBEEC3476/image-size/large?v=v2&px=999 "quick-actions-dialog-set-owner-cloud-png-1840?900-.png")

It means that if you make someone the "tree owner" of the space homepage, then voila, he owns all content in the space!

[Learn more about owning pages and page trees](https://midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/manage-the-content-lifecycle/quick-actions#set-owner)

*(Discl. it is a paid and supported app developed by our team. Free for 10 users!)*


author: Adrian H?lsmann - B1NARY
body: There is no native space owner feature in Confluence. However, space owners are built into [**Breeze**](https://marketplace.atlassian.com/apps/1227647/breeze-document-management-and-archiving-for-confluence?hosting=cloud&tab=overview) to establish ownership on the space level and make use of it in reviewing and archiving workflows as part of your content lifecycle management strategy.

![Bildschirmfoto 2023-09-01 um 22.11.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/278531iAEF487C3478C0732/image-size/large?v=v2&px=999 "Bildschirmfoto 2023-09-01 um 22.11.50.png")![Bildschirmfoto 2023-09-01 um 22.11.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/278530iCB89A97282A59BAF/image-size/large?v=v2&px=999 "Bildschirmfoto 2023-09-01 um 22.11.36.png")

If you like to see how Breeze works, you are welcome to schedule a demo via [**this link**.](https://calendly.com/adrianhuelsmann/breeze-demo)

Cheers, Adrian (I am one of the developers of Breeze).


Tags: cloud

confluence-cloud
I cannot add images or videos to a space.
Asked by Jamie Mielczarek:

I cannot add images or videos to a space. When i do i just get stuck in a loop where the chat sonic logo keeps getting added. Ths site then crashes


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Jamie Mielczarek](/t5/user/viewprofilepage/user-id/5306144) Welcome to Atlassian community!

The free version of Confluence comes with 2GB of storage and a [100MB size limit for each attachment](https://support.atlassian.com/confluence-cloud/docs/configure-attachment-size/), are you sure you are [not hitting the limit](https://support.atlassian.com/security-and-access-policies/docs/track-storage-and-move-data-across-products/)? is your video bigger than 100MB?

Can you explain further on the Confluence crash? do you see a message saying that the confluence crashes? share a screenshot so we can understand better.

comments: author: Jamie Mielczarek
body: If you have the Chat Sonic extension on google chrome you cannot add videos and images. the CS logo keeps getting added and confluence freezes. I have switched to micfrosfot edge where we don't have the CS extension and do not expereice the same issue


Tags: cloud

confluence-cloud
What is the differentce between Team and Group in Jira?
Asked by Paula MEN?NDEZ:

Hi! pretty new to Confluence here.

Can anybody help me undersand what is the difference between Groups and Teams ?

I'm aware that Groupes are created by the Admins and used to attribute permissions. However I have trouble understanding the use of a Team ?

I have a french Confluence so maybe i'm translating wrong the names but in French it is "Groupes" and " Equipes" .

Thanks in advance!!


Answers:
author: Craig Nodwell
body: Hi [@Paula MEN?NDEZ](/t5/user/viewprofilepage/user-id/5290339) groups are managed at the admin level teams are for collaboration. [Here's a page reference for your review](https://www.atlassian.com/blog/confluence/teams-and-people-profiles).


Tags: cloud

confluence-cloud

new-to-confluence

new-to-jira
Is it possible to remove the space before a bulleted list?
Asked by Jason Hollins:

Is it possible to remove the space before a bulleted list?


Answers:
author: Kseniia Trushnikova
body: Hi [@Jason Hollins](/t5/user/viewprofilepage/user-id/5304579),

Can you share a screenshot of your page so we can better understand the issue?

comments: author: Jason Hollins
body: ![SS IPBA.png](https://community.atlassian.com/t5/image/serverpage/image-id/278318iC7DA2940B1653C46/image-size/large?v=v2&px=999 "SS IPBA.png")

Yes, I'm trying to remove the space after "Note (as of 8.31.23):" before the bulleted list. I will have several of these and it adds a lot of space to the table making for more scrolling when I have several rows of information with these extra spaces.  

Microsoft Word has an option called "Remove space after paragraph". That's what I'm hoping for. It's an auto-space that follows 'paragraphs'.


author: Kseniia Trushnikova
body: [@Jason Hollins](/t5/user/viewprofilepage/user-id/5304579), indeed lists have a 10px margin on top which adds that space.

CSS customizations are not yet available for Confluence Cloud, but here's the suggestion you can vote for and watch: <https://jira.atlassian.com/browse/CONFCLOUD-36137>

There may be some add-ons in the marketplace that will help with CSS, but unfortunately I can't recommend anything.


author: Jason Hollins
body: Thank you Kseniia :)


Tags: cloud

confluence-cloud
Is there a way to link to an Anchor that is within an Expand macro?
Asked by englund.david:

I have Expand macros on a page that have Expand macros within them. And, those have Anchor macos/names attached to them. Normally, when you use an Anchor from another page you have "\[page url\]#anchorname." But that doesn't appear to work when the Anchor(s) are \*within\* Expand macros content.

Are there any ways around this? Is there a way to create a link that takes the user to that page, opens the particular Expand macro, and goes to the particular Anchor?


Answers:
author: Brant Schroeder
body: [@englund.david](/t5/user/viewprofilepage/user-id/5154882) It should bring you to that part of the page but it will not expand it. So it ends up not working well. There is a feature request here that you can vote for <https://jira.atlassian.com/browse/CONFCLOUD-27357>

comments: author: Brant Schroeder
body: [@englund.david](/t5/user/viewprofilepage/user-id/5154882) please accept the answer to help others and get them to vote for the feature as well.


Tags: cloud

confluence-cloud
How do I add a label to an individual blog post, not the entire blog?
Asked by Jens Haulund:

I cannot add a label to an individual blog post. I can add a label to the blog.


Answers:
author: Andy Gladstone
body: [@Jens Haulund](/t5/user/viewprofilepage/user-id/5306163) welcome to the Atlassian Community!

Labels are added AFTER the blog or page has been published. You can do it by pressing the 'L' on your keyboard or clicking on the +Add label dialog on the bottom of the blog page.

![Labels.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/278344iD04479FB8FEEBF17/image-size/large?v=v2&px=999 "Labels.PNG")

I hope this helps!

comments: author: Jens Haulund
body: Thanks Andy - This only labels the blog. I want to label individual blog posts.![Screenshot 2023-08-31 at 5.13.49 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/278345i38C077D1D35E15CE/image-size/large?v=v2&px=999 "Screenshot 2023-08-31 at 5.13.49 PM.png")


author: Andy Gladstone
body: [@Jens Haulund](/t5/user/viewprofilepage/user-id/5306163) I'm not sure what the issue is, but on that same page I posted in the screenshot above I just added 3 labels with no problems. Are you using the word 'tag' and 'label' in a different context than I am understanding?

See below.

![Labels2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/278351i1E83DF11EC819437/image-size/large?v=v2&px=999 "Labels2.PNG")


author: Jens Haulund
body: [@Andy Gladstone](/t5/user/viewprofilepage/user-id/3498028) I can also add the labels to the blog. It is the individual blog COMMNENTS I want to label.

![Screenshot 2023-08-31 at 5.38.45 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/278352iB5AB6E066D12A601/image-size/large?v=v2&px=999 "Screenshot 2023-08-31 at 5.38.45 PM.png")


author: Andy Gladstone
body: **Comments** on blogs and pages do not allow for labels/tags. The functionality is only meant to categorize the page or blog, not the comments on the blog or page.


author: Jens Haulund
body: I was afraid that would be the answer. Thanks for looking into this for me [@Andy Gladstone](/t5/user/viewprofilepage/user-id/3498028) .


author: Andy Gladstone
body: You're welcome. Please mark the answer as accepted - not all answers are a YES, but if it's the correct answer it helps others find (and trust) it when the original questioner marks it as accepted.


Tags: cloud
Happiness meter in Confluence
Asked by Michael Schlueter:

We are looking for a simple way to retrieve frequent feedback from our Confluence users. Like the happiness meter at airports. A simple question "How are you today?" with a simple range of choices.

Has anyone already implemented something like this? Maybe there's an app or a sample for an user macro?


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Michael Schlueter](/t5/user/viewprofilepage/user-id/544617) I believe you'd need an app for that. Here is a list I found in Atlassian marketplace:

* [https://marketplace.atlassian.com/search?hosting=server\&product=confluence\&query=feedback](https://marketplace.atlassian.com/search?hosting=server&product=confluence&query=feedback)

comments: author: Michael Schlueter
body: Thank you for the advice. I will look into it.


Tags: confluence-server

data-center

migration-customer-care

server
Need help to add a new row and pass values to a table using Python
Asked by Jag:

Hi,

First of all I am new to use atlassian api for python.

I need your help to create the python code to add a new row with 11 columns at the end of an existing table in our confluence page and save the page. So please help me on it with the required script.

Thanks in advance.

Regards

Jag


Answers:
author: Jag
body: I got the solution by converting the existing table to a dataframe and then used concat function to add the new rows to the bottom of the existing table.

Thanks


Tags: confluence-server

python

server
API key never working
Asked by Yejin Seo:

My colleagues and I who uses confluence API, all are having trouble logging in with API keys. We always get 401 authentication failure when using confluence API with API keys, but the API works fine with id and password login.

Can I get help to resolve this?


Answers:
author: Akbar Gulaliyev
body: Hey [@Yejin Seo](/t5/user/viewprofilepage/user-id/5306125) !  

Try to use authentication with bearer token, not password.   
Here are some instructions: [Using Personal Access Tokens \| Atlassian Support \| Atlassian Documentation](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html)


Tags: server