youngmon/atlassian-qna huggingface dataset:
Why can I log in to the website, but not SourceTree?
Asked by LynnCo AppSupport:

I cannot log in to SourceTree using my BitBucket or Atlassian account. I can immediately switch to a web browser on the same machine and connect to both, but neither will let me connect via SourceTree.

Atlassian says : "Something went wrong while attempting to validate your credentials."

BitBucket says "Invalid URI: The hostname could not be parsed."

I'm trying to connect directly as I don't have a Google account.


Answers:
author: Ana Retamal
body: Hi, welcome to the Community! We'll need more information to narrow this issue down and help you solve it, can you answer the following:

1. Are you using Windows or Mac?
2. If Windows, is Internet Explorer updated to the latest version?
3. Which Sourcetree version are you using?
4. Are you using Bitbucket Cloud or Server?
5. Can you send a screenshot of the error you get?

Kind regards!

Ana
How to track history of hotfix branch names when the branch is deleted
Asked by Andrew Cumming:

In fost of the workflows I have seen, it looks like when you create a hotfix, you branch off release, fix the bug and merge back to release and probably master. If the branch was named say hotfix-123 becaus that was how you refer to it on your issue tracking system, then when you delete the branch, you lose the name. If you dont delete the branch, you'll end up with a large number of branches that will just be noise for normal work unless you want to refer back to that particular hotfix.

If you delete the branch, how do people track this back to their issue tracking system ? The only way I can see so far would be to either tag the branch and push the tags back to origin, or make sure your initial commit of the branch contained a reference to the hotfix id.

Are there any better alternatives or is this all thats available ?

This assumes the branch is deleted after its been merged. I notice the visual of the branch remains, just the name is removed.


Answers:
author: Mikael Sandberg
body: Hi Andrew,

Welcome to the Atlassian Community.

The merge commit contains the source branch of your merge, so if the hotfix branch was deleted you can always recreate it using that commit. You can also use git reflog to restore deleted branches, have a look at [How to restore a deleted branch](https://confluence.atlassian.com/bbkb/how-to-restore-a-deleted-branch-765757540.html).

We are using both Bitbucket and Jira and track it based on the pull request, so even if the branch has been deleted, we have a record of the merge and all the commits that was part of it.


Tags: git
SourceTree commit author change/update
Asked by Michael:

I have clear the "Default User Information" save, then re-type and save but still again remote: ERROR: committer email address "xxxxxxxxxxxxxxxxx"

is ridiculous this error is so good software but this bug need to be fixed


Answers:
author: Yogesh Mude
body: Hi [@Michael](/t5/user/viewprofilepage/user-id/1424997)

Welcome to the community!

If you want to change the user/committer email address for a single project then use the below command.
> \> git config user.email

For global use
> \> git config --global user.email

To check configuration information use
> \> git config --list

comments: author: Michael
body: [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678)thanks for you replay

already I have done this, also i have changed and manual and this

but for one reason it takes the windows credential email ,

was wokring ok ,

i have to install and to install again and after that ...it is not working

the committer email address is wrong all the time

i have cleat the APPDATA files but still nothing

:(


Tags: commit
I want to use Sourcetree+Bitbucket for version control in an existing unity project. How?
Asked by chrixxxtopher:

I have a unity project I have been working on for the last 6 months.

I need to use sourcetree+bitbucket for version control. How do I do this? \[macosx\]

**What I have tried :**

- I have watched [this](https://www.youtube.com/watch?v=wsEtPegJ2YI&frags=pl%2Cwn "A youtube video explaining how to use Sourcetree"). This set me up a remote Repository that is linked to a *copy* of my project. Project changes I make do not reflect in Sourcetree because it is a copy. This also lead me to copy ALL files, including unwanted files. I think this is because I saved my gitignore file as gitignore.txt. (How do you make a .gitignore?)

**What I want :**

- I want my *current* project code to be linked up with sourcetree/bitbucket.

- I want a .ignorefile to be setup correctly

Example: I want to edit a line of code in one of my scripts, go over to Sourcetree and see that I did so.

**What is an acceptable answer :**

1. Instruct how to do the above without the use of the command line.


Answers:
author: Yogesh Mude
body: Hi [@chrixxxtopher](/t5/user/viewprofilepage/user-id/1545666)

welcome to the community!

If you have an existing project then follow the below steps to user Bitbucket and Sourcetree.

1. Create Project and then Create an empty repository in Bitbucket.

2. Clone the empty repository through Sourcetree.

3. Whenever you will changes to file of the local working directory then the Sourcetree will automatically track the changes.

4. Using Sourcetree you can do the commit and push the changes to the remote repository (Bitbucket).

5. you can ignore the files in two ways.

a. Globally

git config --global core.excludesfile

git confir --global core.excludesfile '/etc/gitignore'

Open the gitignore file and add the file extension that you need to in=gnore.

Ex : \*.bak or \*.out files need to ignore

b. Locally

Create a .gitignore file and then add the file extension live we did in global.

Ex : \*.dll - To ignore the File  
Ex : tmp/\* - To ignore a directory and the files in it

comments: author: chrixxxtopher
body: Thank you for the welcome!

Please remember this is all new to me and you shouldn't assume I know anything.

*Your instructions were not clear.*

1. I still cannot "edit a line of code in one of my scripts, go over to Sourcetree and see that I did so".

2. I still do not know how to "make a .gitignore"...nor do I know how to set it up correctly for a Unity project.

**What is an acceptable answer :**

Instruct how to do the above *without the use of the command line.*

Assume I am 12 years old, then explain this to me again.

Thank you for your patience.
Permission denied (publickey)
Asked by johannesdorsey:

I have checked and followed every step after the connection wend away. I have tried to make a new ssh key in bitbucket. did didn't work. Also adding a new key in terminal didn't work. aldo sourcetree recognize te bitbucket cloud account reposities. I can't pull or push anything anymore. every time a see.

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

Please help?


Answers:
author: Manju
body: If you have recently restarted your Mac, please check if the ssh-agent has your keys loaded. If not, please add them to the agent.

Run below commands in terminal to do so,

To check if keys are loaded:

```
ssh-add -l
```

To add keys to agent:

```
ssh-add <path_to_key>
```

more like,

```
ssh-add ~/.ssh/id_rsa
```

Key in the passphrase used while generating the ssh key and you should be good to go.

comments: author: johannesdorsey
body: sorry thats no solution to my problem.


author: Manju
body: Can you add the response of ssh-add -l here?


author: johannesdorsey
body: Problem is solved. I don't know if This is a permanent solution, but I have removed the remote reposities. Then pair the SSH keys. Then push the local reposities back to a new remote repositie, and everything works Again. Maybe Luck, I don't know, but the problem is solved.

Thanks for the support.

sincerly,

Johannes Dorsey


Tags: bitbucket
Remove unrelated remotes on push - SourceTree
Asked by chris del:

When I try to push to a remote for a single branch, Sourcetree by default shows all the remotes and sets my local push to all of them. I can't see an example of this ever being useful.

How can I disable this? I want ONLY the branch I am pushing to show up. I've tried clicking the boxes on the side, but there is no instructions on what these even do.

This is for mac. I want this to behave the way it does on windows, where it just pushed automatically and does not ask me which branch I want to push to. It should be obvious I think.

![Screen Shot 2018-06-20 at 1.06.51 PM.png](/t5/image/serverpage/image-id/24997i55AA8EDBBBA545B8/image-size/large?v=v2&px=999 "Screen Shot 2018-06-20 at 1.06.51 PM.png")


Answers:
author: Manju
body: These are all local branches that have changes on your local repo. It would be great if you can submit a ticket with all details, issues you see and recommendations on <http://jira.atlassian.com/browse/SRCTREE>


Tags: mac
Unable to clone a specific repository - remote end hung up unexpectedly
Asked by Mahesh Khambadkone:

We've been trying to clone this repository all day (<https://bitbucket.org/games2win/template>) , but keep hitting this error :

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree clone git@bitbucket.org:games2win/template.git /Users/mahesh/Projects/ff.git

Cloning into '/Users/mahesh/Projects/ff.git'...

warning: templates not found /usr/local/git/share/git-core/templates

packet_write_wait: Connection to 104.192.143.2 port 22: Broken pipe

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

Completed with errors, see above

<br />

Not facing this error with our other repos.  
What can be the cause?


Answers:
author: Mahesh Khambadkone
body: The problem was solved by using a faster connection


author: Manju
body: Are there large files in this repo and does it have LFS enabled?

comments: author: Mahesh Khambadkone
body: Yes, there are. lfs is not enabled.


author: Manju
body: Can you enable LFS on this repository and see if it solves the issues?


author: Mahesh Khambadkone
body: It already is.

An updated that the cloning works on a lan, but fails on our WiFi.


author: Manju
body: My best guess is that some of the files aren't being able to be downloaded on the wifi network due to its size. Please try cloning via command line and if it fails there as well, it is mostly a network issue.


author: Kiran John
body: Some of the users are facing same issue,we have increased the buffer size however the issue still persist

Kindly help us the solve the workaround
Every time new sourctree becomes avaiable
Asked by kuno vaik:

Every time new sourctree becomes avaiable its getting WORS, and mutch mutch WORS, Why is that ?  
Now i can not even execute Clone in Sourctree link, it does not do anything.


Answers:
author: Manju
body: Could you please specify what version of Sourcetree you are using and on what OS?

Kindly include specific steps, error messages, screenshots and logs if available to help you resolve the issues.

Thanks!
Could I use Source tree for Windows Server 2016?
Asked by Vitaliy Gordin:

Windows Server 2016 64 bit

When I am installing it, I can not registered account. I have popup windows with message "Please wait" . For the Windows 7,I installed it.


Answers:
author: Vitaliy Gordin
body: Windows Server 2016


author: Vitaliy Gordin
body: ?


author: Julian Governale
body: On the server can you log into what ever source control system you are using via the web browser? I know on our server 2016 we needed to allow all the ports on the bitbucket cloud IP list to be able to access the site and configure source tree to communicate with Atlassian SSO in our case.

<https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html>

comments: author: Vitaliy Gordin
body: I didn't use any source control via the web browser. I used it from visual studio. Could you send me instruction with setting for this? I use Azure services the virtual machine with Windows Server 2016


author: Julian Governale
body: I do not use VS with sourcetree, just github and bitbucket which is where testing to see if you can access the repo's via the web browser would tell you if there ports blocked on your server.
How do I create a macro that adds 3 years to the last update date?
Asked by Jenny O_Connell:

I am inserting a Page Properties macro with a table of document info including the date of the last update but we need to enter the date of next review manually.

Is there a way I can **add three years to the "last update" to set a review date automatically?**

PS I am really new at using macros in Confluence, just hoping that it is possible to do.


Answers:
author: Stiltsoft support
body: Hi [@Jenny O_Connell](/t5/user/viewprofilepage/user-id/5411782) ,

You'll need a 3rd party app to calculate dates in Confluence.

For example, we can suggest trying our [Table Filter, Charts \& Spreadsheets](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?hosting=cloud&tab=overview&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app and its [Table Transformer](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-transformer-macro-42241552.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro. You'll be able to add time periods to your dates and set statuses if the review date is coming close.


Tags: cloud

filter

questions-for-confluence

table

table-filter

table-filter-and-charts

table-transformer
Can't access permissions for space
Asked by Tim S:

I am the site admin for our confluence site, and the creator of all spaces. I have been the admin from the start and no other site-admins have ever been added.

For one particular space (I think it may have been the first one created), I cannot access the space permissions.

When I try to follow the instructions for recovering permissions, I go to the admin space permissions page, but the page is covered with a modal titled "Upgrade for space permissions" and I can't access the controls on the page.

I do note that for every Space listed in the greyed out page, the space in question is the only one that does not have a "Manage Permissions" link under the "Operations" heading. This field is blank.

How can I restore myself as a space admin for this space?

(Free plan)


Answers:
author: Ivan Lima
body: Welcome to the Atlassian Community.

If you're on a free plan, you need to upgrade your plan to change permissions and then grant space admin permissions to yourself, regardless of whether you're a space admin. Assuming the space was created with default permissions and nothing has changed after that, you can check the default permissions to confirm groups with space admin access and confirm you're a member of any of those groups.

comments: author: Tim S
body: There has only ever been a single site admin - me, and I created this and all other spaces.

I believe this was the first space ever created - why have permissions disappeared for this space?

This has all the hallmarks of a bug that has occurred along the way as the application is updated - why do we need to upgrade our plan for something we didn't cause?


author: Ivan Lima
body: I understand your frustration, and there is indeed something odd based on your description. In the meantime, you can upgrade as a trial to access the features you need to update your permission settings. That's my immediate suggestion so you can easily and quickly get it "fixed." You would also get visibility of the audit logs, which will provide the history of changes within your site. Thus, you can confirm the bug you're referring to and then raise it with Atlassian.


Tags: cloud

confluence-cloud
How do I reactivate an external user's Atlassian Account?
Asked by Jennifer Beatty:

I invited an external user to our companies confluence pages. When I reviewed my user access list, I noticed her account was deactivated. I am unable to reactive her account per Atlassian because I do not own her domain. Her company does not use confluence and doesn't have an admin team to reactive her. Does anyone know how to solve this problem?


Answers:
author: Aswin Raj D
body: Hello [@Jennifer Beatty](/t5/user/viewprofilepage/user-id/5323062) ,

Reach out to Atlassian Support for assistance. They can often help with account-related issues, even if you don't have control over the external user's domain. Also, request the external user to check their email, including spam or junk folders. Sometimes, Atlassian sends activation or reactivation emails, and the user might need to follow a link to reactivate their account. Ensure that you have the necessary permissions to invite external users. If all else fails, Atlassian support is your best bet for assistance in resolving account-related issues.

[Atlassian Support](https://support.atlassian.com/)

comments: author: Jennifer Beatty
body: Thank you for the answer! I will give that a try.


Tags: cloud

confluence-cloud
SOP Repository
Asked by Autumn Perry:

Hi! We are looking to leverage a platform for SOP creation, approval, version control, and distribution with an easy search function. Is Confluence a viable solution? I'd love to see how others set this up!


Answers:
author: Grecia Camacho
body: Hi Autumn, my name is Grecia Camacho, solution advisor at Appfire. We are the creators of Comala Document Management. I would like to hear more about what you are looking for and see if Comala and Confluence fit you!  
Should we connect? My email is grecia.camacho@appfire.com  
Shoot me an email and maybe we can set a lil meeting to get to know each other :)

comments: author: Grecia Camacho
body: you can always raise a ticket as well and we will help you: <https://appfire.atlassian.net/servicedesk/customer/portal/11>


author: Jenny O_Connell
body: Hi Autumn, I am new here too but my organisation uses Confluence and Comala together to do this. I can't give much detail because I am just learning myself now.


Tags: cloud

confluence-cloud
How to put text in front or on top of an image?
Asked by Guillaume Mercier:

Everything is in the question.


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

To get text "in front of" an image, you will need to open the image in an image editor, and paste the text in over the top of the image.


Tags: cloud

confluence-cloud
Is there any way to vertically align table cells or even any content in any way?
Asked by Guillaume Mercier:

I want to create pages where's there is a description text on the left or right of an image and make both of them vertically align to each other.


Answers:
author: Ankush Bora
body: In foresight and with minimal context provided in the question, a probable way which I could think of is leveraging the options under '*Page Layout* ' in '**Edit** ' mode.  

Based on your requirements, you may create necessary sections in your Confluence page and customize them using the sectional layouts. The left/right align customization may have to be done independently for each section.

comments: author: Barbara Szczesniak
body: [@Guillaume Mercier](/t5/user/viewprofilepage/user-id/5411701) I do what [@Ankush Bora](/t5/user/viewprofilepage/user-id/5396017) has suggested.

I insert a 2-column layout, and then put my steps or other text on the left and my image on the right (or the other way around if that makes more sense on the page).

Based on the size of my image, I might use the layout where the 2 columns are the same size or the one where the left or right column is wider.


Tags: cloud

confluence-cloud
Confluence XML
Asked by Jerome Carter:

I have data on various HTML pages that I would like to merge and use as a single Confluence page. I can see the **ac** tags within a sample page but it is not clear what values after the tag mean. I could guess about most of them, like **layout, layout-section, layout-cell,** but it is not clear what the quoted value for **ac:maco-id="a series of hex strings"** would mean. There are several instances in my sample that are all different.

Are these documented anywhere?

![confluence xml sample.PNG](/t5/image/serverpage/image-id/301827i4F8C9F04C57FAFC5/image-size/large?v=v2&px=999 "confluence xml sample.PNG")


Answers:
author: Laurie Sciutti
body: Hi [@Jerome Carter](/t5/user/viewprofilepage/user-id/5409983) and welcome to the Community! Have a look [here](https://confluence.atlassian.com/confkb/writing-advanced-user-macros-1189784673.html). There are some links throughout the page and at the end of the doc that might provide some insight. HTH


Tags: confluence-server

server
Error when editing 'argument content is null'
Asked by Margaret Hassall:

We are getting the following error on some pages:

"argument 'content' is null".

We are still on the Server version of Confluence and just upgraded to v8.5. The error appeared after the upgrade and only on a few pages with large content in tables. The pages are based on templates.

Thanks.


Answers:
author: Basar Beykoz
body: Hi everyone,

This is Basar from Atlassian. This issue is identified as a bug and logged here:

* [CONFSERVER-92486 - Multipart request form parameters are subject to a limit of 4096 bytes](https://jira.atlassian.com/browse/CONFSERVER-92486)

As [@jim romaine](/t5/user/viewprofilepage/user-id/513241) mentioned, setting the '*struts.multipart.maxStringLength* ' value to a higher value in *confluence.cfg.xml*is the initial workaround.

If you are on **Confluence 8.5.5 or 8.7.2 and higher versions** , we don't suggest using this workaround as it may heighten the risk of DDoS attacks, especially if your instance is public. Instead, we introduced a new [system property](https://confluence.atlassian.com/doc/recognized-system-properties-190430.html), which only increases the value for authenticated users.  

    -Dmultipart.authenticated.max.param.length=

All the details can be found in the below KB article:

* [Error 'argument content is null' when saving a page](https://confluence.atlassian.com/confkb/error-argument-content-is-null-when-saving-a-page-1346051912.html)

<br />

Hope this helps,  
Basar


author: jim romaine
body: We are currently attempting a solution provided from this question and appear to have worked:  
<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Saving-the-template-and-get-the-error-quot-argument-quot-content/qaq-p/2541372>  

...
> *However as of now to resolve the issue, the Atlassian team has suggested the following workaround:*
>
> *To implement the workaround, you must update your confluence.cfg.xml file by adding the following line within the \<properties\> element:*
>
> *\<property name="struts.multipart.maxStringLength"\>10000\</property\>*


author: Ricky Rich
body: Hi,

Same issue for me. Any page based on a template is now returning this error when trying save any content edited.

This is really a blocker.


Tags: questions-for-confluence

server
Confluence database feature API
Asked by akwan:

Hello,

I read about the new confluence database feature - <https://support.atlassian.com/confluence-cloud/docs/create-and-edit-databases/>. Are there ways to interact with the database via the REST API? I cannot find info in the docs.

Thanks

Alex


Answers:
author: Aron Gombas _Midori_
body: Unless I am mistaken, the recently introduced features databases and whiteboards are implemented with the "custom content" entity.

Therefore, a database is a custom content, and there are a few [REST API end-points for custom contents](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content/#api-group-custom-content). Try those.


Tags: cloud

confluence-cloud