youngmon/atlassian-qna huggingface dataset:
Tagging Service agents by Customers
Asked by Ellie:

Hey Team,

We've found out that our customers are unable to tag our internal team / Jira Service Management Agents. We are able to tag them via @ but they are unable to tag us back which means some of the team are missing notifications.

How can we change this? Seems like a automation maybe a bit heavy for this task.

TIA!

Ellie


Answers:
author: Trudy Claspill
body: Hello [@Ellie](/t5/user/viewprofilepage/user-id/5400589)

Are your customers trying to tag people who are not assigned to the ticket or with whom the ticket is not shared (request participants) or who are not Watchers on the tickets?

If they are only mentioning people who are assigned to the ticket or with whom the ticket is shared then those notifications can be controlled through the Notification Scheme and Customer Notifications.

If your customers are tagging agents not associated with the ticket, I would have to ask why?

comments: author: Ellie
body: Ah that makes sense. So the reason why our customers are tagging outside of what you've said above, is they are tagging the Service Desk Manager (me) to ask questions / approve. I do not watch all the tickets (over 400 in the system) and the team are assigned to it.

It doesn't seem though even as a customer, I can @ a team member assigned to the ticket?


author: Trudy Claspill
body: I think customers can only mention the people with whom the issue is shared (Request Participants), but I haven't experimented with it very much.

You may find [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) 's response on this other post helpful.

<https://community.atlassian.com/t5/Jira-Service-Management/Who-can-customers-mention-in-JSM-customer-portal-help-center/qaq-p/2015327>


Tags: cloud

jira-service-management

jira-service-management-cloud
SLA not being updated after setting priority
Asked by Alejandro ?lvarez:

Hi all,

**Context**: By default, when a Bug is created by clients in JSM, priority is not defined. Once we analyse the ticket, we define the priority.

**Problem**: SLA is not being updated to the one corresponding to the set priority.

I'm not sure if the issue is related to not re-calculating the new SLA or that from the start the conditions of our SLA are not set correctly and it's always landing on the default SLA.

The filter conditions that match with the ticket (Type = Bug AND priority = Minor)

![Captura de pantalla 2024-03-25 a las 12.01.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/314142iCA5C7D7FD3D8C801/image-size/large?v=v2&px=999 "Captura de pantalla 2024-03-25 a las 12.01.42.png")

The ticket itself showing SLA 86 h.

![Captura de pantalla 2024-03-25 a las 12.01.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/314140i753DAC4C8F544272/image-size/large?v=v2&px=999 "Captura de pantalla 2024-03-25 a las 12.01.33.png")

