youngmon/atlassian-qna huggingface dataset:
How many execution quota is used by this automation? (Need a clarification about monthly usage)
Asked by Boyd Hong:

![Question.png](https://community.atlassian.com/t5/image/serverpage/image-id/303435i7FFA50998B4C6E31/image-size/large?v=v2&px=999 "Question.png")  

Last week, I observed that our project was approaching the automation quota limit. In the attached screenshot of the automation, I have a question: How many execution quotas will be counted?

On the left, there are 4 actions, so I initially assume that if the automation action is performed, at least 4 execution quotas will be counted. However, I noticed inside the red box that my colleagues have added 3 fields for issue field edition. So, how many execution quotas are really counted by this scenario? 4 or 7 ?


Answers:
author: Joseph Chung Yin
body: [@Boyd Hong](/t5/user/viewprofilepage/user-id/4674139) -

The quota is focus on how many time the rule is triggered and it is not based on the number of action(s) within a rule. as documented in the following reference page - <https://support.atlassian.com/cloud-automation/docs/how-is-my-usage-calculated/>

"When an automation rule runs successfully, that is, it performs at least one **action** , it counts as a run. Each successful rule run counts only once toward usage, even if the rule performs multiple actions."

Is your rule associated with just one specific project or it is associated with multiple projects (global)?

Here is the latest announcement on automation rule limits from Atlassian as of Nov 1st, 2023 - <https://www.atlassian.com/blog/announcements/cloud-automation-packaging-update>

So based on the Standard subscription plan - it is limited to 5000 total execution of your rules per month.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Monitoring Portal Statistics
Asked by Lukasz Grobelny:

Hi!

Wanted to check what options in terms of Portal monitoring we have.

I would like to track a few things, like the number of visits, clicks, visits versus opened tickets, etc. I know there are plugins for that but are they worth pursuing?


Answers:
author: Marc - Devoteam
body: Hi [@Lukasz Grobelny](/t5/user/viewprofilepage/user-id/4230826)

Not to my recollection.

Most of the tracking option you are giving relate to analytics, that can be monitored via Google Analytics


author: Asha Goyal
body: Hello [@Lukasz Grobelny](/t5/user/viewprofilepage/user-id/4230826)

Yes, There are number of Plugins available and you have to go for the one as there are limitations with the native Jira functinalities.

I would recommend, to check the features of the app, and compare the pricing/features providing, and to go for the free trial for a month before finalizing.

Kindly Accept and vote if it helps.

Thanks

comments: author: Marc - Devoteam
body: ???

Is this AI, as the answer makes no sense, at all.


author: Asha Goyal
body: Hello [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

No not at all. What is here which is not makeing sense? Please stop saying AI as it really demotivates us, We really put lots of efforts to ans as per our experince. What is wrong in this ans if I say to check plugins, check/compare its feature and go for trial license.

Really frustrating.


author: Marc - Devoteam
body: Hi [@Asha Goyal](/t5/user/viewprofilepage/user-id/4891126)

But if you say that there are plugins (apps) for this it would be more useful to give examples of plugin the requestor could look at.

Instead of globally saying there are plugins, not that i'm aware of that can mimic what an analytics application does.

P.S. I apologise for my previous comment.


author: Asha Goyal
body: Hello [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Reporter clearly saying they know there is market place plugin available and just wanted to check if it is worth and that is what I suggested.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/303789iB397D3667A98615F/image-size/large?v=v2&px=999 "image.png")

Thanks for understanding others efforts as well.


Tags: cloud

customer-portal

jira-service-management

jira-service-management-cloud

portal
How to disable internal notifications when a client fills out a satisfaction survey?
Asked by Michael Cole:

Whenever a client fills out a satisfaction survey, it gives the assignee of the ticket 4 notifications related to the ticket. This is annoying since it overpopulates the notifications icon with excess notifications that aren't nearly as important as other notifications.

I see in the notification scheme settings, there is an setting for "An issue is updated." Is this the correct notification to disable the satisfaction survey notifications? Will any other notifications be lost by enabling this?

Thank you.


Answers:
author: Joseph Chung Yin
body: [@Michael Cole](/t5/user/viewprofilepage/user-id/4047069) -

To supplement what Ben stated, the notification scheme "An issue is updated" event covers all updates against an issue. So if you change it or disable it, then it will impacts the outgoing notifications to all entities called out against this event. Keep in mind this is the system event notification.

Furthermore, if the notification scheme configuration is shared among many projects, then the changes will impact all the projects. So, if you want to limit the change to only the specific project, then you will need to create a copy of the configuration first, make the change, and then associated the modified scheme against the project in question.

In my opinion, disabling CSAT not a route unless you don't want CSAT functionality for your specific project. The CSAT configuration cannot prevent agent from getting the notification.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Michael Cole
body: Hi Joseph,

Thanks for your response.

I will definitely not be disabling that notification now. As I mentioned to Benjamin, we find the surveys to be helpful and do not wish to disable them entirely.

It is a little disappointing there are no settings in the CSAT configuration to control the notifications, but its not the biggest of deals. Would for sure be a "nice to have" feature though.

Best,  
Michael


author: Benjamin
body: Hi [@Michael Cole](/t5/user/viewprofilepage/user-id/4047069)

you can disable and enable the CSAT:

<https://support.atlassian.com/jira-service-management-cloud/docs/what-are-customer-satisfaction-surveys-csats/>

If you turn off the issue update notification, that will turn off all updates. So, if there was an update to the ticket, user will not be getting an notifications on it.

Hope this helps.

comments: author: Michael Cole
body: Hi Benjamin,

Thank you for your response.

We do not want to disable the CSATs as we find them very helpful and like reading the feedback. However, I am the only team member that regularly checks the satisfaction reports and the notifications are meaningless to other team members. They just cause confusion.

From your response about the issue update notification, it doesn't seem like I can disable just the CSAT notifications. I'm a little disappointed, but it's not that big of a deal.

Best,  
Michael


Tags: cloud

jira-service-management

jira-service-management-cloud

notification
Can Jira Service management use Interactive Maps?
Asked by Juan Favela:

I am looking to create a preventative maintenance project for my company. One of the requests that was mentioned was the interactive map. A user should be able to drop a pin on the exact location (within the office) so that the technician knows where to go for the maintenance. Is this possible?


Answers:
author: Benjamin
body: Hi [@Juan Favela](/t5/user/viewprofilepage/user-id/5166975) ,

This is no available feature out of the box in regards to maps. You can have an address input field so the technician can copy and paste it into google maps.   

You may want to explore add-ons in the market place that provide this functionality on top of JSM.

-Ben


Tags: cloud

confluence-cloud

jira-service-management

jira-service-management-cloud

jira-software-cloud
I can't clone the repository
Asked by Alisa Gafarova:

I am getting this huge error. Please, help..

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote <https://aga90@bitbucket.org/aga90/the_project_repository.git>  
Output:  
Error: fatal: credential-cache--daemon unavailable; no unix socket support  
fatal: credential-cache--daemon unavailable; no unix socket support  
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.  
remote: See our community post for more details: <https://atlassian.community/t5/x/x/ba-p/1948231>  
remote: App passwords are recommended for most use cases and can be created in your Personal settings:  
remote: <https://bitbucket.org/account/settings/app-passwords/>  
fatal: Authentication failed for '<https://bitbucket.org/aga90/the_project_repository.git/>'


Answers:
author: Erez Maadani
body: Hey [@Alisa Gafarova](/t5/user/viewprofilepage/user-id/5054892)

Have a look here: <https://community.atlassian.com/t5/Bitbucket-questions/Re-Authentication-failed-while-cloning-repository-from-b/qaq-p/692986/comment-id/21708#M21708>

comments: author: Alisa Gafarova
body: Oh, thank you! This worked but only through the command. I still ccould not do this through the UI :( I hope it won't give me troubles


Tags: bitbucket-cloud

cloud
Does Atlassian back up deleted repositories?
Asked by Paul Berg:

A few years ago, I deleted a code repository in my Bitbucket account, only for now to realize that I need access to the source code. Sadly, I have also deleted all local clones of the said repository.

Is there any chance that Atlassian maintains backups of old repositories, and a cache of my repo can be found on your server somewhere?

Thanks very much,  
Paul


Answers:
author: Vish Reddy _Revyz_
body: Hi [@Paul Berg](/t5/user/viewprofilepage/user-id/5054818)

In addition to what [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) has called out Atlassian backups are only held for 30 days.

Reference - <https://www.atlassian.com/trust/security/security-practices#service-availability>

You would need to get a backup service or do a manual backup. You can look for a apps in the marketplace that will help for that - search for either [backup](https://marketplace.atlassian.com/search?query=backup) or [restore](https://marketplace.atlassian.com/search?query=restore) in the marketplace.

comments: author: Nic Brough -Adaptavist-
body: I didn't say 30 days, but only because I didn't have the number. I just knew it wasn't long (I would have guessed at 30-90 if pushed), and that is was not years.

Thank you Vish, for finding it!

I am sorry that it's not a lot of help here, I do not think you have any way to recover really old stuff. If you ever think you might need to, then Vish's Revyz apps are well worth a look, they do a good job of keeping hold of stuff.


author: Nic Brough -Adaptavist-
body: They do take backups, but they're only for disaster recovery and they're not retained for years. I'm afraid your code has gone.

comments: author: Paul Berg
body: Oh. Well, at least I tried. Thanks for your answer!


Tags: bitbucket-cloud

cloud
Using Email Notify as mentioned in example giving Failed to send email,Check configuration setting
Asked by Nitesh Kishore Kashi:

I have used below code snippet for email notify from <https://bitbucket.org/atlassian/email-notify/src/master/>:  

script:  
- pipe: atlassian/email-notify:0.8.0  
variables:  
USERNAME: 'someemail@companydomain.com'  
PASSWORD: 'password'  
FROM: 'someemail@companydomain'  
TO: 'otheremail@companydomain'  
HOST: 'smtp-mail.outlook.com'

I am getting error ? Failed to send email to otheremail@companydomain. Check your configuration settings.  

What configuration changes I have to do


Answers:
author: Ayush Sharma
body: hey I'm also having the same problem please tell me if you have a solution


Tags: bitbucket-cloud

cloud

email
How to properly create an artifact for heroku deploy?
Asked by Guilherme:

Currently, this is my pipeline file:

```
# Template NodeJS build

# This template allows you to validate your NodeJS code.

# The workflow allows running tests and code linting on the default branch.

image: node:16

pipelines:

default:

 - parallel:

 - step:

name: Build and Test

caches:

 - node

script:

 - npm install

 - git archive --format=tar.gz main -o application.tar.gz

artifacts: 

 - application.tar.gz

 - step:

name: Heroku

script:

 - pipe: atlassian/heroku-deploy:0.1.1

variables:

HEROKU_API_KEY: $HEROKU_API_KEY

HEROKU_APP_NAME: $HEROKU_APP_NAME 

ZIP_FILE: application.tar.gz
```

<br />

This is the error I'm getting:

    FileNotFoundError: [Errno 2] No such file or directory: 'application.tar.gz'


Answers:
author: Igor Stoyanov
body: [@Guilherme](/t5/user/viewprofilepage/user-id/5053473) hi. Thank you for your question.

Seems like you are using parallel step so heroku tries to deploy file that not present yet.

Remove parallel from the config and all should start work.

Regards, Igor


Tags: bitbucket-cloud

cloud

heroku
ElasticSearch service reports port 7990 already in use
Asked by Helen:

I have installed Bitbucket Server from scratch, version 7.21.3 on Windows Server 2016.

The installation is secured by using a non-default user account to run the BitBucket and ElasticSearch services, and Apache redirects http:7990 to https. Crowd is used for user authentication, and SSO is set up and working.

Bitbucket itself appears to be working without problems, however the ElasticSearch service does not start up properly.

When I start the ElasticSearch service, it stops again immediately, and reports the following error in atlassianbitbucketsearch-stderr.log:  
org.springframeowrk.boot.web.server.PortInUseException: Port 7990 is already in use

Port 7990 is Bitbucket's default port, so it seems reasonable that this port is in use. I'm not sure why ElasticSearch is also trying to use it.

I have tried stopping Bitbucket, then starting ElasticSearch, then starting BitBucket again, and while ElasticSearch starts up and keeps running, obviously BitBucket does not.

I have bypassed Apache and returned to the original http:7990 set up, but I still have the same problem.

Any help on why is ElasticSearch trying to use Bitbucket's port, and how do I get around this so ElasticSearch runs properly would be appreciated!


Answers:
author: Charlie Misonne
body: Hi [@Helen](/t5/user/viewprofilepage/user-id/784933)

The elasticsearch port is defined in \<Bitbucket home directory\>/shared/search/elasticsearch.yml. Can you check which port is defined in that file?

You can also follow [this procedure](https://confluence.atlassian.com/bitbucketserverkb/how-to-update-the-ports-used-by-the-bundled-elasticsearch-1055687897.html).

comments: author: Helen
body: Ah, I don't seem to have that file at all! That might explain something :P

Looking at <https://confluence.atlassian.com/bitbucketserver0721/running-bitbucket-server-as-a-windows-service-1115666779.html>, there should have been a robocopy executed to copy files from the installation directory to the that location.

The robocopy refers to "config-template" directory which doesn't exist in my Bitbucket installation.

I think I need to robocopy the \<bitbucket-install\>\\opensearch\\config directory. There is an opensearch.yml file in it, which I think is my equivilent of elasticsearch.yml.


author: Charlie Misonne
body: Indeed, you seem to be missing some files.

Let me know if you are able to solve it :-)


author: Helen
body: I resolved it by removing the Bitbucket installation and installing from scratch; the service just refused to pick up on the proper ports.

I clearly stuffed something up during the initial installation because it installed just fine the second time.


author: Charlie Misonne
body: ok, I'm glad it was resolved!


Tags: bitbucket-server

server
how to give a custom password to a repository in a workspace where I'm not admin
Asked by martinagi:

Hi,

in my account workspace I use a password for accessing the account and to push/pull repos.

What if I need to assign a custom password to a project hosted in another workspace?

A workspace where I am a member with no admin auth.

Thank you for any help you could provide!


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

The password of a Bitbucket Cloud account can be used only for logging in to the website.

The account's password can no longer be used for operations like cloning, pulling, and pushing via HTTPS. For these operations, you will need to generate an app password which can be used in combination with your Bitbucket username:

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

App passwords are not tied to a workspace, but to a user. If you generate an app password, you can use it with all the repositories your account has access to, regardless of the workspace where they belong.

It is not possible to generate an app password for one repository only; as I mentioned, the app password is tied to a user.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
how to send emails when code commit happens
Asked by Laxmi Ankam:

how to send emails when code commit happens


Answers:
author: Mark C
body: Hi [@Laxmi Ankam](/t5/user/viewprofilepage/user-id/5053423),

Welcome to the community.

Depending on your current use-case, if you are using [Bitbucket Cloud Pipelines](https://bitbucket.org/product/features/pipelines), you can use this Pipes script to customize sending emails when a commit is pushed. - [Bitbucket Pipelines Pipe: Email Notify](https://bitbucket.org/product/features/pipelines/integrations??&search=email&p=atlassian/email-notify)

Hope it helps and let me know if you have further questions.

Regards,  
Mark C


author: Dan -minware-
body: [@Laxmi Ankam](/t5/user/viewprofilepage/user-id/5053423)

Have you looked into automation rules?

1. <https://support.atlassian.com/jira-software-cloud/docs/automate-your-jira-cloud-processes-and-workflows/>
2. <https://support.atlassian.com/jira-software-cloud/docs/smart-values-development/>


Tags: bitbucket-cloud

cloud
Completed PR Tasks follow up
Asked by Th?o Arena Pereira:

Hi,

When a PR task is completed I can no longer tell what has changed easily. I wish I could do this through the main section (where the file differences are shown).  

Some PR's that come to me sometimes generate more than 100 tasks, and I would like to be able to easily compare the "before and after" of them. I know there is a "link" at the tasks bar, which opens a modal, showing my comment and where it was made, but the visualization is no helpfull: I can only see the code as it WAS, not as it is NOW.  
This makes it very difficult to know if what was done is correct, or if it is necessary to ask for a new adjustment. I need to manually find, in the main section, where my comment was (since it's gone).

Is there anything already done in this direction? Any functionality being tested?  

I appreciate any help!


Answers:
author: Patrik S
body: Hello [@Th?o Arena Pereira](/t5/user/viewprofilepage/user-id/5053329) ,

Welcome to Atlassian Community!

Accordingly to your use-case description, I think the functionality you are looking for is being tracked through the following feature request :

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

This feature request includes the addition of resolvable pull request comments, where a reviewer could mark the comment as resolved after an update in the pull request.

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, [@Th?o Arena Pereira](/t5/user/viewprofilepage/user-id/5053329)


Tags: bitbucket-cloud

cloud

pull-request

task
git gc on remote request
Asked by obigu:

Hello,

I have recently cleaned up a repository which had several large binary files in its history. I have rewritten 2 of my repo's history with BFG succesfully decreasing size but Bitbucket console doesn't reflect it so following docs I'm requesting a manual git gc.

The affected repositories are:

o\*\*-m\*\*\*-b\*\*\*\*

d\*\*2

Thank you


Answers:
author: Syahrul
body: Hey [@obigu](/t5/user/viewprofilepage/user-id/955441)

G'day.

Appreciate that you mask the repository name. I was able to locate the affected repositories and triggered the Git GC as requested.

The size of both repositories has been reduced after GC is completed.

I hope this helps.

Cheers,  
Syahrul

comments: author: obigu
body: Thanks a lot Syahrul!


Tags: bitbucket-cloud

cloud
Error
Asked by Mahamadou:

Hi, i want to clone bitbucket repository to a folder lacated in ubuntu sever but i am getting the folllowing error : remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.  
remote: See our community post for more details: <https://atlassian.community/t5/x/x/ba-p/1948231>  
remote: App passwords are recommended for most use cases and can be created in your Personal settings:  
remote: <https://bitbucket.org/account/settings/app-passwords/>  
fatal: Authentication failed for '<https://username@bitbucket.org>. Any idea ?

Thanks


Answers:
author: Syahrul
body: Hey [@Mahamadou](/t5/user/viewprofilepage/user-id/5053159)

Welcome to the community.

The error means you are authenticating with your account password, which we no longer accept, as mentioned in our blog [here.](https://atlassian.community/t5/x/x/ba-p/1948231)

The Workaround is to use [App Passwords](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) as your password authentication credentials instead of your Atlassian account password.

I hope this helps.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
why container build excedded limit error coming during flutter build command on pipeline ?
Asked by Swapnil Agrawal:

image: cirrusci/flutter:2.2.1

pipelines:  
branches:  
# "Reaplace Branch name with start features/\*"  
'uat_release':  
- step:  
# services:  
# - docker-with-large-memory  
name: Running pub get  
script:  
# - docker info  
# - flutter upgrade  
- flutter pub get  
# - flutter analyze  
# - flutter test ./test  
# - flutter create -t app ./  
- step:  
name: Build  
size: 2x  
script:  
- flutter build appbundle --no-tree-shake-icons  
- flutter build apk --split-per-abi --no-tree-shake-icons

i changed service docker size to 3072

and without service of docker i used size in build steps again i getting container build exceeded limit . how to resolve this problem


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

By default, the amount of memory which can be assigned to a build step is 4GB, using the "size: 2x" parameter increases this to 8GB.

To debug your build step, you can add the following command to the beginning of your build step - this will allow you to determine where the memory is being exceeded and make changes accordingly:

```
- while true; do echo "Memory usage in megabytes:" && echo $((`cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes | awk '{print $1}'`/1048576)) && sleep 0.1; done &
```

You can also debug your build locally with the above code added using Docker - this way you can determine if the same memory limit is being exceeded on your own infrastructure and confirm if the issue is pipelines-specific or not without using up more build minutes:

<https://support.atlassian.com/bitbucket-cloud/docs/debug-pipelines-locally-with-docker/>

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud