youngmon/atlassian-qna huggingface dataset:
Run a rule when a specific comment is made on an issue
Asked by Pasi Entaban:

Hi, i want a rule to run when a specific comment added to the 'Add internal notes' comment section on an issue. So for example if I comment; all done here -then my rule will run if (and only if), the comment matches 100% what I have set in the automation rules. How can this be done?

Seems everything i have tried either runs the rule for any comment, or ignores characters or spaces in the comment.


Answers:
author: Trudy Claspill
body: Hello [@Pasi Entaban](/t5/user/viewprofilepage/user-id/5371946)

Please show us what you have tried and tell us how it dod not meet your expectations in each case.

comments: author: Pasi Entaban
body: Hi [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

I tried to create a rule whereby when a specific comment was made in the comments section of an issue it would run the rule. I have now made this rule work but its just runs for any comment. I only want it to run if the issue comment is Drawing PDF Created but it seems to run even if i write something else. All i want it to do is recognise only a specific comment, by a specific user, and then run the rule to e-mail the issue requestor.

I am probably not understanding how to use the 'if: compare two values' step.

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/295891i7D3BC3CF8700DEF1/image-size/large?v=v2&px=999 "Capture.PNG")


author: Trudy Claspill
body: Hello [@Pasi Entaban](/t5/user/viewprofilepage/user-id/5371946)

I see two problems in your Compare.

First, when you use the smart value **{{issue.comments}}**you are telling the Automation rule that you want to look at the list of all comments associated with the issue, and look at all attributes of those comments (author, body, dates, etc.)

With the Issue Commented trigger, if you want to reference the Comment that was made that triggered the rule, you need to look at the **{{comment}}**smart value.

<https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Issue-commented>

If you want to look specifically at the text that was entered for the Comment, you need to reference the **body** attribute. So you need **{{comment.body}}** as the first element of your comparison rather than {{issue.comments}}

Second, it looks like the text you are comparing to has brackets of some sort around it. If you put curly brackets around it - {{text}} - then the automation rule thinks you've given it the name of a smart value, which is not what you want to do. You need to supply a value just like in the **View all issues** screen where you would create a filter to search for a text phrase in field, and that would to surround the text with double quotes.

"Drawing PDF Created"

<https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#CONTAINS---->


author: Pasi Entaban
body: Thanks [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) this REALLY helped! I have managed to edit the rule so it works as required!


Tags: cloud

jira-service-management

jira-service-management-cloud
create a customer record without sending invitation for better support
Asked by Philipp Nick:

I'd like to create a customer record without sending them an invitation. The reason behind this is that our tickets are generated automatically either through emails or by our support team in response to customer calls.

The concept is that once I associate the customer with a ticket, I can view all other tickets in an overview, depending on the applied filters. The advantage here is that this overview allows me to identify duplicate tickets that are still open or to recognize issues that have occurred in the past, providing our support team with insights on how to resolve them.

If there's a seamless workaround, I would greatly appreciate it.


Answers:
author: Jehan Bhathena
body: Hi [@Philipp Nick](/t5/user/viewprofilepage/user-id/5380831) ,

Welcome to the Community!

While inviting a user to your site, you can uncheck the "Send Invitation" box. This will create the Customer in your site, but won't send an email notification to that user.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/295983i0342EBE8927D6695/image-dimensions/438x474?v=v2 "image.png")

For the "Email requests", you can check the options under "Account creation for customers" (under Product Settings -\> Email Requests), and use the option that suits your use case best. If you enable all the customers and Agents to create accounts that will allow the account to get created automatically when a new email is received.


Tags: cloud

jira-service-management

jira-service-management-cloud
? poss?vel realizar opera??es b?sicas (Soma, subtra??o, divis?o e multiplica??o) em formul?rios?
Asked by Jose Guilherme:

Estou criando um tipo de solicita??o no portal para clientes, mas n?o estou conseguindo criar um campo que retorne uma opera??o.

Ex.: O cliente preenche dois campos num?ricos, preciso que seja exibido em um terceiro campo o resultado da multiplica??o dos valores inseridos pelo cliente, isso ? poss?vel?

Agrade?o!


Answers:
author: Rafael Fernandes
body: I am also interested in this information


Tags: cloud

jira-service-management

jira-service-management-cloud
Google Custom Email Connection
Asked by Ned Nedev:

I have successfully connected a Google email as a custom email in JSD. When I try to send an email and submit an email request from both internal/external emails nothing happens. I get no ticket created, I get no email notification, nothing. It works with the default JIRA support email.

Am I missing a configuration? I have enabled all customer permission settings in JIRA, but perhaps something in Google?

Thanks,

Ned


Answers:
author: Michael from Stax
body: Check the logs!

Navigate to project - \<Project Name\> - Project Settings - Email Requests

In this section you'll see "Default email account" - Click the Logs hyperlink below and It should inform you what the error is. In most cases it has been that external customer emails have not been enabled - you should start here: <https://support.atlassian.com/jira-service-management-cloud/docs/change-global-customer-permissions/>

Good luck!


Tags: cloud

jira-service-management

jira-service-management-cloud
New user not receiving invite in inbox. Password reset also not working
Asked by Kyle Hendrickson:

Hello,

I have been trying to register a new user that starts this coming monday, and no matter what I do, his inbox is not receiving the invite, despite being able to receive other emails. He is also not receiving the password reset request email.

In the past, new users have been automatically set up with their M365 credentials, but it has not worked this time.

Not sure where to go. I already checked his spam/junk folders and there's nothing there either.


Answers:
author: Asha Goyal
body: Hello [@Kyle Hendrickson](/t5/user/viewprofilepage/user-id/5368656)

If you are sure nothing is in SPAM/JUNK, as a workaround, please ask user to install Jira Cloud App on mobile and ask to reset the password from the app itself. That way user should get the email in the inbox.

Hope this helps.

Please accept the answer if this helps.

Thanks


author: Marc - Devoteam
body: Hi [@Kyle Hendrickson](/t5/user/viewprofilepage/user-id/5368656)

Welcome to the community.

You should open a support ticket with Atlassian to see if the user's email has been blacklisted for some reason.

[Atlassian Support](https://support.atlassian.com/contact/#/)


Tags: cloud

jira-service-management

jira-service-management-cloud
Not receiving verification code on outlook
Asked by Deepthi sree, vattikuti:

Hi,

my email id: Deepthisree.Vattikuti@target.com.au

The provision for confluence/jira is provided but I'm not able to verify my account. Unable to receive the verification code at my E-mail.


Answers:
author: Ben
body: Hey Deepthi!

Welcome to the Bitbucket Cloud community!

I have just checked your email address and can see that it was added to our internal suppression list due to receiving an SMTP bounce from your mail server:

```
550: 550 5.4.1 Recipient address rejected: Access denied. AS({hex}) [MW2NAM10FT056.eop-nam10.prod.protection.outlook.com]
```

I have since removed your email address from this list so you should now be able to perform the same action as previous to have the code sent out and this will be able to be retrieved by your email address.

We have an existing feature request to improve our email system to prevent similar issues from occurring in future - please feel free to "Watch" this to receive future updates:  
<https://jira.atlassian.com/browse/BCLOUD-20659>

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Deepthi sree, vattikuti
body: Hi [@Ben](/t5/user/viewprofilepage/user-id/4537226) my issue is resolved now. Thanks a lot!


author: Chris Muscat
body: [@Ben](/t5/user/viewprofilepage/user-id/4537226) I seem to be running into the same issue as above, is this something you can help me with also?


Tags: bitbucket-cloud

cloud
Issue while adding build key in "Required build" merge check for pull requests in a repository
Asked by priyanka Mankar:

Hi Team,

I have a usecase wherein I want to trigger pull-request build only for few **target** branches (like master and TEST). Post exploring many options I came across "Required Build" section in Bitbucket. I selected "**Select protected target branches"** but facing issue for "**Add builds".**

I am not getting which "build key" i need to add so that whenever pull request have required target branch, it will trigger pull-request build. My pull-request build is set up on enterprise cloud bees Jenkins with path something similar to -**\<jenkins_instance_url\>/job/REG/job/123456/job/COM/job/123456.test.req.build.bitbucket/**

For Bitbucket to Jenkins connectivity, i am using "Webhook to Jenkins for Bitbucket Server" which is using "Git plugin".

Please help me to understand which build key i should use here.

Thanks in advance for help.

Regards


Answers:
author: Ora
body: Build key is the name of the job (no need for full path)

Make sure you are using "Bitbucket Server Integration" plugin

"To use required builds, you must have Bamboo 7.1+ or the Bitbucket Server Integration Plugin version 2.0.0+"

See also here:

<https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html>

[https://plugins.jenkins.io/atlassian-bitbucket-server-integration/Bitbucket Server Integration \| Jenkins plugin](https://plugins.jenkins.io/atlassian-bitbucket-server-integration/)


Tags: bitbucket-server
Why Manual Deploy trigger cannot be clicked
Asked by xicond:

Why Manual Deploy trigger cannot be clicked when intermediate step also manual trigger is not finished yet,  

Somehow I need to skip intermediate step, as it optional,

Ex.

Below, the third step deploy cannot be click

```
- step:
    name: Build & Testing (v16)
    image: node:16-alpine3.11
    deployment: v16
    artifacts:
        - build/**
- step:
    name: Build & Testing (v14)
    image: node:16-alpine3.11
    trigger: manual
    deployment: v14
    artifacts:
        - build/**
- step:
    name: Deploy to S3
    deployment: production
    trigger: manual
```

Or

```
- parallel:
    - step:
          name: Build & Testing (v16)
          image: node:16-alpine3.11
          deployment: v16
          artifacts:
              - build/**
    - step:
          name: Build & Testing (v14)
          image: node:16-alpine3.11
          trigger: manual
          deployment: v14
          artifacts:
              - build/**
- step:
      name: Deploy to S3
      deployment: production
      trigger: manual
```


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

I'm afraid that it is not possible to skip a step in a pipeline that consists of multiple steps. This is the case for both the first example you posted (3 sequential steps) and also for the second one (the two parallel steps need to get completed in order to trigger the last one).

We have a feature request in our issue tracker for the ability to skip manual steps:

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

Since you'd be interested in that feature, I would suggest adding your vote to that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

In the meantime, a way to work around this issue would be by creating a custom pipeline for the step that is optional and another one for the deploy step, which can be triggered manually or scheduled from the Bitbucket Cloud interface:

* <https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#custom>

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
I'm not receiving bitbucket invitations on my company email
Asked by Bryant Juspi:

Hi,

My manager sent me an invitation to collaborate on a project but the invitation email doesn't arrive at all. he tried to resend the email but it didn't work either.

Could you please check this problem?


Answers:
author: Theodora Boudale
body: Hi [@Bryant Juspi](/t5/user/viewprofilepage/user-id/4959910),

I see that you created a support ticket as well and the issue has been resolved there.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud
When using an app password in attempt to push, I get an error prompting me to use an app password
Asked by Alex Upah:

I am attempting to push a commit through a command terminal, and even though I am using an app password when prompted, I get an error message telling me I need to use an app password. I get this error message regardless of what i enter for the password, even if it is a completely incorrect password. I have 2 factor authentication enabled and set up, but don't know if I am making some error in setting up an app password or entering my app password. Does anyone know or have any experience with this error even when attempting to use an app password?


Answers:
author: Theodora Boudale
body: Hi Alex,

There might be a Git credential helper installed and used in your system which has your Bitbucket account's password stored, and that stored password may be used instead of what you enter.

You can check if that's the case if you run the following three commands in the command line application you use:

```
git config --system credential.helper
git config --global credential.helper
git config --local credential.helper
```

These will show if a credential helper is used a) for all users in your system b) only for your user c) for a specific repository, respectively.

If a credential helper is used, I would suggest clearing all saved credentials for <https://bitbucket.org/> from that credential helper and then try pushing again.

Please feel free to let me know how it goes and if you need further assistance.

Kind regards,  
Theodora


Tags: bitbucket-cloud
Even though I changed the Workspace name and id, the old workspace id appears in the integrations.
Asked by Samet Aydin:

Hello, as I mentioned in the title, we have updated our workspace id.

After the update, we also renewed our integrations. We can also see our new id in bitbucket. But in some integrations, our old id appears. This causes confusion. How can we fix this?

Is there another place we should change? I want to know if this is a general problem.


Answers:
author: seanaty
body: Unfortunately this is really reliant on the app developer to not use/store names of workspaces or to have a mechanism to update those.

Is there a particular integration that you noticed this on?

comments: author: Samet Aydin
body: Yes, I understand you are right, we actually noticed this error in the marker.io bitbucket integration. But in our ongoing tests today, we noticed that they actually use the connected username, not the workspace id. And when we removed our other integrations and reconnected, the workspace ids were updated. So our problem is solved, thank you.


Tags: bitbucket-cloud

cloud
Hidden Mercurial repos can't be deleted
Asked by perlowgren:

I used to have a number of Mercurial repos in several projects. When Atlassian shut down all Mercurial repos they still remained hidden and are now inaccessible, but I can see them when I list workspaces, and they block me from re-creating the projects and repos with the same names. I'd like to delete the old Mercurial repos, but there's no way to do this that I can find.

Of the 21 repos in the picture below, only 9 can be accessed, the rest are hidden:

![Screenshot_20220606_212922.png](https://community.atlassian.com/t5/image/serverpage/image-id/200790i97FA0B9A6F3B656D/image-size/large?v=v2&px=999 "Screenshot_20220606_212922.png") ![Screenshot_20220606_213130.png](https://community.atlassian.com/t5/image/serverpage/image-id/200791i4B301196B5749BCA/image-size/large?v=v2&px=999 "Screenshot_20220606_213130.png")

I'd like help with removing the hidden repos so I can re-create the previous Mercurial projects as Git repos. Thanks!


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

Mercurial repos cannot be deleted by admins or end-users, but they can be deleted by the support team.

Since you are an admin of these two workspaces, if you give me permission I can proceed with the deletion of these Mercurial repos.

Please feel free to let me know if you would like me to proceed with that, and also if you would like me to delete all Mercurial repos owned by these two workspaces, or only specific ones.

Kind regards,  
Theodora

comments: author: perlowgren
body: Hello [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) !

Thank you for the quick reply. I also posted a support ticket, and so have got help with removing the repos. Thank you anyway!

Kind regards,  
Per


author: Theodora Boudale
body: Hi Per,

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


Tags: cloud
Issues with german Umlauts since v8
Asked by Christopher Pfaffinger:

Hello,

since i updated to bitbucket v8.1 (latest available as of time of writing) german umlauts are messed up, see images attached

same issues did no occur with v7.21

![Screenshot_1.png](/t5/image/serverpage/image-id/200691i962D1CA78EBED35A/image-size/large?v=v2&px=999 "Screenshot_1.png")![Screenshot_2.png](/t5/image/serverpage/image-id/200690iBB44C1C2631DAEF4/image-size/large?v=v2&px=999 "Screenshot_2.png")![Screenshot_3.png](/t5/image/serverpage/image-id/200688iBBB6B1AA5183580E/image-size/large?v=v2&px=999 "Screenshot_3.png")![Screenshot_4.png](/t5/image/serverpage/image-id/200686iDA9B1EEA8F161C04/image-size/large?v=v2&px=999 "Screenshot_4.png")

someone any idea how to fix?


Answers:
author: Christian Glockner
body: Hi Christopher,

I've been able to reproduce this behaviour, so I've reported it as a bug - I don't think there's anything you can do as an end-user or administrator. You can keep an eye on the bug at <https://jira.atlassian.com/browse/BSERV-13340>

Cheers,

Christian

Premier Support Engineer

Atlassian


Tags: bitbucket-server

server
How can I view/read a file from BitBucket using API?
Asked by Blessie Labayna:

I have a json file stored in BitBucket. My goal is to view the json file as a raw using Postman or invoking an HTTPS request.

<https://bitbucket.org/>\<repo\>/\<project\>/raw/master/config_test.json?response=json

The URL above works fine when I view it from the browser, but now when I call it from postman. I even tried the api.bitbucket.org/2.0/repositories but still not working.

I'm getting this error  
{  
"type": "error",  
"error": {  
"message": "Resource not found",  
"detail": "There is no API hosted at this URL.\\n\\nFor information about our API's, please refer to the documentation at: <https://developer.atlassian.com/bitbucket/api/2/reference/>"  
}  
}  
I have already tried creating an app password and using Authorization: Bearer \<token\> but still unsuccessful.


Answers:
author: Caterina Curti
body: Hello!  

I just wrote an article about how to read a file from the REST API: <https://community.atlassian.com/t5/Bitbucket-articles/Reading-a-file-from-a-repository-in-Bitbucket-using-the-REST-API/ba-p/2552394>  

Hope this will be helpful!  

Cheers,  
Caterina


author: seanaty
body: Requesting in your browser works because it is likely using your session cookie to authenticate.

For API authentication, here are some ideas of what to check.

1. Definitely use api.bitbucket.org/2.0/...

2. The app password needs your username still, it is not a bearer token. e.g. you need to use curl -u my-username:my-app-password <https://api.bitbucket.org/2.0/repositories/>...

This is the API you'll want to use to get a file: <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-commit-path-get> as the first "raw" URL you posted isn't an API resource.


Tags: api

bitbucket-cloud

cloud
where i can find maven package generated by bitbucket pipeline?
Asked by Nikhil:

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


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

Welcome to Atlassian Community!

When you use caches in the pipelines, we are basically compressing the directory where your framework is saving the dependencies, uploading it to our infrastructure, and unzipping it in the same exact location for the subsequent builds. Since you are using the maven cache, the default cache directory is **\~/.m2/repository.**You can find the directory of the pre-defined caches in the following link :

* <https://support.atlassian.com/bitbucket-cloud/docs/cache-dependencies/>

Having said that, it's currently not possible to download caches, but you can see the current caches list when you access the Pipelines page and click on the **Caches** button in the top right corner.

We have a feature request though, to implement the ability to download the caches :

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

I would suggest adding your vote there and watching the ticket to receive first-hand updates whenever there's any progress.

As a workaround while this feature is not implemented, you can create an artifact for the same directory the cache is looking for, so you can download the artifact when the build completes. Please find the example below :

```
script: 
- mvn build
artifacts: # defining the artifacts 
- .m2/repository/\*\*
```

This will create an artifact for all the files within the folder \~.m2/repository, which is the default cache directory for maven. The artifact will be made available to download in the Artifacts tab when the build completes.

More details on how artifacts work are outlined in the documentation below :

* <https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/>

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

Thank you, [@Nikhil](/t5/user/viewprofilepage/user-id/4959335) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud