youngmon/atlassian-qna huggingface dataset:
"Unexpected response body" in API call to /pipelines/{uuid}/steps
Asked by Adam Leppek:

GET Calls to the API method **/2.0/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/** fail with a 400 for the following reason:
> {"error": {"message": "Bad request", "detail": "Unexpected response body", "data": {"key": "unexpected.response.body", "arguments": {}}}}

I have verified that my workspace, repo_slug, and pipeline_id are correct, twice.

The message of this error also doesn't seem to refer to anything you'd use in a GET call.

Please let me know what you can.


Answers:
author: Syahrul
body: Hi [@Adam Leppek](/t5/user/viewprofilepage/user-id/4645582)

Just to confirm did you use the bracket for the pipelines UUID? It needs the bracket to works otherwise you'll receive the error.

An example call:

```
https://api.bitbucket.org/2.0/repositories/<workspacek>/<reponame>pipelines/{53d53b0c-9a68-4fbb-b6b5-81bd5e2946a0}/steps/
```

Let me know if it's still failing after you added the bracket for the pipeline UUID.

Cheers,  
Syahrul

comments: author: Adam Leppek
body: Hi [@Syahrul](/t5/user/viewprofilepage/user-id/744536)! Yes, I did use brackets around the UUID.


author: Syahrul
body: Hi [@Adam Leppek](/t5/user/viewprofilepage/user-id/4645582)

<br />

Noted, I am leaning towards the URL encoding. Can you try removing the bracket in the URL and replacing it with the following encoding:

```
{ = %7B} = %7D
```

As an example below:

```
curl --request GET --url https://api.bitbucket.org/2.0/repositories/api-public-test/api-test/pipelines/%7B1fdc2f3b-d421-41d3-ae75-f43dea9524e4%7D/steps/
```

I hope this helps.

Cheers,  
Syahrul


author: Adam Leppek
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536) I replaced the brackets with the encoded version, and everything now works. Thanks a lot for helping out with this.


Tags: api

bitbucket-cloud

bitbucket-pipelines

cloud
Pipelines and deployments screens not loading
Asked by Mees van Wel:

Dear community I am having an issue with the pipelines, deployments screens and settings tabs not loading. I'm seeing some realy wierd behavior.  
This weird behavior is on all my repo's btw.

I tried clearing my cache, disabling my extensions (incognito)...

Here are the errors from the console:

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

Examples:  

**Pipelines tab**

![1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/170465i660DAA217E08530A/image-size/large?v=v2&px=999 "1.JPG")

**Deployments tab**

![2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/170466i8A383C31CF648167/image-size/large?v=v2&px=999 "2.JPG")

**Pipelines settings tab**

![3.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/170467i44018184E66306CD/image-size/large?v=v2&px=999 "3.JPG")

**Clicking the edit .yml file**

![4.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/170469i2374A790A85A14BF/image-size/large?v=v2&px=999 "4.JPG")


Answers:
author: Syahrul
body: Hi [@Mees van Wel](/t5/user/viewprofilepage/user-id/4645635)

Welcome to the community!  

I notice on one of your screenshots that you did not enable your pipeline hence I believe the reason why it keeps on loading. Can you navigate to your repositories settings \> under **Pipelines** click settings and slide to the right on **Enable pipelines** to enable it.

Let me know how it goes.

Cheers,  
Syahrul

comments: author: Mees van Wel
body: Hi Syahrul,

Thanks for your response but unfortunately my settings keep loading as well

(See screenshot)

![Knipssadsasdel.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/171013i0B2BAF6C04AF74D4/image-size/large?v=v2&px=999 "Knipssadsasdel.JPG")


author: Syahrul
body: Hi [@Mees van Wel](/t5/user/viewprofilepage/user-id/4645635)

Noted, I would suggest trying the following and let me know the results:

1. Try with a different web browser
2. Try in incognito windows
3. Disable any add-on installed in the browser
4. Use an external network such as VPN or Mobile Hotspot

By doing the above test should narrow down the issue further since it can be an issue with the web browser-specific, browser add-on, or your local network.

Let me know how it goes.

Cheers,  
Syahrul


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
redirect multi domain
Asked by Mikel Raj:

hey, i have a WordPress website "printers insider" , i want to redirect atlassian profile and many other domain to my site , anyone here who can help me? and is it even possible? let me know if anyone has a good knowledge about that

thanks


Answers:
author: marc -Collabello--Phase Locked-
body: [@Mikel Raj](/t5/user/viewprofilepage/user-id/4645574) This is not possible directly from the profile page.


Tags: bitbucket-cloud

cloud
Commit in Bitbucket repo shows Your Name name and yourname@example.com mail
Asked by Officine IADR:

Hi everyone.  
Today I cloned my project on a new machine and made some updates.  
The cloning was done with the usual "git clone https: //XXXXXX@bitbucket.org/XXXXX/XXXXproject.git"  
After this I execute the steps from the command line to push  
*git add \**  
*git commit -m "XXXX"*  
and here I get an error: **"Authentication Failed"**  
I try to put the user data that I thought was present locally on my git but  
I don't solve... after a couple of attempts I try to put  
$ git config --global user.name "your name"  
$ git config --global user.email yourname@example.com  
(I was a little frustrated)  
this worked and I pushed  
The repository is **private** and obviously the user "your name" does not exist.  
But now I**have a commit made by "your name"**  
Can anyone tell me how this is possible or help me understand?  
Thanks


Answers:
author: Norbert C
body: [@Officine IADR](/t5/user/viewprofilepage/user-id/4645428)

Let me introduce myself, I'm Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet you! Also, please feel welcomed to the Atlassian Community, it's good to see you here :).

I'd like to inform you that once a user successfully authenticates themselves to Bitbucket Cloud, Bitbucket Cloud honors what Git tell us, therefore, if the user has a wrong configuration in their git configuration file, we still accept it as the user was able to authenticate themselves  

To verify if the username which is used for authentication matches with your actual username, can you access the Credential Manager in your OS and search for the following entry?  
MAC: Keychain Access  
Windows: Credential Manager  
Entry to search for: git://<https://username@bitbucket.org>

Please let us know how it goes, we're here to help :).

Have a wonder week ahead!

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support Engineer


Tags: bitbucket-cloud

cloud
Setting diff tool permenantly in SourceTree.
Asked by atkalikar:

I use Araxis Merge as diff tool. Everytime I start SourceTree client I need to set Araxis merge as diff tool from Tools menu of SourceTree, I just want to get rid of it. Is there any way to set it permenantly?


Answers:
author: KieranA
body: We probably need to make this clearer in SourceTree. If you don't allow SourceTree to modify your global Git/Hg config (specified in the 'General' tab of your prefs) then you can't set a diff tool. Just change that option and it should work.

Cheers

comments: author: atkalikar
body: ![](../../upfiles/sourcetree_1.jpg)

this checkbox is checked it means it is allowed right? but still I need to set it always.


author: atkalikar
body: Isn't this has any solution?


author: atkalikar
body: "Allow SourceTree to modify your global Git and Mercurial config files" this option is checked in source tree. and over there I have given Full name and Email address.

<br />


author: Seth
body: What do you have set for the option "Allow SourceTree to modify your global Git and Mercurial config files"? (Options \> General)


author: atkalikar
body: is it possible?


author: atkalikar
body: I tried setting it in source tree config file but this didn't work for me.


Tags: windows
How do you change the Host Root URL in repository settings
Asked by Rodney Catiggay:

I have a coporate GitHub URL that I would like to extend to to do pull requests. There is no option to create a custom one, so I choose github. Problem is that it defaults to the main url, can that be modified to my corporate url? Right now I leave it as is create a pull request and modify the url to get to my coporate github repository. Is this can be modified let me know, if it can not be done currently can I request a feature.

Thansk,

Rodney


Answers:
author: Brice Chidester
body: I asked a similar question, and after Seth pointed me to this question, discovered that there is an open feature request for this functionality: [](https://jira.atlassian.com/browse/SRCTREEWIN-1034)<https://jira.atlassian.com/browse/SRCTREEWIN-1034>. I recommend anyone who is interested in it vote for the issue.

comments: author: Seth
body: Thanks for copying the link over from your question!


author: Rodney Catiggay
body: I've tried leaving the host type to "Unknown" but the url field is not editable. Is there another setting that I need to change to be able to type into the field.


author: Seth
body: If you leave host type as "Unknown", you should be able to enter the full URL.

In other words, for Host Type, "GitHub" != "GitHub Corporate".
Source does not show changes in file for uncommitted files
Asked by emarc-m:

The uncommited file does not show the actual changes in the file until the file changes are commited


Answers:
author: emarc-m
body: Either. I remember that in the "old" version that the screen shot below is possible. However, now in 1.8.1 I cannot seem to get the same view as below.

Screenshot: [](http://imgur.com/QZGW7fE)<http://imgur.com/QZGW7fE>


author: Seth
body: Are you talking about changes to a versioned file or a new file?


Tags: mac
is it possible to call blame while ignoring white space (blame -w)?
Asked by itay bianco:

Hi,

In git it is possible to call:

git blame -w "file-name"

in order to get the blame output to ignore white space. is it possible to override sourcetree's default blame command with the "-w" parameter?

Thanks,

Itay


Answers:
author: merfolk
body: This should definitely be possible, one way or another!

Options:

* Checkbox in SourceTree settings for this (quite inconvenient for Atlassian, as there are many other parameters for git blame and they could change...)
* Allow entering a custom git command to be used when "blaming a file". This would cover all current and future needs.


Tags: blame

git

whitespace
Shouldn't "Refresh automatically when files change" exclude the contents of the .gitignore file?
Asked by Michael Zock:

Any idea on when SourceTree will no longer refresh every time something covered by the ignore file changes?

Right now this can turn the application unusable until certain processes have finished writing to a file that's not even worth bothering about anyway.


Answers:
author: RicardoA
body: Currently SourceTree for Windows will still refresh on all changed files even if they are part of .gitignore. SourceTree is just listening for file changes.

Keeping track of all the .gitignore (global and local) changes and filtering the events will need a clever cache because reading the ignore files every time would be far too slow with the number of file events that come through, this is why it hasn't been done yet but it is being in the following report:

* [](https://jira.atlassian.com/browse/SRCTREEWIN-1366)<https://jira.atlassian.com/browse/SRCTREEWIN-1366>


author: Seth
body: I like the idea, but I don't know that SourceTree itself uses the .gitignore file. Almost all of its operations are git commands, and those git commands take the ignore file into account. Obviously whatever process watches for changes is an exception.

You may file a bug report or feature request on [support.atlassian.com](http://support.atlassian.com), and post the link here. If you do so, I'll vote it up.

comments: author: Michael Zock
body: Thanks for your reply!

<https://support.atlassian.com/servicedesk/customer/stsp/problem-report-1033>


author: Michael Zock
body: Thanks1 It's not yet a solution, but this should get us one step further.
When should I see colored branches in SourceTree graph using git-flow?
Asked by Kent Signorini:

I am using SourceTree and the git-flow process and I'm confused as to when I should see colored branching in my graph.

It seems that whether I work in the develop branch, create features, or switch back to master, I don't see my graph split (except one time it did--I think when I pushed a feature up to my remote repo).

Please explain.


Answers:
author: Seth
body: There is a dropdown above the graph that lets you choose to see all branches or just your current branch. Beside this is a checkbox for whether to show remote branches. If you choose "Current Branch", it will only show the branch you have checked out, and any branches that are merged into it.

Using git-flow should not have any effect on how graphing works.

Also, the graph won't split when you create and commit to a branch unless you (or someone else, if you are showing remote branches) commits to the parent branch. At the very latest, this will happen on the merge if you expressly prevent Git from doing a fast-forward merge.


Tags: branch

colour

git-flow
how to create a git server on my mac book
Asked by chen yuanjie:

as the title, I want to create a git server repositery on my computer with source tree.who can tell me?


Answers:
author: AafrinA
body: Hi Chen Yuanjie,  

[Here](http://tomdalling.com/blog/software-processes/how-to-set-up-a-secure-git-server-at-home-osx/) is a tutorial on how to set a git server in mac. Upon setting the server, you can use your local url of the repositories to clone the repositories within sourcetree.

comments: author: chen yuanjie
body: thanks , I have solved this problem


author: Seth
body: You can mark his solution as the correct one by clicking the checkmark under the vote buttons.
[SourceTree] Permission Denied: Cloning a Private Team Repository
Asked by JbalTero:

I created a Team and Imported my GitHub repo.

When I "Clone in SourceTree", this is what i get...

![](http://imgur.com/djgSpGK)

I have already registered SourceTree.

I have not yet logged my Bitbucket Account because I always got this warning.

![Warning](http://imgur.com/G1QD4rY)

I hope someone can Help me here. :) Thanks


Answers:
author: Seth
body: Broken images
Branching problem sourcetree
Asked by Vinzent Ellissen:

Hello,

all of the sudden the developer branch is not "marked purple" anymore and is not "branching off" but in line with the master branch (see image <http://note.io/PsqqK0>)

What happend and how can I fix that?

Thanks


Answers:
author: Johannes Kilian
body: See here: What do the colors of Branches and Tags mean?

comments: author: Seth
body: I knew I'd seen this before. Good link!


author: Johannes Kilian
body: I remembered the link because it was my question ... ;-)


author: Seth
body: That is the standard way SourceTree will draw the graph in your situation. A branch will be drawn directly above the branch it was branched from unless/until the source branch receives another commit (you can test this by checking out master and committing anything).

One positive outcome is that anytime a branch is drawn this way, you can expect a merge from development back to master to be fast-forward, unless you check the option to force a new commit.

It should also be noted that the colors of the branches are completely meaningless. They are only user to help visually follow the history of a branch in cases where you have multiple parallel branches.

comments: author: Johannes Kilian
body: 'Master' is not really a special branch - it's just a kind of naming convention for the main branch. Any branch may be promoted to be the main branch.

See here:: [Why does my 'git branch' have no master?](http://stackoverflow.com/questions/3623755/why-does-my-git-branch-have-no-master)

I assume: As any branch might be the main branch, the branch currently checked out is usually drawn as main branch ("straight history line"). This is true from a user point if view: the currently checked out is currently the branch he is focused on ...


author: Vinzent Ellissen
body: Thanks a lot guys - I think I understand the issue now.

I will try and update in case it doesn't work for me.


Tags: git
Strange tree of commits after check out.
Asked by j4nos:

After temp_84 I checked out temp_85. Why SourceTree show different / wrong tree of commits compare to GitX what works well?! The bottom of the tree is also funny, there are two lines, not only one, one of the line has no ending. Sorry that I show not the full pic, I do not want to show commit texts. I often use cerry-pick and interactive rebase.

![](../../upfiles/Screen_Shot_2014-03-11_at_17.59.47.png)

![](../../upfiles/Screen_Shot_2014-03-11_at_18.04.08.png)


Answers:
author: Seth
body: Looks like a bug to me. Report at [support.atlassian.com](http://support.atlassian.com).
Can't pull logicx files on Windows (Logic X pro files) Invalid argument
Asked by benoitfreslon:

Hello,

I work on OSX with Logic X pro.

I saved all the Logic X pro datas in a repository.

Everything is ok on OSX but when I try to pull the last commit on Windows I got this error:

error: unable to create file assets/sounds/bgm1.logicx/Alternatives/000/Autosave/2014-03-08 18:07:57 +0000.displayData (Invalid argument)

error: unable to create file assets/sounds/bgm1.logicx/Alternatives/000/Autosave/2014-03-08 18:07:57 +0000.eventData (Invalid argument)

error: unable to create file assets/sounds/bgm1.logicx/Alternatives/000/Autosave/2014-03-08 18:07:57 +0000.songData (Invalid argument)  
I can't pull anything on Windows. I'm stuck!  
Thanks.


Answers:
author: Seth
body: Colons are illegal in Windows filenames. If Logic X Pro is Mac-only software, you'll probably have trouble persuading them to change the naming scheme for their autosave files to support Windows.

Source: <http://support.microsoft.com/kb/177506>

comments: author: Seth
body: Just looked up Logic X Pro. It's written by Apple. They probably have the colons in there just to spite Windows.
SourceTree 1.8.1 for Mac OS X - preferences problem
Asked by Przemek J:

Hello

The problem is simple :)

In Preferences -\> Git -\> Push branches

I have default value "matching" and when I change it to "current" it won't save after leaving preferences. In consewuence this setting option just doesn't work.

Thank You for Your patience.


Answers:
author: KieranA
body: Hey there,

This could well be because on the General tab you're not allowing SourceTree to modify you Git/Mercurial configuration. This would stop this option from being changed. There's already an open JIRA issue to disable this drop down if you don't allow SourceTree to modify your global Git config.

Cheers

comments: author: Matthew Cross
body: =D that's made the problem go away. Thank you!


author: Przemek J
body: Yes it worked. Thank You !


author: Seth
body: Did Kieran's solution of checking the settings in the General tab not work for you?


author: Matthew Cross
body: I'm having this issue as well, it's very irritating having to uncheck all of the boxes. I decided to wait for the update but it looks like it hasn't been fixed. Any help with this issue would be fantastic!


author: Matthew Cross
body: I'm having this issue as well, it's very irritating having to uncheck all of the boxes. I decided to wait for the update but it looks like it hasn't been fixed. Any help with this issue would be fantastic!
SourceTree with WebFaction
Asked by Slinava Surla:

I am trying to use SourceTree with git repo hosted with WEBFACTION hosting provider. Repository is created and exists but trying to clone it to a local folder in Windows 8 per instructions   
[](https://docs.webfaction.com/software/git.html)<https://docs.webfaction.com/software/git.html>  
produces error bellow. Is it possible to use SourceTree with Webfaction? Any help is appreciated. Thank you.   

This is not a valid source path / URL.   
![error](http://s27.postimg.org/jt75ctinn/git_error.png)


Answers:
author: Seth
body: There is no reason you shouldn't be able to use SourceTree with Webfaction. SourceTree runs commands using your git command line client to interface with any remote, so the only requirement for SourceTree to work with Webfaction is for Webfaction to support Git (clearly it does, from the docs).

You might try the answer to [this question](/questions/270331/i-can-t-connect-to-github-from-sourcetree?page=1#270363) to see if SourceTree has cached an incorrect password (would explain the access denied error).

You might also open up SourceTree's terminal and make an attempt to SSH to [username.webfactional.com](http://username.webfactional.com)to see if there is a security certificate that needs accepted.

If that works, try cloning via that command line. If you are still having a problem, then it isn't in SourceTree, but more likely a configuration problem with your Webfaction repo.
This is not a valid source path / URL, details popup empty
Asked by Kyyni:

I just made a Bitbucket account and started using sourcetree, and when I tried to clone the tutorial repo to familiarize myself with the software, it won't let me clone the repo, telling me that "This is not a valid source path / URL" (Fig. 1). I am certain that the URL is correct, I've even launched sourcetree from the clone button on the website, to no avail. When I click the partially hidden "De(tails?)"-button, it will only display an empty popup (Fig. 2). I'm on Windows 7 Home Premium with latest updates installed. I know this or similar questions have been asked before, but none of them seem to apply in the case that the details show no error.

Fig. 1: <http://i.imgur.com/DD1Lzuf.png>

Fig. 2: <http://i.imgur.com/1SuJ080.png>


Answers:
author: Kyyni
body: Apparently Sourcetree had not enabled the Git even though it showed it had during the Wizard setup. Setting it on manually resolved the issue.


author: Elisa Moncayo
body: I have the same problem. Source Tree does not recognize my repo as a valid repo.

How do I manually set or enable the Git?

Thank you for sharing your solution =)

comments: author: Kyyni
body: Use File \> Setup wizard... to get Git installed in any of the ways it presents to you, and once you're done with the wizard go to Tools \> Options \> Git tab and click the only button available.
Default for "Push commits immediately to:" in SourceTree?
Asked by Kent Signorini:

Is there any way to default "Push commits immediately to:" to checked in SourceTree?

I hate having to click it every time.

Thanks!


Answers:
author: Seth
body: On Windows, there is an option (Options \> General) to "Push to default/origin remote when committing".


author: ryanhightower
body: This is also available on Mac under "Preferences \> General". just check "Push to default/origin remote when committing"


author: Andrew Widgery
body: Did we get a resolution to this? Also annoying having to always click!


author: Seth
body: "One click stage all" is in the Working Copy Changes header. Sorry for the off-topic answer, images don't seem to render in comments. I took this from under the Log/History view, but it also shows up in the File Status view.

![](../../upfiles/Capture_184.PNG)

comments: author: Lukasz Gladki
body: Thats weird, it's not how it looks on my system. Are you using windows version Seth?


author: Seth
body: Yes, that's Windows.


author: Lukasz Gladki
body: I'm looking for answer to this question too, also an auto staging option would be nice (or one click stage all)

comments: author: Seth
body: There is a "one click stage all". It is the button with the double up arrow.


author: Lukasz Gladki
body: Thanks for the reply Seth, I must be blind though, as I really looked for it everywhere and failed to find it. Can you describe the location of it?