youngmon/atlassian-qna huggingface dataset:
How can I rename confluence names on Trello
Asked by Tais Takehara:

When we attach a file to Trello, we add the confluence link and rename it like picture 1 (Step 1), when we click to save it, it goes like picture 2 ( This is what happens). If we want to delete an attachment, it gives us the options renamed. But the file is still full of "codes" and looooong name like in picture 3 (deleting an attachment)

![Deleting an attachment.PNG](/t5/image/serverpage/image-id/196229iFF08DE64315A73E3/image-size/large?v=v2&px=999 "Deleting an attachment.PNG")![Step 1.PNG](/t5/image/serverpage/image-id/196230iC53797F101D27184/image-size/large?v=v2&px=999 "Step 1.PNG")![This is what happens.PNG](/t5/image/serverpage/image-id/196231i836A9EE0ADFDE116/image-size/large?v=v2&px=999 "This is what happens.PNG")


Answers:
author: Theodoro Reato
body: Hi,

Could you remove these articles,

Add the [Confluence Cloud Power-up](https://trello.com/power-ups/586be37142f94dc0871fbcbb),

Then add the articles,

Let me know if this works,

comments: author: Tais Takehara
body: Unfortunately not. I believe it is a bug because I already had this power-up there.

Also, I see that the renaming thing is shown on the notifications, but it's not shown on the card link.


author: Theodoro Reato
body: Hum, I see.

Can you open a ticket at [www.trello.com/contact](http://www.trello.com/contact)?

We can dig and request personal information there.


author: Tais Takehara
body: Perfect! Doing it right now!

Thanks


Tags: confluence

issue-link

rename
BitBucket - dead accounts caused by "Can't login - username already exists"
Asked by Benjamin Lachs:

Hello, I have many different usernames (all of which are no longer in use), and now I have to start mis-spelling my username. Is it possible to find out how to re-use a username? Specifically, the following usernames are no longer in use: blachs, benlachs, benjilachs, benjaminlachs ; I have now just created a new username "benjamnlachs" which I don't like, specifically because the other 4 accounts which are unused are now "reserved forever" in BitBucket's usernamespace.

(1) It would be good to know how a given username can be re-used, when the email (eg, using Google Auth) changes.

(2) Can I change my username to any of the 4 usernames I have mentioned (which are presently unused, yet reserved)?


Answers:
author: Syahrul
body: Hey [@Benjamin Lachs](/t5/user/viewprofilepage/user-id/4324783) ,

G'Day!

It looks like most of the account you share is managed account so if you no longer have access to the account it's not possible for you to change the username without logging into the account.

If any of the accounts are not managed then you can follow the guide [here](https://support.atlassian.com/bitbucket-cloud/docs/update-your-username/) to update or change your username to free it up.

Basically, the username is tied to a Bitbucket account and it's a first come first served basis. If it's already being used you need to login to the current owner of the username and change it to something else to free it up.

Hope this helps.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
atlassian/ftp-deploy:0.3.5 copy only new or edited files
Asked by Shahidain:

please provide a sample command to copy only new or edited files


Answers:
author: Oleksandr Kyrdan
body: Hi [@Shahidain](/t5/user/viewprofilepage/user-id/4324485)

Thank you for your question!

According to the [lftp docs](http://manpages.ubuntu.com/manpages/trusty/en/man1/lftp.1.html), recommended way to use the parameter "--only-newer " or "-n":

```
script:  - pipe: atlassian/ftp-deploy:0.3.6    variables:      USER: my-ftp-user      PASSWORD: $FTP_PASSWORD      SERVER: 127.0.0.1      REMOTE_PATH: /tmp/my-remote-directory      LOCAL_PATH: build
      EXTRA_ARGS: --only-newer
```

<br />

Best regards,  
Oleksand Kyrdan  


Tags: bitbucket-pipelines

cloud

ftp
Branch write permissions from access key?
Asked by danthegoodmanicloud:

It seems this is possible in BB server since a while ago (<https://www.atlassian.com/blog/bitbucket/add-access-keys-branch-permissions-bitbucket-server-4-14>), is this something we can do in BB cloud?

I need to push back to a repo to update semver versions, and I only want the pipelines itself to be able to do so on protected branches. When I start typing the access key in the write permissions input, there is no autosuggestion showing I can use it.


Answers:
author: danthegoodmanicloud
body: I've also found this: <https://stackoverflow.com/questions/56828685/cant-git-push-to-bitbucket-unauthorized-fatal-could-not-read-from-remote-re/56828686>

Is the write using access keys a feature only found in BB server? That seems like it would be very strange...


Tags: bitbucket-cloud

cloud

permission
SFTP deployment trying root ssh keys
Asked by Gennari Alexandre:

Hello

I'm trying to set-up a SFTP deployment pipelines.

This is my bitbucket-pipelines.yml:

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

But, when I'm trying to run a pipeline, I got this error: $USER_PIPELINES@$SERVER: Permission denied (publickey).

The user I'm using to deploy is "pipelines" on my Debian System.

The logs are also showing this :

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

Why the pipeline is searching the key trough /root folder?

I checked into /home/pipelines/.ssh/authorized_keys: I have the file and permissions are corrects.

I checked into the config file /etc/ssh/sshd_config : AuthorizedKeysFile %h/.ssh/authorized_keys

I don't know what to check... If anyone have a solution...

Best regards


Answers:
author: Gennari Alexandre
body: Solved: needed to remove the PASSWORD on variables...


Tags: bitbucket-pipelines
I need more member
Asked by ShiWei:

My repository's is full, but i don't know how to upgrade.


Answers:
author: Kurt Klinner
body: [@ShiWei](/t5/user/viewprofilepage/user-id/4324340)

Hi ShiWei

welcome to the Atlassian community

just switch to the plans and billing area within the settings of your workspace

[https://bitbucket.org/\<YOURWORKSPACE\>/workspace/settings/plans-and-billing]()

![Screenshot 2021-03-28 at 23.10.30.png](https://community.atlassian.com/t5/image/serverpage/image-id/136324i101F786A26E8EA27/image-size/large?v=v2&px=999 "Screenshot 2021-03-28 at 23.10.30.png")

See also

<https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/>

Hope that helps

Cheers

Kurt
how to remove duplicate SSH key from old account?
Asked by iyappan24:

Hi guys,

I was using bitbucket and its features back in 2018 for a project in my old firm. The email that I have used was the outlook email that I was given to me by the firm. I was using my personal Laptop ( as it was a startup ). My personal Laptops SSH is still in that account.

Currently, I have created a project and repository in bitbucket and trying to add my SSH for cloning and the following error is coming :

**Someone has already added that SSH key to another account.**

I ran this command in my terminal to see the account which is linked to my SSH. The result was the following :

**logged in as iyappan_office**

I know for a fact that I cannot recover this account, because I am no longer associated with that firm and I cannot use that email ID anymore as it does not exist.

But I want to add my SSH key to my new account and project and remove this ssh key from the previous account ! How do I do it?


Answers:
author: Theodora Boudale
body: Hi [@iyappan24](/t5/user/viewprofilepage/user-id/4323809) ,

At the moment, the only way to remove an SSH key from an account is either via the UI after you log in to the account, or with an API call. Both ways require knowing the account's password, or, for the API call, an app-password could be used that has appropriate permissions.

If you still remember the account's password, I believe you should be able to log in even if the email is inactive, and remove the SSH key.

If you don't remember the password or an app-password of this account, then I'm afraid that you'll need to use a different SSH key for your new account.

We have a feature request for the ability to remove an account's SSH key via an SSH command (if the private key is present on the machine):

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

I would suggest that you add your vote (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for 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 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.

If you have any other questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

ssh
I feel there is code leak or theft by an user who has admin access over repositories.
Asked by Ranjith Reddy:

I feel there is code leak or theft by an user who has admin access over repositories of my Bitbucket. Can bitbucket tell that who has accessed and copied my code to their local in past 6 months? I'm very serious on this and I'm doubting this as I saw the same product in others hands.


Answers:
author: Theodora Boudale
body: Hi [@Ranjith Reddy](/t5/user/viewprofilepage/user-id/1343766) ,

I don't believe that we can provide access logs that far back. However, you can open a ticket with the support team and ask if they can provide you with more recent logs that may be available in our system.

Please note that admin access is not required for getting a repo's code locally, any user with at least read access to a certain repo can clone/pull the code in their machine. I'm assuming that you're looking for clone/pull events in this case?

I would suggest opening a ticket with the support team and ask if there are logs they can provide you with. You can open a ticket via <https://support.atlassian.com/contact/>, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product. Please mention if this is for a specific repository(-ies) or all repos for a certain workspace, and also mention that you're looking for clone/pull events.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


author: Nic Brough -Adaptavist-
body: No, the access logs are not kept that long, and if you've allowed public access, there's no way to record who may have copied it either.

If someone has grabbed a copy of your code and you have not enabled public access, then it is an account you have let have access, but that's the best we can tell you.


Tags: bitbucket-cloud

cloud

log
How multiple apply aws eks?
Asked by Nikolai Zhukov:

i need apply several yaml files in bitbucket pipeline

1.yaml

.

.

.

n.yaml

Now i use construction with multiple pipes:

```
######################################### DEPLOYMENT  1.yaml    
            - pipe: atlassian/aws-eks-kubectl-run:1.4.1 
             variables:  
               AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}  
               AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} 
               AWS_DEFAULT_REGION: ${AWS_REGION}  
               CLUSTER_NAME: ${CLUSTER_NAME}      
               KUBECTL_COMMAND: "apply"       
               RESOURCE_PATH: "1.yaml"  
               DEBUG: "true"  
######################################### DEPLOYMENT  2.yaml    
            - pipe: atlassian/aws-eks-kubectl-run:1.4.1 
             variables:  
               AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}  
               AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} 
               AWS_DEFAULT_REGION: ${AWS_REGION}  
               CLUSTER_NAME: ${CLUSTER_NAME}      
               KUBECTL_COMMAND: "apply"       
               RESOURCE_PATH: "2.yaml"  
               DEBUG: "true"  
```

But it looks not good, i want once run pipe, like :

```
######################################### DEPLOYMENT  1.yaml  ... n.yaml  
            - pipe: atlassian/aws-eks-kubectl-run:1.4.1 
             variables:  
               AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}  
               AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} 
               AWS_DEFAULT_REGION: ${AWS_REGION}  
               CLUSTER_NAME: ${CLUSTER_NAME}      
               KUBECTL_COMMAND: "apply"       
               RESOURCE_PATH: "1.yaml" , "n.yaml" 
               DEBUG: "true"  
```

But it is not working.

May be you know another way to do it?


Answers:
author: Halyna Berezovska
body: [@Nikolai Zhukov](/t5/user/viewprofilepage/user-id/4172215)you can pass a directory that contains your .yml files for kubernetes to apply.

Like RESOURCE_PATH: 'dir', where dir will contain 1.yaml , n.yaml

Regards, Galyna


Tags: aws

bitbucket-pipelines

cloud

yaml
deployment variables inside aws eks
Asked by Nikolai Zhukov:

Hi, i'v tried create configmap in aws eks using deployment variables , but it's working for me, does it possible?

file front_config.yaml

```
apiVersion: v1
kind: ConfigMap
metadata:
  name: frontend-testsubscriptions
  namespace : testsubscriptions
data:  # property-like keys; each key maps to a simple value
  VIRTUAL_HOST: "$VIRTUAL_HOST"
```

But after apply

```

            - pipe: atlassian/aws-eks-kubectl-run:1.4.1  
            variables: 
               AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
               AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}  
               AWS_DEFAULT_REGION: ${AWS_REGION}
               CLUSTER_NAME: ${CLUSTER_NAME}
               KUBECTL_COMMAND: "apply" 
               RESOURCE_PATH: "front_config.yaml" 
               DEBUG: "true"  ?
```

i got

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

But $VIRTUAL_HOST it is Deplyment variable - and it is should be as value


Answers:
author: Nikolai Zhukov
body: It is easy

```
            - envsubst < frontend.tpl.yaml > frontend.yaml
            - pipe: atlassian/aws-eks-kubectl-run:1.4.1  
            variables: 
               AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
               AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}  
               AWS_DEFAULT_REGION: ${AWS_REGION}
               CLUSTER_NAME: ${CLUSTER_NAME}
               KUBECTL_COMMAND: "apply" 
               RESOURCE_PATH: "front.yaml" 
               DEBUG: "true"  ??
```


Tags: aws

bitbucket-pipelines

variable
Deployment default environment variables
Asked by Vitor Oliveira:

Is there a way to start the repository Deployment with default environment variables?  
We have multiple aws accounts and all of my deployments have the same environment variables like AWS_KEY, AWS_SECRET and AWS_REGION. I was wondering if was possible to each time I start a new repository it comes with those variables


Answers:
author: Theodora Boudale
body: Hi [@Vitor Oliveira](/t5/user/viewprofilepage/user-id/4319757) and welcome to the community.

I'm afraid that this is not possible at the moment.

I can open a feature request for this in our issue tracker if you'd like, please feel free to let me know.

Since we're talking about deployment environment variables, I assume that the requirement is to have certain default deployment environments along with their respective variables?

Would you like to be able to set this up on the workspace level, for all repos owned by the workspace? Or perhaps on a project level?

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

deployment
Can I trigger a pipeline by sending a POST request to a webhook URL?
Asked by nathanakrill:

I would like to be able to trigger a pipeline to build every time I send a request to a webhook URL.

Use case:

I have a headless WordPress install that every time any content is updated, it sends a request to a webhook. Currently, it sends to Netlify to rebuild the static front-end. I would like this instead to trigger a bitbucket pipeline.


Answers:
author: Dario B
body: Hello [@nathanakrill](/t5/user/viewprofilepage/user-id/3179116) ,

I believe the same topic has already been discussed in the below thread:

* [Trigger Pipeline with API](https://community.atlassian.com/t5/Bitbucket-questions/Trigger-Pipeline-with-API/qaq-p/1065247)

Can you please review it and confirm it answers your question?

Also, the complete Bitbucket Cloud REST API documentation is available at below URL:

* <https://developer.atlassian.com/bitbucket/api/2/reference/resource/>

Cheers,  
Dario

comments: author: nathanakrill
body: Hi Dario, thanks for that.

While it does trigger a pipeline, I cannot use the API in that way because the format the trigger works in just uses a URL. (The plugin I am using for this is [here](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/tutorials/configuring-wp-gatsby.md) )  

I cannot do oAuth or set headers like in the example provided.


author: Dario B
body: Hello [@nathanakrill](/t5/user/viewprofilepage/user-id/3179116) ,

I have no knowledge of the tool you are using. However, I can confirm that in order to be able to call any Bitbucket REST API endpoint you must be able to authenticate your requests using one of the methods described in:

* <https://developer.atlassian.com/bitbucket/api/2/reference/meta/authentication>


Tags: bitbucket-cloud

cloud
ECONNREFUSED 127.0.0.1:1234 - Seems unable to allow service to access local
Asked by e r:

I have this on my bitbucket-pipeline.yml file:

    docker run -d -p 1234:1234 agoldis/sorry-cypress-director

`Works fine and goes to the next step.`

`However, when running my cypress tests, I get this error:`

    We encountered an unexpected error talking to our servers.
    We will retry 3 more times in 30 seconds...
    The server's response was:RequestError: Error: connect ECONNREFUSED 127.0.0.1:1234

Understandably, it seems that the service is trying to access the local host which bitbucket is allowing.

Someone in another forum suggested that the ports might not be open for external access. However, there was no error in the docker run and port mapping was also included above.


Answers:
author: e r
body: Anyone who can assist with this please?


Tags: bitbucket-pipelines

cloud

docker

localhost

port
Why can't I find a way to give another user admin access to manage our corporate workspace?
Asked by Lewanna Rathbun:

There are 2 of us that manage the DevOps functionality. I need for BOTH of us to have access to create repositories in our single workspace, add Oauth consumers, be able to manage workspace users... .basically be an admin. I do NOT want to transfer ownership.. I want to share it. How??


Answers:
author: Tyler T
body: Hi [@Lewanna Rathbun](/t5/user/viewprofilepage/user-id/3774063) ,

Is there a reason to not make them an admin? Workspaces don't necessarily have a concept of being transferred when there are multiple admins. It is more like shared ownership.

Here is an additional resource about granting various levels of access: <https://support.atlassian.com/bitbucket-cloud/docs/grant-access-to-a-workspace/>

comments: author: Lewanna Rathbun
body: The problem is that there isn't any way for a non admin user to have access to Workspace settings. THAT is the menu I need to be able to share and as of now, the person that is administering multiple repos needs access to that menu and can't get it.


Tags: administration

bitbucket-cloud

cloud

workspace
No jira issue linked to pull request
Asked by Bohdan:

Hi! How automatically linked Jira issues when making a pull request.? <https://prnt.sc/10vatrg>

I have made integration with jira <https://prnt.sc/10vazyo> But still no issues there


Answers:
author: Esther Strom
body: Hi, [@Bohdan](/t5/user/viewprofilepage/user-id/4305165)

The easiest way to create a link between a ticket and a pull request is to just set your branch's commit message to have the Jira ticket number be the first thing in the commit.

```
git commit -am "JIRA-123 this is my commit message"
```

This will result in a link from this commit/branch to the jira ticket called JIRA-123.

comments: author: devynfarr
body: Ok that's the easiest way. Are there other ways?

What if the commit message didn't include the proper ticket number, but I still want to create the link between the issue and the P/R?

So far the only solution I've come up with is creating another commit to the P/R branch simply to mention the ticket number. Kinda awkward.


author: Esther Strom
body: The [full documentation](https://support.atlassian.com/jira-software-cloud/docs/reference-issues-in-your-development-work/) on how development tools are linked to Jira tickets.


author: devynfarr
body: This was not very helpful.

The link states the following options for a P/R:

1. Include a commit in the pull request that has the issue key in the commit message. Note, the commit cannot be a merge commit (this is the dummy commit option i mentioned above).
2. Include the issue key at the beginning of the pull request title. (only works for 1 issue, and is misleading since a "forgotten" or "late addition" issue is likely a minor one in the context of the P/R, not worthy of being in the title)
3. Ensure that the source branch name also includes the issue key at the beginning of the branch name. (not something you'd change after the fact just to connect a missed jira issue)

These are all equally non-ideal options. Thankyou for digging up that document. I'll have to impress upon my team the seriousness of getting their commit messages right the first time.


author: Esther Strom
body: I don't have anything helpful to say about 1 and 3, but 2 is incorrect. You can connect multiple tickets to a single pull request by including all ticket numbers at the start of your commit message:

```
git commit -am "JIRA-123 JIRA-234 JIRA-345 link multiple tickets"??
```

(It's been a while since I've done this as I'm no longer a dev; you may need to comma-separate the ticket numbers, but I don't think so.)


Tags: atl-gruland

bitbucket-cloud

cloud

connect

jira-cloud
why does it say invalid username and password when I try to import the repository?
Asked by Jaspreet Kaur:

I ma trying to import a repo but it says invalid username and password. please help me resolve it.


Answers:
author: Theodora Boudale
body: Hi [@Jaspreet Kaur](/t5/user/viewprofilepage/user-id/4321836) and welcome to the community.

Are you trying to import a repo to Bitbucket Cloud (<https://bitbucket.org/>) or to a Bitbucket Server (self-hosted) instance?

The message indicates that authentication does not succeed with the username + password you have provided.

The first thing I would suggest checking is whether you can log in with this username and password to the website of the hosting provider where the repo is hosted now. I would also suggest that you try cloning the repo from your computer/laptop with these credentials and see if this succeeds. This is to double check whether the credentials are correct and if they work when cloning to your local machine.

One possibility that I can think of is that if you have 2FA enabled in the account of the hosting provider where the repo is hosted now, you may need to use something like an app password or access token, instead of the account's password. Can you check whether there is an option to generate something like this, and try using that instead of a password when you import the repo?

Kind regards,  
Theodora