youngmon/atlassian-qna huggingface dataset:
Approval Skipping Transition Conditions
Asked by Travis:

I have an issue with an approval step. Once a user approves it by clicking the Approve button, the workflow sends it to the next state. The transition between the two has a condition the not allow the transition to the next state while linked subtasks are not marked as 'Done'. However clicking the Approve button sends the issue on its merry way to the next state even tho the subtasks are not set to 'Done'. Any one else experience this? This a known issue? Or a workaround available?


Answers:
author: Kai Becker
body: Hi [@Travis](/t5/user/viewprofilepage/user-id/3701437)

thanks for your question. I haven't had such a configuration but I guess it is working as expected.   
You need to keep in mind, that the approval process via Service Management is a huge benefit for approvers without Access to the issue view. They usually can only take a look at the portal view of the request. So they will never see the related Sub-tasks.

Thinking about your current setup: does the Approver (need to) know about the sub-tasks and their state?

I would recommend the following workaround:

the approval step should be active when the sub-tasks get closed. Will sub-tasks being open, the issue would reside in a previous status and could be transitioned to the approval step via Automation rule, as soon as the sub-tasks are closed.

Hope this helps

comments: author: Travis
body: Hi [@Kai Becker](/t5/user/viewprofilepage/user-id/1178079)

Totally get the portal view and not being able to see sub-tasks. Said tasks are for the Service team specifically so the customer does not need to see them. However, they do need to be completed before the issue moves to the next step.

Here's the portion of the workflow in question:

![Screenshot 2024-01-29 222932.png](https://community.atlassian.com/t5/image/serverpage/image-id/303188i9D8056AD36C3ED54/image-size/large?v=v2&px=999 "Screenshot 2024-01-29 222932.png")

Automation rules are currently creating the sub-tasks when the issue moves from Manager Approval to IT Approval. There is a condition on the IT Approval -\> Procurement Approval transition where said sub-tasks are supposed to be checked to be 'Done'. However, this is not being honored when the Approve button is clicked by an IT approver. (IT members responsible for the sub-tasks are also the approvers so they can see them.)

My concern more generally as I start to implement other approvals is that if I add any other conditions, say field requirements (yes, could be done with validators, just an example), is that they will not be honored when the Approve button is clicked,

Any other thoughts?


Tags: cloud

jira-service-management

jira-service-management-cloud
How to get request types for an issue type?
Asked by Sourav:

Hi I am using Jira's Service Desk Management API to create an issue. The issue is created however it doesn't get a request type assigned automatically. I can't do anything via portal because I am trying to create something like a connector!

My question is is there a way I can get all the request types that are allowed for an issue type? Because while creating the ticket/issue I am able to find and set the custom field that corresponds to \`request-type\` of that issue.


Answers:
author: Mikael Sandberg
body: Hi [@Sourav](/t5/user/viewprofilepage/user-id/5417292),

Welcome to Atlassian Community!

Please make sure you are using the [API for JSM](https://developer.atlassian.com/cloud/jira/service-desk/rest/intro/#about) to create your request, that is the only one that can set the request type. If you are using the API for Jira Cloud you cannot set the request type and have to manually do it.

comments: author: Sourav
body: Hi [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) Yes I am using JSM API however right now I fetch all request types and pass a random request type which sets it but shows an error on the portal saying that the request type is incorrect. My question is how can I fetch the request type that is allowed for an issue type?


author: Mikael Sandberg
body: In order to know the request types that is associated with an issue type you would have to get the issue types and then use the issue type Id to compare that to the result from Get request types/Get all request types. But when you create the request via Create customer request you do not need to know the issue type, all you need are requestTypeId and serviceDeskId, which you can get from Get request types/Get all request types.


Tags: cloud

issue-type

jira-service-management

jira-service-management-cloud

request-type
Jira Service Management Look Changes
Asked by Christian Patam:

There's been a change recently and for some reason all issues and forms are within the area circled in the screenshot. Anybody know how to revert it back so our users don't have to click on that and have all the forms in that area? I tried checking around the portal settings but unable to find anything

![Screenshot 2024-01-29 092311.png](/t5/image/serverpage/image-id/303095iB149BD79A6C1AE13/image-size/large?v=v2&px=999 "Screenshot 2024-01-29 092311.png")


Answers:
author: Joseph Chung Yin
body: [@Christian Patam](/t5/user/viewprofilepage/user-id/5304632) -

Glad that you resolved your own ask. I am sure that you were following the category setup as documented for your KB configuration against your JSM project - <https://support.atlassian.com/jira-service-management-cloud/docs/categorize-knowledge-base-articles/>

However, based on my experience and knowledge it shouldn't change the portal view where all of your request forms go hidden. If problem continues after you reapply the category setup, then I would recommend you to contact Atlassian Support (<https://support.atlassian.com>) for additional troubleshooting as needed.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Benjamin
body: Welcome [@Christian Patam](/t5/user/viewprofilepage/user-id/5304632) .

Looking at my portal, all is listed. Have everything under general group. Didn't see anything in the portal settings either or a new option pertaining to this as well

Tried to delete and add back a group and a list of request types. Still showed a list.

Is there any add-ons install recently that may related to this?

-Ben

comments: author: Christian Patam
body: Hey Ben,

I just got it figured out. It was due to a category being created in the knowledgebase for some reason. Once I removed the category everything was back to normal again. All forms are back on one screen again after clicking into the portal

Thanks


author: Benjamin
body: Awesome. That's great to hear.


Tags: cloud

jira-service-management

jira-service-management-cloud
if you remove a Reporter from a ticket, is the Reporter notified?
Asked by Daniel Tapia:

If you remove the reporter on a ticket and update with a new person (let's say we remove Bob Smith and update with Tom Jones), is the original reporter (Bob Smith) notified of this change?

Thank you!


Answers:
author: Mikael Sandberg
body: Hi [@Daniel Tapia](/t5/user/viewprofilepage/user-id/5417208),

Welcome to Atlassian Community!

No, the original reporter would be be notified it you change the reporter to someone else. The notification will only go to current users, it will not check the history of the issue. Same thing applies if you would change the assignee or remove watchers/request participants.

comments: author: Daniel Tapia
body: Thank you!


Tags: cloud

jira-service-management

jira-service-management-cloud
Customer service management is only available in company-managed projects.
Asked by Michaela:

Are there any plans to have this available in a team managed project


Answers:
author: Brant Schroeder
body: [@Michaela](/t5/user/viewprofilepage/user-id/3637093) On the roadmap it looks like additional templates are coming in Q2 this year so possibly then. [https://www.atlassian.com/wac/roadmap/cloud?status=future;comingSoon\&search=template](https://www.atlassian.com/wac/roadmap/cloud?status=future;comingSoon&search=template)


Tags: cloud

jira-service-management

jira-service-management-cloud
Does Atlassian dogfood Bitbucket Pipelines?
Asked by Drew Heasman:

Do Atlassian developers use Bitbucket Pipelines to build Atlassian products?


Answers:
author: Mark C
body: Hi [@Drew Heasman](/t5/user/viewprofilepage/user-id/4213181)  

Thank you for reaching out to the community.  

Yes, indeed, Bitbucket Cloud Pipelines is being used by our developers.  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Find out if a Bitbucket user has 2FA enabled
Asked by Maria Nawrocik:

Hi!

I know that on standard Bitbucket plan you can't enforce 2FA, but is there a way for an admin to see if a user has it enabled?

It seems to me that with managed accounts I can see if my users have Atlassian 2FA enabled but not Bitbucket, is that right?


Answers:
author: Theodora Boudale
body: Hi [@Maria Nawrocik](/t5/user/viewprofilepage/user-id/3961706),

We don't display this info on the UI, but you can get it via API.

The API endpoint mentioned in the community question that Peter linked has been deprecated.

You can use an API call like the following now:

```
curl -u bitbucket_username:app_password https://api.bitbucket.org/2.0/workspaces/workspace-id/members?fields=%2Bvalues.user.has_2fa_enabled
```

where

**bitbucket_username** is the Bitbucket username of an account that has admin access to the workspace  
**app_password** is an app password for this account, with at least Account: Read permissions  
**workspace-id** is the workspace id for the workspace you want to check the users of

It's important to include the part **?fields=%2Bvalues.user.has_2fa_enabled** at the end of the URL, otherwise the field will not show.

With a call like the one I gave you, you will see a field named **has_2fa_enabled** (which will be either true or false) for each user in the results.

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

Kind regards,  
Theodora

comments: author: Maria Nawrocik
body: Thank you, that works for me :)


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


author: Peter Van de Voorde
body: Hey Maria,  

would this answer help: <https://community.atlassian.com/t5/Bitbucket-questions/Retrieve-list-of-users-with-two-step-verification-enabled-on/qaq-p/1203248> ?  

It's a bit of a workaround but it should give you the information you need.  

Cheers,  
Peter  

<br />

comments: author: Maria Nawrocik
body: Thanks Peter, it worked with the updated endpoint


Tags: bitbucket-cloud

cloud
How long bitbucket stores pull requests and if they can be archived locally
Asked by Iliuta Daniel Dogaru:

Hello,

My company requires for specific and relevant reasons that all the reviews to be archived or saved in some sense. I have prior experience with BitBucket and i know the platform saves all the pull requests which were handled but i don't know for how long.

Is there a way to kind of archive the pull request and download it locally? Or save the pull request history for an indefinite period of time somewhere?

Thank you very much!


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

In Bitbucket Cloud, pull requests remain on repos for as long as the repos exist.

There is no way for end users to delete PRs and we do not delete any PRs automatically after a certain period of time.

The only way of deleting a PR is if an admin reaches out to the support team and requests to have a PR deleted.

If a repository gets deleted by an admin, then any associated PRs will get deleted as well and there is no way to recover them in this case.

The pull requests page of a repo and of a workspace shows by default open PRs, but there are filters there to show all PRs (including merged and declined ones).

If you want to get PR info locally, we provide several API endpoints you could use:

* [List pull requests in a repo](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-get)
* [Get a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-get)
* [List a pull request activity log](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-activity-get)
* [List comments on a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-comments-get)
* [List commits on a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-commits-get)
* [List changes in a pull request](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-diff-get)

and several more you can find here: <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-group-pullrequests>

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

Kind regards,  
Theodora

comments: author: Theodora Boudale
body: I just wanted to add that we do have a feature request to allow users to delete PRs: <https://jira.atlassian.com/browse/BCLOUD-22181>

You may want to add yourself as a watcher if you would like to get notified when this is implemented so that you're aware of when this is possible.


Tags: bitbucket-cloud

cloud
Repository size exceeded 4gb not able to push new commits.
Asked by Pankaj Mundra:

Hi There,

My repository has exceeded the 4gb limit and now I am not able to push new changes.

I actually found the issues, why my repository is that big but to resolve that issue I need to commit with new changes which I am unable to do so.

So, request you if, if you can help me here.

Thanks


Answers:
author: Caroline R
body: Hi, [@Pankaj Mundra](/t5/user/viewprofilepage/user-id/5046675), welcome to the community!

I found the repo that was over 4 GB, ran a GC against it, and managed to reduce its size.

I also would like to share with you that we have a feature request to allow users to mark repositories for git GC, as you can check here:

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

Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

Feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline

comments: author: Pankaj Mundra
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,

Thank you so much for your help.

Repo size is reduced and I have removed the unwanted files and folders from it.

Just wanted to know if you can tell me what is the current repo size?

Thanks,

Pankaj Mundra


author: Pankaj Mundra
body: Hi [@Caroline R](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3934006) ,

As per our last conversation, I have already removed the unwanted files but still after 2 months repo size is automatically increased.

Request you please reduce the size of repo from your end.  

I ran "git gc"

Than I ran "git count-objects -vH"

Below is the output:  

count: 0  
size: 0 bytes  
in-pack: 40155  
packs: 1  
size-pack: 1.45 GiB  
prune-packable: 0  
garbage: 0  
size-garbage: 0 bytes

Thanks,

Pankaj Mundra


author: Fabio Racobaldo _Herzum_
body: Hi [@Pankaj Mundra](/t5/user/viewprofilepage/user-id/5046675) ,

welcome to the Atlassian community!

You can take a look to the following thread <https://community.atlassian.com/t5/Bitbucket-questions/My-Repository-has-exceeded-4GB/qaq-p/2016699>

Btw, my suggestion is to contact Atlassian support <https://support.atlassian.com/contact/> to perform a check.

Fabio

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

Thanks for your reply, I already gone through many previously asked questions and found that from Support.

Thanks,

Pankaj Mundra


Tags: bitbucket-cloud

cloud
Can't receive verification email
Asked by ekdgml:

my email is 'l\*\*\*@b2ggames.com'

I can't recveive verification email.

check please.

I want to join.


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

you need to raise a support request to Atlassian team <https://support.atlassian.com/contact/>

Fabio


Tags: bitbucket-cloud

cloud
Container 'docker' exceeded memory limit..
Asked by Vikram Kumar:

i m getting this error- Container 'docker' exceeded memory limit.  
when i m trying to build  
My .yml file is:-  
image: # Choose an image matching your project needs

clone:  
depth: full # SonarCloud scanner needs the full history to assign issues properly

definitions:  
caches:  
sonar: \~/.sonar/cache # Caching SonarCloud artifacts will speed up your build  
steps:  
- step: \&build-test-sonarcloud  
name: Build, test and analyze on SonarCloud  
caches:  
- # See <https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html>  
- sonar  
script:  
- # Build your project and run  
- pipe: sonarsource/sonarcloud-scan:1.4.0  
- step: \&check-quality-gate-sonarcloud  
name: Check the Quality Gate on SonarCloud  
script:  
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6

pipelines: # More info here: <https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html>  
branches:  
master:  
- step: \*build-test-sonarcloud  
- step: \*check-quality-gate-sonarcloud  
pull-requests:  
'\*\*':  
- step: \*build-test-sonarcloud  
- step: \*check-quality-gate-sonarcloud


Answers:
author: Theodora Boudale
body: Hi [@Vikram Kumar](/t5/user/viewprofilepage/user-id/5046504),

In Pipelines builds, regular steps have 4096 MB of memory in total. The build container is given 1024 MB of the total memory.

Pipes use a Docker service, which has a default memory limit of 1024 MB. If the pipe needs more memory than that, I would suggest increasing that limit, you can do that in the definitions section of your bitbucket-pipelines.yml file. E.g. if you want to increase the memory of the Docker service to 2048 MB, you can use a definition as follows:

```
definitions:
  services:
    docker:
      memory: 2048
```

This will allocate 2048 MB of memory to the Docker service. You can also try increasing it to more, if this is not enough, up to 3072 MB (since the build container is given 1024 MB of the total memory).

If the Docker service needs more than 3072 MB, then you can increase the total memory available to a step by using **size: 2x** for a step. This will give the step 8 GB of memory, and then the Docker service can be configured to use up to 7128 MB.

Please keep in mind that pipelines configured with 2x will use twice the number of build minutes.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket (Server) 10 Users: Starter License
Asked by Adam.Trocki:

We have a BitBucket instance, it has a Bitbucket (Server) 10 Users: Starter License assigned.

It is running 7.17.1 LTS.

I cannot select the Plan your upgrade because the latest version does not appear as an option because the license is too close to expiring, I suspect which is why it does not show the latest version to do the upgrade checks. Instead, Plan your upgrade only shows the current version and says we are on the recommended version and more current versions cannot be seen because the drop down is greyed out.

Atlassian no longer sells server licenses. I am not sure I can get another server trial 10 user license.

We need to upgrade our test environment to address security Vul.

When I visit my.atlassian.com \& review our licenses. For BitBucket, it does not give a Developer license, the option is missing unlike it does for another production environment, where it does appear.

I am not sure what to do?

I am concerned of just upgrading anyway without the Plan your upgrade checks as the current and latest is a major upgrade.

Suggestions ???

-Adam


Answers:
author: Christian Glockner
body: Hi Adam,

What's the expiration date of your license? You can upgrade to any version of Bitbucket Server that was released before the expiration date.

There are indeed no more Starter licenses available.

Cheers,

Christian

Premier Support Engineer

Atlassian


Tags: bitbucket-server

server
Know the Bitbucket project or repo details
Asked by Soumya:

Hello Team,

We have a group name and it has admin access. We just want to know that which projects or repos are using this group for the access for their users in bitbucket tool.

is this possible to get this things to know ?

Regards


Answers:
author: Mat Jung
body: I think I struggle to understand your question.

Do you have a group, and want to know which repositories are "owned" by that group?

Maybe the following article helps.

<https://support.atlassian.com/bitbucket-cloud/docs/organize-groups-for-your-repositories/>

comments: author: Soumya
body: Thanks [@Mat Jung](/t5/user/viewprofilepage/user-id/5044238) for your response.

Yes exactly, I have a group and I want to delete that group from crowd. But I want to know that is that group used by any other project or repo.

Because if I delete that group from crowd and that mapped to a number other project and repo that I don't know then it will impact a lot of users.


Tags: bitbucket-server

server
Is anyone able to offer guidance on using Bitbucket Cloud with Source Link?
Asked by Mike Demler:

We're a .NET and Atlassian shop. We'd like to be able to debug our NuGet packages using [Source Link](https://github.com/dotnet/sourcelink). I've followed the instructions provided for getting Source Link working with a Bitbucket repo without any luck. It's unable to retrieve the files while debugging.

I suspect that it might be due to the fact that we're using 2-factor authentication, since we make use of Bitbucket Pipelines. I've reached out for assistance from the Source Link team, as well as on Stack Overflow with no luck, so I thought I'd see if anyone in the Atlassian community might be able to offer any guidance?

Many Thanks!

Mike


Answers:
author: Mike Demler
body: For folks that run into this same issue, we were able to determine that this was due to Pipelines using HTTP when pulling the source. Source Link utilizes this repository path and ends up using HTTP in what it embeds, which results in a 301 (redirect) when it later attempts to access the source code. In order to work around this, we now temporarily change the repository path to HTTPS in our pipeline prior to doing the build and then reset it back immediately afterwards.


Tags: bitbucket-cloud

cloud
how to access local BitBucket through https (docker container)
Asked by Vincent Bertellin:

Hi,

I installed a local BitBucket docker container for testing purposes.

All my local repositories are accessible on <http://MY_SERVER:7990/scm/MY_PROJ/MY_REPO.git>

Due to a specific technical constraint, I need to access them via https as well :

<https://MY_SERVER:7990/scm/MY_PROJ/MY_REPO.git>

(MY_SERVER is not routable from the internet)

Can you please help me configure it to respond on https ?

Thanks!


Answers:
author: Craig Nodwell
body: Hi [@Vincent Bertellin](/t5/user/viewprofilepage/user-id/5040892) welcome to the community.  
Please have a look at this [document](https://confluence.atlassian.com/bitbucketserver/secure-bitbucket-with-tomcat-using-ssl-776640127.html).

comments: author: Vincent Bertellin
body: I will try that, thanks a lot !


author: Vincent Bertellin
body: \<\< Open the `shared/bitbucket.properties>>`

I can't find this file anywhere in my container, is there a specific configuration for docker ?

Thanks


Tags: bitbucket-server

server