youngmon/atlassian-qna huggingface dataset:
Assigned issues not shown in bitbucket dashboard
Asked by Enrico Siefert:

Hello Community,

As far as I know, Bitbucket Server/Datacenter v7.17.5 should be able to display some of my assigned Jira Issues on the Bitbucket Dashboard. At least one of our customer's Bitbucket instances does.

Is there anything I need to do to enable this feature in our Bitbucket?  
We already have an application link to Jira.

![screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/182334iA3E9C8C815FBE84F/image-dimensions/360x196?v=v2 "screenshot.png")

Any help would be appreciated.

Thank you very much.  
With kind regards,  
Juri


Answers:
author: Frank Bos
body: following, same problem here: BB 7.17.5 - Jira 8.21.0

Looks like it only works with Jira cloud? Is this correct?

comments: author: Enrico Siefert
body: No, for our customer it also works in a bitbucket/jira on-premises version.


author: Frank Bos
body: Hi [@Enrico Siefert](/t5/user/viewprofilepage/user-id/1095376) I raised a support call for this. (we have support)

Final answer after some investigation:

Thank you for your time on the call. As you rightly mentioned on the call, the functionality for viewing the Jira issues on the user dashboard is only available for our [Bitbucket DC license](https://confluence.atlassian.com/bitbucketserver/bitbucket-data-center-and-server-7-11-release-notes-1044104495.html).

We have a server license and you need a data centre license.

Documentation is not complete, it's not mentioned there.


author: Fabio Racobaldo _Herzum_
body: Hi [@Enrico Siefert](/t5/user/viewprofilepage/user-id/1095376) ,

a pull request is associated to source and target branch.

Source branch could contain commits coming from multiple tickets. That information is available, for each pull request, on the right panel with the link of all issues involved.

Unfortunately, there is no way to have those information on the main dashboard.

Fabio

comments: author: Enrico Siefert
body: Hi [@Fabio](/t5/user/viewprofilepage/user-id/718895)

thanks for your effort, but you are talking about a different function.

Here is the documentation, for the feature I mean: <https://confluence.atlassian.com/bitbucketserver0717/jira-integration-1087536057.html#Jiraintegration-assigned>


Tags: bitbucket-server

server
I am receiving emails from Atlassian but not the invitation email from my company
Asked by Diogo Vaz:

I created an account with my company's email.

I am able to receive Atlassian emails but not the invitation from my company. So I am unable to access any repo.

I checked trash can and spam and nothing.

Can you please help me?

Thank you


Answers:
author: Caroline R
body: Hi, [@Diogo Vaz](/t5/user/viewprofilepage/user-id/4748889), welcome to the community!

I reviewed your email and confirmed that it had a block on the server that prevented emails from being sent to you. This can occur when the system tries to send an email to the user and the account does not exist, is not activated yet, or rejects the email for some internal reason.

In this case, I have removed the block from your email. Could you please ask your team to **remove** the invitation and send you a new one? They can do this by following the next steps:

In case they have invited you to a **specific repository**:

* Access the workspace \> Go to the repo they have invited you to;

* Access the **Repository Settings** \> **User and group access;**

* Click on the "invitation pending";

* Select the "**Cancel invitation**" option to remove the invitation;

* Add your email again to send a new invitation.

In case they have invited you to a **group on this workspace**:

* Access the workspace \> **Settings**;

* Access **User groups** \> Open the group they have invited you to**;**

* Click on the "invitation pending";

* Select the "Cancel invitation" option to remove the invitation;

* Add your email again to send a new invitation.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,

comments: author: Diogo Vaz
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)

It worked perfectly! Have access now.

Thank you very much for your help

Kind regards,


author: Caroline R
body: Hi, Diogo! Thanks for your confirmation, I'm glad to know you have access now :)

Kind regards,  
Caroline


author: Tom?s Monteiro
body: Hey [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,

I'm having the same issue with the same company email however I can't even login/sign up to create a ticket or write in this thread.

Do you have any suggestions as to how I should proceed?

Thanks,

Tomas


author: Ismail Sanni
body: Hi [@Diogo Vaz](/t5/user/viewprofilepage/user-id/4748889) ,

There is a way you can request for access for Jira from your company without getting an email. try logging into your company's Jira account and it should bring up a message to request access. The request is sent to your company's Jira admin, and he/she will add you .

Ismail


Tags: bitbucket-cloud

cloud
How to specify runtimePlatform in task definition file for BitBucket pipeline
Asked by Roman Lymar:

I use BitBucket pipelines with pipe:

    - pipe: atlassian/aws-ecs-deploy:1.6.1
      variables:
        AWS_ACCESS_KEY_ID: '<string>'
        AWS_SECRET_ACCESS_KEY: '<string>'
        AWS_DEFAULT_REGION: '<string>'
        CLUSTER_NAME: '<string>'
        SERVICE_NAME: '<string>'
        TASK_DEFINITION: task-definition.json

The file `"task-definition.json`" contains element:  

```
"runtimePlatform": {
  "operatingSystemFamily": "LINUX",
  "cpuArchitecture": "X86_64"
}
```

<br />

When the pipeline performs a step that contains mentioned pipe I can see the exception:  
? ECS task definition parameter validation error:  
Parameter validation failed:  
Unknown parameter in input: "runtimePlatform", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators  

<br />

How to configure pipe: atlassian/aws-ecs-deploy:1.6.1 to resolve the issue: sometimes AWS requires to specify runtimePlatform?


Answers:
author: Igor Stoyanov
body: [@Roman Lymar](/t5/user/viewprofilepage/user-id/4748448) hi. Thanks for your question.  
Maybe you can remove runtimePlatform element from task definition because provided values in this element are default values.   
One of the possible reason of this error is that current version 1.13.13 of boto3 in the pipe does not support this element.

Regards, Igor


Tags: aws

bitbucket-pipelines
What permissions are required to run bitbucket-build-statistics?
Asked by Sergey Mokhov:

I am trying to run [this pipeline](https://bitbucket.org/atlassian/bitbucket-build-statistics/src/master/) and documentation does not mention required permissions, so I keep getting 403s...


Answers:
author: Igor Stoyanov
body: [@Sergey Mokhov](/t5/user/viewprofilepage/user-id/3467398) hi. Thanks for your question.   
Have you tried to create app password with repository: read and pipelines:read  
Regards, Igor

comments: author: Sergey Mokhov
body: Yeah, I still complained about something, do not remember what exactly, but I had to give it some other read permission.

<br />

Thank you for you comment.

It would be nice if that information was mentioned in pipe description ;)


author: Igor Stoyanov
body: [@Sergey Mokhov](/t5/user/viewprofilepage/user-id/3467398) thanks for your feedback.  
We will update pipes readme description with needed information later.  

Regards, Igor.


author: Dylan Kuhn
body: I had this error and got it to work with an app password given projects: read (which includes repository) and pipelines: read.


Tags: bitbucket-cloud

bitbucket-pipelines

build

cloud

statistic
i want to send email to developer after the deployment, it may be successful or failed how can do it
Asked by amol funde:

i have written a yml for that just configured ec2 details after that i need to send an email to developers that depolyment is done with the status failed r sucess.

image: atlassian/default-image:3

pipelines:  
default:  
- parallel:  
- step:  
name: 'Build and Test'  
script:  
- echo "Your build and test goes here.."  
- step:  
name: 'Lint'  
script:  
- echo "Your linting goes here..."  
- step:  
name: 'Security scan'  
script:  
- echo "Your security scan goes here..."

# The following deployment steps will be executed for each pipeline run. To configure your steps and conditionally deploy see <https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/>  
- step:  
name: 'Deployment to Staging'  
deployment: staging  
script:  
- pipe: atlassian/ssh-run:0.4.0  
variables :  
SSH_USER: '\*\*\*\*\*\*'  
SERVER: '\*\*\*\*\*\*\*\*\*\*\*\*\*'  
COMMAND: 'mkdir test21'  
- step :  
name: 'email notifications'  
script:  
- ALERT_TYPE="success"  
- if \[\[ $BITBUCKET_EXIT_CODE -ne 0 \]\]; then ALERT_TYPE="error" ; fi  
- pipe: 'atlassian/email-notify:0.5.0'  
variables :  
USERNAME: '$SOME_USERNAME'  
PASSWORD: $PASSWORD  
FROM: 'noreply@atlassian.com'  
TO: '$SOME_EMAIL_TO'  
HOST: 'smtp.gmail.com'  
PORT: '25'  
SUBJECT: '${ALERT_TYPE}:Bitbucket Pipe Notification for ${BITBUCKET_BRANCH}'


Answers:
author: Mark C
body: Hi [@amol funde](/t5/user/viewprofilepage/user-id/4747627)

Welcome to the community.

For you to be able to run scripts on Pipelines regardless if the build is failed or successful, you can use the configuration called "after-script".  
After-script will allow you to run commands at the end of a step execution.

For your current YAML configuration, you'll just need to add the step "email notifications" as an ***after-script*** of the step "Deployment to Staging".

Your "Deployment to Staging" step, should look like below:

```
      - step:          name: 'Deployment to Staging'          deployment: staging          script:            - pipe: atlassian/ssh-run:0.4.0              variables :                SSH_USER: '******'                SERVER: '*************'                COMMAND: 'mkdir test21'          after-script:            - ALERT_TYPE="success"            - if [[ $BITBUCKET_EXIT_CODE -ne 0 ]]; then ALERT_TYPE="error" ; fi            - pipe: 'atlassian/email-notify:0.5.0'              variables :                USERNAME: '$SOME_USERNAME'                PASSWORD: $PASSWORD                FROM: '$SOME_EMAIL_FROM'                TO: '$SOME_EMAIL_TO'                HOST: 'smtp.gmail.com'                PORT: '25'                SUBJECT: '${ALERT_TYPE}:Bitbucket Pipe Notification for ${BITBUCKET_BRANCH}'
```

Hope it helps and let me know how it goes.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
How to Integrate JFROG with Bitbucket CICD pipeline
Asked by manish:

Hi,

I am looking to integrate JFROG Artifact with Bitbucket CICD pipeline.

When i trying to do integration with the below URL-

<https://www.jfrog.com/confluence/display/RTF6X/Bitbucket+Pipelines+Artifactory+Pipes>

Thanks,

Manish


Answers:
author: Robert Wen_ReleaseTEAM_
body: To integrate JFrog to your Bitbucket pipeline, you have to be in the YAML editor (I get there by selecting "Create first pipeline".

On the right, I expand the section for Pipes. I then do a search for JFrog. This is what I came up with: ![Screen Shot 2022-02-08 at 6.15.53 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/182249iDAD933075FB59D63/image-size/large?v=v2&px=999 "Screen Shot 2022-02-08 at 6.15.53 AM.png")

Once you've added the pipe, you should be able to follow JFrog's instructions for the integration.

Hope it helps!


Tags: bitbucket-cloud

cloud
App Password change, does it impact OAuth2?
Asked by Chee Hwee Chai:

Hi all,  
I have been informed of this change.

<https://bitbucket.org/blog/deprecating-atlassian-account-password-for-git-and-bitbucket-api-activity>

Seperately, I have received an email with the following content:
> Beginning March 1, 2022, you will no longer be able to use your Atlassian account password when using Basic authentication with the Bitbucket API or Git over HTTPS. For security reasons, we require all users to use [Bitbucket app passwords.](https://click.e.atlassian.com/?qs=3645ebf906f7d14e985e4409c5ce942e6cd6b89386eff532f086415395bb410dfcb0b6d75b3b25c16dc9e7f7c4368335daf184225273a7f968a3110bb17748ee)

I am trying to understand the scope of the change and its impact. It states that I cannot log in Atlassian account and password and requires all users to use Bitbucket app passwords. However, besides using app passwords, I also log in using OAuth2. <https://developer.atlassian.com/cloud/bitbucket/oauth-2/>

In the case of GCP Build Triggers, when I first set up the Bitbucket repository to connect to, I need to go through the "Authorization Code Grant" flow and acknowledge what access I am granting to Google Cloud Source Repository. If I check the Bitbucket API endpoints being called, they are URLs that are being used for "Authorization Code Grant" flow.

Based on these findings, am I right to say that there is no necessity to change existing triggers or mirrored repositories on GCP since they are using OAuth2 in the first place instead of Atlassian accounts and passwords?

Can I still use the JWT access tokens to access Bitbucket and clone/pull Git repositories after the App Password changes? Or is App Password the only way to login?


Answers:
author: David Dansby
body: Hey Chee Hwee Chai,

My name is David and I'm a backend engineer on the Bitbucket Cloud team.

Just to be clear, you are currently using the JWT access token in place of the OAuth access token, correct? If so, then you will not be required to make any changes.

To be more specific, Bitbucket Cloud supports three of OAuth 2.0's ([RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-4)) grant flows, plus a custom Bitbucket flow for exchanging JWT tokens for access tokens. Note that Resource Owner Password Credentials Grant (4.3) is no longer supported. If my understanding is correct in that you are using JWT access token for the authentication method, then you are correct, you will not require any changes.

You can find more info regarding our allowed authentication methods in our [REST API docs here](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#oauth-2-0).

Happy coding,

David Dansby


Tags: bitbucket-cloud

cloud

oauth
Filter Parameter to get commits of a repository by date in commits REST API of Bitbucket Cloud.
Asked by felis paul:

In Bitbucket Cloud, currently there is no filter parameter available to filter the commits of a Repository or Pull Requests by date or date time in Commits API. Please provide a filter parameter so as to filter commits by date in Commits API.


Answers:
author: Theodora Boudale
body: Hi [@felis paul](/t5/user/viewprofilepage/user-id/4747739),

We already have a feature request about this in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-11591>

This is where our product managers and development team track the requests for new features, so I would suggest adding your vote in that feature request (by selecting the **Vote for this issue** link) as the number of votes helps us to better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Move to a new Mac
Asked by Silvan David:

Hi

I am working with xampp - hence my project is in users/david/applications/xampp/htdocs.

This is also the path that SourceTree keeps a history on.

I am moving to a new Mac soon and I want to copy this project. I will install SourceTree of course as well.

Where is the SourceTree "database" kept so I can transfer it to my new Mac?

Many thanks


Answers:
author: Seth
body: Ok, there should be a hidden folder in the root of your repository named either .git (if you use Git) or .hg (if you use Mercurial). As long as that folder gets copied with all of it's contents, you should be good.

You'll still need to add the repo to your bookmarks in the new installation of sourcetree.


author: Silvan David
body: Hi

I mean the commit history, branches etc yes!

I assume I am using git, I don't know what mercurial is...

Thanks


author: Seth
body: By database, do you mean the commit history, branches, etc? Or do you mean data like bookmarks and preferences?Also, are you using git or mercurial (hg)?
Since last windows update, sourcetree won't load (exception 0xc0000409)
Asked by mehuge:

Faulting application name: SourceTree.exe, version: 1.6.14.0, time stamp: 0x54ea9dbe  
Faulting module name: d3d9.dll, version: 6.3.9600.17415, time stamp: 0x54505402  
Exception code: 0xc0000409  
Fault offset: 0x00000000000275be  
Faulting process ID: 0x1f70  
Faulting application start time: 0x01d05dbce7d1deed  
Faulting application path: C:\\Program Files (x86)\\Atlassian\\SourceTree\\SourceTree.exe  
Faulting module path: C:\\Windows\\SYSTEM32\\d3d9.dll  
Report ID: 26555fbf-c9b0-11e4-8269-d8cb8a18af95  
Faulting package full name:   
Faulting package-relative application ID:


Answers:
author: mehuge
body: Well, bit of a weird one. Looking around for problems to do with d3d9.dll saw things to do with graphics drivers and repairing directx. Tried updating graphics drivers, same problem. Ran dxdiag.exe which crashes trying to analyze directshow, but on re-run you can ignore directshow, and its otherwise reporting no problems.

One of my games (H1Z1) does not load, but its beta so maybe an unrelated issue, but broken DirectShow is a concern.

So still no where near closer to a solution, I searched my PC for d3d9.dll and found various versions, most of which are small (\~200KB) only one of which is the same size as the one in system32 (2.1MB).

So I copied this version (same version) of d3d9.dll into the sourcetree folder, and lo and behold sourctree loads.

So, is the one in system32 corrupt I thought?

/c/windows/system32/d3d9.dll  
972b9c13c75465b0d5a527584bb5819f \*/c/windows/system32/d3d9.dll  
/c/Program Files (x86)/Atlassian/SourceTree/d3d9.dll  
972b9c13c75465b0d5a527584bb5819f \*/c/Program Files (x86)/Atlassian/SourceTree/d3d9.dll

an md5sum says not.

Bit strange, but at least I have a work around.
SourceTree Site License for Education
Asked by Matthew Hughes:

I am an industry mentor for a high school video game development club. I am curious if I can direct the school's IT anywhere they can get an easy way to license SourceTree for the computer lab we use. Right now I have the students using Tortoise and I'd rather have them use your product.

Thanks!


Answers:
author: Axel Roest
body: The link does not work at the moment. I found another link, but that explains only distributing for Windows PCs.

I am looking for a way to distribute Sourcetree to 20 Mac clients, with a license. Where is the location for the magic file and contents?


author: Seth
body: SourceTree is free. Registration is required, but has no cost.

If you are looking for an efficient way to distribute a single license for your organization, try this knowledge base article:

<https://confluence.atlassian.com/display/SOURCETREEKB/SourceTree+License+For+Corporate+Usage>

comments: author: Olliebrown
body: That article is marked deprecated now with the latest version of sourcetree. Is there an updated article or can you provide a guide that would be applicable to the latest version? As with users above we would like to install sourcetree in a lab with about 20 windows PCs (we are a public university).
SourceTree keeps asking for Kiln authentication (Windows)
Asked by Inc33:

<http://prntscr.com/6fzs2m>

This is pretty annoying, because i can't get rid of it, no matter what.

I even removed the repository, and every connection to this account and restarted my pc, but it still keeps asking for the login authentication...


Answers:
author: Inc33
body: I have already removed the one associated with it..


author: Tim Mason
body: I managed to stop it. Go to Tools-\>Options-\>Authentication and delete all the Saved Passwords and User Names.


author: Inc33
body: Yeah, i think it's happening to many people, and atlassian is ignoring it, even though it should be an easy fix...


author: Tim Mason
body: I'm also having a similar problem, but with GitLab. It is very annoying.
How to fix this SourceTree error - "fatal: 'submodule' appears to be a git command, but we were not able to execute it. Maybe git-submodule is broken?" on Windows 7?
Asked by Saud:

I have SourceTree (v1.16.14.0) installed on a Windows 7 OS.

When I try to clone a repo from Stash, I get the following error -

image2015-3-12 12:58:54.png

I have tried switching from Embedded-Git to System-Git but receive the same error.

Any help/direction is highly appreciated.

Regards,

Saud.

[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-fix-this-SourceTree-error-quot-fatal-submodule-appears-to/qaq-p/60206?attachment-id=3264){#link_116a83902910ef}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/1773/1/image2015-3-12%2012%3A58%3A54.png){#display_116a83902910ef_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-fix-this-SourceTree-error-quot-fatal-submodule-appears-to/qaq-p/60206?attachment-id=3265){#link_116a83902910ef_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/1773/2/SourceTree_Version.JPG){#display_116a83902910ef_2}


Answers:
author: xerx593
body: I am not sure about the exact reason/connection, but I could overcome the same issue by launching source tree "as Adminstrator".

Hope it helps you, too.

Regards, Alex

comments: author: jamesxv7
body: Just to confirm. I was experience the same issue. Running SourceTree "as Administrator" resolve the problem.


author: Matt Klassen
body: I'm having a similar issue with "Pull" and "Stash". I'm on Win7 too and I just installed the latest update of SourceTree this morning (now at 1.6.16.0), but I still can't pull using SourceTree:

image2015-7-13 11:38:39.png

Incidentally, CLI git pull works just fine.

Any suggestions would be welcome.

Matt  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-fix-this-SourceTree-error-quot-fatal-submodule-appears-to/qaq-p/60206?attachment-id=5245){#link_116a839b546e0a}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/1774/1/image2015-7-13%2011%3A38%3A39.png){#display_116a839b546e0a_0}


Tags: windows
Is it possible to programmatically create SourceTree repository?
Asked by Andrew Taylor:

I would like to automatically create a new SourceTree repository when creating a new project using a Visual Studio template. I know I can use command line git to create the local repository, but I would like to allocate the repository within SourceTree, assign the repository to a grouping and configure the default remote... basically automating the work that the developer would be doing.

Is such a thing possible within SourceTree? If not, is there any way to do it 'behind the scenes', ie by manipulating the SourceTree configuration?

Thanks!


Answers:
author: Seth
body: This blog post lists some features that can be run from the command line, but it doesn't look like any are what you're looking for: <https://blog.sourcetreeapp.com/2014/01/29/sourcetree-for-windows-1-4-released/>