youngmon/atlassian-qna huggingface dataset:
Issue > More options button on Filters no longer has 'Assign'/'Assign to Me'
Asked by Ashley:

I've had users who have noticed that the 'Assign'/'Assign to Me' button is no longer displayed as an option from a filter page -\> more options button on an issue, leading to a slight decrease in productivity.

I realize a workaround would be to put the filter in a dashboard, but wondering if there is another workaround to mimic the same ease of use on the filter page itself.

![filter-issue-more-options.png](/t5/image/serverpage/image-id/315322iB0D8831EEC3EFEA8/image-size/large?v=v2&px=999 "filter-issue-more-options.png")


Answers:
author: Ste Wright
body: Hi [@Ashley](/t5/user/viewprofilepage/user-id/5384822), [@Josh](/t5/user/viewprofilepage/user-id/5248675)

I assume your users are on the new issue search? If yes, this feature isn't available in the menu anymore it seems.

Your users can still switch back to the old issue search for now, where the options are still available:

1. In the upper-right corner, select the breadcrumbs (...), next to "Export"
2. Select *Go back to the old issue search*from the drop-down menu
3. Provide feedback or skip

\^ I'd encourage your users to provide feedback that this feature is missing if switching back, so the relevant team knows why they're making the switch :)

Ste

comments: author: Ashley
body: Thank you so much! I think this will be the best route to go.


author: Josh
body: Hi [@YY Brother](/t5/user/viewprofilepage/user-id/4083879) . Thanks for the prompt response!

Our use case involves the previous functionality of being able to assign from within the filter view rather than jumping into the ticket to perform this action.

comments: author: YY Brother
body: Got it. I don't have that assign to me either.


author: YY Brother
body: Hi [@Ashley](/t5/user/viewprofilepage/user-id/5384822)

Welcome to our Community.

Please try to press "I" on your keyboard in a issue detail screen, which is the most efficient way to assign this issue to me.

Hope it helps.

Thanks,

YY?

comments: author: Ashley
body: I appreciate your response - thank you!, but I'm finding that this solution is not working for me.


Tags: cloud

jira-service-management

jira-service-management-cloud
Remove a tabel from a mail when creating ticket
Asked by Dave Duijvekam:

Hi,

We have a large signature and want to remove it when if a mail is send to Jira.

I use know the Mail Signature Remover, this does part of the work, the Images have been removed.

But still there is text I want to remove.

Or even beter if there is an option to remove a table, our signature is in a table.

I waas looking in Automation but could not get it work there.

Any suggetions?


Answers:
author: Dave Duijvekam
body: Hi [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470)

Sorry for the late reply :)

With first and last string is unfortunatly not an option.

Will keep looking.

Dave


author: Ste Wright
body: Hi [@Dave Duijvekam](/t5/user/viewprofilepage/user-id/5237438)

Is it possible to find the first and last strings of the signature - and then just delete everything inbetween?

Could be an alternative, as I don't believe there's a smart value for a table value.

Ste

comments: author: Ste Wright
body: Why can't you use first/last string?

Are there any other unique identifiers you could reference (which are text), where the table is inbetween?

Ste


author: Dave Duijvekam
body: Sorry for the late response.

I tried 1st and last string but if the string is repeated due to a mail conversation it will remove everthing inbetween.


Tags: cloud

jira-service-management

jira-service-management-cloud
Feature Request: Allow Setting of Customer Portal Language without Login
Asked by T:

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Currently language is tied to the customer account, however for Customer Portals which allow submission of issues without login, this is not helpful. Please add a dropdown which allows the change of site language when users are not logged in. |


Answers:
author: Ste Wright
body: Hi [@T](/t5/user/viewprofilepage/user-id/5464204)

The portal should default to the system's default language - I assume though you're operating a portal where users might raise requests in multiple languages, is this correct?

---

Aside from this, I don't believe this is possible natively at this stage, although there's a range of feature requests you could check out - the closest one looks it's [JSDCLOUD-4647](https://jira.atlassian.com/browse/JSDCLOUD-4647)

Ste


Tags: cloud

jira-service-management

jira-service-management-cloud
How to search and copy files from 100 Repos into ONE Repo? (by searching keywords in filename)
Asked by DI WANG:

There are 100+ Repos, want to scan, copy, and save those files (with keywords in filenames), into ONE repo, please help!


Answers:
author: Aron Gombas _Midori_
body: I think this question is not particularly specific to Bitbucket, but a general batch processing problem that includes working with a VCS a bit.

I would develop an external script (probably in Python) that would do something like this:

1. Connect to the Bitbucket REST API and get all repositories
2. Iterate over the repos and clone those one by one to the local filesystem
3. *(now you have a local copy of everything that you can process)*
4. Create a new empty repository "Result" through the Bitbucket REST API
5. Also clone "Result" to the local filesystem
6. Process the local files
   1. Match the keywords to the filename
   2. If it matches, copy the file to the result
7. *(now you have the result in the "result" local clone)*
8. "git push" the result


Tags: bitbucket-server

server
Run A Step if Above Steps Failed
Asked by Shrey:

Hi Folks,

Need your help in one thing. I have a BB pipeline which consist of 4 steps . If Any of 3 steps failed there should be option for me to run 4th step directly.  
Scenario : If any of step gets failed the 4th step should run with a manual trigger.  

How Can I Achieve that. Any help is highly appreciated .


Answers:
author: Patrik S
body: Hello [@Shrey](/t5/user/viewprofilepage/user-id/5150807) ,

Thank you for reaching out to Atlassian Community!

I'm afraid that currently, Bitbucket cloud pipelines will not continue to the next steps when a step failed. Whenever a step fails, the pipeline execution will be stopped and none of the next steps will be executed. We do have a feature request to implement an option to allow a step to fail and continue to the following steps :

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

We encourage you to add your vote there, so it gives that feature traction, and also add yourself as a watcher to be notified of any update on that feature implementation.

While that option is not available, you might be interested in using the **after-script**option in your step. The after-script section will always be executed at the end of a step, regardless if the step succeeded or failed. You could add some logic to the after-script section for it to run only when the step fails, like in the below example :

    pipelines:  default:    - step:        name: Step 1        script:          - echo "test step"        after-script:          - if [[ BITBUCKET_EXIT_CODE -eq 0 ]]; then exit 0; else echo "Step failed" ; fi
              - echo "only execute this if step failed"

In this example, in the after-script section, we are evaluating the value of the variable [BITBUCKET_EXIT_CODE](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/#Default-variables) that will contain the exit code of the last command executed in the step. If this exit code is zero (meaning the step's script commands were executed successfully) the after-script section will be forced exit. On the other hand, if BITBUCKET_EXIT_CODE is different than zero (meaning one of the step commands has failed) the after-script section will be executed up to its end, so you can include any commands there that you would like to be executed only on step-failure.

For more details about the after-script section you can check our official documentation below :

* <https://support.atlassian.com/bitbucket-cloud/docs/step-options/#After-script>

Thank you, [@Shrey](/t5/user/viewprofilepage/user-id/5150807) !

Patrik S

comments: author: pablo.hendrickx
body: ```
after-script:

 - if [[ BITBUCKET_EXIT_CODE -eq 0 ]]; then exit 0; else echo "Test failed!"; fi
```

The example code snippet is missing the ending "; fi" statement for it to work.  
After adding it, it works like a charm.  
Thanks !


Tags: bitbucket-cloud

cloud
Unable to login to bitbucket
Asked by mtfurlan:

I have the same problem as <https://community.atlassian.com/t5/Bitbucket-questions/Unable-to-login-Bitbucket-We-couldn-t-log-you-in/qaq-p/1896018#M76192>  

I assume you need to manually fix my account, same as everyone else in that thread.

Cheers.


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

Your Bitbucket Cloud account was indeed inactive, so I went ahead and reactivated it. Please feel free to let me know if you are able to log in now.

Thanks for bringing this to my attention [@Mayur Jadhav](/t5/user/viewprofilepage/user-id/4290135)!

[@?????? ??????](/t5/user/viewprofilepage/user-id/5196084), I reactivated your account as well, I responded to your other post here: <https://community.atlassian.com/t5/Bitbucket-questions/Unable-to-login-to-BitBucket-via-Chrome-Edge-and-after-applying/qaq-p/1877272#M92801>

Kind regards,  
Theodora

comments: author: Rrrr
body: I wasted so much time and also went through the support team.

Even better is to fix this once and for all:

[vote](https://jira.atlassian.com/browse/BCLOUD-22664) to request a clear error message:

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


author: ?????? ??????
body: I have the same issue, the error message is kinda counter-intuitive.


author: Mayur Jadhav
body: Hello [@mtfurlan](/t5/user/viewprofilepage/user-id/5194747) ,

Welcome to the Atlassian Community!!

I have added the Atlassian Review tag to this thread. [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) can you please take a look.

Regards,  
Mayur


Tags: atl-rvw

bitbucket-cloud

cloud
"We couldn?t log you in" error message
Asked by Dan Greaves:

I am trying to login to my Bitbucket account, which I have not used in a while. I can login to id.atlassian.com fine, which takes me to start.atlassian.com.

However, when I click on Bitbucket, it takes me to bitbucket.org. I then click login and it shows the error message below.
> We couldn't log you in
>
> You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

I have tried with Chrome and Firefox, both with incognito, with extensions disabled and the issue still persists.

From other posts, I see that Bitbucket accounts can be marked as "dormant" if they are not used in a while, and need to be re-activated, but I can't find any information on how to reactivate it.


Answers:
author: Patrik S
body: Hello [@Dan Greaves](/t5/user/viewprofilepage/user-id/5194668) ,

Welcome to the Atlassian Community!

I confirmed your account was in "dormant" state due to the period of inactivity. I went ahead and set it to Active again, so you should now be able to log in as usual. In case you still face any issues, please let us know.

Thank you, [@Dan Greaves](/t5/user/viewprofilepage/user-id/5194668) !

Patrik S


Tags: bitbucket-cloud

cloud
Hide a UI element depending on Role with Scriptrunner
Asked by Mike P:

Hello,

I would like to hide the Project and Repository Permissions page from all users except System Admins. I have been able to find the UI element to hide, but I am not sure how to disable it except for a System Admin. Any suggestions?

I was trying:

import com.atlassian.sal.api.user.UserManager  
import com.atlassian.sal.api.user.UserKey

def userManager = ComponentLocator.getComponent(UserManager)

if (userManager.isSysAdmin(new UserKey(currentEvent.user.name))) {  
true  
}  
return false


Answers:
author: Yannis Argyropoulos __ScriptRunner - The Adaptavist Group__
body: Hi [@Mike P](/t5/user/viewprofilepage/user-id/645797)

The following snippet will return \`true\` when the logged in user is a global admins and \`false\` if they are a project or repo admin:

```
import com.atlassian.sal.api.user.UserKey

import com.atlassian.sal.api.user.UserManager

import com.atlassian.bitbucket.auth.AuthenticationContext

import com.atlassian.sal.api.component.ComponentLocator

def currentUser = ComponentLocator.getComponent(AuthenticationContext).currentUser

ComponentLocator.getComponent(UserManager).isAdmin(new UserKey(currentUser.name))
```

However, If you just need to prevent project or repo admins from changing permissions, instead of hidding UI elements, you could just reject any permission modification events for non-admin users.

You could use this library script : <https://library.adaptavist.com/entity/block-changing-proj-key-from-non-admins>

and modify its trigger, using **ProjectPermissionModificationRequestedEvent** and **RepositoryPermissionModificationRequestedEvent** instead of ProjectModificationRequestedEvent

<br />

comments: author: Mike P
body: Thank you so much Yannis. I will give the code a try.

As for your suggestion, it would be much better if I could gray out all the fields on the page except for system admins/admins. Is there a way to gray out the fields?

Also, how does one know what listener to use? Is there documentation anywhere for them?

thanks!


author: Yannis Argyropoulos __ScriptRunner - The Adaptavist Group__
body: [@Mike P](/t5/user/viewprofilepage/user-id/645797) I cannot think of an easy way to gray out fields.

I suggest to do it with event listeners, because this way you can have a clear error message and not confuse users by having an inconsistent UI. Also, this will cover you from users using rest API to change permissions.

<br />

For documentation, you could have a look at  
[PermissionModificationRequestedEvent](https://docs.atlassian.com/bitbucket-server/javadoc/latest/api/com/atlassian/bitbucket/event/permission/PermissionModificationRequestedEvent.html) , [CancelableEvent](https://docs.atlassian.com/bitbucket-server/javadoc/latest/api/com/atlassian/bitbucket/event/CancelableEvent.html) and their implementations

Regards,  
Yannis


Tags: bitbucket-data-center

scriptrunner
Git clone does not work: HTTP/2 stream 0 was not closed cleanly: STREAM_CLOSED (err 5)
Asked by Antti Koskela:

Hi,

From my cloud server, when trying to clone a repository in bitbucket:  
Git clone does not work: HTTP/2 stream 0 was not closed cleanly: STREAM_CLOSED (err 5)  

Has Bitbucket blocked the cloud vendor IP?


Answers:
author: Patrik S
body: Hello [@Antti Koskela](/t5/user/viewprofilepage/user-id/5194189) ,

Welcome to Atlassian Community!

Would it be possible for you to share the public IP/sub-net from the cloud server you are trying to clone from so I can check it internally?

If you would prefer to not share the public IP/subnet here in the community, as it's a public forum, please let me know, so I can raise an internal ticket for you.

Thank you, [@Antti Koskela](/t5/user/viewprofilepage/user-id/5194189) !

Patrik S


Tags: bitbucket-cloud

cloud
Data residency
Asked by Lukas Angst:

Hello there,

Do you have a possible timeline for the data residency in bitbucket?

Best regards


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Lukas Angst](/t5/user/viewprofilepage/user-id/4242604) ,

Data Residency for Bitbucket will be released in the 2024. Here the roadmap [https://www.atlassian.com/wac/roadmap/cloud/data-residency-for-bitbucket?selectedProduct=bitbucket\&p=d8d3159d-78](https://www.atlassian.com/wac/roadmap/cloud/data-residency-for-bitbucket?selectedProduct=bitbucket&p=d8d3159d-78)

Hope this helps,

Fabio

comments: author: Lukas Angst
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)

Thank you very much for the reply.  
Do you know of an alternative solution until 2024?

Lukas


Tags: bitbucket-cloud

cloud
Adding a second ssh key
Asked by Ben Goldenberg:

Hi,

I followed the documentation <https://blog.developer.atlassian.com/different-ssh-keys-multiple-bitbucket-accounts/>

I have a created a second ssh key in my .ssh folder and updated config file to look like this:

Host \*

UseKeychain yes

#user2 account

Host bitbucket.org-bestcare

HostName bitbucket.org

User ben-pc

IdentityFile \~/.ssh/bestcare

IdentitiesOnly yes

my github project have the following remote:

origin git@bitbucket.org-bestcare:workspace-id/repo.git

It seems to me I have set up everything but still get access denied.


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

The public SSH key that you generated needs to be added to the public keys of the Bitbucket account that has access to this repo. I checked our system and your Bitbucket Cloud account with the same email as your community account, doesn't have any SSH keys associated with it.

Can you please log in to this account and then add the public key on this page <https://bitbucket.org/account/settings/ssh-keys/> ?

Afterwards, try again the Git operation that was giving you an error.

If you are still experiencing issues, can you please try the operation using the following command and then attach the command and full output here?

```
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" <git command>
```

replace **\<git command\>** with the git command that is giving you an error.

Please make sure to sanitize any private/sensitive data from the output, prior to sharing.

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

Just a heads up, I removed the repo URL from your post to comply with our privacy policy.

Kind regards,  
Theodora

comments: author: Ben Goldenberg
body: Thanks


author: Ben Goldenberg
body: Working now


author: Theodora Boudale
body: Hi Ben,

That's good to hear, thank you for the update!

Please feel free to reach out if you ever need anything else.

Kind regards,  
Theodora


author: Ben Goldenberg
body: Hi,

It is stopped working again.

Can you help ?

Ben


Tags: bitbucket-cloud

cloud
Parallel deployment on same env
Asked by Adrien Zemma:

We build our front and back separately but they are on the same Jira environnement.

Will it be possible to someday have something like this :

```
 - stage:
  name: Releasing on XXX
  deployment: XXX
  paralelle:
   steps:
    - step: *release-front
    - step: *release-API
```


Answers:
author: Patrik S
body: Hello [@Adrien Zemma](/t5/user/viewprofilepage/user-id/4736721) ,

Thank you for reaching out to Atlassian Community!

While parallel steps are unfortunately currently not available to be used inside **stages** (more details on [Stage limitations](https://support.atlassian.com/bitbucket-cloud/docs/stage-options/#Limitations)), we have a feature request to add this functionality, which you can find in the following link :

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

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](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@Adrien Zemma](/t5/user/viewprofilepage/user-id/4736721) !

Patrik S


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Bug: signed in users of public issue tracker unable to create issues
Asked by Scott Wiltshire:

I can see several users complaining of the same issue

<https://community.atlassian.com/t5/Bitbucket-questions/How-can-we-allow-all-users-the-ability-to-create-an-issue/qaq-p/2319832>

<https://community.atlassian.com/t5/Bitbucket-questions/I-can-t-create-any-issues/qaq-p/2305123>

<https://community.atlassian.com/t5/Bitbucket-questions/Anonymous-users-can-t-create-issues-in-issue-tracker/qaq-p/2324048>

<https://community.atlassian.com/t5/Bitbucket-questions/I-can-t-create-any-issues/qaq-p/2318508>

This seems to be a general issue affecting public issue trackers where any signed in user should be able to create an issue. However, only users who are repo members can currently create issues. Presumably this is a bug in the rollout of "enhanced project permissions" <https://community.atlassian.com/t5/Bitbucket-articles/Taking-Bitbucket-permission-management-to-the-next-level/ba-p/2264892>

**Please fix it!**

It's an important part of our process that customers and partners are able to raise bug and RFE issues at <https://bitbucket.org/apliqoc3ux/apq-c3-ux/issues>. Jira issues dosn't help as that is only accessible to team members.


Answers:
author: Theodora Boudale
body: Hi Scott,

Bad actors have recently targeted public issue trackers by posting spam. As a precautionary measure, we have temporarily disabled non-workspace users' ability to create issues on any public issue tracker.

To address the issue, we will be introducing a solution that will fit into your existing workflow while also taking steps to ensure that spammers cannot use the issue tracker as a viable target. We don't have an exact ETA on when this will be rolled out to all workspaces.

In the meantime, we can add an exception for a specific workspace (so that non-members of a workspace can create issues) when someone reaches out to us. I can see that this was handled for your issue tracker in the support ticket you created.

Kind regards,  
Theodora


author: Alex Koxaras _Relational_
body: [@Scott Wiltshire](/t5/user/viewprofilepage/user-id/1849056)

I've escalated this to Atlassian, and a member will contact you in the following days.

comments: author: Scott Wiltshire
body: I have also created a support ticket <https://support.atlassian.com/requests/BBS-201303/>


Tags: atl-rvw

bitbucket-cloud

cloud
I stopped receiving bitbucket email notifications
Asked by Stefano Zuin:

I'm not receiving notification emails from Bitbucket when something happens in the repositories I'm watching. I'm the only member of my team that is having this trouble. My Jira email notifications work fine, it's only Bitbucket emails that are not coming through...

I found some [questions in the community](https://community.atlassian.com/t5/Bitbucket-questions/I-stopped-receiving-bitbucket-email-notifications/qaq-p/1088558) related to what is happening to me. Hope that this issue can be solved ASAP.


Answers:
author: Ben
body: G'day Stefano!

Welcome to the Bitbucket Cloud Community! :)

I have checked our internal suppression list and did not find your email address listed here - so I do not believe there is any blockage occurring from our side.

Furthermore, I could not see any SMTP bounce errors reported by your mail server.

I believe there may be a setting here preventing you from receiving email notifications. Please follow the steps within the knowledge base article I recently authored below and let us know if any further issues:

* [Email Notifications Not Working](https://confluence.atlassian.com/bbkb/email-notifications-not-working-1224343600.html)

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud