youngmon/atlassian-qna huggingface dataset:
Search "View all results" only list 3 tickets
Asked by Darren Zuiderweg:

We are newly migrated to the cloud and that process went smooth overall. But now when we do a search, we see a long list of tickets in the preview, but when we click "View all results", only 3 tickets are listed...even through we could see 20+ in the search preview dropdown. Why would that be?

Thank you for any help you provide.


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Darren Zuiderweg](/t5/user/viewprofilepage/user-id/5332927) and welcome to the community!

Can you specify where you are searching? Are you using the issue search or the "general" search bar (See below)

![Screenshot 2024-03-13 083022.png](https://community.atlassian.com/t5/image/serverpage/image-id/311729i32769111BF7110A6/image-size/large?v=v2&px=999 "Screenshot 2024-03-13 083022.png")

The search bar does a JQL search that looks like this: text \~ "searchstring\*". The "text" parameter searches fields like summary, description and comments.

Are you expecting more than 3 results? How does the JQL look when you see these 3 results? Are there any more clauses?

It might just be an indexing problem if you're newly migrated. The Atlassian Support can trigger a Reindex.

comments: author: Darren Zuiderweg
body: Thank you for the response, Rebekka. It was indeed an indexing issue. Sorry for the late reply.


Tags: cloud

jira-service-management

jira-service-management-cloud
Does anyone know how to obtain the organizations of my clients?
Asked by Sistemas GPP:

I tell you, I have a Help Desk project in Jira Service Management and my clients are aggregated and classified by organizations, however when incidents arrive from them, in some of these incidents I can see the organizations to which they belong but in the Most of these incidents do not; being that there are several that belong to the same person as examples in the attached image:

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


Answers:
author: Zoey Wang
body: Hi [@Sistemas GPP](/t5/user/viewprofilepage/user-id/5451066)

If you check the Organizations staus of TIC- 294/293, you might find the field is empty respectively. That may related to your agent processing or the way the customer raised the tickets. Please let me know how it goes.


Tags: cloud

jira-service-management

jira-service-management-cloud
?Como puedo cambiar la fecha de una incidencia?
Asked by Joshua Vi?ales:

Quisiera consultar sobre el proceso de importaci?n de incidencias. Necesitamos migrar toda la informaci?n que tenemos en monday hacia jira, pero al hacer la importaci?n, ya sea "masiva" o "uno a uno" no me deja cambiar la fecha de creaci?n de la incidencia, esta queda con la fecha en la que se aument? la incidencia. Por ejemplo, quiero documentar la informaci?n de una incidencia que tenemos en el lunes del d?a 20 de noviembre de 2023, y la importaci?n la realizo el d?a de hoy 12 de marzo del 2024, entonces, la fecha de creaci?n de la incidencia me sale creada el d?a de hoy. ?C?mo puedo hacer el cambio de fecha de creaci?n?, intente agregar el campo "creado" dentro de la incidencia pero no me deja.


Answers:
author: Vronik
body: Mira esto

[https://jira.atlassian.com/browse/CONFSERVER-55258#:\~:text=Navigate%20to%20the%20admin%20issues,to%20edit%20the%20Search%20Template](https://jira.atlassian.com/browse/CONFSERVER-55258#:~:text=Navigate%20to%20the%20admin%20issues,to%20edit%20the%20Search%20Template).

<https://community.atlassian.com/t5/Jira-Software-questions/Change-date-of-issue-creation/qaq-p/1202273>


Tags: cloud

jira-service-management

jira-service-management-cloud
Update Status when automations rules are completed.
Asked by Jay:

Okay, so we have a few different types of requests that come into our JSM. These are processed by Jira Automations, before the team ever gets to them. However, not all of the tickets will have automations.  

Currently we have a status called "Automation Processing" as the first status in the workflow, when the automation is complete I want it to move to a status "Waiting for Support".   

Is there a way to make the change once all the automations have run against the ticket (or if no automation matches)?


Answers:
author: Patrick Tripodi
body: Hi Jay,   

I use labels for this.   

The first automation will have an If/Else with the last action of the If/Else branch editing the Label field with a specific value, the next automation rule checks for Label field change and then makes sure that Label matches, etc etc   

Still on the first automation, the last If/Else branch will check to see if no automation needs to run, then sets the final label so it will just skip over and move directly to the last automation rule, which transitions and clears the labels.   

So basically all the automations you need to run will trigger with Field value changed on labels and then make sure its the correct label.   

This is the easiest way I have found to achieve this. You can also use a custom field that you can iterate through, 1, 2, 3 etc for example and does the same thing.  

Hope that helps  

<br />

comments: author: Jay
body: Okay, so I want to make sure I understand. A major automation will check for triggers, if the trigger exists it adds a tag, the following automations trigger when a tag is edited and check to see if it's 'their" tag. If non meet the requirements the first automation adds a tag for "no automation" is that correct?  

If so, brilliant!


author: Patrick Tripodi
body: Yep, that's how I do it :) Make sure your rules have the checkbox turned on to run from other automations as well


Tags: automation

cloud

jira-service-management

jira-service-management-cloud
Create ticket with custom field via email
Asked by Marcin Zaborowski:

Hi,

We have one product, delivered to many countries. Our support teams works in one JSM instance, in one project - product A.

When user add ticket via one multi language portal, then have to choose in custom field location, like Country A. Based on which, our agents take only tickets marked with their Country A. That works fine and I hope that is not non standard :) (we considered multi project, each for specific country but seems to be ok).

We would like to allow users for sending ticket via email. We have one common mail like help@product.com. We can create separate emails for each country, but I'm wondering how to manage this situation, with one mail.

Because of custom field on ticket (country), email didnt income to Jira - there is an error linked to custom field. A question is: Is there any solution how to fill custom field when user use email? For emails I could use another issue type without custom field, but maybe there is another option?  

And second question, is there any solution to automate based on customer email within organization, like "Belgium market" - ten if member of this organization send email, we can automate and fill custom fields - Country Belgium?  


Answers:
author: Vronik
body: Look at this

<https://community.atlassian.com/t5/Jira-Software-questions/using-jira-ticket-create-from-email-update-fields/qaq-p/1075225>

<https://community.atlassian.com/t5/Jira-Service-Management/from-e-mail-request-to-JIRA-custom-fields/qaq-p/2365112>

<https://developer.atlassian.com/server/jira/platform/adding-custom-fields-to-email/>

<https://support.atlassian.com/jira-cloud-administration/docs/create-issues-and-comments-from-email/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Notifications for ticket creation with key words only?
Asked by Kasey Van Keuren:

Hi, can I receive notifications when tickets that include specific keywords are created, like the task name I'm waiting on? I only want notifications for that particular task, not all tasks in my project, as this one project houses hundreds of tickets across my entire company. I'm waiting for a certain task to be created, and it's unclear as to when it will be, so it would be very helpful to receive a notification when it's been set up.

Thank you,  
Kasey


Answers:
author: Vronik
body: Look at this

<https://community.atlassian.com/t5/Jira-Software-questions/notification-by-email-when-tickets-are-created-with-a-specific/qaq-p/1024961>

<https://support.atlassian.com/jira-service-management-cloud/docs/set-up-your-alert-notifications/>

<https://support.atlassian.com/jira-service-management-cloud/docs/set-up-notifications-for-your-customers-and-team/>


Tags: jira

jira-service-desk-cloud

jira-service-management

jira-service-management-cloud

notifications
Bug: deleting comment deletes attachment used in description - data loss, broken links
Asked by Georg DE:

### Issue Summary {#toc-hId-2115184914}

Deleting an issue's comment referencing an attachment deletes also the attachment even though the attachment is also referenced from issue's description -- resulting is data loss and inconsistency / broken links.

### Steps to Reproduce {#toc-hId-307730451}

1. Create a comment and add an file
2. Edit the comment, select all, copy to clipboard
3. Edit description, paste from clipboard
4. verify attachments can also be opened from description
5. delete comment.   
   Question *Delete this comment? Once you delete, it's gone for good.*does not imply attachments are deleted -- especially not when still referenced after comment is gone.

### Expected Results {#toc-hId--1499724012}

The attachments are not deleted at all (but only the comment) or attachments are only deleted if no reference exits any more after deletion of comment.

### Actual Results {#toc-hId-987788821}

The attachments are deleted despite existing references which are broken

### Workaround {#toc-hId--819665642}

Currently, there is no known workaround. When <https://jira.atlassian.com/browse/JRACLOUD-81027> is implemented, files could be restored from trash.


Answers:
author: Georg DE
body: BTW, when I just wanted to file a bug report, Atlassian cloud did suppress that and did lead me here to ask a question which shall turn somehow into the intended bug ticket. I'm curious how that works out.


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira Database Tables
Asked by Dave Ellard:

I am trying to understand the inner workings of Jira for a work project. I am trying to understand why some tables have an AO_ prefix and ther tables have a more meaningful name. For example Custom Fields refer to tables like customfield, customfieldoption, customfieldvalue and configurationconext then I come cross AO_8542F1_IFJ_DCF_CONNECT that also contains Custom Field data. The AO_ table I understand to be related to Assets. Does anyone have any more information that could shed some light?


Answers:
author: Nicolas Werle _Decadis AG_
body: Hi [@Dave Ellard](/t5/user/viewprofilepage/user-id/3745059)  
The tables without AO as a prefix are Jira default tables. Tables with AO_ are tables used by apps or Jira components (e.g. Service Management). Here you have a list with an overview of the AO tables: [https://confluence.atlassian.com/jirakb/list-of-jira-server-ao-table-names-and-vendors-973498988.html](https://confluence.atlassian.com/jirakb/list-of-jira-server-ao-table-names-and-vendors-973498988.html?)  

Unfortunately, I can't tell you how up-to-date it is, but it will certainly help you to get an initial overview.  

Best regards,   
Nico


Tags: data-center

jira-service-management

jira-service-management-data-center
How to download a repository for a commit using rest api 2.0 via jwt/access token
Asked by dev works:

I have an app, using which i am generating an access token/ jwt token i wanted to know thw API for which i can download repository by

1. Commit id

2. branch

Please suggest


Answers:
author: Patrik S
body: Hello [@dev works](/t5/user/viewprofilepage/user-id/5153598) ,

Welcome to the community!

You can use the below endpoint to download a repository .zip file at a specific commit or branch :

```
https://bitbucket.org/<workspace slug>/<repo slug>/get/<commit hash or branch name>.zip
```

Following are two examples using curl and providing the authentication headers as a Bearer token:

* For branch :

```
curl --request GET \

  --url 'https://bitbucket.org/<workspace slug>/<repo slug>/get/master.zip' \

  --header 'Authorization: Bearer <access token>' 
```

* For commit hash :

```
curl --request GET \

  --url 'https://bitbucket.org/<workspace slug>/<repo slug>/get/<commit hash>.zip' \

  --header 'Authorization: Bearer <access token>' 
```

Hope that helps! Let me know if you have any other questions.

Thank you, [@dev works](/t5/user/viewprofilepage/user-id/5153598) !

Patrik S

comments: author: dev works
body: This is working thank you


author: dev works
body: [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) Does this API work with Repository token as well ? currently it is not working for me


author: Patrik S
body: Hello [@dev works](/t5/user/viewprofilepage/user-id/5153598) ,

Unfortunately, this API does not yet support using Repository Access tokens for authentication. I went ahead and created a feature request for it, which you can check in the link below:

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

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.

Currently, it's only possible to use the username and [app password](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) or [OAuth access token](https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/#Access-tokens) as the credentials for authentication for that particular API endpoint.

Let me know in case you have any questions.

Thank you, [@dev works](/t5/user/viewprofilepage/user-id/5153598) !

Patrik S


Tags: bitbucket-cloud

cloud
How to provide access to our acounts department to manage billing section?
Asked by Vinoth:

We need access to billing section for accounts department. They don't need repositories access but they should have access to update billing details like update Card Details \& other information related to billing.

Hope this user doesn't come under users on plan.


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

Welcome to Atlassian Community.

Users added as billing contacts can see the licenses and update credit card information through <https://my.atlassian.com>, without having access to the workspace itself. On that page, once you expand the license respective to the workspace, you will have the option to Update credit card details :

![Screenshot 2023-02-23 at 4.12.30 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/242047iCFB8E207B4D838DA/image-size/large?v=v2&px=999 "Screenshot 2023-02-23 at 4.12.30 PM.png")

If you are already a billing/technical contact, you can access that page and add other users as billing contacts as well, so they have access to update the payment information.

However, if the users need specific access to the Bitbucket workspace Plan details page (Workspace settings \> Plan details), then only admins of the workspace will have access to the page.

A workaround would be to [create a new user group](https://support.atlassian.com/bitbucket-cloud/docs/organize-groups-for-your-repositories/#Create-a-new-user-group) with Admin permissions and add your account department users, but make sure to don't give this group access to any repositories, so the users on it will not count against your plan.

Hope that helps!

Let me know in case you have any questions.

Thank you, [@Vinoth](/t5/user/viewprofilepage/user-id/5153434) !

Patrik S


Tags: bitbucket-cloud

cloud
Permission denied while accessing Google bucket via bitbucket
Asked by Robin:

I am trying to setup CI CD with the help of GCP bucket. I Created a Service account and gave it storage object admin rights . I have added a variable as Key from my Service account but when i run the pipeline it is throwing error during transfer process

Error:

ServiceException: 401 Anonymous caller does not have storage.objects.create access to the Google Cloud Storage object. Permission 'storage.objects.create' denied on resource (or it may not exist)

Below is my Yaml file

image: node:16

pipelines:  
branches:  
main:  
- step:  
name: Installation  
caches:  
- node  
script:  
- npm install  
artifacts:  
- node_modules/\*\* # Save modules for next steps  
#- step:  
# name: Lint  
# script:  
# - npm run lint  
- step:  
name: Build  
script:  
- npm run build:production  
artifacts:  
- dist/\*\* # Save build for next steps  
- step:  
name : Transfer  
script:  
- pipe: atlassian/google-cloud-storage-deploy:1.2.0  
variables:  
KEY_FILE: '$KEY_FILE'  
PROJECT: 'cloudsource1'  
BUCKET: 'brobucket'  
SOURCE: '.'

![ss2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/241650i4335DA3341EE1C29/image-dimensions/530x273?v=v2 "ss2.PNG")![bbss.png](https://community.atlassian.com/t5/image/serverpage/image-id/241655iFFBB6E3658ACEC10/image-size/large?v=v2&px=999 "bbss.png")


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

Welcome to the community!

Based on the [atlassian/google-cloud-storage-deploy documentation](https://bitbucket.org/atlassian/google-cloud-storage-deploy/src/master/), it mentions the following about the $KEY_FILE variable :

|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| KEY_FILE (\*) | base64 encoded content of Key file for a [Google service account](https://cloud.google.com/iam/docs/creating-managing-service-account-keys). To encode this content, follow [encode private key doc](https://support.atlassian.com/bitbucket-cloud/docs/use-multiple-ssh-keys-in-your-pipeline/#Encode-the-private-key). |

So in this case, could you please confirm if you have base64 encoded the value of the **private key** before saving it to the $KEY_FILE environment variable ?

If not, you can use the following commands to base64 encode it :

Linux:

```
`base64 -w 0 < my_ssh_key`
```

Mac OS X :

```
`base64 < my_ssh_key`
```

Windows :

```
`[convert]::ToBase64String((Get-Content -path "~/.ssh/my_ssh_key" -Encoding byte))`
```

Then, save the encoded value as an environment variable named $KEY_FILE at either the workspace or repository level.

Let me know in case you run into any issues.

Thank you, [@Robin](/t5/user/viewprofilepage/user-id/5152565) !

Patrik S


author: Robin
body: Thank you so much now its working


Tags: bitbucket-cloud

cloud
I want copy the angular dist file from bitbucket to gcp vm
Asked by Robin:

I wanted to connect bitbucket to my private IP instance the guide I followed is for public ip but my machine only has private ip , is there any way so that I can copy my angular dist file which we created from ci pipeline to gcp vm with private ip  
I have created the machine on Google Cloud

link of the guide which I was trying to follow is <https://bitbucket.org/blog/deploying-an-angular-app-on-a-google-vm-using-bitbucket-pipelines>


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

Welcome to Atlassian Community.

Private IPs are not accessible over the internet, so if you are running your bitbucket pipeline builds using cloud-runners (that runs on Atlassian infrastructure), the build will not be able to reach the private IP of your GCM VM. You would indeed need the VM to have a public IP in this case.

An alternative is to use [self-hosted runners](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/), where the build will run in your own infrastructure. You could then start the runner in the same VM or in a VM on the same private network, and the runner would then have access to connect to that private IP and transfer the files.

Thank you, [@Robin](/t5/user/viewprofilepage/user-id/5152565) !

Patrik S


Tags: bitbucket-cloud

cloud
I stopped getting e-mail notifications from bitbucket
Asked by Oleksii Duvanov:

Hello,

I stopped getting any e-mail notifications last week. The situation is the same in Jira: not a single notification at all. Could you check what is the problem?

Thank you


Answers:
author: Patrik S
body: Hello [@Oleksii Duvanov](/t5/user/viewprofilepage/user-id/5153469) ,

Welcome to Atlassian Community!

Checking our internal logs, I see some e-mails were bounced by your e-mail provider and added to our suppression list. I went ahead and removed the e-mail from the suppression list, and see that some e-mails were already delivered.

In case you are still facing issues receiving the e-mail, please let me know.

Thank you, [@Oleksii Duvanov](/t5/user/viewprofilepage/user-id/5153469) !

Patrik S

comments: author: Oleksii Duvanov
body: Hello [@Patrik S](/t5/user/viewprofilepage/user-id/4603309),

You're correct, the problem was with the suppression list and it was solved earlier today. Everything is working perfectly now.

Thank you, and have a nice day!


Tags: bitbucket-cloud

cloud

jira
I don't see squash button
Asked by Duy Ton:

How to enabled squash in pull request. I can only see Merge button. I dont' see Squash button anywhere on the screen.


Answers:
author: Jens Schumacher - Released_so
body: Hi [@Duy Ton](/t5/user/viewprofilepage/user-id/2266536)

You can configure which merge strategies are under **Project settings** \> **Merge strategies**.

Take a look at the documentation here:

<https://confluence.atlassian.com/bitbucketserver/pull-request-merge-strategies-844499235.html>

Cheers,  
Jens

[released.so](https://released.so)


Tags: bitbucket-server

server
Can I continue working with my bitbucket account after disabling Jira Software?
Asked by Victor Bouza:

Hi, I need to confirm that my bitbucket accounts will still be working after closing or disabling the Jira software account.

Thanks


Answers:
author: Ben
body: Hey Victor,

I can confirm that there will be no effect on your Bitbucket account if you remove your Jira Software account. Both of these products operate independently from one another.

If you happened to have JIRA integrated with Bitbucket Cloud (for example with issue management) - the linkage will break and you will need to remove this accordingly (please ignore if there is no integration):  
[https://community.atlassian.com/t5/Bitbucket-questions/How-to-Remove-Disconnect-BItbucket-from-JIRA/qaq-p/915502#:\~:text=Yes%2C%20it's%20possible%20to%20remove,click%20and%20select%20%22Delete%22](https://community.atlassian.com/t5/Bitbucket-questions/How-to-Remove-Disconnect-BItbucket-from-JIRA/qaq-p/915502#:~:text=Yes%2C%20it's%20possible%20to%20remove,click%20and%20select%20%22Delete%22).

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Victor Bouza
body: Hi Ben, thank you very much.


Tags: bitbucket-cloud

cloud

jira

jira-cloud

jira-software