youngmon/atlassian-qna huggingface dataset:
OIDC Pipelines do not working (Not authorized to perform sts:AssumeRoleWithWebIdentity)
Asked by Marco Tanaka:

Pipelines deployment is failing when trying to connect to AWS through OIDC.

I assume it's not a permission issue, as even adding AdministratorAccess Policy to the OIDC Role, the authentication does not work.

*** ** * ** ***

WARNING: Refreshing temporary credentials failed during mandatory refresh period.  
Traceback (most recent call last):  
File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 529, in _protected_refresh  
metadata = self._refresh_using()  
File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 670, in fetch_credentials  
return self._get_cached_credentials()  
File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 680, in _get_cached_credentials  
response = self._get_credentials()  
File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 890, in _get_credentials  
return client.assume_role_with_web_identity(**kwargs)  
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 386, in _api_call  
return self._make_api_call(operation_name, kwargs)  
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 705, in _make_api_call  
raise error_class(parsed_response, operation_name)  
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the AssumeRoleWithWebIdentity operation: Not authorized to perform sts:AssumeRoleWithWebIdentity


Answers:
author: Marco Tanaka
body: The problem was that I had a conditional policy in my **OIDC Role Trus Relationship** that allowed a specific range of IPs from Bitbucket.

I took those IPs from this documentation: <https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/>

<br />

I don't know why Bitbucket Pipelines was using another IP to connect to my AWS OIDC.

So now, I merged another IP list from this documentation: <https://support.atlassian.com/organization-administration/docs/ip-addresses-and-domains-for-atlassian-cloud-products/#Outgoing-Connections>

And now it's working again.

comments: author: Oleksandr Kyrdan
body: [@Marco Tanaka](/t5/user/viewprofilepage/user-id/3410311)

Thanks for knowledge sharing and contributing to the community!


author: Oleksandr Kyrdan
body: Hi [@Marco Tanaka](/t5/user/viewprofilepage/user-id/3410311)

Thank you for your question!

Make sure that you setup properly OIDC access on AWS according to the [Deploy on AWS using Bitbucket Pipelines OpenID Connect](https://support.atlassian.com/bitbucket-cloud/docs/deploy-on-aws-using-bitbucket-pipelines-openid-connect/) [guide](https://support.atlassian.com/bitbucket-cloud/docs/deploy-on-aws-using-bitbucket-pipelines-openid-connect/).

Best regards,  
Oleksandr


Tags: aws

bitbucket-cloud

bitbucket-pipelines
Bitbucket Server code search not working as expected
Asked by Martin Lukowsky:

When I am searching for java packages in Bitbucket code search, the expected results are not found.

I search for *com.google.gson* Bitbucket does not show java classes importing this package, although the search syntax page (<https://confluence.atlassian.com/bitbucketserver/bitbucket-search-syntax-814204781.html>) does state, that "." may be included.

Searching for *com google gson*does also not find the desired files.

How can I reliably search for java packages?


Answers:
author: Martin Lukowsky
body: It seems like searching for the terms in double quotes works.  
So, if you want to search for the package com.google.gson you need to actually search for *"com google gson"*

Still, I'm not 100% sure that this is the correct solution, though.


Tags: bitbucket-server

server
Affects having IP allowlisting in a single Atlassian product the rest of the products?
Asked by Patricia Gonz?lez:

Hi,

We are implementing Jira Software, Confluence and Bitbucket. But only this last one with premium licenses.

We want to enable in Bibucket IP allowlisting but we are concerned of the behaviour of the other applications (Jira and Confluence) since this feature is not going to be enable on them.

Does having one of the applications with IP restrictions affect the rest of Atlassian products?

Thanks!

-Patricia


Answers:
author: Syahrul
body: Hey [@Patricia Gonz?lez](/t5/user/viewprofilepage/user-id/4250545)

G'Day!

The Bitbucket IP whitelisting only applies to Bitbucket access and will not affects other Atlassian product.

It will also not affect your Bitbucket and Jira integration if the IP whitelisting is enabled.

Hope this helps.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud

confluence-cloud

jira-software-cloud

whitelist
How to uninstall Jira client from Mac?
Asked by Sergey Guenender:

The app no longer work, it invites you to update itself, then the update is not found in App Store (make sense).

But when I try to remove it from the Apps in Finder following message shows up:

**The item "Jira" can't be moved to the Trash because some of its extensions are in use.**

Any help is appreciated!

p.s. I'm on macOS Monterey.


Answers:
author: Alie Sesay
body: Hello @\[deleted\],

Welcome to the community!

I recommend that you disable the Jira extension from the browser.

We have relevant documentation for this feature located here: <https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html>

Next, please proceed as follows:

**1. Stop the running of JIRA Client**

* If JIRA Client is still running on the Mac, right-click on JIRA Client on the **Dock** , and click **Exit/Quit**
* Click on **Go** --- **Utilities** --- **Activity Monitor**
* Check the list of processes which are running at the background, and make sure there is no the JIRA Client associated processes
* If you find that there is a related process still running on the Mac, please select it, and click on the **Quit** button to stop its operation

**2. Start to remove JIRA Client**

* Click on **Finder** , navigate to the **Applications** folder via the left pane
* Locate the JIRA Client icon in the Applications folder, and drag it to the Trash on the Dock
* Move the cursor to the top menu, and click on **GO**
* Select **Go to folder...** , and type "\~/library/" in the box, hit/press **Return**button.
* After that, you will be taken to the Library folder
* Open **Application Support**, and delete the folder with the name of JIRA Client or the vendor inside
* Back to the Library folder, and click on **Caches**, and then delete all of caches files of JIRA Client
* Likewise, open the **Preferences, LaunchAgents, LaunchDaemons, PreferencePanes, StartupItems** and **Logs** folder one by one in Library, and erase any file belonging to the JIRA Client application

After all the associated files are cleaned up on the Mac computer, you should right-click on the Trash icon, select **Empty Trash**, and restart the Mac.

Please let me know if it helps.

Have a lovely day!

Best Regards,  
Alie Sesay


Tags: cloud
I get this error message "A data base error has occured. "
Asked by John_Citi:

Hi there, i am new to bitbucket and when i try to create a new repository or project, i get this error.  

I use Atlassian Bitbucket v7.3.0  

I have found another post that has probably a similar problem.  
<https://community.atlassian.com/t5/Bitbucket-questions/Cannot-create-a-repository-Getting-Database-Error/qaq-p/1906892#U2067135>  

In the above post he has posted a log file, how can i do the same?  
I mean that how can i get this file, what command or tool i have to use to accessed it?  

Thanks in advance.  


Answers:
author: Christian Glockner
body: Hi John,

If you're an administrator on the machine where Bitbucket Server is installed you can find the file in \<BitbucketHome\>/log.

If you're not an administrator you'll need to talk to someone who is and ask them for assistance.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: John_Citi
body: Ok Christian, i did the above.  

How can i solve this error which i get from event tracer of the SQL Server?  

"Could not connect because the maximum number of '1' dedicated administrator connections already exists. Before a new connection can be made, the existing dedicated administrator connection must be dropped, either by logging off or ending the process."

I believe that probably this is the error that i must fix to solve the "database error has occured."


Tags: bitbucket-server

server
I'm not receiving bitbucket invitations
Asked by cherryline-ru:

Hi, I can't receive an invitation either. Could you please check it?


Answers:
author: Theodora Boudale
body: Hi [@cherryline-ru](/t5/user/viewprofilepage/user-id/2486795),

I checked in our system and your email address is not in any of our suppression lists.

I also checked our email logs and I can see that some invitations were sent to your email address today.

Some of them were bounced with the error message

```
550 spam message rejected.
```

However, the latest one shows to have been delivered to your mail server.

Could you please confirm if you have received it?

Please make sure to check your Spam folder as well.

Just a heads up, I moved your comment to a new post. It's best to have a separate question for each issue, otherwise, it can become difficult to troubleshoot multiple users' issues in one post.

Kind regards,  
Theodora


Tags: bitbucket-cloud
mysql is not connecting.
Asked by Joel Stephen:

Could not create a connection to the database server. Attempted to reconnect 3 times. Giving up.


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid there's not a lot we can tell you here.

You have tagged this with Bitbucket Cloud, which implies that you have set up something on Bitbucket that is trying to connect to a database, but you have not told us what you have configured, so we don't know what you are trying to do (it's not the core of Bitbucket Cloud throwing this error, Cloud doesn't use MySQL)

If you've mis-categorised this, and you're actually on Bitbucket Server or Data Center, then the "what have you configured" question is still there, but it might also apply to the core installation - Bitbucket needs a database to store its data, and your error message could be coming from the installation itself.

So, can you tell us where you are actually getting this error message? What are you doing that provokes it?

We can also start on an answer - the message really does mean that the service can't connect to the database - it's not running, it can't be reached over the network, or the credentials you've told it to use are wrong (unknown user, wrong password, don't have permission to use the database, etc)


Tags: bitbucket-cloud

cloud
Changing the brunch of previous commits.
Asked by Den B:

Guys, i am new to git and sourcetree - was using it only for 1 week, thank you for a great tool!

I started with master branch and made 10 commits. After i've read on proper work flow - i liked githubflow more than git flow - i realized that all this commits must be in different brench.

Basically same starting point(init commit) for \[master\] and \[x-feature\] branches, but all commits after 1st one must be in \[x-feature\] branch not the \[master\] branch.

Is there a way to change branch of already done commits?


Answers:
author: Ana Retamal
body: Hi Den!

Undoing a commit can be a complex operation and the benefits you'll get are not that big. You can leave the current commits like that, and start with the new workflow from now onwards.

Anyway, if you'd like to go ahead with this you can do an interactive rebase. With the interactive rebase tool, you can stop after each commit you want to modify and change the message, add files, or do whatever you wish (like adding it to a new branch in your case). You can learn more about how to use interactive rebase at [Rewriting History](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History).

Keep in mind that if your commits have already been pushed to a central server, it's not recommended to perform this operation, as doing so will confuse other developers by providing an alternate version of the same change.

Lastly, this is more a matter of Git than SourceTree. If you have more GIt questions in the future, you can address them to the [Git section](https://community.atlassian.com/t5/Git/ct-p/git) within our Community :)

Hope this helps!

Ana
SourceTree 2.0/Win and Mercurial fails with ssh remotes
Asked by YKdvd:

We had a Windows 7 developer using SourceTree 1.9.x with a Mercurial repository. Commits were pushed and pulled to a repo on a linux box on our local network via ssh:

ssh://linuxbox//path/to/repo

This worked fine, SourceTree 1.9.x had saved username/password info however it does. When they updated to SourceTree 2.0.20.1, the ssh remotes on the linux box stopped working. We'd get a repeated "Windows Security" dialog for "Git Credential Manager for Windows" / "Enter your credentials for https://linuxbox/" and username and password, but entering the proper values just keep cycling through the same dialog.

Checking some details after cancelling showed "Error reading SSH_ASKPASS output for prompt: Unsupported prompt"  
\[login as: \]@linuxbox's password  
abort: no suitable response from remote hg!

I'm an OSX person myself, and I'm not clear if the GCM usage is new to 2.0, or changed, or exactly how it interacts with Mercurial and SSH. The "General/SSH Client" preference is PuTTY/Plink, as it was under 1.9 (we have PuTTY 0.6.9), but I think Mercurial always uses PuTTY anyway? For the remote, we have a debian running mercurial 3.1.2 and ubuntu with mercurial 3.7.3, and SourceTree is using embeded Mercurial 3.7.3.

Reverting to SourceTree 1.9.9 and everything works fine again! I did a very tiny test with embedded Git and 2.0.20.1, and it seems to get past the ssh connection properly, the problems seems limited to 2.0+Mercurial+ssh. The dialog saying "Enter your credentials for **https**://linuxbox/" seems odd, but I'm guessing it is a cosmetic thing and not actually using the wrong protocol. Any suggestions would be most welcome.


Answers:
author: YKdvd
body: Just as a note, the underlying [bug report](https://jira.atlassian.com/browse/SRCTREEWIN-7269?_ga=2.112657732.1122770706.1539352916-1153325315.1523379080) was marked Verified, and High priority, but has never been assigned and is unaddressed almost a year and a half later. One of the reasons we gave up on Sourcetree.


author: Psychobilly
body: WHoops.

Wrong topic


author: Ana Retamal
body: Hi!

I've contacted our developers regarding this issue and have submitted a bug report on your behalf, you can find it at [SRCTREEWIN-7269](https://jira.atlassian.com/browse/SRCTREEWIN-7269). You can now watch that ticket to get notified of further updates, or add a comment if you have any question.

Is there anything else I can help you with?

Cheers :)

Ana


Tags: mercurial

ssh

windows
How to Disable Animation in SourceTree
Asked by Sergii Golik:

Hi, I have an several visual issues with text rendering during different animations effects that used now in a new SourceTree.

Is there are any way to completely remove/disable an animation effects in SourceTree ?


Answers:
author: Ana Retamal
body: Hi Sergii, at the moment is not possible to disable animations in SourceTree. There's already a Feature request for that, you can find it at [SRCTREEWIN-7043](https://jira.atlassian.com/browse/SRCTREEWIN-7043). You can vote for it, add a comment or watch it to receive future updates.

Hope that helps :)

Ana

comments: author: Sergii Golik
body: Yes, thank you
Repository Cloning issue in 2.0.20.1
Asked by manisha chhaya:

I am trying to clone repository from Stash. It does not open sourcetree at all.


Answers:
author: Ana Retamal
body: Hi Manisha! First of all, and to avoid confusions in the future, nothe that Stash is now called Bitbucket Server :) The issue you're describing was identified as a bug and was reported at [SRCTREEWIN-7209](https://jira.atlassian.com/browse/SRCTREEWIN-7209). You can watch that ticket to be notified of future updates. In the meantime, you can try this workaround:

1. Open **Tools \> Options \> General**
2. Uncheck **Use this version of SourceTree for URI association**
3. Check **Use this version of SourceTree for URI association**

Let me know if this works for you :)

Cheers,

Ana
How do i use system mercurial?
Asked by Yusoof:

When i click use system mercurial, nothing happened. I use mercurial v4, does sourcetree not compatible with it?


Answers:
author: Ana Retamal
body: Hi Yusoof, there's a compatibility issue with SourceTree and Hg v4, that the developers are currently investigating. This could be related to this bug [SRCTREEWIN-7172](https://jira.atlassian.com/browse/SRCTREEWIN-7172). You can watch it to receive further updates or add a commment if you have any question. In the meantime you can use HG 3.7.3, which is the version embedded with SourceTree.

Hope this helps!

Ana


Tags: mercurial
SourceTree 2.0 with multiple local repos for same remote repo
Asked by Alan Bridgewater:

With SourceTree 1.9, I could see all of my local repos in the left-most pane, which included the path. Now, I only see the repo name in the tabs at the top, and I don't see any local paths.

I prefer to have multiple local repos for the same remote repo, so that I can have multiple source editors open at the same time. I can't just swap branches - the tools don't work that well to swap on demand.

So how can I get the path included in the tab name? Ideally I can just edit the tab name to replace it with my own description. I don't need the full path.


Answers:
author: Ana Retamal
body: Hi Alan!

We have a couple of feature requests that might interest you. The first one is to show the directory name in the tab itself and can be found at [SRCTREEWIN-5785](https://jira.atlassian.com/browse/SRCTREEWIN-5785).

The second one is to allow you to see the full name of a tab in a tooltip when you hover over it, can be found at [SRCTREEWIN-6084](https://jira.atlassian.com/browse/SRCTREEWIN-6084). You can vote for them, watch them, or add a comment if you'd like to add something else.

Let me know if there's anything else I can help you with :)

Cheers,

Ana
SourceTree Update unistalled 2.0.x and reinstalled 1.9.x: anyone else seen this?
Asked by Bill Langton:

I updated to SourceTree 2.0 last week. This morning, got the 'update available' message. Updated. It unistalled 2.0 and reinstalled 1.9. Immediately upon completion, got '1.9 is not supported' message.

I've filed a support request. Will update when I get a response.

Edit: I've noticed that 2.0 is installed in users\\username\\AppData\\Local. I unistalled all versions of SourceTree using Control Panel -\> Programs and then reinstalled 2.0.

I think the takeaway here is that you should manually uninstall all older versions of SourceTree before installing 2.0.


Answers:
author: Ana Retamal
body: Hi Bill! You're right, the new version of SourceTree is installed in a different location, %LocalAppData% instead of C:\\Program Files.

Note that SourceTree will not uninstall any previous versions, 1.9.x has to be removed manually.

Let me know if you have any other questions, Bill.

Cheers,

Ana


Tags: upgrade

windows
Are there release notes for sourcetree?
Asked by CHD CM Support:

I can't find any release notes at <https://confluence.atlassian.com/get-started-with-sourcetree>.


Answers:
author: minnsey
body: The latest release notes can be found here  

SourceTree for Windows : <https://www.sourcetreeapp.com/update/windows/ga/ReleaseNotes_2.0.20.1.html>  
SourceTree for Mac: <https://www.sourcetreeapp.com/update/releasenotes/2.5.1.html>


author: Alan MacKenzie
body: The Release Notes are available from the SRCTREE Jira board

[https://jira.atlassian.com/projects/SRCTREE?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page\&status=released-unreleased](https://jira.atlassian.com/projects/SRCTREE?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page&status=released-unreleased "SRCTREE Jira")
Why did I get "SourceTree 1.9 will not be updated anymore" message after updating today?
Asked by Zayin:

So I've got SourceTree for Windows, and I've updated it almost whenever it asked. Today I updated SourceTree and it gave me the message "Sourcetree 1.9 will not be updated anymore" and gave me the option to "Go to the download page" or "Open SourceTree (you won't get updates anymore)", as if I had gone out of my way and installed the older version. Now my About shows version 1.9.13.7, though I'm not sure what it was before TBH.

Is this an update bug? What the heck happened here?


Answers:
author: minnsey
body: Hi  

SourceTree for Windows changed its installation mechanism between 1.9 and 1.10, unfortunately it was not possible to provide a straight forward automatic path to move from one to the other, as such 1.9.13.7 marks to end of the older release path.

To move to the latest version of SourceTree, 2.0.20.1 at the time of writing, it is necessary to uninstall 1.9.13.7 and manually download and install 2.0.20.1 from <https://www.sourcetreeapp.com>.  

Once installed 2.0 will be able to check for and install any new updates from the new release path.

comments: author: Zayin
body: Oh, I get it. That confused me. Thanks for the info.


author: Scott R. Frost
body: Before you uninstall your 1.x, be aware that the "upgrade" to 2.0 is a large step back in functionality since they remove the bookmarks bar on the left side.


Tags: update

upgrade
Why is SourceTree showing closed brances in the left pane?
Asked by Kasper Bakmann:

In the left pane of my SourceTree after upgrading to SourceTree 2.1.0-beta-002 suddenly all closed branches showed up on the list of branches.

Using HG Mercurial.

![image.png](/t5/image/serverpage/image-id/1236iA4CA1E66250A0758/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Ana Retamal
body: Hi Kasper! That's a bug and was reported at [SRCTREEWIN-7189](https://jira.atlassian.com/browse/SRCTREEWIN-7189). You can watch it to receive updates or add a comment if you have something you'd like to share.

Kind regards,

Ana

comments: author: Kasper Bakmann
body: Thanks for your reply Ana.

I have uninstalled the beta version and installed the newest stable release 2.0.20.1 and it works fine.

Kind regards,

Kasper


author: kakaiba
body: I just updated to **v2.1.2.5** and the **issue is still there** .
CSV Issue Import - Option not available
Asked by Oliver K?tter:

I'm on 2.0.14.1 and I am offered an update to 2.1.0-beta-002. Link to the release notes lead to a 404 (<https://www.sourcetreeapp.com/update/windows/beta/ReleaseNotes_2.0.14-beta-2.1.0-beta-002.html>). Update does not work, it also gives me a 404.

Im currently downloading the latest stable which seems to be 2.0.20.1.

Just fyi.

![2017-05-15 08_09_28-Options.png](/t5/image/serverpage/image-id/1233i06D1665CFFFA3FFA/image-size/large?v=v2&px=999 "2017-05-15 08_09_28-Options.png")


Answers:
author: minnsey
body: Hi  
It looks like you were running a beta version, the release channels for the Beta and the GA/Production version or different. So there is no path to update from the beta to 2.0.20.1.  

There is a bug in the beta for that release notes, we will look into that.  

If you do want the latest beta it can be downloaded directly from here:  
<https://downloads.atlassian.com/software/sourcetree/windows/beta/SourceTreeSetup-2.1.0-beta-002.exe>