youngmon/atlassian-qna huggingface dataset:
How to setting incoming email for new customer can create ticket ?
Asked by Amity Support:

The problem I'm facing is that I can't configure the email sent in by a reporter who isn't in the Jira system to create a ticket in my system. I always have to enter information in the default reporter field.

However, the tickets created don't use the customer's email. How can I configure it so that I don't need a default reporter?


Answers:
author: Jack Brickey
body: Hi [@Amity Support](/t5/user/viewprofilepage/user-id/5384383) , welcome to the community.

To be clear, are you wanting issues to be created? Even if the from email address is not a customer in the project? if that is the case, then you would have to make the project Open under Project settings \> Customer permissions.

if you mean something else, could you please restate the situation?

comments: author: Amity Support
body: Yep but all setting in customer permission is Allow new customer to create card by portal but i want the reporter's email to be the customer's email without having to set a default reporter. Currently, if i don't set a default reporter, Jira doesn't create a card on my board. However, if i set a default reporter, the email of the default reporter is used. I would like the reporter to be the customer's email.


author: Jack Brickey
body: Hi [@Amity Support](/t5/user/viewprofilepage/user-id/5384383) , where are you setting the default reporter in JSM? I am unaware of any such concept for JSM. I am wondering if you are trying to setup the email requests as you would for JSW under incoming email in system settings. If so this is incorrect. For JSM you setup email requests in the JSM project settings under Email requests.


author: Amity Support
body: I'm setting here but when new Client send Mail to us their email show

Default Report but i want it show email client.

![Screenshot 2566-12-19 at 16.24.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/297338i8110CCDFAAFAB3A2/image-dimensions/419x687?v=v2 "Screenshot 2566-12-19 at 16.24.36.png")


author: Jack Brickey
body: That is not where you set up the email handler for JSM. Please go to your project, then project settings, followed by email requests. There you will be able to set up the email handler to properly create new tickets or comment on existing tickets using emails. You can either use the default provided email address or a custom email address of your choice.


Tags: cloud

jira-service-management

jira-service-management-cloud
Will Atlassian Intelligence use my org's data to train models that others can use?
Asked by Oliver D:

Will Atlassian Intelligence involve my organization's data to train models that others outside my organization can use?

Scenario: In case one of my Service Desk tickets or a one of my internal confluence pages provides fact A, is it possible that fact A can become known to anyone outside my organization?

This question applies to Confluence and Service Desk.


Answers:
author: Michael Yaroshefsky - Visor for Jira
body: Hi [@Oliver D](/t5/user/viewprofilepage/user-id/2813506) ,  

Atlassian says they de-identify any data they use. For example, their predictive models will use something like "user-123 mentioned user-456 in the last 30 days."  

You can learn more about this on their Trust and Privacy page: <https://www.atlassian.com/trust/privacy/intelligent-experiences>  

I hope this helps,  

Michael  


Tags: cloud

confluence

jira-service-management

jira-service-management-cloud
Why tickets in Personal Queue / Need response do not disappear?
Asked by Francesca Frigeni:

Hi,

Can someone help me, please?

I have this problem: when I make an action on a ticket in Personal Queue / Need response Queue, the ticket remains in the Queue and do not disappear.   
What should I do to clean the Queue?

Thank you,

Francesca


Answers:
author: David Friedrich
body: Hi [@Francesca Frigeni](/t5/user/viewprofilepage/user-id/5385405) , welcome to the Atlassian Community.

Could you please provide a little more information in order to help answer your question.

How is your Queue configured (JQL). What action (=automation rule) exactly are you performing?

Thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
All possible ways to move entire project configuration from one cloud instance to another cloud
Asked by subhash mungara:

Hi , i need to move one project complete configuration from one cloud instance to another cloud instance . Ive tried " configurator manager plugin" but its not moving complete configuration and also i tried " Migrate cloud site" option in the cloud but while importing data using this option its removing all previous data existed in the target instance . Exalate plugin also no use .Apart from these 3 ways are there any ways to move project.


Answers:
author: Matthias Gaiser _K15t_
body: Hi [@subhash mungara](/t5/user/viewprofilepage/user-id/5384485)

[this article](https://support.atlassian.com/migration/docs/compare-cloud-to-cloud-migration-methods-for-jira/) lists an overview of various methods how to copy a project including its configuration to another instance:

1. Perform a cloud-to-cloud migration
2. Use the Jira Cloud Migration Assistant via Jira Data Center
3. Merge sites in Jira Data Center and import into Jira Cloud manually

I'd recommend to go with the first method which is described in more detail in [this article](https://support.atlassian.com/migration/docs/perform-a-cloud-to-cloud-migration-for-jira/). Please note that this approach simply copies the project (along with its users), but does not replace data.

Cheers,  
Matthias.

comments: author: subhash mungara
body: Thanks a lot!


Tags: cloud

jira-service-management

jira-service-management-cloud
I want to create Automation Rule to Auto Approve the service request for this Workflow.
Asked by Ashvin Parihar:

I want to create Automation Rule to Auto Approve the service request for this Workflow. It actually worked on my personal Jira account using attached Automation rule. But whenever I am trying to create same Jira rule in company account. I am not seeing option. "Approve/Decline request" under Action section.

Can you or anyone help me how can I fix this issue![Screenshot 2023-12-05 at 7.15.08?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/296541iBB0065C63FE6FC91/image-size/large?v=v2&px=999 "Screenshot 2023-12-05 at 7.15.08?AM.png")![MicrosoftTeams-image.png](https://community.atlassian.com/t5/image/serverpage/image-id/296542i9B5389000E472AAA/image-size/large?v=v2&px=999 "MicrosoftTeams-image.png")


Answers:
author: Asha Goyal
body: Hello [@Ashvin Parihar](/t5/user/viewprofilepage/user-id/5377636)

In order to resolve the issue of not seeing the option "Approve/Decline Request" under the Action section in Jira, you should check a few different things.

First, ensure that you have the necessary permissions to access and modify the request. If that is not the case, contact your administrator for assistance.

Additionally, you may need to check that you are viewing the correct screen and filtering the requests correctly. If you have confirmed that those issues are resolved, it may be necessary to contact Jira support for further assistance.

Kindly accept this answer if it helps.

Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud
Open request to transfer to new customer
Asked by BKT Helpdesk:

Kindly guide how to transfer open requests in project to new customer directly with all comments and actions taken.


Answers:
author: Asha Goyal
body: Hello [@BKT Helpdesk](/t5/user/viewprofilepage/user-id/5276358)

If your target customer account is also a reporter, you could search for all issues that match that reporter using JQL for example and perform a bulk operation to update it to a new account.

Hope this helps.

Please accept the ans if this helps.

Thanks

comments: author: BKT Helpdesk
body: Thank you for your help. I have found all issues but not able to find to transfer from one customer to another. As below screen shot bulk transfer is for one issue type to another. Kindly help in this.

![Screenshot 2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/296535i56A266A4B45992CC/image-size/large?v=v2&px=999 "Screenshot 2.jpg")


author: BKT Helpdesk
body: Issue resolve by bulk transfer. Thank u for your help.


author: BKT Helpdesk
body: As attached below, need to transfer open request and close request with approvals from vaishali.kukale@bkt-tires.com to vaishali.kukale@bkt-carbon.com due to domain change without loosing any data.

![Screenshot.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/296531i5FCC3C74A392F132/image-size/large?v=v2&px=999 "Screenshot.jpg")


Tags: cloud

jira-service-management

jira-service-management-cloud
Bitbucket Cloud API does not work with cURL or wget
Asked by Eric Molina-Martinez:

I'm trying to download an artifact I have uploaded to Bitbucket Downloads through cURL or wget. The issue seems to be that the cURL and wget don't receive an answer from the Bitbucket API.

**How to reproduce:**

- Have a file stored in <https://bitbucket.org/>`${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}`/downloads/

- Have an App password

- Use cURL/wget and the API to download the file.

- No output returns.

I have tried different variations, for example with a different Agent-Header:

<br />

curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -u `${USER}` <https://api.bitbucket.org/2.0/repositories/>`${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}`/downloads/`${file}`

But does not work.

I also have tried to follow the Step3b from the [Deploy build artifacts to Bitbucket Downloads](https://support.atlassian.com/bitbucket-cloud/docs/deploy-build-artifacts-to-bitbucket-downloads/)

but instead of POST trying with GET but the output is:

curl: (26) Failed to open/read local data from file/application

I'm not sure if the issue is from my side or any kind of bug or problem with the Bitbucket Cloud API.


Answers:
author: Eric Molina-Martinez
body: Fixed this.

The problem is related to the redirects. cURL was not following the redirects.

The -L flag makes cURL follow to the last redirect and downloads the file.

Example:

curl -L --compressed -X GET -u `${USER}` <https://api.bitbucket.org/2.0/repositories/>`${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}`/downloads/`${file}` \> `${file}`.tgz


Tags: bitbucket-cloud

cloud
.
Asked by T:

.


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

I went ahead and created a support ticket using the email of your community account, you should have received an email with a link to the support ticket.

The ticket is visible only to you and Atlassian staff, so you can share the public SSH key you are trying to add and we can check where this key has been added.

Please note that we cannot remove SSH keys, you will need to have access to the repo(s) in question in order to be able to remove it.

Kind regards,  
Theodora


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

The most common cause of this problem is that people share keys across their accounts, The second most common cause is people sharing keys with other people's accounts.

My guess is that you've done the first (It's really easy to fall into it - Nic and (g)root on this laptop tried to upload the same key to Bitbucket - both of them are me, all the time, I didn't think about it properly)

You can ask Atlassian to look for the duplicates, if you are on a supported tier, but if you're not, then the only answers are

1) Talk to the people you shared the key with (which you should not have done)

2) Create a new key. That is always an option, and it's the best one when you've leaked the old one.

comments: author: T
body: .


author: T
body: .


Tags: bitbucket-cloud

cloud
Receiving a 404 when requesting a repository from Bitbucket over SSH.
Asked by N1ghteyes:

We have an internal composer server (Satis) that has been running for years without issue.

A couple of weeks ago, the builds stopped working, and we now receive the following error from composer:

*** ** * ** ***

\[Composer\\Downloader\\TransportException (404)\]  
The "<https://api.bitbucket.org/2.0/repositories/{username}/{reponame}?field>  
s=-project%2C-owner" file could not be downloaded (HTTP/1.1 404 Not Found)

*** ** * ** ***

Obviously with the user/repo redacted for the sake of this post.

The repository definitely exists - it can be checked out with Git on my main work computer, we've not touched or updated the composer server in a good long time, and we've confirmed that the SSH key on the server and bitbucket still works and we can make the connection.  

So, what changed with Bitbucket? and how do we resolve this?  

EDIT:: For clarity, we have tested this with a number of Bitbucket repositories - all seem to have the same issue.


Answers:
author: N1ghteyes
body: The issue appears to be caused by this change in functionality on Bitbucket Cloud.

<https://community.atlassian.com/t5/Bitbucket-articles/Changes-to-Bitbucket-API-Requires-Latest-Version-of-Go/ba-p/1975819>

The composer server attempts to make a connection if it gets a 403, but a 404 is an exception.

Utterly stupid change.


Tags: bitbucket-cloud

cloud
Unable to login with old username and email address associated with the username doesn't connect
Asked by Nickolas Fisher:

I'm trying to log in with the username. I know that BB changed to email address some time ago but the email address that I used to sign up with the username won't connect the two. So now I can't get into the old username. How can I correct this


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to visit id.atlassian.com and recover or fix your account there.

comments: author: Nickolas Fisher
body: Thank you. I went to id.atlassian and I dont see any place to fix or recover my account.

I did try to change my by going to Atlassian account -\> Products -\> bitbucket.org -\> bitbucket profile settings -\> Username but that just tells me \*An account with that name already exists.\*. This of course is what I'm trying to resolve.

I've checked pretty much all the options on the settings wheel in id.atlassian.com and my profile icon but I'm not seeing any place to fix my account.

Under which menu item can I find that?


author: Nic Brough -Adaptavist-
body: Ok, that tells us it's not your Atlassian account that is a problem.

Fire up an incognito session in your browser, or use another browser and try logging into bitbucket using the old account name, and, if that doesn't tell you anything useful about how to reset a password or update the account, try again with the associated email.


author: Nickolas Fisher
body: So that's the problem.   

Bitbucket no longer allows you to log in with a username. You have to use the email address.

I can log in with the associated email address but it won't let me use the old username with the email address. It forced me to pick a new username.

So at this point, I have 2 user names associated with 1 email address. And I can't access the old username. And I can't log into bitbucket with the username because it forces me to use an email address which it won't associate with the old username.


author: CHaber
body: Was this resolved? I am having the same problem.


author: Nickolas Fisher
body: Yes, turns out the username in question was associated with an email address I had long forgotten. Support was able to assist me in recovering it.


author: Samuel Apolinario
body: Hi, I'm having the same issue. I am now forced to log into my account using a google account with the same email address as my original email based account.

I can no longer view my old repos!!

What did you have to do to get support to help you? I am at a complete loss at the moment. The site won't even let me upgrade to a paid plan to receive better support.

Any help would be appreciated!!


Tags: bitbucket-cloud

cloud
Bitbucket Cloud Rest API - Deployments & Environments
Asked by Muffadal Hamid:

I am trying to filter \& sort the deployments \& environments rest api for bitbucket cloud but I am getting a 404 error below are the details.

This works

```
fetch('https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/environments/', {method:'GET', 
headers: {'Authorization': 'Basic ' + btoa('username:password')}})
.then(response => response.json())
.then(json => console.log(json));
```

This gives 404. The only difference is the querystring. I have tried various combinations of

* encoding the string
* ending with / or ? or both

```
fetch('https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/environments?q=slug%3D%22canary-amr-qat-hardees%22', {method:'GET', 
headers: {'Authorization': 'Basic ' + btoa('username:password')}})
.then(response => response.json())
.then(json => console.log(json));
```

Is filtering \& sorting not supported on these endpoints?


Answers:
author: Patrik S
body: Hello [@Muffadal Hamid](/t5/user/viewprofilepage/user-id/4969797) ,

Welcome to Atlassian Community!

I'm afraid that sorting and filtering are not supported for the environments endpoint.

However, we already have a feature request to implement that functionality, which you can check at the following link:

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. 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 features are implemented with [this policy in mind](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

While this feature is not implemented, you have the option to retrieve all environments via the API and then use another tool to filter JSON data, like jq, in order to filter the results.

Thank you, [@Muffadal Hamid](/t5/user/viewprofilepage/user-id/4969797) .

Kind regards,

Patrik S

comments: author: Muffadal Hamid
body: Thanks, [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) for your response. The link you have posted talks only about the "environments" endpoint. However, I am facing the exact same issue with the "deployments" endpoint below

<https://api.bitbucket.org/2.0/repositories/>{workspace}/{repo_slug}/deployments?q=state.name="COMPLETED"


author: Patrik S
body: Hey [@Muffadal Hamid](/t5/user/viewprofilepage/user-id/4969797) ,

Actually, the feature request [BCLOUD-18729](https://jira.atlassian.com/browse/BCLOUD-18729) covers both the /deployments and /environment endpoints.

You can check that the feature name is regarding the /deployments endpoint, and I have added a comment in the feature description to also mention the /environments endpoint that is having the same behavior and currently not allowing filtering and sorting.

Thank you, [@Muffadal Hamid](/t5/user/viewprofilepage/user-id/4969797) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud

rest-api
ssh to private ec2 via bastion using ssh-run
Asked by Sukoon:

Hello,  

I am trying to login into my private ec2 host via bastion host and execute a shell script in the host using following pipeline.

```
- pipe: "atlassian/ssh-run:0.4.1"
  variables:
   SSH_USER: 'ec2-user'
   SERVER: $SERVER
   SSH_KEY: $SSH_KEY
   MODE: script
   COMMAND: bitbucket-pipelines.sh
   EXTRA_ARGS: -o ProxyCommand='ssh -i /root/.ssh/pipelines_id ec2-user@16.210.69.43 -W %h:%p'
```

```
But I always get below error?:
Bad stdio forwarding specification '%h:%p'' 
```

Output:  

    Status: Downloaded newer image for bitbucketpipelines/ssh-run:0.4.1

    INFO: Executing the pipe...

    INFO: Using passed SSH_KEY

    INFO: Executing script https://bitbucket.org/kellyx/kelly-auth/src/5c835533832a039320f10ed3bad0c5d2c83674e2/bitbucket-pipelines.sh on 10.9.181.1

    ssh -i /root/.ssh/pipelines_id -o StrictHostKeyChecking=no -p 22 -o ProxyCommand='ssh -i /root/.ssh/pipelines_id mailto:ec2-user@13.213.65.49 -W %h:%p' mailto:ec2-user@10.0.141.68 bash -s

    Bad stdio forwarding specification '%h:%p''

    ? Execution failed.

Can someone please help me with this ?


Answers:
author: Vu Ha
body: [@Sukoon](/t5/user/viewprofilepage/user-id/4969783) for ssh-run just use JumpHost instead ProxyCommand  
EXTRA_ARGS: -J $SSH_USER@$BASTION_HOST  
for rsync-deploy use ProxyCommand  
SSH_ARGS: '-v -o StrictHostKeyChecking=no -o ProxyCommand="ssh -W %h:%p -q $SSH_USER@$BASTION_HOST" -l $SSH_USER'


author: lissyaka
body: [@Sukoon](/t5/user/viewprofilepage/user-id/4969783) hi.  

This problem relates to [quoting](https://wiki.bash-hackers.org/syntax/quoting).

For complex command escaping/quotas issue could happened, because pipelines infra also do some additional escaping for all passed variables to pass them throughout a docker infra.

We will investigate your issue and notify you.  

Cheers.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

ssh
Accessing the code to my app
Asked by Laura Vinogradov:

Hi, All.

My dev team sent me a link to BitBucket as I want to preserve the code for an app they developed for me. Problem is, I cannot seem to find, let alone access, my product.

Can anyone please walk me, a content developer, not a coder, through this?

A million thanks in advance.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

I am not sure what you are asking for here. Someone has sent you a link to Bitbucket, presumably so you can look at some of their code.

If you open the link, you'll see the code. You may need to log in, when the repository is not open to anonymous access.

But that's it, there's nothing more we can tell you really.

"I cannot seem to find my product" just says that you're looking in the wrong place, or that the people who sent you the link have not published you product there.

And "can anyone walk me through this" is a perfectly good request, but you haven't told us what exactly you want to be walked through.
How to block users (or groups of users) from approving pull requests.
Asked by markgillespien:

We have some junior engineers that we wish to be able to review and inline comment on code reviews, however we don't want them approving pull requests.

Is this possible in Bitbucket? Either out the box, or with a plugin?

Thanks.


Answers:
author: Ulrich Kuhnhardt _IzymesCo_
body: Hi [@markgillespien](/t5/user/viewprofilepage/user-id/1040863)

Bitbucket repository and/or project settings let you define default reviewers <https://confluence.atlassian.com/bitbucketserver/add-default-reviewers-to-pull-requests-834221295.html>

You can also configure a merge-check <https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html> for pull requests that require a certain number of approvals from (default) reviewers.

That all works out of the box.

If you need more granular control over

\* file/path reviewers and groups (reviewers and groups are added depending on which files have changed)

\* merge-check group quota per individual groups

\* enforced merge checks for users without complicated branch permissions

.... check out Workzone for Bitbucket [https://marketplace.atlassian.com/apps/1211303/workzone-pullrequest-workflow?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/1211303/workzone-pullrequest-workflow?hosting=datacenter&tab=overview) - and let us know how you go.

Best, Ulrich

// Izymes.

comments: author: markgillespien
body: The out of the box controls definitely don't offer this, and reading the description of workzone, this doesn't either. We don't want to define who is a default reviewer, or even to try and have bitbucket suggest reviewers.

We are trying to ++***block***++ a specific group of users from approving pull requests, whilst still permitting them to comment.


Tags: bitbucket-server

pull-request

server