youngmon/atlassian-qna huggingface dataset:
How do I use dashboard widgets with the GreenHopper Scrum Board
Asked by Nick Petrovits:

I'm using the Scrum planning board to plan my project, but the JIRA dashboard components are quite worthless when using this planning board.

Even the simplest widget, GreenHopper Days Remaining, only works off of version and can't report the number of days in the current sprint.

We were previously using versions to track our sprints, but now that Atlassian added the sprint functionality dirctly to the planning board, we moved that. The problem is that none of the JIRA dashboard components seem to be compatible with this concept. There is also now no easy way for me to put all my tasks in a sprint into a version. These changes have really made the product quite frustrating to use.

When is this going to be updated?

Edit- Dec 11, 2012:

Its been a couple of months now and the dashboard components still haven't been updated. All it looks like that Atlassian team has done is add the word "Classic" to the ones that aren't compatible with the current project planning boards. It's quite disapointing to see this has remained broken for so long.


Answers:
author: Jakob R?dstr?m
body: Agree. Still a problem for us. Does anyone know if there is a corresponding issue to VOTE for at <https://jira.atlassian.com/secure/Dashboard.jspa> or so?


author: Jakob R?dstr?m
body: I agree on the first part, all the wallboard components regarding getting visibility of the work done and the time etc. are now legacy and can no longer be used in a good manner.

*There is also now no easy way for me to put all my tasks in a sprint into a version. These changes have really made the product quite frustrating to use.*

Have you tried the "Release" feature in the Kanban board? There you can multi-tag all the stuff that is done to a fixVersion of your choice.

As of today that is the way to tag stuff into versions today. When it comes to the stuff in sprint, we finalize the sprint and then tags the stuff up afterwards.

comments: author: Nick Petrovits
body: Using the release feature doesn't work very well for us. We'd like a better integration with Bamboo so tasks could be tied with a release automatically when we trigger a release build. Without automation, the release feature isn't really valuble.


author: DiegoP
body: Me too, this is key.


author: Peter Gaines
body: I would also like a response to this as the widgets are no longer useful with the move to the RapidBoard


Tags: cloud

jira-software-cloud
How to finalize a build
Asked by AmitB:

We are currently having bamboo make a build on every commit in the source repository. We run the build on every commit in order to ensure that the build is not broken and that unit tests are passing. QA is supposed to ignore the majority of these builds. I would like to mark a specific build as ready for QA. What is the correct method of doing this in Bamboo?


Answers:
author: Przemek Bruski
body: You can label such builds (<https://confluence.atlassian.com/display/BAMBOO/Working+with+labels>).

comments: author: Bob Swift (personal)
body: Agree with Przemek. In fact, we script running a **production** build using [Bamboo Command Line Interface](https://bobswift.atlassian.net/wiki/display/BCLI) that runs the build, automatically labels the build as **keep** (telling Bamboo to not remove it as part of cleanup), labels the build with a production build number (not Bamboo related), and retrieves the build artifact to copy to another location necessary for the rest of our process.


author: sdfg sdew
body: spam
How can I delete bitbucket in atlassian account?
Asked by Tr?n Thu? Ti?n:

I want to delete bitbucket because my place of work is not allowed to use it by company mail


Answers:
author: Caroline R
body: Hi, [@Tr?n Thu? Ti?n](/t5/user/viewprofilepage/user-id/4614808)! Welcome to the community!

Could you please confirm if you are referring to the Bitbucket cloud account that is linked to the email you used to create this question?

Looking forward to hearing from you.

Kind regards,  
Caroline
Bitbucket Sailpoint integration
Asked by Sharad:

Hi ,

How can we integrate bitbucket with Sailpoint. I am unable to find api which can fetch list of all users along with their groups. Could you please help us on which api we can use in order to integrate with Sailpoint.


Answers:
author: Syahrul
body: Hi [@Sharad](/t5/user/viewprofilepage/user-id/4614807)

Welcome to the community.

I am not familiar with what Sailpoint does, but do you wish to manage/monitor your user through Sailpoint integration? If yes, then I believe this is not available in the Bitbucket cloud.

However, we do have an API endpoint to fetch user and their groups, you can check out our old API v1.0 to see if that fits your integration requirements:

* [API user list](https://support.atlassian.com/bitbucket-cloud/docs/group-privileges-endpoint/)

I hope this helps, feel free to let me know if you have any additional questions.  

Cheers,

Syahrul


Tags: api

bitbucket-cloud

cloud

integration

sailpoint
Bug report: BB pipeline variables incorrect when changing pipeline
Asked by Tom S:

**Steps:**

1. open Pipelines page for a repo, minimal reproduction repo here: <https://bitbucket.org/tomsaleeba/bb-pipeline-bug-vars/addon/pipelines/home#!/results/page/1>

1. click "Run Pipeline" button

1. select the \`main\` branch

1. select the "one" pipeline

1. select the "two" pipeline

![bbvars.gif](https://community.atlassian.com/t5/image/serverpage/image-id/166878iC8D9978FB9165D1A/image-size/large?v=v2&px=999 "bbvars.gif")

**Expected:**

The variables for the "two" pipeline show the defaults defined in the YAML. That is foo="hello", bar="" and baz="".

**Actual:**

The variables still retain the values from when viewing the "one" pipeline. The inputs don't seem to be reset when changing pipelines.


Answers:
author: Nadia Begicheva
body: Hi [@Tom S](/t5/user/viewprofilepage/user-id/4598158)  

the fix was released! Please let me know if you still experience the issue.   

Regards,  
Nadia

comments: author: Tom S
body: [@Nadia Begicheva](/t5/user/viewprofilepage/user-id/4470656)looks fixed to me. Thanks for the quick turn around


author: Nadia Begicheva
body: [@Tom S](/t5/user/viewprofilepage/user-id/4598158) thanks for reporting this. I will have a look.


Tags: bitbucket-pipelines

cloud
How can a deploy to two Elastic Beanstalk environments from a single branch pipeline?
Asked by Felipe Lib?rio:

So, we have two different instances of a Node project running the same code on two different environments e an Elastic Beanstalk application.  

I'm trying to automate the deploy with a branch Bitbucket pipeline for the master branch. The problem I encountered is that the first deploy runs fine, but the second one fails telling me that the application version already exists.  

How can I accomplish this task?

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


Answers:
author: Felipe Lib?rio
body: I guess I figured this out, I can set a custom VERSION_LABEL on the pipe configuration and this should suffice.


Tags: bitbucket-pipelines

cloud
Base URL mismatch You are accessing Bitbucket from a URL that does not match the configured base URL
Asked by Rohit Dalvi:

I have a bitbucket server running in aws cloud version v6.10.0 , I am able to access it fine using <https://ip:7990>

But when I want to access it using domain url like <https://bitbucket-server>.domain.com (without ip) it does not load at all. I have to append the port to the url all the time.  

Things I tried in bitbucket.properties are,  

<br />

server.scheme=https

server.port=7990

server.secure=true

server.scheme=https

server.proxy-port=443

server.redirect-port=443

server.proxy-name=bitbucket-server.domain.com


Answers:
author: Nic Brough -Adaptavist-
body: You need to change the base url to match the url you are going to be running Bitbucket on

See <https://confluence.atlassian.com/bitbucketserver/specify-the-bitbucket-base-url-776640392.html>

comments: author: Rohit Dalvi
body: Hey Nic, I have done this already but that does not help. I still can't access bitbucket with base url.


author: Nic Brough -Adaptavist-
body: What error message is the proxy giving you when you visit it on your external url?


author: Rohit Dalvi
body: I don't see error, the web page does not open at all. But when I comment out the server.\* configurations from bitbucket.properties file then I can access the server using <https://ip:7990>


author: Nic Brough -Adaptavist-
body: Ok, so you're doing something really odd with your "access".

Could you tell us exactly what you are doing when you try to "access" the service?

If, for example, you are "opening the url in a browser", that's fine, but a browser will always give you an error message (unless you're opening the wrong url, one with no content instead of the actual Bitbucket url). It might take a while to get a timeout error though, if it's one of those.

Or is it some other "access"?


Tags: bitbucket-server

server
Our repository is inavaible
Asked by leopold_assogba:

Hi everyone i work with a repository and its the very first time i saw this:

![Capture d?e?cran 2021-10-27 a? 16.00.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/166778i6529E5C53CDD2572/image-size/large?v=v2&px=999 "Capture d?e?cran 2021-10-27 a? 16.00.50.png")

"Something went wrong {#toc-hId--1212182520}
--------------------------------------------

While we check things on our end, try refreshing the page. If reloading the page doesn't help, check our for known incidents or planned maintenance.

If you are still experiencing issues, our support team can be reached via StatusPage. Use the code below when reporting your issue, this will help the team look up details of what went wrong: "*then we have id for the bug resolution on the same page.*

we can't pull / merge / rebase or do any git other manipulations.

Do you have any idea what's going on? Our production branch is down...

Thanks in advance for your quick responses.

Best Regards


Answers:
author: Caroline R
body: Hi, [@leopold_assogba](/t5/user/viewprofilepage/user-id/4613566)! Welcome to the community!

The "Something went wrong" message usually comes with a 5xx response that shows a Sentry ID code. This code may give us some indication of what is causing this issue. In this case, could you please follow the next steps to find the Sentry ID, so I can further investigate this case?

* Open the "Developer tools" in the browser you are using (click on the three dots \> More tools \> Developer Tools):

![dev.png](https://community.atlassian.com/t5/image/serverpage/image-id/167029i82FB78FC4FD0FA89/image-dimensions/516x362?v=v2 "dev.png")

* Then navigate to the Bitbucket page that gives you this error

* In "Developer tools", select the **Network** tab

* Find and select the request that gives a 5xx response

* In the **Headers** panel (after you select the request with 5xx response), check if there is a field named **sentry id**.

* If you can provide us with the value of that field, I can look it up in our system for further info.

Thank you.

Kind regards,  
Caroline

comments: author: Vitaliy Hoy
body: Thank you, Caroline!

In my case the source of the issue was Ghostery extension (privacy protection plugin).


author: Caroline R
body: Hi, [@Vitaliy Hoy](/t5/user/viewprofilepage/user-id/1433766)!

Thanks for sharing this information!


author: leopold_assogba
body: Thank you for your response, but we copy/past the project and created a new repo.

But as you can imagine, we can't afford down time.

Best regards


Tags: bitbucket-cloud

cloud

error

git
Not receiving any bitbucket invitation mail
Asked by Viktoryia.Tsikhanava:

Hi Support Team,

I\`m struggling to get an email invitation to Bitbucket sent to my teammate, similar to this issue <https://community.atlassian.com/t5/Bitbucket-questions/Not-receiving-any-bitbucket-invitation-mail/qaq-p/1482142> Could you please check if there are any \<domain_removed\> emails in your suppression list ? If, yes then remove please.

Cheers,

Victoria


Answers:
author: Theodora Boudale
body: Hi Victoria,

There were a few emails from that domain in our suppression list, I went ahead and removed all of them.

Could you please try resending any pending invitations now?

Feel free to let me know if the issue is resolved or if you're still experiencing issues.

Kind regards,  
Theodora

comments: author: Viktoryia.Tsikhanava
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) !

Thanks for your help, all sorted.

Cheers,

Victoria


author: Theodora Boudale
body: Thank you for the update Victoria and you are very welcome, glad to have helped!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
ENV in Dockerfile acting differently in pipeline to local Docker
Asked by Rob Dunkley:

I'm having trouble with backslashes within ENV in a Dockerfile within a pipeline. If I use the same ENV settings in my local Debian environment they are passed through without issue. Image used is debian:buster-slim

For example this gets corrupted in the pipeline:  
ENV SMTP_PASSWORD='aaaaaaaA\\"n111111'

It appears in the container as aaaaaaaA"n

This one just refuses to show up at all in the container but no error is given:  
ENV SMTP_PASSWORD='aaaaaaaA\\\\"n111111'

If I build a docker container locally both of the above examples passthrough as is. Does anyone know how to fix this?


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

Could you please let me know where you see this corrupted value of the variable?  
- Is it in the output of the 'docker build' command, in the Pipelines build where you build this Dockerfile?  
- Is it in the image layers of the Docker repository in the registry you use, after you push the image?  
- Or do you use this image you build from the Dockerfile as a build container for Pipelines in another Bitbucket repo, and you see the corrupted value when you echo the variable there?

I haven't been able to reproduce this issue using variables with the same values you mentioned, so it would be useful to have some additional info.

If it's the latter case, can you please check if there is a repository or workspace variable with the same name (SMTP_PASSWORD) defined in the repository that uses this image (or the workspace that owns this repo)? If you have a repository or workspace variable with the same name, I believe that it will overwrite the variable of the container. If a deployment step in Pipelines is using that image as a build container, I also suggest checking the deployment variables as well.

If you're still having issues, it would be useful to know  
(a) where and how you see the corrupted value  
(b) what value do you see in the output of the 'docker build' command in the Pipelines build where you build this image

Kind regards,  
Theodora


Tags: bitbucket-pipelines

cloud
Why only second step could be triggered manually?
Asked by Raimundas Ra:

Just wondering, why there are the strange rule to trigger "manually" only second step in bitbucket-pipelines.yml ? For some reasons sometimes we need to have in the first step this option? Is there any workaround to setup this one in the first step, cause this empty first step to have second one is absolutely unnecessary and waste of bb minutes :)

Maybe someone has already found some workaround?

pipelines:  
branches:  
dev:  
**- step:**   
name: deploy to Staging  
**trigger: manual. \<\<\<?**   
deployment: Staging  
script:  
- pipe: atlassian/rsync-deploy:0.5.0


Answers:
author: Raju P.S
body: Not sure, if it helps in your scenario, but we used "custom" flow, which will allow us to not only trigger manually, also to choose which individual step to run as well.

comments: author: Raimundas Ra
body: Hi Raju P_S , could you maybe share some examples ? Thank you :)


author: Raju P.S
body: pipelines:  
custom:  
DevDeploy:  
- step:  
\<\<: \*Database_migrate  
name: Dev - Database_migrate  
deployment: Dev  
UATDeploy:  
- step:  
\<\<: \*Database_migrate  
name: Staging - Database_migrate  
deployment: Staging  
This will allow you to run both Dev and UAT deployments manually and independently.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Why is Git clone requesting password for non-member?
Asked by fletcher2014:

Hello,

I lead a small team of university developers and have multiple repos.

A former student (call her "student A"), created a new repo a few years ago, and later transferred ownership to me when she graduated. I have since removed her from the repo and added other developers.

One of my new developers, who has write access to the repo, is having trouble cloning the repo. When she logs into Bitbucket and tries to run GIT clone, the system is asking for the Bitbucket password for Student A. Even though Student A is no longer a member of this repo.

This issue does not occur with any of my other repos. She is able to clone our other repos without any problems. (No password prompt) Only this specific repo has this strange behavior.

Has anybody else had this problem? And figured out how to fix it?

Thank you.


Answers:
author: Caroline R
body: Hi, [@fletcher2014](/t5/user/viewprofilepage/user-id/4448685)! Welcome to the community!

I understand that when this new developer tries to clone a repository that belongs to you, Git is asking her to inform a password. In this case, I believe she is using HTTPS to clone, is that correct? Could you please share the message she is seeing when trying to clone the repo, so I can understand why you believe the system is asking for the Bitbucket password for Student A?

Also, could you please ask her to create an App password and use it to try to authenticate with this password when git asks her to inform a password? She can follow the steps described in the following documentation to create the App password:

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

Looking forward to hearing from you.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
getting No JIRA ISSUE found in the commit messagge
Asked by Pogaku, Keerthi:

can you please check my screenshot and give me the answer for that

push is rejected

\<image removed due to privacy reasons\>


Answers:
author: Caroline R
body: Hi, [@Pogaku, Keerthi](/t5/user/viewprofilepage/user-id/4612917)! Welcome to the community!

By the screenshot you have shared with us, I understand you are using the Bitbucket server, is that correct? If that's the case, I believe you have a hook enabled in this repository that requires a Jira issue key in your commit messages.

Kind regards,  
Caroline


Tags: bitbucket-server

cloud

jira

server
Bitbucket Server API, Removing user from Group
Asked by Matt Kimball:

Good Day All, I am attempting to remove a user from a group on my Bitbucket Server(v7.1.1) using the RestAPI via curl. I'm following the doc here(<https://docs.atlassian.com/bitbucket-server/rest/7.6.0/bitbucket-rest.html#idp36>)

Here is the curl syntax I am using

    curl -D- -u user:* -X GET -H "Content-Type: application/json" "https://*.*.com:8443/rest/api/1.0/admin/users/remove-group?&context=johnsmith&itemName=group1"

Here is my response error

    HTTP/1.1 405Cache-Control: privateExpires: Thu, 01 Jan 1970 00:00:00 GMTX-AREQUESTID: @KLMZ8Ux485x1589179x0X-ASEN: SEN-11523232X-AUSERID: 1X-AUSERNAME: userAllow: POST,OPTIONSX-Content-Type-Options: nosniffvary: accept-encodingContent-Type: application/json;charset=UTF-8Transfer-Encoding: chunkedDate: Tue, 26 Oct 2021 13:05:13 GMT

What can I do to fix my request? Maybe I am missing something in my syntax, I'm having trouble debugging this, I appreciate any advice here! Thank you.


Answers:
author: Maciej Adamczak
body: Hey [@Matt Kimball](/t5/user/viewprofilepage/user-id/1261840) , Looking at the docs I think you need to use POST request, not a GET. Additionally, you need to covert the URL params to a JSON type payload.

You can click the "expand" button next to*"Example request representations"*to find the example JSON payload.

Don't forget to configure required headers to send a JSON request e.g. for cURL that will be "`-H "Content-Type: application/json"`

Thanks,  
Maciej Adamczak  
Atlassian Developer

comments: author: Matt Kimball
body: Thank you [@Maciej Adamczak](/t5/user/viewprofilepage/user-id/1170504) ! I made the changes you suggested and I am getting much better results now. Here is the syntax I am using

```
curl -D- -u "user:*" -X POST -H "Content-Type: application/json" -d "{\"context\": \"johnsmith\",\"itemName\": \"group1\"}" "https://*.*.com:8443/rest/api/1.0/admin/users/remove-group" 
```


Tags: bitbucket-server

rest-api

server
get refresh token code fails
Asked by David Lucas:

curl -X GET [https://bitbucket.org/site/oauth2/authorize?client_id={my_client_id}\&response_type=code](https://bitbucket.org/site/oauth2/authorize?client_id={my_client_id}&response_type=code)

I use my own client_id above.

get refresh token code fails. There is no output. Even if I do -o output.txt

If I take this string and put in a browser I get the code. (fails using curl)

I need this automated using curl.


Answers:
author: Theodora Boudale
body: Hi David,

This code needs to be obtained from the browser, it is not possible to get it with curl. Please note though that this needs to be done once when you set up OAuth. Also, the call to get refresh tokens is different and you can use curl for that.

After you use this in a browser and get a code

```
https://bitbucket.org/site/oauth2/authorize?client_id={consumer_key}&response_type=code
```

then you can get an access token and a refresh token with a call like this:

```
curl -X POST -u "key:secret" https://bitbucket.org/site/oauth2/access_token -d grant_type=authorization_code -d code=huPPKResiPcsLaqjj4
```

Replace **key** with your consumer's key  
Replace **secret** with the consumer's secret  
Replace the code value in there (huPPKResiPcsLaqjj4) with your code from the previous step

The output will include an access token you can use for up to 2 hours and a refresh token.

You can then use the refresh token to generate a new access token and refresh token with the following call:

```
curl -X POST -u "key:secret" https://bitbucket.org/site/oauth2/access_token -d grant_type=refresh_token -d refresh_token={2Eoiw6UJ707AD9aIyUR}
```

Replace **key** with the consumer's key  
Replace **secret** with the consumer's secret  
Replace the value of the refresh_token in there (2Eoiw6UJ707AD9aIyUR) with the one from the output of the previous curl command

This will give you another access token and refresh token. From then on, you can use the last call to generate new access and refresh tokens.

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

Kind regards,  
Theodora

comments: author: David Lucas
body: Thank you very much for the response, I appreciate it.


author: Theodora Boudale
body: You are very welcome, please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud

cloud

token