The SLA setup. Issuetype = Bug (Issuetype and type fields are the same) and Priority = Poco Importante (is the transaltion to Minor) should have 72 h SLA. ![Captura de pantalla 2024-03-25 a las 12.01.18.png](https://community.atlassian.com/t5/image/serverpage/image-id/314139iB58175778213BBE8/image-size/large?v=v2&px=999 "Captura de pantalla 2024-03-25 a las 12.01.18.png")

Can you help me figuring our why the ticket is taking 86h of SLA instead of 72h?

Thanks and regards

<br />

<br />


Answers:
author: Ken Poon
body: I am having the same issue with a french JSM, were you able to resolve this?


Tags: cloud

jira-service-management

jira-service-management-cloud
Not receiving bitbucket new account verification mail.
Asked by emran:

Hi there

Today is my first day at a new company.

They asked to create bitbucket account using the email given by the company.

I couldn't get any verification email.

Email is

After googling, i reached here.

How can i get verification mail ASAP?

Should i add email here?


Answers:
author: Andy Heinzer
body: Hi [@emran](/t5/user/viewprofilepage/user-id/5182950)

I have removed the suppression on that address. There was a bounce message of

|--------------------------|--------|----------------------------------------------------------|
| 2023-03-29T02:49:54.000Z | bounce | 550 5.1.1 \<\>: Recipient address rejected: User unknown |

Please try again now, you should be able to receive verification/notifications now.

Cheers,

Andy

comments: author: emran
body: still not getting verification mail

my mail address is

can you check again, please?   

i just tried a minute ago.


author: Andy Heinzer
body: Hi,

The suppression was removed. It appears that the next two messages returned an SMTP delay message:

|--------------------------|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| 2023-03-30T01:28:10.000Z | delay | 451 4.7.1 \<e\*\*\*\*\*\*\*\*\*\*.h\*\*\*\*@d\*\*\*\*\*\*\*\*\*.net\>: Recipient address rejected: Intentional policy rejection, please try again later |

But since those, I have seen 8 messages that have been delivered since 2023-03-30T01:48:07.000Z. It appears to be working now from that I can see.


author: emran
body: Do i need to add anything to get help?

[@Nicolas Grossi](/t5/user/viewprofilepage/user-id/676185)
API 2.0 User/Group management
Asked by Elena Dzhordzhilova:

Dear Community,

I would want to ask you if it is still possible to manage users/groups in Bitbucket Cloud via API v1.0. I know that v1 is deprecated almost 5 years ago, but inside the documentation I see it is still available for use, because there is no equivalent option for this in version 2.

If it is possible, what more than access token is necessary to access it, because when I try to get information about groups, I get the following error:   

"Message: Token is invalid or not supported for this endpoint. "

The API requests which I'm trying are:

<https://api.bitbucket.org/1.0/groups/{workspace_id}/>

[https://api.bitbucket.org/1.0/groups?{filter}\&{filter}\&](https://api.bitbucket.org/1.0/groups?{filter}&{filter}&)...  

<br />


Answers:
author: Ben
body: Hey Elena,

I can confirm that even though it is deprecated - the /1.0/groups endpoint is available for usage.

The easiest way to authenticate with the API is by using [App Password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/), once you have created the App Password - you can substitute it in to your curl command, for example:

```
curl --request GET \
--url https://api.bitbucket.org/1.0/groups/{workspaceID} \
--user {username}:{AppPassword}
```

**NOTE:** You will need to replace the values in the curly braces with actual values, the braces should not be present in the final command either.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Elena Dzhordzhilova
body: Hello Ben,

Thank you a lot!

One last question, is it possible such an authentication to be reached by API token for Workspace?   

Best regards,

Elena


author: Ben
body: Hey Elena,

Unfortunately, as the 1.0 endpoint family is deprecated, repository access tokens (RATs) are not supported as these are a relatively new form of authentication.

The only supported authentication methods for this endpoint are as follows:

* [App Password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/)
* [OAuth Tokens](https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/)

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Over 160 spam issues
Asked by zhixu_ni:

Hi!

I have currently over 160 spam issues on my project:

<https://bitbucket.org/SysMedOs/lipidhunter>

All issues from #4 till #160+ are spams.

I saw so many users reporting similar spam issues.

Please delete the spam issues and provide a solution to avoid spam issue attack.

Many thanks!


Answers:
author: daviddickinson
body: We've also started receiving similar spam issues at gyrokinetics/gs2 (and a single spam comment on an existing issue). Interestingly they have all targeted just this one public repository out of the several ones included within this workspace. So far the numbers have been reasonable so I've been able to manually mark as spam, but it would be nice if something could be done about these. Initial thoughts of helpful additions:

1. Ability to select multiple issues at once to mark as spam (and indeed other actions like resolve).

2. An ability to require approval of issues submitted before they are published.


Tags: bitbucket-cloud

cloud
Installing npm package from private repo always asks me to connect to bitbucket.
Asked by Michael Mano:

So my private key is setup correctly, I have no issues with bitbucket repos.

But the issue I am having is when I try to install a npm package from a Bitbucket private repo this popup always shows its ugly face.

I am installing from \`npm install git@bitbucket.org:username/repo.git\` and I have also tried \`npm install -S git+ssh://git@bitbucket.org:username/repo.git\` and all the others.

Since this is using git. It should really use my key to authenticate.

![Screenshot 2023-03-29 140455.png](https://community.atlassian.com/t5/image/serverpage/image-id/248344iB73B69BDEAA67ECC/image-size/large?v=v2&px=999 "Screenshot 2023-03-29 140455.png")


Answers:
author: Nicholas Zarra
body: *** ** * ** ***

1. 

comments: author: Michael Mano
body: ?


Tags: bitbucket-cloud

cloud

key

npm

ssh
How to get a latest version of Linux shell runner
Asked by Peter Jeong:

Hello,

I'm currently using linux shell runner.

Outdated version of runner are not able to run pipelines.

Only in pipeline console able to check latest version

Is it there no way check version without console


Answers:
author: Riley Venable
body: Yes, you can check the latest version of the Linux Shell Runner without going to the pipeline console. First, go to the Runners page in your Bitbucket account. Next, click on the "Add runner" button. In the dialog box that appears, under the "System and architecture" section, select "Linux" instead of "MacOS". You should then see a link to download the latest version of the runner. You can also find the latest release version of the Linux Shell Runner on the Atlassian Marketplace. Keep in mind that outdated versions of the runner may not be able to run pipelines.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

linux

version
Slack Integration - Tagging with Invalid/Incorrect Usernames
Asked by Valerie:

The Slack integration for Bitbucket Cloud is tagging \~50% of our users with usernames that don't match their actual Slack usernames, resulting in those users not being alerted when new PRs are submitted/approved. Clicking on the link that should tag them redirects to a 'workspace' with a name of their username, like the below:

[Overview --- Bitbucket](https://bitbucket.org/{user}/workspace/overview)

Is there something the users who aren't properly tagged need to do in order to fix tagging for their accounts?


Answers:
author: Theodora Boudale
body: Hi [@Valerie](/t5/user/viewprofilepage/user-id/5182081) and welcome to the community!

A user is mentioned in Slack if they have linked their Bitbucket account with their Slack account. It is possible that the affected users haven't done this yet.

I would suggest asking each of the affected users to run the following slash command in a channel in Slack, in order to link the two accounts

```
/bitbucket login
```

Please feel free to let me know if this works for your users and if you have any questions.

Kind regards,  
Theodora

comments: author: Valerie
body: Got it, I'll share with folks on our team who've had trouble with the tagging. Thanks!


author: Theodora Boudale
body: You are welcome! Please feel free to reach out if you're still experiencing issues.


Tags: bitbucket-cloud

cloud
Avatars keep changing
Asked by J. Wade Snarr:

Seems to be an issue with project and repository avatars. I will set them to my own custom jpg and they randomly revert back to what looks like a white outlined ship on a grey background. I have changed them back multiple times to sometimes have the avatars stay and other times they will not change. Anyone else have this issue. It's becomeing a little frustrating.


Answers:
author: Bill Robertson
body: Just commenting to say we're also experiencing this issue and it's negatively impacting our everyday work. We have hundreds of repos, often in pairs---one for application code and one for infrastructure---and the avatars are indispensable for quickly deducing which repo is which when searching.

comments: author: Fredrik Gustafsson
body: Me too


Tags: bitbucket-cloud

cloud
Error: Making this repository private requires more users than kaesystems has on their plan
Asked by ?zgecan Sar?:

Hello,  
I've made a private repository publicly available. And now, I want to make it private again but I get an error saying: "Making this repository private requires more users than \*\*\*\*\*\*\* has on their plan". I don't why I'm getting this error. Can you help me with this issue?  
Thanks and regards,  
?zgecan Sar?.


Answers:
author: Ben
body: Hey ?zgecan,

I have censored the name of your workspace as this is a public forum.

The number of users attributed to your workspace is defined as any users who have access to private repositories.

By making a public repository private, any users who had access to this repository when it was public **now count as billable users** when it is private.

I have checked and can see that your payment method was declined multiple times in March (9th, 11th, 13th) and therefore you were downgraded from a Standard plan to a Free plan (which has a cap of 5 users), hence why you are facing this issue.

Please refer to the article I have authored below for assistance with resolving this issue:  
<https://confluence.atlassian.com/bbkb/fix-error-your-push-failed-because-the-account-has-exceeded-its-user-limit-1183680240.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
add boilerplate code from an old repository to a new one using an API
Asked by Abhishek Kumar:

Hello,

I'm working on a project in JS and I have boilerplate code in one repository that I want to add to a new repository I just created in Bitbucket.

I've heard that it's possible to do this using the Bitbucket API, but I'm not sure how to get started. Specifically, I want to know:

- Which Bitbucket API should I use to add code to a new repository?

- What is the syntax for adding code to a new repository using the API?

- Are there any limitations or restrictions to adding code in this way?

Any help or guidance would be appreciated. Thanks in advance!

Regards,

Abhishek


Answers:
author: Patrik S
body: Hello [@Abhishek Kumar](/t5/user/viewprofilepage/user-id/5181553) ,

Welcome to Atlassian Community!

If you would like to commit a file to a repository using the API, you might want to use the [Create a commit by uploading a file](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-get) endpoint.

Following is an example of a request to that endpoint :

```
curl -X POST -u username:app_password https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/src -F /repo/path/to/image.png=@image.png
```

This would create a new commit in the repository by uploading a local file named **image.png** and saving it in the repository under the directory /repo/path/to/image.png.

In this example, we are authenticating the request using the bitbucket username (which you can find in your [Personal Settings](https://bitbucket.org/account/settings/)) and an [App Password](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/).

For additional examples of the usage of this endpoint, you're also welcome to check its official documentation in the link below :

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-post>

Thank you, [@Abhishek Kumar](/t5/user/viewprofilepage/user-id/5181553) !

Patrik S


Tags: bitbucket-cloud

cloud
How to update cron_pattern of scheduled bitbucket pipelines using the api?
Asked by Flokart Kadriu:

I have created a scheduled pipeline to run every weekday at 08:00 using the bitbucket api, now I want to update that cron pattern in order for that same pipeline to run at 07:00. Even though the response on the PUT request is successful the pipeline is not updated. I am able to update the "enabled" field to true/false but the "cron_pattern" is just ignored.


Answers:
author: Patrik S
body: Hello [@Flokart Kadriu](/t5/user/viewprofilepage/user-id/5181457) ,

Welcome to the Community and thanks for reporting this to us.

It seems like you are being affected by an existing bug in that particular endpoint, where the schedule is not updated when trying to change it using the API. A bug ticket was already raised to our development team related to this issue:

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the impact. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all bug fixes are implemented with [this policy](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html) in mind.

While our development team works on fixing that bug, the workaround is to update the schedule directly in the UI.

Thank you, [@Flokart Kadriu](/t5/user/viewprofilepage/user-id/5181457) !

Patrik S

comments: author: Flokart Kadriu
body: Hi [@Patrik S](/t5/user/viewprofilepage/user-id/4603309)

Thank you for the update.  

Unfortunately I can't use the UI to update it since there's no way to specify the schedule to be run ONLY on weekdays (MON-FRI).  

What I did to solve the issue in my case was:  
1. Deleted the current pipeline schedule  
2. Created a new one using the POST method with the updated cron_pattern.  

I hope this is helpful for anyone having the same problem, until the issue is resolved.  

Thank you again,  
Flokart!


Tags: bitbucket-cloud

cloud
How to push with http token?
Asked by Nils Bentlage:

There's one of our Repositorys we want to make accessbile in our organization, even for co-workers without a Bitbucket-Account and/or SSH-Key. So we thought about a http-token.

I am able to clone that repo using the created http-token, but i'm unable to write (git push). I tried to achieve that by adding \<user\>:\<token\>@ .... to the remote (actually, i cloned it that way, so i just changed that afterwards for Testing)

* The Token-Authorization-Level is set to "write repository"
* as a Username i tried my own and also 'x-auth-token'

We're running BB 8.8 on-prem.

thx in advance.


Answers:
author: Christian Glockner
body: Hi Nils,

If the clone works, the push should work the same way - what happens when you do try to push with a token?

Cheers

Christian

Premier Support Engineer

Atlassian

comments: author: Nils Bentlage
body: Hi Christian, thanks for your fast reply :)  

from git push i get:

fatal: Authentication failed for 'https://\<our-bitbucket-url\>/scm/\~\<my-user\>/\<my-project\>.git/'

I just tried it one more time and am able to pull \& fetch, using the origin i wrote. To do that i used the http-clone-address (as suggested by the top left icon in BB) and added '\<user\>:\<token\>@' between https:// and the domain. But im unsure because of the character '\~' ... it is part of the url but should not be a part of the username. is that correct?

Cheers!


Tags: access

authority

bitbucket-server

http

server

token
Bitbucket pipelines - Logic OR multiple pipeline start conditions
Asked by Cezar Chirila:

Hi!

Is it possible to logic OR two different start conditions?

In our case, we want to start a pipeline whenever a commit has been made to the master branch OR when a pull request has been raised. We currently do this by having two separate pipeline start conditions as follows:   

```
pipelines:

  branches:

    master:

      "STEPS TO BUILD AND TEST HERE"

  pull-requests:

    '**':
 
      "STEPS TO BUILD AND TEST HERE"
```

However, this causes us to have two "STEPS TO BUILD AND TEST HERE" blocks which are the same and we would like to do something like:  

```
pipelines:

  branches:

     master:

  pull-requests:

     '**':

       "STEPS TO BUILD AND TEST HERE"
```

Would this be possible by any current means, or maybe is there a single trigger that could capture both conditions?

Thank you!


Answers:
author: Aron Gombas _Midori_
body: I don't know about an OR operator, but I think there is a better solution to the problem.

You could define your steps with YAML anchor, then refer to that anchor in both locations.

See: <https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/>

comments: author: Cezar Chirila
body: Thanks you, this is what I was looking for!


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Making workspace / repo publicly visable
Asked by Andy Tomlin:

I am trying to make our repo. <https://bitbucket.org/arch2code> open so that anyone can clone. In the Repo setting -\> Repository details the access level this is a private repository is unchecked. I looking in the help documentation and could not see what else needs to happen.


Answers:
author: Riley Venable
body: To allow anyone to clone your repository, you also need to allow forks. From the repository, click Repository settings in the sidebar, then select This is a private repository if it's not already selected. From the Forking dropdown, select Allow forks, then click Save repository details. This will allow anyone to fork and clone your repository.


Tags: bitbucket-cloud

cloud
Clone in sourcetree no longer works with 3.0
Asked by Rob van der Most:

I recently updated to SourceTree 3.0 on macOS and since then I am no longer able to use the button "Clone in SourceTree" on my BitBucket server. It does open SourceTree, but it does not show the dialog to clone the repository.

macOS: 10.13.6

SourceTree: 3.0 (200)

BitBucket server: 5.10.1


Answers:
author: bgannin
body: Hi Rob,

I think this is addressed already in [our latest beta](https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/). Apologies for the hiccup.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Rob van der Most
body: I tried the latest beta, but it does not seem to work yet :-(


author: marcocarosi
body: Tried with Beta 3.0.1 (203), still the same issue.


author: marcocarosi
body: With the 3.1 Beta (208), uploaded on Dec 20th, the issue is finally fixed (at least for me, Bitbucket server v5.7.1


author: marcocarosi
body: This is the same issue as:  
[Checkout in sourcetree not working after upgrade to v3.x](https://community.atlassian.com/t5/Bitbucket-questions/Checkout-in-sourcetree-not-working-after-upgrade-to-v3-x/qaq-p/926091 "Checkout in sourcetree not working after upgrade to v3.x")


Tags: mac

bitbucket-server

server
Why doesn't Windows version of S.T. have "reset" or "reset to commit" as options on files?
Asked by Michael Mossey:

I normally use SourceTree on Mac, and when I want to discard local changes and restore the original checked-out version, I right-click on the file in the staging area and click "reset" and "reset to commit".

I'm a computer science tutor and one of my students uses SourceTree on Windows. He has an unfortunate tendency to reflexively change any file he looks at by inserting or deleting some white space, not realizing that he's creating possible conflicts with my files.

So first, I'm trying to get him to stop doing that.

Second, I want to discard his local changes so he can commit and pull without creating needless conflicts. But the Windows options are different. such as "remove" and "discard".

What's the right way to discard local changes or revert a file on Windows to the checked-out version?

"Discard"?


Answers:
author: minnsey
body: Hi  

Yes Discard will undo the current un-commited changes to a tracked file in Sourcetree for Windows


Tags: windows