youngmon/atlassian-qna huggingface dataset:
{{webResponse.body.id}} body empty
Asked by martin.infanzon:

I have an automatization configured exactly like <https://confluence.atlassian.com/jirakb/automatically-share-a-ticket-with-all-reporters-organizations-1167719942.html>, the call to the API returns data without any problem, but when trying to "update the field" it returns a null, I tried many ways but in none of them I can get it to return a value, such as the body of the answer is empty.

how i must do it?


Answers:
author: Marc - Devoteam
body: Hi [@martin.infanzon](/t5/user/viewprofilepage/user-id/5387555)

Welcome to the community.

Have you already setup organisations in your JSM project and have customers been added to an organisation or organisations?

This is pre-requisite on using this automation, otherwise if there are no organisations the response will be empty.

What is the audit log output of the rule when ran?


Tags: cloud

jira-service-management

jira-service-management-cloud
How do you change the service project information (name and intro text) on the portal?
Asked by Deanne Wilson:

We've change the name of our service desk, but I cannot figure out how to change it along with the into text on the portal. Please see screenshot below for reference. Thank you in advance.

![2023-12-15 08_35_39-mGauge _ mScope Support - Portal settings - Service project - Jira.png](/t5/image/serverpage/image-id/297046i09314A5EB1FEC5CF/image-size/large?v=v2&px=999 "2023-12-15 08_35_39-mGauge _ mScope Support - Portal settings - Service project - Jira.png")


Answers:
author: Marc - Devoteam
body: HI [@Deanne Wilson](/t5/user/viewprofilepage/user-id/3589804)

You need to have a JSM license and to be admin on the project.

comments: author: Deanne Wilson
body: [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976) We do have a JSM license and I am an admin on the project.


author: Marc - Devoteam
body: Hi [@Deanne Wilson](/t5/user/viewprofilepage/user-id/3589804)

If you do, you are able to select the text box as it is and change the information.

See example, an ITSM project on my Cloud instance

![Screenshot 2023-12-18 at 16.47.55.png](https://community.atlassian.com/t5/image/serverpage/image-id/297220i3DB4D82B86C009B4/image-dimensions/230x288?v=v2 "Screenshot 2023-12-18 at 16.47.55.png")

I don't see the project name on your screenshot.

I still don't think you have an JSM agent license assigned.


author: Deanne Wilson
body: I was able to figure out the issue. We do have a JSM agent license assigned. Even though I am a Jira Systems Admin, I also needed to be an admin on the actual project as you had mentioned. My mistake, I thought that I already was by default. With that change, I was able to make the needed updates. Thank you!!


Tags: cloud

jira-service-management

jira-service-management-cloud
Portal tracking if it's rachable
Asked by Mohammed Laaroussi:

Hi Community,  

I have one question and would be grateful to have your answers.

Is there any way to track a specific group from the portal if it is reachable or not?

Thank you :)  
BR, Mohammed


Answers:
author: Joseph Chung Yin
body: [@Mohammed Laaroussi](/t5/user/viewprofilepage/user-id/5286773) -

I don't believe if you can obtain this type of reporting from the UI (out of the box). You need to contact Atlassian Support (<https://support.atlassian.com>) because the support team can access the system logs to assist you further.

Sorry.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Mohammed Laaroussi
body: Hi [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)

Thanks a lot for your input.

Best regards, Mohammed


author: Kris Dewachter
body: Hi [@Mohammed Laaroussi](/t5/user/viewprofilepage/user-id/5286773) ,

If you need constant uptime monitoring, maybe you can use Atlassian's "Statuspage" product for that ?

<https://www.atlassian.com/software/statuspage>

BR,

Kris


Tags: cloud

jira-service-management

jira-service-management-cloud
{{issue.comments.last.body}} is pulling in as blank with my Slack Bot API App
Asked by Data Enthusiast:

I have an automation to post a Slack message in a channel when a field is changed on a ticket.

The Slack webhook was generated through the Slack Apps API

This is the Slack Message action:

The priority for \<{{issue.url}}\|{{issue.key}}\> - \*{{issue.summary}}\* was changed to {{issue.priority.name}}.

{{initiator.displayName}} gave this reason:  
{{issue.comments.last.body}}

Everything pulls in perfectly except for {{issue.comments.last.body}}. It comes in as blank in Slack instead of putting the last comment.

Are there extra permissions I need to add to the Slack App for it to post the comment?


Answers:
author: eugenio_onofre
body: Hi [@Data Enthusiast](/t5/user/viewprofilepage/user-id/5360069)

The syntax seems to be correct.  
Have you tried using the smart value {{issue.comments.last.body}} out of Slack integration (example: in an internal comment) to see if the issue is happening on the smartvalue itself or on the integration?

Would you be able to place a screenshot (please hide API keys/authorization parameters) of your automation?

Thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud

slack
Unable to remove Organization from Jira site
Asked by Sudar Aazhi:

Hi Team,

I have created few Organizations which i was not supposed to do it.

Now i am trying to delete the organization from Jira \[Customers\]. I could see the list of newly added organizations but when i navigate to Organization for deletion / removal, it shows blank.

We use CRM plugin for Customers Management. I have deleted the entries in CRM as well.

Please help me to delete the Organizations which i wanted to remove. Please note that i have tried Rest API as well.

I get the below response,  
**{**  
**"errorMessage": "sd.customer.organisation.ids.error.not.found",**  
**"i18nErrorMessage": {**  
**"i18nKey": "sd.customer.organisation.ids.error.not.found",**  
**"parameters": \[**  
**"154"**  
**\]**  
**}**


Answers:
author: Andy Heinzer
body: Hi [@Sudar Aazhi](/t5/user/viewprofilepage/user-id/2455405) It appears that you already have a support case for this over in <https://getsupport.atlassian.com/servicedesk/customer/portal/30/PS-158801>

I would recommend following up in that support case, so that we can avoid duplicating efforts to resolve this.


author: Jehan Bhathena
body: Hi [@Sudar Aazhi](/t5/user/viewprofilepage/user-id/2455405) ,

The error mostly translates to the Org ID not being found, but since you've mentioned "CRM plugin for Customers Management", you may want to check with the Plugin's support team to see if they can assist in debugging this error.

I've added the Atlassian Support label to this thread too, perhaps they might be able to assist with the error too.


Tags: atl-rvw

jira-service-management

jira-service-management-server

server
How can i upload one file to repo by API?
Asked by Pawe? Grzyb:

I have set up automatic deployment in my repositories to deploy my PHP / Laravel applications.

Now I need to know how I can upload one \* .yml file to my BitBucket repository and to a specific branch.

How can I do this? I am looking for an API that I can send via curl but cannot find a working solution.


Answers:
author: Patrik S
body: Hello [@Pawe? Grzyb](/t5/user/viewprofilepage/user-id/4976123) ,

Welcome to Atlassian Community!

My understanding is that you would like to commit a file to your repository for a given branch by using the Bitbucket API. If that is the case, you can use the [**Create a commit by uploading a file endpoint**](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-get) , as per the example below :

```
curl  --user USERNAME:APP_PASSWORD https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/src \
  -F /path/within_repo/my_test_file.txt=@local_file_to_be_commited.txt \
  -F "message=This is the commit message" \
  -F "author=Name <e-mail address>" \
  -F "branch=my_branch"?
```

For the authentication, you will need to provide your bitbucket username (not e-mail address) which you can find under [your account's personal settings](https://bitbucket.org/account/settings/), along with an [App Password](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) (not the account password).

Also, the command above considers the file you are trying to upload (local_file_to_be_commited.txt) is in the same directory where you are executing the curl command.

You can try the above suggestion and let us know how it goes.

Thank you, [@Pawe? Grzyb](/t5/user/viewprofilepage/user-id/4976123) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud

laravel

php

yaml
I'm not receiving bitbucket invitations on my company email
Asked by ana.sousa:

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: Daniel Eads
body: Hi [@ana.sousa](/t5/user/viewprofilepage/user-id/4976145) , welcome to the Community!

I've cleared your email address from an internal suppression list. This prevented emails from being delivered to you. Your manager will now need to resend the invitation, but it should go through this time.

If someone at your organization with Exchange Admin privileges (usually the IT department) can follow the steps in [Unblocking Office365 emails for Atlassian Cloud](https://community.atlassian.com/t5/Jira-articles/Unblocking-Office365-emails-for-Atlassian-Cloud/ba-p/1870108), that will also help prevent this issue from occurring again in the future.

Cheers,  
Daniel \| Atlassian Team

comments: author: ana.sousa
body: Thanks very much! It's working properly now :)


Tags: bitbucket-cloud

cloud
ng Build error module not found
Asked by Annette Varndell:

./$AZURE_RESOURCE_GROUP/app/Modules/account/forgotpassword.component.ts:5:0-70 - Error: Module not found: Error: Can't resolve 'xxx/app/services/common.service' in '/opt/atlassian/pipelines/agent/build/src/ui/$AZURE_RESOURCE_GROUP/app/Modules/account'


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This is a problem inside your build process, not really a Bitbucket pipeline problem.

It looks to me like you have used an environment variable (the $AZURE_ thing) which is not being set in the build environment. Most systems put the name of a variable out like this when it's not been set, so you at least know which one needs setting!

Check your build setup, it's probably missing that variable.


Tags: bitbucket-cloud

cloud
Repository cloning path with a Windows runner pipeline
Asked by Kiko_BZ:

I am triying to create a custom pipeline with Bitbucket by using a Windows runner (on my own PC) in order to automate my building process on Unity game engine.

I have configured the bitbucket-pipelines.yml and the runner correctly, but **I need to know the exact path where my repository is been cloned**in order to open the Unity project.

I cannot find the local repository because it seems to be cleared after the step has been executed.

The "script" section of my step on the bitbucket-pipelines.yml file looks like this:

Start-Process -wait -FilePath C:\\"Program Files"\\Unity\\Hub\\Editor\\2020.3.2f1\\Editor\\Unity.exe -ArgumentList "-batchmode","-nographics", "-quit", "logFile ./logbuild.log","**-projectPath \[THIS IS THE UNKNOWN INFO\]**", "-executeMethod BuildScript.PerformBuild"  
Which is the exact path where the project is been cloned?  
Thank you so much.


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

The path where a repo is cloned when using a Windows runner is

```
{Path-to-atlassian-runner-dir}\atlassian-bitbucket-pipelines-runner\temp\{runner-uuid}\{some-number}\build
```

where  
**{Path-to-atlassian-runner-dir}** is the path to the directory where you have the *atlassian-bitbucket-pipelines-runner* directory  
**{runner-uuid}** is the UUID of the runner you are using  
**{some-number}** is based on the EPOCH time, when the build gets started

<br />

You can create a variable during the build (in the **script** of your **bitbucket-pipelines.yml** file), get the location of the current directory (which is the clone directory), and then use that variable:

```
- $curDir=Get-Location
- Write-Host "$curDir"
```

I used the latter command to print the value of $curDir variable.

Is this something that works for you?

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
mixed case vs lower case workspace IDs
Asked by Edwin Jacobs:

Changing my organisation's bitbucket.org workspace ID from initial caps (mixed case, e.g. say **O** rganisation) to all lowercase (organisation) returns "This workspace ID is not available"  

Atlassian Support suggested a Community post, but it seems to be technical limitation or some validation preventing ++changing the case++ of a workspace ID?  

Would appreciate any comments. We are starting off on this workspace for our organisation and no projects or repositories as yet. The Bitbucket Cloud UI seems to be case independent, but not sure if it will continue to be and or if Git client access for cloned repos is case sensitive or not for URLs as I'm yet to create repos, clone and or push from local.

Thanks in advance


Answers:
author: Theodora Boudale
body: Hi [@Edwin Jacobs](/t5/user/viewprofilepage/user-id/3944508),

You can try doing the following: if the workspace id is e.g. **Workspace**, then

- change the id from **Workspace** to e.g. **workspace-test**   
- right afterwards, change from **workspace-test** to **workspace**

<br />

Please note the following though: I checked in our system the workspaces you have access to, and the workspace that has a capital letter in its id is another user's personal workspace.

This workspace was created automatically by Bitbucket Cloud when this user signed up for a Bitbucket account.

- If this user leaves the company in the future, you will not be able to revoke their access to this workspace (because it is their personal workspace)

- Other admins of this workspace will not be able to access the APPS AND FEATURES section in this workspace's Settings

<br />

I would therefore suggest that you manually create a separate workspace for your organization, as a workspace that is created manually by a user is not subject to the above limitations.

You can ask this user to change their Bitbucket username and their Workspace id to something different, so you can use the existing workspace id when creating a new workspace.

Kind regards,  
Theodora

comments: author: Edwin Jacobs
body: Many thanks [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)!

Kudos, really appreciate reply, efforts to check your end and advice.

The steps to change case of workspace I'm sure come in very handy with thanks to you.

We'll create a temporary shared workspace, transfer repositories and rename once user name and personal workspace is changed.

Great response and support from you, colleague Aravind Anil and the Atlassian Team.

Sincerely

Edwin


author: Theodora Boudale
body: Hi Edwin,

You are very welcome, I'm glad we could help.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Version 5.2.2 clone error reporting
Asked by pc:

The git client version 2.36, git clone reported an error?"no matching host key type found. Their offer: ssh-rsa"? bitbucket version 5.2.2, but the bitbucket website explicitly states that version 5.2.2 supports rsa2


Answers:
author: Ben
body: G'day!

Welcome to the Bitbucket Cloud Community! :)  

The version of GIT client which you are using comes with [OpenSSH 8.8](https://www.openssh.com/txt/release-8.8) which disables RSA signatures using the SHA-1 hash algorithm by default.  
If you are encountering issues - it may be because the hashing algorithm which is being used for that particular SSH key is SHA-1 and therefore as a workaround you can either generate a new SSH key that does not use this algorithm, or you can also selectively re-enable RSA/SHA1 to allow connection and/or user authentication via the HostkeyAlgorithms and PubkeyAcceptedAlgorithms options.

<br />

For example, adding the following excerpt in \~/.ssh/config will enable RSA/SHA1 for host and user authentication for a single destination host:

    Host bitbucket.org   HostkeyAlgorithms +ssh-rsa   PubkeyAcceptedAlgorithms +ssh-rsa

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: cloud
ftp-deploy????????????FTPS??????
Asked by ????:

WEB?????????????????????????

???????????FTPS???SFTP / SSH????????????????????ftp-deploy[https://bitbucket.org/atlassian/ftp-deploy/src/master/](https://bitbucket.org/atlassian/ftp-deploy/src/master/)?????pipe.sh?lftp????????????????????????????????)

?????pipe.sh?lftp??????????????????????????

```
mirror: Login failed: 530 Non-anonymous sessions must use encryption.
```

??LFTP???????????

    set ftp:ssl-auth TLS
    set ftp:ssl-force true
    set ftp:ssl-allow yes
    set ftp:ssl-protect-list yes
    set ftp:ssl-protect-data yes
    set ftp:ssl-protect-fxp yes
    set ssl:verify-certificate no

??????????FTPS??????????????????

pipe.sh?lftp?????????????????????????

BitbucketPipelines?FTPS????????????????????????????


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

Welcome to the community!

I believe you need to configure the option on your FTP server and not in the pipe since the error indicates that the Bitbucket pipeline connection was rejected by your server because it requires encryption.

You need to add those commands in your server `~/.lftprc `

Hope this helps.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud

ftp

language-ja
Can't set app password in SourceTree
Asked by lsfinn:

Just now getting to update SourceTree to use app password to connect to Bitbucket (also first time using app password mechanism).

System \& Software: MacOS 12.4; SourceTree 4.1.8 (244)

Followed instructions at \<<https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity>\> to create an app password for SourceTree. Gave this app password permissions Repository (read, write, admin, delete) and Pull Requests (read, write). Saved generated password.

Tried to follow instructions at \<<https://support.atlassian.com/bitbucket-cloud/docs/add-an-app-password-to-sourcetree-or-another-application/>\> to add app password to Sourcetree. Proceed through step 4, using app password just generated, and selecting protocol HTTPS. Upon selecting "Save" I get an alert panel, title "Login Error", with the text "We couldn't connect to Bitbucket with your (lsfinn) credentials. Check your username and try the password again.".

At this point I'm stuck. I've tried again, but to no avail. I've revoked the app password just generated and created a new one, with the same results.

I'm clearly doing something wrong; however, I'm having trouble figuring out what. I'd appreciate any help/advice that the community can provide.


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

Thank you for reaching out to Atlassian Support.

From the behavior, you have reported it seems that the credentials you are using might be incorrect or lack permissions, so I would like you to confirm the following :

* Use your bitbucket username, not the e-mail address, as the username when configuring the sourcetree account. You can check the username of your bitbucket account accessing personal settings: <https://bitbucket.org/account/settings/>
* Make sure you are not including any leading/trailing spaces when copying/pasting your App Password and username.
* Create a new App Passwords checking all the permissions and try using it when configuring Sourcetree.

Could you please try the above suggestion and let us know how it goes?

Thank you, [@lsfinn](/t5/user/viewprofilepage/user-id/3491) .

Kind regards,

Patrik S

comments: author: lsfinn
body: That - or, something in that - did it.

The only thing that I am conscious of doing differently is giving the app all possible permissions.

From a security perspective is there an appropriate subset for SourceTree?

Thanks much!


author: Patrik S
body: Hey [@lsfinn](/t5/user/viewprofilepage/user-id/3491) ,

Great to hear that it worked!

It seems like Sourcetree does some calls to bitbucket API as part of validating the credentials provided, and accordingly to my testing, it needs **account:read** in order to complete that.

So having an app password with **account:read** and your desired level of other permissions should be enough in this case.

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud
This is my first pipeline- and bitbucket doesn't let me run my pipeline, why is this?
Asked by Ray:

As I mentioned this is my first pipeline- I have enabled two factor authentication- but bitbucket does not let me run my pipeline. It keeps appearing with

Pipeline is currently disabled for this repository. Repository adminstrators can enable pipelines in repository settings - Pipelines.

when I go there-- I can't switch on the tab on to enable the pipeline-  
It shows a little toast message when hovering over the tab and it says enable two factor authentication

I am the admin and I have my two factor on.


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

Welcome to the Bitbucket Cloud Community! :)

I have checked your personal workspace in our administration tool and can see that 2FA is not currently enabled on your Bitbucket Cloud account.

Can you please enable this from **Personal Settings (found by clicking your avatar in the top-right) \> Security \> Two-step verification** and try again?  
You can also follow this link here:  
<https://bitbucket.org/account/settings/two-step-verification/manage>

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Alexander Christian
body: My collegue has the same issue. But we don't have 2FA enabled and don't want to enable it for now.   

Steps we did:  

\* created a new test repo in our private workspace  
\* went to the pipeline-menu and created with help of the template a maven default pipeline.

On my collegues system, the creating request never comes to an end. If he aborts the action, he finally has a pipeline yml file in his repo. But then system tells, that pipeline need to be enabled first. And if he wants to enable it, system complains about not enabled 2FA ...  

I tried exactly the same steps with my account, and this worked. Default maven pipeline get's created and commited within 1sec and finally pipeline runs for the first time.

As far as we saw, we both have the same account setttings regharding security etc.  

So I guess this is a kind of bug in BB Cloud?!


author: Ben
body: Hi [@Alexander Christian](/t5/user/viewprofilepage/user-id/4748260)

I've just confirmed that we enforce two-step verification on Bitbucket users enabling Pipelines in new workspaces as part of our ongoing efforts to prevent abuse of the service by cryptocurrency miners. This requires users (registered in last 90 days free or paid) to enable two-factor authentication within Bitbucket. This may explain why it works for you and not your colleague and is based on when the workspace was created.

I would recommend asking your colleague to enable 2SV temporarily to enable pipelines. They then should be able to disable 2SV and use pipelines without issue.  
If you believe that their account is older than this but are still being forced to make this change, please provide us with the workspaceID.

We have a blog post here that explains more:  
<https://bitbucket.org/blog/changes-to-bitbucket-pipelines-due-to-crypto-mining-abuse>  

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud