youngmon/atlassian-qna huggingface dataset:
cant export issues
Asked by Kamil Askerov:

Hi. I am trying to export issues but have error

HTTP Status 400 -- Bad Request. What can be the problem? im trying to export 561 issues - only thay keys.


Answers:
author: Joseph Chung Yin
body: [@Kamil Askerov](/t5/user/viewprofilepage/user-id/5483207) -

I believe it is an error on your network end which is blocking the incoming request from your JSM cloud env. I would recommend that you check with your networking team first.

Otherwise, you can contact Atlassian Support (<https://support.atlassian.com>) for them, so they can access the system logs from the backend to determine more details on the error.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Kamil Askerov
body: thank you for your answer [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)


author: Kamil Askerov
body: [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) I can only export without 400 error only \<300 issues. Its not good because more work must do. I only have about 1000 issues there. 3 time must do same work.


author: Joseph Chung Yin
body: [@Kamil Askerov](/t5/user/viewprofilepage/user-id/5483207) -

For the Cloud env, unfortunately we cannot adjust limitation of export issue counts (it is available for the Data Center env). I believe it is currently limitation is 1000 issues. Here is an KB article on how to export if the resultset is greater than 1000 counts -

[https://confluence.atlassian.com/jirakb/increase-issue-limit-for-excel-exports-in-jira-cloud-779160811.html#:\~:text=By%20default%20both%20JIRA%20issue,maximum%20of%201000%20search%20results](https://confluence.atlassian.com/jirakb/increase-issue-limit-for-excel-exports-in-jira-cloud-779160811.html#:~:text=By%20default%20both%20JIRA%20issue,maximum%20of%201000%20search%20results).

Hope this helps.

Best, Joseph


Tags: cloud

jira-service-management

jira-service-management-cloud
Code Insights merge checks report key --> Where do I find this???
Asked by Ali Ishkuntana:

Code Insights merge checks {#toc-hId--441909333}
------------------------------------------------

You can block pull requests from being merged until their [Code Insights](https://confluence.atlassian.com/bitbucketserver/code-insights-966660485.html) reports meet your requirements. You can set these merge checks for all the repositories in a project, or a single repository, and your requirements can be based on whether:

* a specific report is present
* the report passes or fails
* the report adds annotations of a certain severity to the diff

Annotations only block merging if they are on the diff. If they're somewhere else on a changed file, or on a file that hasn't changed they won't block the merge.

To add a Code Insights merge check for all the repositories in a project (requires project admin permissions):

1. Go to Project settings \> Code Insights.
2. Enter the report key of your required report. You can find this on the report in the bottom right.
3. Enter its required status and its annotation requirements.
4. Click add.

To add a Code Insights merge check for a repository (requires repository admin permissions):

1. Go to Repository settings \> Code Insights.
2. **++*Enter the report key of your required report. You can find this on the report in the bottom right.*++**
3. Enter its required status and its annotation requirements.
4. Click add.

Where is the "**report key**" found listed in the bolded above? Which report is this referring to? Where does this report get generated?


Answers:
author: Javier Perez
body: Reports can be attached using REST API, or you may be using a tool which is prepared to attach reports back to a PR

If using REST API you'll give the report key as a mandatory parameter. If there is a tool which is attaching the report, the tool will most probably (or it's expected to) expose the report key in its report

REST API documentation: <https://developer.atlassian.com/server/bitbucket/how-tos/code-insights/>

BTW, not all the tools expose the report key in the bottom right


Tags: bitbucket-server

server
How do you run pipeline against latest tag on schedule?
Asked by chris.quibell:

We tend to have a tag created near the end of the day then at 2 in the morning, we want to run regression tests. Our issue is that where we want to run our regression tests may get updated and tweaked so we cannot rely on trigging a pipeline when tag is created because it may get blown away. So I was curious if there was any way to run a scheduled pipeline where the pipeline clones the repo and uses the latest tag available in the repo to do the builds and deployments to our regression site?


Answers:
author: Theodora Boudale
body: Hi Chris,

Schedules can only be created for branches at the moment, I'm afraid that it is not possible to create a schedule for a tag.

It should be possible to add Git commands in the script of the bitbucket-pipelines.yml file that find the latest tag and then check out this tag. However, if the build is scheduled to run for a certain branch, then it will still be associated with the latest commit of this branch. So, it will run in the source code of the tag, as you want, but it will be associated with the latest commit of the branch in the schedule, which will be confusing.

What you could do instead is create locally a new branch out of the tag's commit, push it to the Bitbucket Cloud repo, and then create a schedule for this branch. In this case, you would need to remember to delete the branch and recreate it for the newer tag the next day, so that the next build runs for the tag you want.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do we use "Reuseable CI Workflows"?
Asked by Drew Heasman:

The Reuseable CI Workflows feature is marked as release here: [https://www.atlassian.com/wac/roadmap/cloud/reusable-ci-workflows?\&p=ca8f751c-aa](https://www.atlassian.com/wac/roadmap/cloud/reusable-ci-workflows?&p=ca8f751c-aa)

I can't see any information or documentation about it, how do we use it?


Answers:
author: Drew Heasman
body: I raised a support ticket and the roadmap was updated by mistake


Tags: bitbucket-cloud

cloud
Access denied to Jira SM
Asked by Stefan Bartelski:

I am trying to get (back) in to our Jira SM site. When I try to login I am told that the admin has denied my access. As admin i do not remember denying myself. Can anyone help me?

Stefan


Answers:
author: Robert Blodgett
body: Ensure that you are listed with the correct permissions in Jira's global settings. You can do this by typing GG in the Jira search bar, then searching for "Global Permissions" to verify your access level. If you have another admin account or can contact someone with admin rights, ask them to go to Settings \> User Management and check if your user account has the appropriate access. Verify the customer access settings to ensure that they are configured correctly. This can be done under Settings \> Products \> Customer access in Jira Service Management. Sometimes, permission changes require you to log out and log back in for the changes to take effect.


Tags: cloud

jira-service-management

jira-service-management-cloud
Bitbucket Build Setup gobbled up Free tier minutes
Asked by curtisa:

Hi - Does anyone know how I can try to 'reclaim' some of my Free build minutes which have seemingly been lost due to problems checking out my repo ?

Specifically my builds normally take \~2mins but one now has taken over 20mins and it was hanging for almost all of this time on the build setup stage. Looking deeper in the logs (visible to me) I see things like
> Cloning into '/opt/atlassian/pipelines/agent/build'...  
> 5
> error: RPC failed; curl 56 Failure when receiving data from the peer  
> 6
> fatal: the remote end hung up unexpectedly

This seems to me to be something completely outside my control so hence I don't think its fair I've lost almost half of my monthly allowance due to this.

Hence, anyone know how to get someone from Atlassian to look into this please ?

Rgds


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

Thank you for reaching out. I am going to create a support ticket on your behalf using the email of your community account so that we look into this.

You will receive shortly an email with a link to this ticket. In case you don't, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else will be able to view its content even if they have the URL.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Stuck in "We couldn't log you in"
Asked by Sergey Markin:

Hello! My account seems to be inactive. Please reactivate it.

"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."

Thanks in advance!


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

Your Bitbucket Cloud account was indeed deactivated.

I went ahead and reactivated it, could you please try to log in now and let me know how it goes?

Kind regards,  
Theodora

comments: author: Sergey Markin
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) it works! Thanks a lot!


author: Theodora Boudale
body: That's good to hear, thank you for the update!

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


author: Valeriia_Havrylenko_SaaSJet
body: Hi [@Sergey Markin](/t5/user/viewprofilepage/user-id/5267120)   

I had same issue. I cleared my cache on my browser (I am using chrome), and now I as able to get everything working just fine.  

If it doesn't

Talk to atlassian support

<https://support.atlassian.com/>

There seems to be an incident

<https://status.atlassian.com/>  

Try that, hope it works for you!  

Regards,  

Valeriia


Tags: bitbucket-cloud

cloud
unable to generate Pull request on the bitbucket dashboard.
Asked by Abhishek Jajoria:

unable to generate Pull request on the bitbucket dashboard.


Answers:
author: Mahesh Shinde
body: Hi [@Abhishek Jajoria](/t5/user/viewprofilepage/user-id/5267077) ,

Please, check if you are the only member facing issue? also validate if there is branch restrictions on repository level.

Regards,

Mahesh Shinde


Tags: bitbucket-cloud

cloud
Create user group within a project
Asked by Joshua Fernandes:

Hi,

We've recently started using/configuring Project level administration rights.

This has been really helpful, however one road block, project admins have the need to create user groups within a project.

The only known way right now, is to:

1. Raise a request to the workspace admin

2. Elevate a project admin to workspace admin

Both options are not optimal.

Is there a way for Project admins to create (project-level ?) user groups?


Answers:
author: Patrik S
body: Hello [@Joshua Fernandes](/t5/user/viewprofilepage/user-id/4284954) and thank you for reaching out to Atlassian Community!

The user groups on Bitbucket Cloud are scoped to the workspace level, so only workspace admins are able to create groups. These groups can then be assigned permissions on projects and/or repositories.

I'm afraid it's not possible to create a user group scoped only to a project, but if you would like I can raise a feature request for it.

Thank you, [@Joshua Fernandes](/t5/user/viewprofilepage/user-id/4284954) !  
Patrik S

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

Yes , a feature request would be nice.

Thanks!

Joshua Fernandes


author: Patrik S
body: Hello [@Joshua Fernandes](/t5/user/viewprofilepage/user-id/4284954) ,

I went ahead and created a feature request to add the ability to create project-level user groups :

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

We encourage you to add your **Vote** there, and also mark yourself as a **Watcher**, so you are notified of any future updates on that feature. Feel free to add a comment with your use case on that ticket as well, as it helps our developers and project manager to understand the context.

Thank you, [@Joshua Fernandes](/t5/user/viewprofilepage/user-id/4284954) !  
Patrik


author: Ellen Tushar
body: Hello [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) and [@Joshua Fernandes](/t5/user/viewprofilepage/user-id/4284954)

Our project admins have been asking for something like this. In our case a project admin may have multiple projects. They have teams of developers that work on some of those projects. In addition to the current request, would it be possible to allow a project admin to create user groups that could be applied all or a subset of the projects they admin? Let me know if I should create a separate question and reference this one.

Thanks,   
Ellen


author: Patrik S
body: Hello [@Ellen Tushar](/t5/user/viewprofilepage/user-id/865480) ,

One approach could be to create separate groups at the workspace level and then grant them access to specific repositories within projects. This way, project admins can add these workspace groups to the repositories they want to grant access to.

If you need further assistance or if you would like to explore other solutions, feel free to ask or create a separate question referencing this one!

Thank you [@Ellen Tushar](/t5/user/viewprofilepage/user-id/865480) !

Patrik S


Tags: bitbucket-cloud

cloud

group

user
When i try to raise the PR i'm not able to see the option on source branch and destination branch
Asked by Jeevan Mahesha:

![Screenshot from 2023-07-13 09-46-10.png](https://community.atlassian.com/t5/image/serverpage/image-id/268496iC4D73DE691C10D46/image-size/large?v=v2&px=999 "Screenshot from 2023-07-13 09-46-10.png")

Please check this image i have more the 50 branch none of them are displayed. due to this not able to rasi the PR.   

is there any mistake happend from my end ?


Answers:
author: Amanda Jansen
body: Thanks, my issue has been fixed.


author: patelpreksha
body: Hi,

I am also facing the same issue while trying to run the pipeline.


author: Jeevan Mahesha
body: there is an issue from Bitbucket end

<br />

<https://bitbucket.status.atlassian.com/>


author: supachai
body: same issue,

![Screenshot 2023-07-13 115405.png](https://community.atlassian.com/t5/image/serverpage/image-id/268500i8B86027FE1CAA15C/image-size/large?v=v2&px=999 "Screenshot 2023-07-13 115405.png")

comments: author: Jeevan Mahesha
body: please check this [@supachai](/t5/user/viewprofilepage/user-id/5267028) there is an issue from Bitbucket end

<br />

<https://bitbucket.status.atlassian.com/>


Tags: bitbucket-cloud

cloud
Bitbucket Pipeline with Merge Checks
Asked by Ryan Mangum:

I have a bitbucket pipeline configured to run on pull request creation. My pipeline succeeds when the pull requests are created but my merge check condition for "1+ build passed" does not update when the pipeline succeeds, and therefore I cannot merge. What am I missing in my pipeline configuration to update this merge check upon successful build?


Answers:
author: Patrik S
body: Hello [@Ryan Mangum](/t5/user/viewprofilepage/user-id/5266859) and welcome to the Community!

I noticed you have also opened an internal ticket with our support team to report this issue, and one of our support engineers is already working with you on that case.

In order to avoid any confusion that may arise from discussing the same issue in multiple places, I would suggest focusing the discussion on the internal ticket.

Once that ticket is resolved, if you feel comfortable, feel free to share the solution here so other users from the community that may come across the same scenario can try using the same steps.

Thank you, [@Ryan Mangum](/t5/user/viewprofilepage/user-id/5266859) !

Patrik S


Tags: bitbucket-cloud

cloud
Change app descriptor url
Asked by Jason Gavriilidis:

We have an bitbucket app that is already installed on some workspaces.

The server - where the app descriptor was taken from - was initially pointing to our main domain [www.transifex.com](http://www.transifex.com)

We made a rewrite of the server and hosted it to a different domain

bitbucket.apps.transifex.com and until recently we handled this internally by proxying the descriptor to the new domain

Even more recently we changed our main domain to app.transifex.com

What we want is to change the descriptor url for our existing app to point to directly to the new domain but this is not possible via the UI.

Is there any way we can get the descriptor url updated?


Answers:
author: Patrik S
body: Hello [@Jason Gavriilidis](/t5/user/viewprofilepage/user-id/3291908) and thank you for reaching out to Atlassian Community!

As this is more of an app development question, I would suggest reaching out to our community dedicated to developers:

* <https://community.developer.atlassian.com/>

as they will have more expertise on this topic.

Thank you, [@Jason Gavriilidis](/t5/user/viewprofilepage/user-id/3291908) !

Patrik S


Tags: bitbucket-cloud

cloud
Repository size not updating
Asked by Poby Zaarif:

hello,

I'm new here, and a new employee from a company,

I have a question about repo size, [this repo](https://bitbucket.org/mpindo/new-landing/) detected over 500MB, since I know the real size should be not over 60MB

I run this command

*** ** * ** ***

$ git count-objects -vH

count: 0

size: 0 bytes

in-pack: 2278

packs: 1

size-pack: 151.88 MiB

prune-packable: 0

garbage: 0

size-garbage: 0 bytes

$ du -sh \*

165M node_modules

4.0K package.json

428K pages

50M public

136K src

8.0K styles

148K yarn.lock

*** ** * ** ***

I know the node_modules there should be ignored.

and I know before I come here .next folder was incidentally committed by the legacy team. and it's already been cleanup by me and added to .gitignore.

also, I read several articles from community.atlassian.com , or here [specific topic about repo size](https://community.atlassian.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&location=category%3Abitbucket&q=size), and mostly the solving is from Atlassian Team, can you please fix my repo size by run git gc too?

thanks


Answers:
author: Patrik S
body: Hello [@Poby Zaarif](/t5/user/viewprofilepage/user-id/5266628) and welcome to the Community!

I went ahead and triggered a GC on your repository to remove any dangling objects that might have been left from your cleanup. The git GC reduced the repository size back to 234.8MB!

Now that GC is completed, I would highly recommend you having everyone on your team removing their old copies of the repository and doing a fresh clone of it. Since the old clones have a dirty history, it's better to delete them, so you don't risk pushing the dangling objects back into your cleaned repository, which would increase its size again.

If you would like to reduce the size further, I would suggest following the steps outlined in the following article :

* <https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size>

Please note that to remove a previously committed large file(s) from your repository you might need to rewrite the history with a tool such as BFG (see [How to remove files from commit history](https://confluence.atlassian.com/bbkb/how-to-remove-files-from-the-commit-history-in-bitbucket-cloud-1252001212.html)).

Thank you, [@Poby Zaarif](/t5/user/viewprofilepage/user-id/5266628) !

Patrik S

comments: author: Poby Zaarif
body: thank you for helping us [@Patrik S](/t5/user/viewprofilepage/user-id/4603309)


Tags: bitbucket-cloud

cloud
Host multiple websites in same bitbucket workspace
Asked by Priya Lakshmi:

is it possible to create two repo with bitbucket.io domain suffix in same workspace.


Answers:
author: Patrik S
body: Hello [@Priya Lakshmi](/t5/user/viewprofilepage/user-id/5266452) and welcome to the Atlassian Community!

Currently, it's only possible to create one static website per workspace, as stated in our documentation :
> Each workspace can have only one site hosted on bitbucket.io.

Reference: [Publishing a website on Bitbucket Cloud](https://support.atlassian.com/bitbucket-cloud/docs/publishing-a-website-on-bitbucket-cloud/)

In this case, if you would like to have more than one static website you would need to create more than one workspace.

Hope that helps! Let me know in case you have any questions.

Thank you, [@Priya Lakshmi](/t5/user/viewprofilepage/user-id/5266452) !

Patrik S


Tags: bitbucket-cloud

cloud
My account got converted to free tier even though I had the payment method added
Asked by Akhilesh Tyagi:

Hello Guys,

I noticed, that my billing account got converted to free tier, even though I had the payment details added to my account. Please help me understand this, and what should be done so that it doesn't happen again ?


Answers:
author: Patrik S
body: Hello [@Akhilesh Tyagi](/t5/user/viewprofilepage/user-id/5261675) and welcome to the community!

I noticed you have also opened an internal ticket with our billing team to report this issue, and one of our customer advocates is already working with you on that case.

In order to avoid any confusion that may arise from discussing the same issue in multiple places, I would suggest focusing the discussion on the internal ticket.

Thank you, [@Akhilesh Tyagi](/t5/user/viewprofilepage/user-id/5261675) !

Patrik S


Tags: bitbucket-cloud

cloud
Need to run git gc on my repository
Asked by Akhilesh Tyagi:

Hello Guys,

Need to run git gc on my repository called \<redacted\>.


Answers:
author: Patrik S
body: Hello [@Akhilesh Tyagi](/t5/user/viewprofilepage/user-id/5261675) and welcome to the Community!

I went ahead and triggered a GC on the repository you shared. After the GC the new size of the repo is **2.8GB.**

If you would like to further reduce the size of the repo, you can follow the instructions outlined in the below article :

* <https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/>

Also, I see the workspace in question has a **Premium** subscription, so the next time you need assistance, if you would like more personalized support, you can raise an internal ticket with us using the [Get support \| Atlassian](https://getsupport.atlassian.com/).

Note: I've edited your question to remove the repository name to protect your privacy, as this is a public forum.

Thank you, [@Akhilesh Tyagi](/t5/user/viewprofilepage/user-id/5261675) !

Patrik S


Tags: bitbucket-cloud

cloud