youngmon/atlassian-qna huggingface dataset:
Slack Notification
Asked by Susan Smit:

Is there a way to get a push notification in your Slack Channel when a Trello Card moves onto a certain list. The automation rule works with Slack showing the card on the channel, but there is no push notification. The client will only see there is a task in the channel once they open it.


Answers:
author: Rosa M Fossi
body: Hmmm\~ I just tested and quick "if moved into list XYZ then post to slack" automation, and I got a push notification in my slack. I ***did*** notice that if I left the "as myself" when posting in the trello automation, I did ++**not**++ get a notification... but that's working as designed within Slack.

If the "post as" is set to Butler, then perhaps this is a channel/notification setting on the slack side? I know I have a slew of channels muted in my Slack.

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

comments: author: Susan Smit
body: Thank you for your reply. Yes the same with me. I muted a bunch of slack notifications, maybe I have to check that out.
Powerups not showing up
Asked by Andy von Busse:

I've tried numerous times and different ways to get powerups to show on the cards, but they do not. I DO see two blank shaded areas where the powerups should be (I have two enabled), but flushing cache, uninstalling and reinstalling powerup, rebooting computer, none have helped.

Any ideas what I should be looking for?


Answers:
author: Alex W
body: Hey [@Andy von Busse](/t5/user/viewprofilepage/user-id/2847103) - did you already raise a ticket about this with Trello Support? If not, can you raise one at <https://trello.com/contact>
Top header of trello card problem.
Asked by Dave Profile:

The top header of each trello card used to display all of the text. Now it only shows the upper part and I must use the arrow keys to scroll through all of it to edit or add to it.

Has anyone else seen this? Is there a fix? Have I changed something by mistake?

It happens on multiple computer stations.....

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


Answers:
author: Alex W
body: Hey [@Dave Profile](/t5/user/viewprofilepage/user-id/4833213) - someone else has already raised this at <https://community.atlassian.com/t5/Trello-questions/While-creating-a-title-for-a-card-the-viewable-box-shrunk-to-1-5/qaq-p/1978724>

I'll post there when we fix this issue.
Cannot delete workspace
Asked by ?????:

I want to delete workspace .  
As shown in the attached picture, the "Delete Workspace" button is disabled.  
All other conditions for deletion seem to have been satisfied, so why can't I delete it?![?? ?? 2022-03-23 100258.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/189490i3710C237A3B58F46/image-size/large?v=v2&px=999 "?? ?? 2022-03-23 100258.jpg")


Answers:
author: Alex W
body: Hey [@?????](/t5/user/viewprofilepage/user-id/4833280) as per the instructions in the screenshot you've sent, you need to enter the workspace name in the field above the button 'Delete Workspace'. If you type in Daily there, the Delete Workspace button will stop being greyed out.

comments: author: ?????
body: Thank you. When I entered the name again, it was deleted.


author: Alex W
body: Glad I could clear that up for you [@?????](/t5/user/viewprofilepage/user-id/4833280)


author: vernon reed
body: Thank you. I had that same problem.


author: Knirschi
body: Thank you, same here


author: Joe Pantozzi
body: Just had same issue....this is great. Thank you!
Adding Group level access to the Default Reviewers on a repo
Asked by PRAVEEN KUMAR SARAVANAN:

Am looking to setup group level access to the default reviewers on the repository. My team is growing in size and number of projects, so this will be a useful feature for teams that are scaling.


Answers:
author: Theodora Boudale
body: Hi [@PRAVEEN KUMAR SARAVANAN](/t5/user/viewprofilepage/user-id/4240241) and welcome to the community.

I'm afraid that this is not possible at the moment, I understand that this would be a useful feature though.

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

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

I would suggest to add your vote there (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 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 are posted in the feature request.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Is it possible to set merge rules on a workspace scale?
Asked by Gueorgui Milouchev:

I mean something like, "In this workspace, no one can merge to master without a pull request"

I want to change the permissions for a lot of repositories at once and it would take me forever to configure merge rules for every single one.


Answers:
author: Theodora Boudale
body: Hi [@Gueorgui Milouchev](/t5/user/viewprofilepage/user-id/3738346) ,

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

We have a feature request in our issue tracker that you can vote for

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

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 are posted in the feature request.

In the meantime, one suggestion I can make would be to use our API to create a branch restriction in all repos of your workspace.

You could write a script where you retrieve all repos owned by a workspace and their respective UUID with this endpoint:

* <https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D>

and you can then use the following endpoint to create a branch permission in each repo of this workspace:

* <https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/branch-restrictions>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Does anyone know how to change the favicon, or appearance in general?
Asked by Gueorgui Milouchev:

When I was on Bitbucket Server I was able to customize how it looked. Is that possible with Cloud?


Answers:
author: seanaty
body: No. The only customization you can do is the repo avatar.

comments: author: Gueorgui Milouchev
body: Wow, that's kind of annoying. Oh well.


author: SEU-Java Support
body: Please have a look into the free "Bitbucket Look and Feel Plugin" from Atlassian. There you can change the following: ;-)  
![lookandfeel.png](https://community.atlassian.com/t5/image/serverpage/image-id/336585i9C99AB2F26CB9C9B/image-size/large?v=v2&px=999 "lookandfeel.png")


Tags: bitbucket-cloud

cloud
Repo variables without Admin
Asked by Ming Han Chung:

Why do you need full admin rights to be able to change repo variables? Is there a way around this?


Answers:
author: ktomk
body: You need full admin rights because they affect all pipelines in the repository and therefore all users.

As an alternative you can hard-encode the variables in a pipeline step and/or source them from environment files you share with the repository. This can be controlled by any member of the team that can also push.

Only scheduled pipelines from a branch a user has no access to might not be possible to change there.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Execute schedule only if new commits
Asked by Orlando Krause:

What I need, is to execute a pipeline once a day and only if something changed.

Is there a way to configure pipelines to execute on schedule only if there is new commits from the previous scheduled build?


Answers:
author: Theodora Boudale
body: Hi Orlando,

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

There is a feature request for this in our issue tracker:

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

I would recommend adding your vote by selecting the **Vote for this issue** link as the number of votes helps product managers better understand the demand for new features. You are more then 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.

In the meantime, one suggestion I can make would be to create a custom pipeline (these don't run automatically) that you trigger manually once a day if there are new commits. I understand this creates extra work if there is a large number of repos where you want to do this, but this way you can avoid scheduled builds when there are no new commits.

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

Kind regards,  
Theodora


Tags: bitbucket-pipelines

bitbucket-cloud

cloud
Cant find Issues and Trello integration
Asked by Marlon M?ller:

I cant find where I can add a new issue and where I can link a trello borad to my project / repository


Answers:
author: Theodora Boudale
body: Hi Marlon and welcome to the community.

They both need to be enabled for a Bitbucket Cloud repo. If you're an administrator of the repo, you can do this yourself.

++**Issues**++

1. Open the repo in Bitbucket website
2. Go to **Repository settings** \> **Issue tracker**
3. In there you can enable either a private issue tracker (visible to those who have repo access) or a public one
4. Save your changes and when you go back, you'll see an option **Issues** in the left hand column

++**Trello**++

1. Go to **Repository settings** \> **TRELLO Settings**
2. In there you will see an option to enable Trello
3. You'll be asked to connect to your Trello account, and afterwards you'll be able to link a board
4. After you set this up, if you go back (exit repository settings), refresh your page and you'll see a **Trello** option in the left hand column

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

issue

trello
CD on AWS S3: Copying build/ folder
Asked by Lara Dias Vasconcelos:

I am using a documentation generator that behind uses react. To generate the documentation I do the following steps:

"yarn install"

"yarn build"

Then i get a folder called build/ with all static content. I would like to send this static content inside this folder into a S3 bucket.

I read aws S3 pipeline yml file, but how, before I send the folder I build it? (with the yarn commands)?

I was thinking something like:

a) Get contents from my repo

b) yarn install

c) yarn build

If everything went ok:

d) Get files inside build/ and copy to S3

Can anyone help me create this pipeline file?


Answers:
author: Oleksandr Kyrdan
body: Hi [@Lara Dias Vasconcelos](/t5/user/viewprofilepage/user-id/4239470) ,

Thank you for your question!

After build step your pipeline should create build [artifacts](https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/), so the next step could use them to deploy to AWS S3 bucket.

You could use and extend this pipeline:

```
image: node:10.15.3

# Workflow Configuration

pipelines:
  default:
    - step:
      name: Build and Test
      caches:
        - node
      script:
        - yarn install
        # CI=true in default variables for Bitbucket Pipelines https://support.atlassian.com/bitbucket-cloud/docs/variables-in-pipelines/
        - yarn test
        - yarn run build
      artifacts:
        - build/**
    - step:
      name: Deploy to Production
      deployment: Production
      clone:
        enabled: false
      script:
        # sync your files to S3
        - pipe: atlassian/aws-s3-deploy:0.4.5
          variables:
            AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
            AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
            AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
            S3_BUCKET: 'my-bucket-name'
            LOCAL_PATH: 'build'
```

But before, please, make sure that node image is right for your build environment or modify it.  

More details you could find in the [Configure bitbucket-pipelines.yml guide](https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/) and in the repository with [Template react deploy](https://bitbucket.org/bitbucketpipelines/template-react-deploy/src/master/bitbucket-pipelines.yml).

Cheers,  
Oleksandr


Tags: aws

bitbucket-pipelines

deployment

node

react.js
Can Bitbucket API be used to retrieve commits over a month for projects and different users?
Asked by Luke Frost:

Is it possible at all that you can use the Bitbucket API to retrieve the amount of commits over a month for a project and for a user on the bitbucket platform?

I've looked at the API documentation and whilst there is an api call there for retrieving commits I can't find anything for getting commits over a month.


Answers:
author: Theodora Boudale
body: Hi Luke and welcome to the community.

I believe that your question is about Bitbucket Cloud API?

I'm afraid that this is not possible at the moment, we have a feature request for this in our issue tracker that I would suggest voting for and watching if you'd like to get notified via email on updates:

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

One suggestion I can make as a workaround would be to use a git log command, which has filters for --after, --before and --author. If you run it in a mirror clone of the repo (so that all branches are present) it should give you the info you want.

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

Kind regards,  
Theodora


Tags: api

bitbucket-cloud
Do you have a SOC 1 report and Bridge letter which cover 2020 ?
Asked by Bogdan Manda:

External auditors are requires SOC 1 report.


Answers:
author: Nic Brough -Adaptavist-
body: See <https://www.atlassian.com/trust> and <https://www.atlassian.com/trust/compliance>

comments: author: Bogdan Manda
body: I do not see SOC 1 report ? Due you have such report ?


author: Nic Brough -Adaptavist-
body: Last I heard was they are not a financial service, so the SOC2 better addressed Atlassian's offerings.


Tags: compliance
Can I view access logs (Bitbucket)
Asked by Jason Herz:

My company is doing an annual audit and I found a few external users that we'd like to review in further depth, other than when they accepted the invite. I am hoping to be able to read a log with, at the very least, last login details.

We're using Bitbucket Cloud and on the Standard plan

I have run through the system and found only Audit Logs which show when users accepted an invite or created a repo and things of that nature (very top-level). Is there anywhere I can see some more detailed logs? Again, I am looking for their last login details, and possibly what branch or commit of a repo was viewed/edited/etc.

I am welcome to ANY suggestions

Thank you for your assistance,

Jason


Answers:
author: Theodora Boudale
body: Hi Jason,

The only log available for admins is the Audit log, we don't show anywhere last login details of users or access to repos.

We have feature requests for adding more events in the Audit Log, e.g.:

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

I would suggest opening a ticket with Bitbucket Cloud support team, mention the workspace you want to check access for, and also the emails of these users. The engineer working on your ticket will review the info and let you know if and what info they can provide you. The support ticket will be visible only to you and Atlassian staff.

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 feel free to let me know if you have any questions.

Kind regards,  
Theodora

comments: author: Jason Herz
body: [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) Thank you for your help. Although this DOES answer my question, it was not what I was hoping for :D hopefully a new feature deploy will happen soon and more details will be available in the Audit Log section.

Thanks again for your help,

Jason


Tags: access

bitbucket-cloud

cloud

log

permission

repository
Retrieve all open Pull Requests using API
Asked by Pim Reijersen:

The goal is to retrieve all open Pull Requests at the end of the day to notify users on slack.


Answers:
author: seanaty
body: There is this API to GET all pull requests within a repository.  

<https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pullrequests>

By default, it only shows open pull requests so you don't have to do any filtering, however, if you wanted to, here are some capabilities of the Bitbucket API:

```
/2.0/repositories/bitbucket/bitbucket/pullrequests?q=state%3D"MERGED"%20or%20state%3D"OPEN"%20or%20state%3D"DECLINED"&fields=values.state,values.title&pagelen=50
```

You can filter with the q parameter. After URL-decoding the value you see we are passing ing 'state="MERGED" or state="OPEN" or state="DECLINED"' as our filtering criteria. Here's more information on how it works. <https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering> (again, the default shows status=OPEN so you don't need this parameter.

The next parameter is \`fields\`. This let's you include/exclude/explicitly declare fields you'd like returned. Here I'm only returning the PR title and status for demonstration.

The final parameter, \`pagelen\` returns 50 results instead of the maximum of 10.


Tags: bitbucket-cloud

cloud
How to create empty repository
Asked by Varalakshmi bandi:

Hi, I have access with Bitbucket but I don't know How to create repository .Could anyone help on this?


Answers:
author: Hana Ku?erov?
body: Hi [@Varalakshmi bandi](/t5/user/viewprofilepage/user-id/4238255) ,

welcome to the Atlassian community!

Which type of hosting do you have? Cloud or Server/Data Center? The answer depends on it, you can find instructions here:

* [Cloud](https://support.atlassian.com/bitbucket-cloud/docs/create-a-repository/)
* [Server / Data Center](https://confluence.atlassian.com/bitbucketserver/creating-repositories-776639815.html)

If something is not clear, please let me know.
Wiki Markdown display differs from Edit Preview
Asked by rvandenassum:

I'm not sure whether I'm complete mislooking this functionality, but I'm not able to get my wiki work.

Markdown elements are perfectly converted/applied in the Edit \> Preview, but NOT in the wiki-url display.

Some examples:

* # Heading one  
  when showing in preview, this has 'markdown-heading-heading-one' as ID anchor  
  when showing in BitBucket wiki no id is generated, but text is wrapped in \<h1\>
* \[TOC\]  
  when showing in preview, a complete Table Of Content is generated, with working links  
  when showing in Bitbucket wiki '\[TOC\]' is shown.

So it kind of seems the Bitbucket wiki display uses different libraries to process the markdown to display in the front-end (end-users) vs. what is shown in Preview.

Is this a known issue, or maybe some repository settings I'm missing?

Thanks in advance!

Reproduction:

1) Create new Wiki page and click Preview (then you'll see the heading, horizontal lines and the Table of Content and the horizontal lines); Inspecting the headings you'll see 'markdown-heading-one' as example ID for the \<h1\>  

# Heading One #  
This is some nice text

## With sub title ##

Some additional text

<br />

---

\[TOC\]

----

2) Now save the wiki page and move out of Editor mode towards the Bitbucket.com/wiki/... page, there you'll see the heading and horizontal lines but \[TOC\] is not replaced and no anchor-ids are generated for the \<h1\>-tags


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

I believe these issues are related to the Lab feature **Embedded HTML in markdown** which is still in Beta. We have a bug report regarding the issue with TOC: <https://jira.atlassian.com/browse/BCLOUD-20746>

You can go to your avatar (bottom left corner in Bitbucket website) \> **Labs** and disable this specific one. You may also need to Edit the wiki page and Save it (with no need to make any actual changes) after you turn off the Lab feature to be able to view the table of content and the header ids.

Is this something that works for you?

Kind regards,  
Theodora

comments: author: Reinier van den Assum
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) , you're my hero!

This indeed did the trick, will inform rest of my team. Thanks!


author: Theodora Boudale
body: Great, you are very welcome!


Tags: bitbucket-cloud

cloud

markdown

wiki
Why am I not receiving invitation email for bitbucket?
Asked by Kamil Swituszak:

My team lead tries to give me access to our repositories in bitbucket and I am not receiving emails.


Answers:
author: Theodora Boudale
body: Hi Kamil and welcome to the community.

I assume that the issue is with the email that you use for your Community account?

I checked in our system and I found a hard bounce event for this email created last year, with the error message:

```
550: 550-5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces
```

<br />

Atlassian attempted to send an email to this email address then, but the email was not operational. The hard bounce informs us that the email does not exist and in this case it is placed in a suppression list, as we no longer try to resend to non-existing emails.

I went ahead and removed the email from the suppression list, could you please ask your team lead to send a new invitation now?

A new invitation needs to be sent, as the previous ones were dropped.

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,  
Theodora

comments: author: Kamil Swituszak
body: Thank you, it works now


Tags: bitbucket-cloud

cloud