youngmon/atlassian-qna huggingface dataset:
Placehonder values Invalid inside the "Filter Issue Scope (AQL)" Section
Asked by Alejandro Alcuaz Temi?o:

Hi Everyone,

We are currently having a problem making an issue show the correct information regarding our assets.

We just started using this functionality and unfortunately we do not understand it completely.

This is the current situation:

We have a schema called "Facilities" with and objectype called "CDL Venues" inside of it. This object has amongst different fields, the attribute "Country" and "City" inside of it.

![Captura de pantalla 2024-02-14 104539.png](/t5/image/serverpage/image-id/306328iFC4135FC154B71C2/image-size/large?v=v2&px=999 "Captura de pantalla 2024-02-14 104539.png")

Additionally, we also have two different Custom Fields called "Country" and "City" (which are both the following type: Select List (multiple choices)) that we are using for our different request types.

We would like to use assets to improve our requests and thus reducing the errors while creating one.

Our problem comes when we want to filter the venues when introducing the Country and the city inside the issue. We would like to filter the venues appearing inside the asset custom field and our "Filter Issue Scope (AQL)" is giving us the following error:

![Captura de pantalla 2024-02-14 105522.png](/t5/image/serverpage/image-id/306332iD5AF06750CEC7EA1/image-size/large?v=v2&px=999 "Captura de pantalla 2024-02-14 105522.png")

What would be the correct syntax to make this work?

Thank you all


Answers:
author: Kai Becker
body: Hi [@Alejandro Alcuaz Temi?o](/t5/user/viewprofilepage/user-id/5420207)

might be just a small update, but I think when using IN you need to encapsulate the placeholder in brackets like

```
xyz IN (${customfield_12345})
```

If you also want to move the Country and City part into Assets, here is a guide on how to filter on another Asset field <https://confluence.atlassian.com/jirakb/how-to-filter-assets-object-within-a-issue-based-on-other-object-custom-field-storing-multiple-objects-1142453352.html>

comments: author: Alejandro Alcuaz Temi?o
body: Thank you Kai, I will try an set up the new Asset objects, as trying to get the information from Customfields inside the issue is not working whatsoever using the Placeholder syntax.

Let me get back to you once I'm able to stablish it is working properly!

Thank you!


Tags: aql

assets

cloud

custom-field

filter

issue

jira-service-management

jira-service-management-cloud

placeholder

query
We can't add <name> They may not have access to teams in your organisation?
Asked by Mark Higgins:

Hello,

This has me scratching my head.

We have a person, who when we go to add them to a team, it fails witht he error message:

**We can add \<person\>**

**THey may not have access to teams in your organisation**

This person has a Service desk role, via an Atlassian Group, which is populated with like for like others and those people can be added?

What does it mean you 'don't have access to teams???

Thanks

Mark


Answers:
author: Marc - Devoteam
body: Hi [@Mark Higgins](/t5/user/viewprofilepage/user-id/3517340)

What I read on issue [ID-8350](https://jira.atlassian.com/browse/ID-8350)

"all the errors relating to being unable to add members to teams is due to \`browse users and groups\` being false for the failing users.

Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated.

Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation.

The system appears to be working correctly and therefore this is not a bug"

If this is not the case in your issue, I would suggest to reach out to Atlassian Support

comments: author: Mark Higgins
body: Thanks [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976)

Much appreciated.


Tags: cloud

jira-service-management

jira-service-management-cloud
How can I customise my queue's based on request types?
Asked by Marvellous:

Hi there,

I need particular request types that I have set up, to triage into particular queue's. How can I filter my queue to ensure that only selected request types are stored in a queue?

I have tried to use the advanced JQL field but I have not been able to add this filter. My queue is currently arranged into issue types but I need it to be more streamlined.

For example I have a portal group called "system Issue" and I have set up a queue also called "System Issue". I have also set up various request types that all exist within the "system issue" portal group. I would like all these request types to enter into the "system issue" queue regardless of their issue types ( I am using a mixture of issue types). How can I make this link?

Thank you


Answers:
author: Cathy
body: I also would like to know the answer to this please.

I don't think the above answer would work [@Pallavi Shirodkar](/t5/user/viewprofilepage/user-id/5425084) if all of the request types are within the same Project, and all are needing to remain enabled. We would wish to be able to create separate queues within a Project which are each filtered by only those Request Items sitting within each Portal Group.

I think is the same question as [@Marvellous](/t5/user/viewprofilepage/user-id/5429471) has.

Many thanks :)


author: Pallavi Shirodkar
body: Hi [@Marvellous](/t5/user/viewprofilepage/user-id/5429471)

You can Go to Project Settings--Features. There you can select the request types which you want \& disable the other which are not required.


Tags: cloud

jira-service-management

jira-service-management-cloud
Can Customers can connect through Slack for asking information?
Asked by Santhosh Raj:

Need to know information about the Virtual agent.  

Does customers get access for slack and the AI.   
It's getting me confused. Is the Virtual agent only for Jira users or agents ?


Answers:
author: Kate Stewart
body: [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624) Question i have on the AI and connected virtual slack channel. If someone asks a question in the channel, is their question visible to everyone and public? or is it a type of channel that you can ask questions but doesn't show other people the question?


author: Kai Becker
body: Hi [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233)

a detailed step by step guide on how to setup virtual agent using Slack can be found [here](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-your-virtual-agent-channels/).


author: Nikola Perisic
body: Hello [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233)

Yes, customers get the access to the AI once it gets implemented to the Slack channel. When this has been done, customer asks a question, a ticket is automatically being created in a service desk project.

Also, you need to create a workflow on which will virtual agent answer the questions and solve the issues of the customers. Of course, as the question gets complex, the workflow also needs to be complex in order to solve the problem.

comments: author: Santhosh Raj
body: Makes Sense.  

But once activating, if the customer is not using Slack.   
Do we need to add him to Slack through the organization ?

[@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624) [@Kai Becker](/t5/user/viewprofilepage/user-id/1178079)   

I have activated the AI and connected Virtual agent through Slack, Now I created a request channel for customers,

* How can they know about those channels ?
* How can we add him if he is only customers ?


author: Nikola Perisic
body: Yes, they need to be added through Slack so they can make requests or ask questions.

You should be able to invite these users to your Slack channel that is for the customers.


Tags: cloud

jira-service-management

jira-service-management-cloud
How is our Bitbucket Cloud contents protected against Ransomware?
Asked by Lorne Campbell:

I am working on a ransomware mitigation project for an organisation

My questions are around: What assurance is there for protection against Ransomware?

- If a user managed a MITM attack and went in and deleted everything. Can they request to delete backups and Archives as well? What would be their challenges?

- Are there any other threads regarding Ransomware and bitbucket Cloud?

- Who is responsible for backing up our Bitbucket data? Are there T\&C's to show this?

Regards

Lorne Campbell


Answers:
author: Nic Brough -Adaptavist-
body: So one of the reasons for using a service such as Cloud is that all of that becomes someone else's problem - the provider of the service is responsible, and you should not have to worry about it.

See <https://www.atlassian.com/trust/security> for the basics! I'd start with the "disaster recovery" section to see what Atlassian would do to recover from malware attacks, but the rest of it is probably stuff that you'll want to skim to answer the rest of your questions.


Tags: backup

bitbucket-cloud

cloud
How to add comment (not message) to the commit via command line?
Asked by Jaanus Truuvaart:

Hello,

Is there any way to add a comment to commit via command line?

Or is it possible to do it via Sourcetree?

Everything instructions so far what i have found is only via Bitbucket UI.

Thank you in advance,

Jaanus


Answers:
author: Erez Maadani
body: Hey [@Jaanus Truuvaart](/t5/user/viewprofilepage/user-id/5087757)

For new commits:  
git commit -m "line #1" -m "line #2"

For changing last commit message (given that **it was not pushed yet** ):  
git commit --amend -m "This is the updated commit message"

For changing previous commits, you will need git rebase.

For a more detailed explanation, have a look here: <https://www.atlassian.com/git/tutorials/rewriting-history>

comments: author: Jaanus Truuvaart
body: Hi [@Erez Maadani](/t5/user/viewprofilepage/user-id/5018344) ,

Thank you for the reply, but actually I mean commit comment, not commit message.

Payload is described here [https://confluence.atlassian.com/bitbucketserver0721/event-payload-1115665959.html?utm_campaign=in-app-help\&utm_medium=in-app-help\&utm_source=stash#Eventpayload-repositoryevents](https://confluence.atlassian.com/bitbucketserver0721/event-payload-1115665959.html?utm_campaign=in-app-help&utm_medium=in-app-help&utm_source=stash#Eventpayload-repositoryevents)

in "Commit comment created" section and it's possible to add the comment via api to the commit or in UI, but i'm wondering is there also an option to add it via git command or via Sourcetree?

Thank you in advance


Tags: bitbucket-server

server

sourcetree
How do I migrate from Bitbucket server to Bitbucket Datacenter with all the metadata?
Asked by Tabrez Siddiqui:

I want to move from Bitbucket server to Bitbucket Datacenter with all the data from my bitbucket server should also reflect in to the Bitbucket datacenter, How can I achieve this.


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@Tabrez Siddiqui](/t5/user/viewprofilepage/user-id/5087683) ! Welcome to the Atlassian Community.

Upgrading fron Bitbucket Server to Data Center can be as simple as installing a Data Center license on your existing server. Instructions follow: <https://confluence.atlassian.com/bitbucketserver/upgrade-from-bitbucket-server-to-bitbucket-data-center-996641211.html>


Tags: bitbucket-server

server
How do I change my password?
Asked by BOB JASON LEGASPI:

I logged in using my university email, how do I change my password? It asks for my current password but I dont have one for Jira. I tried my uni email password but it doesn't work.


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

If you log in to Bitbucket Cloud and Jira Cloud without SAML SSO, you can request a password reset email for your Atlassian account via this link:

* <https://id.atlassian.com/login/resetpassword>

If you get redirected to your university's SAML SSO when trying to log in, you will need to contact the administrator of SAML SSO at your university regarding resetting your password (if there is no option to reset the password on the SSO login page).

Kind regards,  
Theodora


Tags: account

jira
How do I reset the 2-step verification?
Asked by nakata_makoto:

Our staff was using 2-step verification to log in to Bitbucket.?When I replaced staff's smartphone, Our staff failed to migrate the 2-step verification software and am no longer able to log in.?Please let me know how to deal with this situation.  

By the way, the application used for authentication is Google Autenticator.?that staff failed to migrate Google Autenticato when I replaced my smartphone.?Also, that staff does not store emergency recovery keys.


Answers:
author: Ben
body: Hey Nakata,

Welcome to the Bitbucket Cloud community!

They will need to click the **"Forgot code"** link on the login screen when prompted for their 2FA verification code.

**After 24 hours**, this will send an email to their registered email address to allow them to temporarily disable their 2FA and re-configure it on their authentication app.

The 24-hour waiting period might be a long time to wait before being able to access your account. However, this waiting period is a security measure to prevent unauthorized individuals from exploiting this recovery method.

This security process has been implemented in the recovery process and cannot be overridden.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Bitbucket
Asked by Judith Fitzgerald:

Hi, we are using bitbucket cloud. But since we started using bitbucket we have changed our live site that we deploy to from http to https and none of our edits get deployed now. I get that .How can we fix this to be able to synch our master repository in cloud with the new server. It should be easy , bit we can't figure out how to do it.

Thank you

Judith at UCD


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

Welcome to the Bitbucket Cloud community :)

The most common issue customers are experiencing related to authentication is due to the deprecation of GIT username/password in favour of App Passwords on 01/03/2022:  
<https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231>

You will need to make use of an App Password for communicating to GIT via HTTPS.  
We have documentation for usage of app passwords at the following link:  
<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/#Create-an-app-password>  
Essentially, when connecting via \*HTTPS\* you will use your AppPassword\* alongside your username seperated with a ":" character.

Therefore if you are authenticating to GIT over HTTPS to push/pull you will need to update your remote URL's to include the App Password:

```
git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git

```

The same applies when performing git clone:

```
git clone https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git

```

I would suggest ensuring also that all stored passwords related to authentication over GIT are cleared from your machine (ie Credential Manager for Windows, Access Keychain for Mac or /etc/shadow folder for Linux).

Hope this helps.  

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Why Bitbucket allows to merge with checks not passed?
Asked by Oliver CENTENO:

I have setup checks in my Bitbucket to ensure:

- 1 approval

- No failed builds

- No task unresolved

- No changes requested

But the merge button is enabled and (even though there is a warning) I can do the merge.

This should not happen, otherwise what are the checks for?


Answers:
author: Erez Maadani
body: Hey [@Oliver CENTENO](/t5/user/viewprofilepage/user-id/1261137)

The enforcement of merge checks is considered a premium feature and it has to be enabled.

Go to: Repo Settings -\> Under Workflow to Brach Restrictions -\> Add or edit a branch restriction -\> Choose the merge settings tab -\> Look under Merge Conditions

![Screenshot 2022-11-25 at 9.47.19.png](https://community.atlassian.com/t5/image/serverpage/image-id/227524i1B0C168F7440C42F/image-size/large?v=v2&px=999 "Screenshot 2022-11-25 at 9.47.19.png")


Tags: bitbucket-cloud

cloud
How can you create Workspace webhooks?
Asked by Oliver CENTENO:

In Bitbucket cloud you can see 3 types of Webhooks in a given repository.

Workspace hooks and Connect hooks are read only but there must be a way to create the workspace ones.


Answers:
author: Syahrul
body: Hi [@Oliver CENTENO](/t5/user/viewprofilepage/user-id/1261137)

G'day.

Creating Webhooks on the workspace level is only doable via an API request.  
You can use the API 2.0 endpoint below with an example CURL command on how to use it.  
For more information, you can read the API documentation here. - [Create a webhook for a workspace](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-hooks-post)  

```
$ curl -X POST -u bb_username:app_password -H 'Content-Type: application/json'  https://api.bitbucket.org/2.0/workspaces/my-workspace/hooks  -d '    {      "description": "Webhook Description",      "url": "https://example.com/",      "active": true,      "events": [        "repo:push",        "issue:created",        "issue:updated"      ]    }'
```

![](https://getsupport.atlassian.com/images/icons/emoticons/information.png) Please note that you'll need to provide your Bitbucket Cloud username and an [App password](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) for authentication.

Cheers,  
Syahrul

comments: author: Gajesh Bhat
body: Why can't this be created on the UI ? How hard is that to implement ?


Tags: bitbucket-cloud

cloud
Change of billing address
Asked by Veronika Nejedl?:

Hello, please let me know where I can change the billing address for Bitbucket? I can't find anywhere. Thank you in advance

Veronika


Answers:
author: Mayur Jadhav
body: Hello [@Veronika Nejedl?](/t5/user/viewprofilepage/user-id/5087077) ,

Welcome to the Atlassian Community!!

If you are in the Billing contact or technical contact, you will be able add new Contact by vising to [my.atlassian.com.](https://my.atlassian.com/product)

If you are not in the billing contact or in technical contact, they you need to find out the in your organization or else you can raise a ticket with Atlassian with the domain email so that they can help you.

Hope this help!!

Regards,  
Mayur

comments: author: Mayur Jadhav
body: [@Veronika Nejedl?](/t5/user/viewprofilepage/user-id/5087077) I hope the provided information was helpful, please hit the accept button.
Getting all branches for all repos within a project with REST Api
Asked by Noah Campus:

Hi,

I am trying to list all branches within a project.

I can get the branches for specific repos with: <https://api.bitbucket.org/>2.0/repositories/{workspace}/{repo_slug}/refs/branches

but I want a list of all repositories and their branches.

Is there a way to achieve this?

Regards

Noah


Answers:
author: Neel Devani
body: Hey [@Noah Campus](/t5/user/viewprofilepage/user-id/5086981) I am trying to do the same but so I far I get list of all repos which is under some proj with basic authentication in auth header wiht like this

```
{BASE_URL}/rest/api/1.0/projects/{projectKey}/repos
```

<br />

you can refer this ?  
[REST Resources Provided By: Bitbucket Server - REST (atlassian.com)](https://docs.atlassian.com/bitbucket-server/rest/6.10.0/bitbucket-rest.html)


Tags: bitbucket-cloud

cloud
upgrade
Asked by asaf rehavi:

hi

I have bit bucket server install on windows server (version 7.1.9)

Due to the security announcements I want to upgrade my bit bucket version .

As I understand I should change the server operating system to other operation system (not windows).

I create new UBUNTO server

I installed the bit bucket version (8.6.1)

I restored my backup from tar file

I started the bit bucket server .

At this step the setup is asking for license .

How can I use my current license ?

ASAF REHAVI

asaf_r@ftlsoft.com


Answers:
author: Christian Glockner
body: Hi Asaf,

The fact that setup is asking you for your license indicates you didn't migrate over your database. Please see <https://confluence.atlassian.com/bitbucketserver/migrate-bitbucket-server-from-windows-to-linux-1128304336.html> for instructions on how to migrate from Windows to Linux.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: asaf rehavi
body: hi

It's look fine

i need this link of troubleshoot could help :

<https://confluence.atlassian.com/bitbucketserverkb/troubleshooting-installation-779171432.html>

also the log files location application-data/bitbucket/log/

my problem was the ownership of the directories that contains the data of the database it should belong to atlbucket user


author: asaf rehavi
body: hi

after upgrade to linux and chang the database to sql server

I see all repos .

I can perform push

but I **cant** perform login for example to add new users

i get an error 500

the log row:

mystation ip \| http \| i@1RGO1FLx664x64x0 \| - \| 2022-12-01 11:04:12,776 \| "GET /mvc/error500 HTTP/1.1" \| "<http://servername:7990/projects/FTL>" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" \| - \| - \| - \| - \| - \| 172u9cx \|

what is the reason for that?


author: Fabio Racobaldo _Herzum_
body: Hi [@asaf rehavi](/t5/user/viewprofilepage/user-id/3913913) ,

you can follow this guide <https://confluence.atlassian.com/bitbucketserver/bitbucket-server-upgrade-guide-776640551.html> but your macro points seem good.

About the license, before perform the migration/upgrade, please verify that your license is active. You can't perform the upgrade without an active license.

Fabio

comments: author: asaf rehavi
body: Hi

My license is active and I use it on the windows machine - I take from there

I get this error message

The provided license is not valid and cannot be used.

Asaf


author: Fabio Racobaldo _Herzum_
body: Where are you trying it? Please could you share a screenshot?


author: asaf rehavi
body: yes

any desk?


Tags: bitbucket-server

server
Is there any API endpoint to run manual step in a pipeline?
Asked by Jefri Adventer:

Hi, Since bitbucket not support conditional trigger in pipeline step, so I want to use API call to run manual step, but I didn't see any documentation/endpoint in the documentation.  

maybe you have undocumented endpoint for this?


Answers:
author: Mark C
body: Hi [@Jefri Adventer](/t5/user/viewprofilepage/user-id/5086961),

Thank you for reaching out to the community.

Instead of using an API endpoint, you can try using the Pipes script [atlassian/trigger-pipeline](https://bitbucket.org/atlassian/trigger-pipeline/src/master/) for you to trigger a Pipelines build from your repositories.

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

Regards,  
Mark C


author: David Bakkers
body: Hello [@Jefri Adventer](/t5/user/viewprofilepage/user-id/5086961)

There is no REST API endpoint that can trigger a single step in a pipeline, only endpoints to run or stop a whole pipeline.

That's why there's nothing in the documentation.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

rest-api