youngmon/atlassian-qna huggingface dataset:
Internal/External Comment on customer side
Asked by Radu Ichim:

Hello,

I have the following scenario which I'm not sure can be sorted.

Can **customers** somehow differentiate who comments are addressed to via your customer portal? **Agents** can do this via **Share with customers** or **Internal comment -b**ut can a user do this via his view?

Scenario:  
New client - IT is included as agent (1), author is the Project Manager of the new client (2). Request participants are internal employees of (2) AND an external contact of the client (3).

In the initiation phase, there is some alignment between PM (1) ?? IT (2) that the client (3) should not notice. Is there any way in which to add all the people (1, 2 and 3) to the ticket, and still post a comment without 3 noticing, if they are added as Request Participants?  

The only solution I can think of at the moment is to remove the client (3) from the request participants BEFORE commenting, and then add them later once the preliminary discussions are done. However, this will still mean that they will be able to see the discussion that took place between 1 and 2, correct?  

Any input is welcome, thanks!


Answers:
author: Vishal
body: Hi [@Radu Ichim](/t5/user/viewprofilepage/user-id/5520078)

If the user is part of request participant list of users, they'll get to see all the customer portal comments, unfortunately there is no way to restrict the visibility from that side.

You may want to check for some marketplace app if at all there is one which allows that.

Hope it helps.


Tags: data-center

jira-service-management

jira-service-management-data-center
How forms work for customer
Asked by jhosni:

Hi i want to have only one forms for my customer in my jira portal service dans when they select a problem its send them to a link that is a form and i want them to fill the form so it create an service request.

i have a question what permission the customer need to have for them to create the issue from a smart link in confluence


Answers:
author: Susanna Babayan
body: have you tried to do this all with [Jira native forms](https://support.atlassian.com/jira-service-management-cloud/docs/what-are-forms/) instead of third-party forms? it'll be much easier, I think


Tags: cloud

jira-service-management

jira-service-management-cloud
Date Time Picker granularity
Asked by Michael Pierotti:

I added a custom field using date time picker but the granularity is in 30 minute when I need it to be down to the minute.


Answers:
author: Hannes Obweger - JXL for Jira
body: Hi [@Michael Pierotti](/t5/user/viewprofilepage/user-id/5513875)

I'm not sure if this is of any help, but this is actually just a limitation of Jira's date/time picker UI - the field can store (and show, once it is set) any time down to the minutes.

You could set the value via Jira's REST API or via Jira Automation, but that's obviously not particularly convenient. Alternatively, if you're open to solutions from the Atlassian Marketplace, you'll have more options; I'll provide more information below.

Hope this helps,

Best,

Hannes

comments: author: Hannes Obweger - JXL for Jira
body: ... and just to expand on the last point: If you're looking for an immediate resolution and are open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2729830).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. It also comes with a range of advanced features, including support for (configurable) *issue hierarchies* , *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting.*

Plus, date/time custom fields can be set to the exact minute value, like so:

![date-time-editing.gif](https://community.atlassian.com/t5/image/serverpage/image-id/330676iED144FF70D404CCF/image-size/large?v=v2&px=999 "date-time-editing.gif")

Once the value is set, it will also be shown correctly in Jira's built-in UIs.

Any questions just let me know!


author: Michael Pierotti
body: This did exactly what I needed.

Thanks!


author: John Funk
body: Hi Michael,

That is all that is available. You could try adding a custom number field.


Tags: cloud

jira

jira-service-management

jira-service-management-cloud
How to give someone permission to add external, but not internal. comments?
Asked by RH:

Is it possible to grant a user permission to add external comments to an issue (i.e. ones that are shared with the customer) but ***not***add internal comments (i.e. ones hidden from the Customer Portal)?

I see there is a permission called Service Desk Agent which allows the user to "interact with customers" - presumably this means adding external comments on the agent screen? There is also another permission which is called Add Comments...

I am not able to test out what each of these do so hoping someone can help answer my question.

Thanks.


Answers:
author: Sagar
body: Hi [@RH](/t5/user/viewprofilepage/user-id/5380139) The users who have access to the project portal and have access to the issues can add a comment from the portal and that comment will be get added as external comment when you view the issue from the Jira with agent access.

Internal comments can be added by the Agents or Collaborator, But collaborator can't add a external comments.

So, you want a user to add a external comment and not a internal then they need to add a comment from the portal so that it will be get added a external comment on the issue.

Check the below document for more details about the Jira Service Management ROles

<https://support.atlassian.com/jira-service-management-cloud/docs/what-users-and-roles-are-there-in-jira-service-management/>

comments: author: RH
body: Thank you


Tags: data-center

jira-service-management

jira-service-management-data-center
Creating Versions and updating in Assets
Asked by Micha? Tkaczuk:

Hello everyone,

I have the following needs:

* When Version is created then create Asset object and assign this object into Assets custom field;
* If Version is changed then change Assets custom field;

Unfortunately, I am not able to find right automation rules. The biggest blocker is query for Fix Version and main trigger, because sometimes Jira doesn't allow to create automation with specific conditions.

The first case, I think the biggest issue is query for Name. Here should be inserted Fix version name. I tried few queries, e.g. {{issue.Fix Version}}, {FixVersion}}, {{issue.Fix Version.name}}. Would be grateful for some tips. If some modifications should be implemented into trigger, please share details.

![Screenshot 2024-06-18 112000.png](/t5/image/serverpage/image-id/330325i1F11BB0BD9B5035C/image-size/large?v=v2&px=999 "Screenshot 2024-06-18 112000.png")

The next case concerns other value in Fix Version. Then I would like to update Asset custom field value. What query should be used? I tried implement queries above. Name is main Assets field.

![Screenshot 2024-06-18 095714.png](/t5/image/serverpage/image-id/330329iA3D537A893034AF0/image-size/large?v=v2&px=999 "Screenshot 2024-06-18 095714.png")


Answers:
author: Gaurav
body: Hello [@Micha? Tkaczuk](/t5/user/viewprofilepage/user-id/5335932)

For the first case, I think the smart value, {{issue.fixVersions.name}}, can help help you.

As for the second, I understand that there are 2 fields, one if the Fix Version and the second is the Asset type, which needs to be updated if the Fix Version field is updated.

If this is the case, then we can assign the value based on the Fix Version.

Hope this helps!!

--GG


Tags: assets

cloud

jira-cloud

jira-service-management

jira-service-management-cloud

version
pipeline not detected
Asked by Olusola Fowosire:

i am trying to trigger a pipeline remotely and i came on this error.

Error: {"error": {"message": "Bad request", "detail": "bitbucket-pipelines.yml not found.", "data": {"key": "result-service.pipeline.yml-not-found", "arguments": {}}}}

The pipeline in the remote repository works when i trigger it manually


Answers:
author: Theodora Boudale
body: Hi Olusola and welcome to the community!

Are you running an API call to trigger a pipeline or are you using the following pipe during a pipelines build?

* <https://bitbucket.org/atlassian/trigger-pipeline/src/master/>

If you are running an API call, could you please share the call you are running?

If you are using the pipe, could you please share the pipe configuration from your yml file?

Please make sure to replace workspace-id, repo name, etc with dummy values before sharing. I would like to check the syntax of the API call or pipe in case there are any errors.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
GC Request
Asked by liwei:

Hello

I ran BFG to reduce my repo size (Now is 4.02GB),

can you please run GC on this repo: \<redacted\>Thank you


Answers:
author: Patrik S
body: Hello [@liwei](/t5/user/viewprofilepage/user-id/5378585) !

I've triggered a GC for your repository which managed to reduce the size back to 300MB!

Now that GC is completed, I would highly recommend you having everyone on your team removing their old copies of the repository and doing a fresh clone of it. Since the old clones have a dirty history, it's better to delete them, so you don't risk pushing the dangling objects back into your cleaned repository, which would increase its size again.

Thank you, [@liwei](/t5/user/viewprofilepage/user-id/5378585) !

Patrik S


author: Charlie Misonne
body: Hi! Welcome to the Atlassian Community!

While Atlassian support might pick up your request here I think the best place to ask for this is <https://support.atlassian.com/contact/>

comments: author: liwei
body: ???????????????????@Syahrul

I see other users with the same question also asking here.


Tags: bitbucket-cloud

cloud
after claiming all users and deactivating some workspace is not visible anymore
Asked by Admin DK:

Hello Experts,

There were 2 workspaces available and 1 had all the repositories but after i claimed all the users in atlassian admin and then deactivated some of them I see the workspace is not visible at all. So basically I lost access to all the repositories.

I reactivated all the users but the workspace is not visible anymore.

Does it mean all the repositories are now lost or can I somehow get it back ?


Answers:
author: Syahrul
body: G'day, [@Admin DK](/t5/user/viewprofilepage/user-id/2635002)

There should be no issues if your account or workspace hasn't been deleted. However, please provide the name of the workspace you can't see to further assist. With this information, I can promptly review the matter on our end.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
what does a label of "MERGE WITH CONFLICTS" side-by-side with commit in bitbucket mean ?
Asked by Sharon Golan:

I merged a branch into my feature branch and during this merge i had to resolve a conflict.  
After resolution I had a local merge commit which i pushed to the feature branch.  

Now when i look at this commit in bitbucket I see a label of "MERGE WITH CONFLICTS" next to the commit sha. why is that ? does this label indicates this merge commit comprises a resolved confilict ? or is it indicating a conflict related problem ?  

Thank you.


Answers:
author: Theodora Boudale
body: Hi Sharon!

Are you using Bitbucket Cloud (repo URL starting with <https://bitbucket.org/>) or Bitbucket Server / Data Center?

I'm not aware of any such label showing in Bitbucket Cloud after resolving conflicts. Could you please also let me know:

* Which page are you looking at when you see this label? Is it a pull request page with these branches? Or a different page?
* Could you post a screenshot that shows where this label is displayed? (Please make sure to blur any private data in the screenshot before sharing it here)

Kind regards,  
Theodora


author: Sharon Golan
body: Thank you Theodora.   
it is when I click the merge commit to see its details from the branch-commits view. i ' attaching here a capture.  
I suspect this is due to uncommenting the Confilct lines inserted automatically by git in merge-commit comment. will check it on my next merge-with-resolved-conflict case.  

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


Tags: cloud
How to create a PR with correct description?
Asked by Lukasz Ciastko:

How can I create a PR in Bitbucket with the correct description? When I open the Create a Pull Request Page, Bitbucket preselects the last updated branch as Source Branch. If that branch has many changes, after switching the Source Branch, the PR Description doesn't change and lists all the changes made to the preselected branch and not the selected branch. It's hard to navigate this if there are dozens of commits.


Answers:
author: Theodora Boudale
body: Hi Lukasz,

Thank you for reaching out. I have been able to reproduce this issue and it is a bug. I went ahead and opened a bug report in our issue tracker here:

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

Our development team tracks bugs over there and will post an update on that issue when this is fixed. Please note that we don't provide ETAs and bug fixing is implemented as per our policy [here](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html).

You can add yourself as a watcher (by selecting the **Start watching this issue** link in the bug report) if you'd like to get notified via email on any updates. You can also select the **This affects my team** link to indicate you are affected by this issue.

In the meantime, doing a hard refresh on your browser before switching the source branch should work (i.e. the PR description should get updated if you change the source branch after doing a hard refresh).

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Lost all repos for volynsm1
Asked by volynsm1:

Hello Patrik S.

Thanks for your reply from 12/01/2023!

\*\*\*\*\*\*\*\*\*\*\*\*\*\*

In this case, I would suggest:

* Logging in to [https://bitbucket.org](https://bitbucket.org/) with that email again
* Click on your **personal avatar** in the top right
* Select the **All Workspaces** option
* A list of all the workspaces to your account has access to will be shown

\*\*\*\*\*\*\*\*\*\*\*\*\*\*

when I choose All Workspaces I get the following:

#### \*\*\*\*\*\*\*\*\*\*\*\* {#toc-hId-290583597}

#### No repositories {#toc-hId--1516870866}

You don't have access to any recently updated repositories.

#### \*\*\*\*\*\*\*\*\*\*\*\* {#toc-hId-970641967}

Can you please help me further to get my repos back! Just FYI, I am the admin for that account.

Thanks in advance,

Mike


Answers:
author: Syahrul
body: G'day, [@volynsm1](/t5/user/viewprofilepage/user-id/858240)

Have you tried accessing the workspace directly at "<https://bitbucket.org/volynsm1/workspace/repositories/>" and see if you can view all the repositories?

I can see the workspace has multiple repositories so you should be able to view them as long as you are logging in with the correct email address.

Regards,  
Syahrul

comments: author: volynsm1
body: Syahrul.

Yes, I can see all my repos OK by using "<https://bitbucket.org/volynsm1/workspace/repositories/>" (because they "belong" to my username), but when I log in using my email and open all my workspaces I see "

#### No repositories {#toc-hId-291296876}

You don't have access to any recently updated repositories." - and the URL is: "<https://bitbucket.org/infopro_dcas/workspace/repositories/>"

How I can connect my existing repos to my workspaces under my email?

Thanks,

Mike


author: Syahrul
body: Hi [@volynsm1](/t5/user/viewprofilepage/user-id/858240)

It appears you wish to view the repository in workspace "volynsm1" on the workspace "infopro_dcas." This is impossible because each workspace is designed to be separate from the other.

So you might want to consider transferring the repositories in workspace "volynsm1" to the workspace "infopro_dcas." following our guide below:

[Transfer repository workspace](https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/)

Transferring the repository from one workspace to another should allow you to view the repositories in the main workspace.

Regards,  
Syahrul


author: volynsm1
body: Thank you Syahrul - very helpful! I am good now! Thanks again!


Tags: bitbucket-cloud

cloud
How to find list of Repositories with its Name,repo creation date and size ?
Asked by Dnyaneshwar Borase:

Hi Team,

As p part of bitbucket Admin activity we need to find list of Repositories with its Name, repo creation date and size.

Could you please help/guide us how to find out such details regarding Bitbucket Repositories?

Regards,

Dnyaneshwar


Answers:
author: Naveen Kumar_Appfire
body: Hi [@Dnyaneshwar Borase](/t5/user/viewprofilepage/user-id/5116242)

Using the Atlassian REST API you can get a list of repositories <https://developer.atlassian.com/server/bitbucket/rest/v815/api-group-repository/#api-group-repository>

Using the [Bitbucket Command Line Interface (CLI)](https://marketplace.atlassian.com/apps/1211193/bitbucket-command-line-interface-cli?hosting=datacenter&tab=overview)app also you are able to get all the piece information from bitbucket.

Please refer to this article for more info <https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples>


Tags: bitbucket-administration

bitbucket-development

bitbucket-server

server
Add new webhook
Asked by jang shin:

I'm going to setup "Add new webhook".

What should I add in the URL field?

![add-new-webhook.png](/t5/image/serverpage/image-id/294761i8F4BD82FE4AF088C/image-size/large?v=v2&px=999 "add-new-webhook.png")


Answers:
author: Vikas Pendurkar
body: Hi [@jang shin](/t5/user/viewprofilepage/user-id/5301294)

if you want to create a webhook to link other application or tools to sync the data between them like if you want to link SharePoint with Jira then you should use the URL which you have configured a site inside SharePoint (there you will get autogenerated URL)

comments: author: jang shin
body: Thanks for the answer, but I couldn't understand.

I just want to receive a notification about a commit to my personal email.

I expected to add my personal email, but it asks URL.


author: Patrik S
body: Hello [@jang shin](/t5/user/viewprofilepage/user-id/5301294) ,

Webhooks are used when you want to integrate your Bitbucket Cloud repository to an external service, so whenever the event configured in webhook occurs, Bitbucket will send an REST API request to the URL configured with the information about the event.

It looks though that you are interested in receiving email whenever there's a commit in the repository. This can be achieved by setting your user to watch the repository in question. To do that, you can follow the below steps :

* Navigate to the repository you want to watch
* Click on the **tree dot icon** (right after the Clone button)in the top right part of the page
* Select the **Manage notifications** option
* Check the events you want to be notified

This will make Bitbucket trigger a notification when the events selected happen in your repository. The notification will be sent to the email address associated with your bitbucket account.

Hope that helps!

Thank you, [@jang shin](/t5/user/viewprofilepage/user-id/5301294) !

Patrik S


author: jang shin
body: I did, but no email I received.


Tags: bitbucket-cloud

cloud
Cannot create a new repo
Asked by Veibha Subramaniam:

When I login to bitbucket, I do not have admin permissions and the person who had admin permissions has left the firm.

How do I get admin permissions?


Answers:
author: Ste Wright
body: Hi [@Veibha Subramaniam](/t5/user/viewprofilepage/user-id/5376754)

Often it's easiest to...

* Get your IT Team to reactivate the previous Admin's email address
* Reset their Atlassian account password (if needed)
* Login and set your own user account as an Admin

\^ Is this an option at your organisation?

Ste

comments: author: Veibha Subramaniam
body: we tried doing that. However, bitbucket asked to create a new username. and hence could not access the existing repository


author: Veibha Subramaniam
body: is there any way we can identify which email has admin rights on the repository?


author: Ste Wright
body: Hi [@Veibha Subramaniam](/t5/user/viewprofilepage/user-id/5376754)

For this one, I'd contact Atlassian Support for more direct assistance - <https://support.atlassian.com/>

Ste


Tags: bitbucket-cloud

cloud
Unable to create pipeline to only deploy changed files
Asked by Richard Bertematti:

I'm trying to create pipeline to only deploy changed files. My yml file below passes the validator test, but when I run it I get this error:  

##### Configuration error {#toc-hId--1506395499}

There is an error in your bitbucket-pipelines.yml at \[pipelines \> branches \> master \> 0 \> step \> script \> 2\]. Missing or empty command string. Each item in this list should either be a single command string or a map defining a pipe invocation.

Also, I'm not sure if the includePaths of "/\*\*" is valid to deploy changed files anywhere in the code, which is what I want.

<br />

Here is my yml:  

pipelines:  
branches:  
master:  
- step:  
name: 'Deploy with SFTP to staging'  
deployment: 'Staging'  
condition:  
changesets:  
includePaths:  
# any changes in frontend directory  
- "/\*\*"  
script:  
- echo "This step will use atlassian/sftp-deploy pipe"  
- pipe: atlassian/sftp-deploy:0.5.11  
- variables:  
USER: $SFTP_USERNAME  
SERVER: 'xx.xx.xx.xx'  
REMOTE_PATH: '/home/user'  
#LOCAL_PATH: '\<string\>' #Optional  
SSH_KEY: $SSH_KEY

<br />

<br />

<br />


Answers:
author: Richard Bertematti
body: Wow, Igor, thanks! Now it at least processes. But to deploy ANY changed files in the repository, what do I have put in includePaths? I tried "/\*\*" but it didn't seem to update anything.


author: Igor Stoyanov
body: [@Richard Bertematti](/t5/user/viewprofilepage/user-id/5376746) hi. The problem is here:  

- pipe: atlassian/sftp-deploy:0.5.11  
- variables:  
...  

instead of the example above you should use:  
- pipe: atlassian/sftp-deploy:0.5.11  
variables:  
...  
(remove dash from variables)  

Regards, Igor

comments: author: Richard Bertematti
body: Wow, Igor, thanks! Now it at least processes. But to deploy ANY changed files in the repository, what do I have put in includePaths? I tried "/\*\*" but it didn't seem to update anything.


author: Igor Stoyanov
body: Hi [@Richard Bertematti](/t5/user/viewprofilepage/user-id/5376746) . According to [this answer](https://community.atlassian.com/t5/Bitbucket-questions/SFTP-deploy-upload-changed-files-only/qaq-p/1780811) , and [this answer](https://community.atlassian.com/t5/Bitbucket-questions/SFTP-deploy-pipe-How-to-deploy-only-files-that-have-changed/qaq-p/1151088) i doubt that this is possible to deploy *changed files* with sftp-deploy pipe.  
However, you could try to use[rsync-deploy](https://bitbucket.org/atlassian/rsync-deploy/src/master/) pipe:  

```
script:  - pipe: atlassian/rsync-deploy:0.11.1    variables:      USER: 'ec2-user'      SERVER: '127.0.0.1'      REMOTE_PATH: '/var/www/build/'      LOCAL_PATH: 'build'
```

Regards, Igor


Tags: bitbucket-cloud

cloud