youngmon/atlassian-qna huggingface dataset:
Request for a new feature visible to everyone
Asked by Zaneta Jarzyna:

Hello,

Is it possible to set a new feature request visible to everyone in the organization without the need of adding a person to "shared with" in order for them to see it?

![Zrzut ekranu 2024-03-12 o 10.45.34.png](/t5/image/serverpage/image-id/311517i7B5D5C5224B54D1E/image-size/large?v=v2&px=999 "Zrzut ekranu 2024-03-12 o 10.45.34.png")


Answers:
author: Asmath Basha S
body: Hi [@Zaneta Jarzyna](/t5/user/viewprofilepage/user-id/5449699) ,

Are you talking about the Banner in Jira to showcase the message to the Users or you mean Issue type?

comments: author: Zaneta Jarzyna
body: Actually I would like to find out how it works in both cases?


author: Asmath Basha S
body: =\> Go to System =\> Announcement banner =\> You can write the information or links whichever you want to showcase to the User.

=\> Before that try this is Sandbox and then implement in production.


author: Zaneta Jarzyna
body: In my case we are talking about the feature request which comes via Help Desk. For now it (showed in the pic) is only visible for people added to "shared with". We are trying to find the way that this request is visible to everyone by default.


Tags: cloud

jira-service-management

jira-service-management-cloud
if any field is empty send email to assignee: how create automation
Asked by Hamza Zubair:

if any field is empty send email to assignee: how create automation


Answers:
author: John Funk
body: Hi Hamza - Welcome to the Atlassian Community!

When do you want to send the email? That will determine the type of Automation Rule trigger gets created.


Tags: cloud

jira-service-management-cloud
Create customers drop down column
Asked by Sam Loong Chee Lian:

1)How do I create a customers drop down column for all my repeated customers breakdown. So that I don't have to key in their store name when there is another breakdown?

2) How do I upload customers data table into the system for the above case?


Answers:
author: Mark Higgins
body: Hi Sam,

Do you have access to Assets with your instance, as a custom field could be used to list your customers?

It would need an update script to keep them updated, or if there is not a large number of updates then manual update of the Asset could work.

If you don't have assets, then I'm not aware of a way to populate a drop down field dynamically.

Hope that helps

Mark


Tags: cloud

jira-service-management

jira-service-management-cloud
Making it possible for enterprise users to see external users
Asked by Marcin Koprowski:

Hello,

I'm trying to set up Jira Service Management that way so that users from outside of our organization can be seen by our users as from an external organization. I think it should suffice to put the 'EXT' in front of an external user's name, so our users can determine, quite easily, that they are dealing with someone from outside. I don't have a way to test this in my environment, that's why I'm asking for your help.

I know that there is also something called Atlassian Access, but I don't know if it will be applicable in the case of the scenario described in the paragraph above.

Thank you.

Marcin


Answers:
author: Nikola Perisic
body: Hello [@Marcin Koprowski](/t5/user/viewprofilepage/user-id/5343945)

You can set up a domain that those external users have and they can automatically join your site.

Now Atlassian Access enhances security with the Identity Provider (Okta is mostly being used). Basically, users will connect through Okta then Atlassian Access then the Atlassian products.

Atlassian Access is created to add the layer of cloud security to your products.

![Screenshot 2024-03-12 at 10.01.44.png](https://community.atlassian.com/t5/image/serverpage/image-id/311512i0399DBB79830095E/image-size/large?v=v2&px=999 "Screenshot 2024-03-12 at 10.01.44.png")

This is how it works.


Tags: cloud

jira-access

jira-service-management

jira-service-management-cloud
Inline attachments not visible for customers
Asked by Vasiliy Chemezov:

When agents attach files in comment with "Display inline" option it not visible for customers on portal. It looks like \[mediaInline\] string.

Thumbnail attachments appear coorectly.

![Screenshot from 2024-03-12 16-08-31.png](https://community.atlassian.com/t5/image/serverpage/image-id/311486i47DF8A160AE28013/image-size/large?v=v2&px=999 "Screenshot from 2024-03-12 16-08-31.png")

![Screenshot from 2024-03-12 16-12-29.png](https://community.atlassian.com/t5/image/serverpage/image-id/311489iCF3E4E21DE8A0A16/image-size/large?v=v2&px=999 "Screenshot from 2024-03-12 16-12-29.png")


Answers:
author: Bhaargavi Natarajan
body: The issue you are facing is being caused by a bug that has been recently reported at:

* [Inline attachments don't appear in the portal](https://jira.atlassian.com/browse/JSDCLOUD-13767)

To work around this problem, you can follow the steps provided in the **Workaround Section**:
> If the agent adds the attachment using the attachment button or adds it to a new line, it will show up in the portal.


author: Sebastian Krzewi?ski
body: Hi [@Vasiliy Chemezov](/t5/user/viewprofilepage/user-id/5161815)

Looks like a bug. Please contact with Atlassian support (support.atlassian.com).

Regards,

Seba


Tags: cloud

jira-service-management

jira-service-management-cloud
JSM Approval - How to add an internal comment to issue?
Asked by Calvin:

Hi all,

I've tried implementing this via a post function as I'm hoping to reduce the amount of automations we use, but unfortunately I can't seem to find a way to add a comment via the transistion (internal only).

So I thought I'd use an automation, and indeed there is a trigger for automations to check that a ticket has been either approved/declined. But to my dismay I couldn't find the IF statement to find whether it was actually approved or not?

Would love some help, I know it shows it in its own little approval place, but I'd still like it in the comment list.

Cheers!


Answers:
author: Zoey Wang
body: Hi [@Calvin](/t5/user/viewprofilepage/user-id/4851947)

Can you clarify a bit more in here? You would like to setup an automation rule which is triggered by an approval comment? Or that is triggered by something else and leads to an approval comment?

comments: author: Calvin
body: Thanks for your message Zoey, ultimately I want to add an internal comment that is either:

* Ticket Approved by: xxxx (or just "Ticket Approved")
* Ticket Not Approved

One its been approved/not approved. Happy to do it via automation or otherwise, and happy to trigger in anyway.


author: Zoey Wang
body: Hi [@Calvin](/t5/user/viewprofilepage/user-id/4851947)

Thanks for that. Once a ticket is approved or declined, an associated comment needs to be made.

If that is the basic use case, I would suggest adjusting your workflow either status or resolution bits. Then in the automation, reflect each status/resolution in IF conditions and follow with Approved / Declined internal comment.


author: Zoey Wang
body: [@Calvin](/t5/user/viewprofilepage/user-id/4851947) how is it going so far? Any further questions let us know.


author: Calvin
body: Hi Zoey, thanks for this. I ended up using a drop down list field that has empty/approved/declined status of the approval.

It would start empty and anytime you go into the approval transtition it would clear. But going through the approved/declined transition it would update the field which would trigger the automation and based on the field it would comment on the ticket.

I definitely think your way will work too so I marked it as the solution.

Thanks for reaching out!


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
I need to investigate which areas are affected when modifying project key
Asked by Elliot Huang:

I want to change the key of the project, what areas do I need to check that are affected by this?

The project has generated hundreds of requests, but it has not yet interacted with the external system, and I am not sure whether the internal jira system is affected by the key changes.

Please answer my question,thank you very much.


Answers:
author: Zoey Wang
body: Hi [@Elliot Huang](/t5/user/viewprofilepage/user-id/5440568)

The change of project key won't affect any parts of the internal system or data loss. Both new and old project keys give users access to the same destination.

Just note that any external systems/integrations might get impacted due to the change.


author: Fabio Racobaldo _Herzum_
body: Hi [@Elliot Huang](/t5/user/viewprofilepage/user-id/5440568) and welcome,

changing the project key has no side effects on JIRA. Jira will keep old and new project key so that all links, all filter and so on will work with both old and new key.

Please take a look to the following article <https://support.atlassian.com/jira-work-management/docs/edit-a-projects-details/> (Change your project's key - section) for further information.

Hope this helps,

Fabio


Tags: cloud

jira-service-management

jira-service-management-cloud
Is this something wrong with ssh on my computer? Never seen this kind of problem.
Asked by Wei Cai:

![??.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/241285iC7D3940B05323556/image-size/large?v=v2&px=999 "??.PNG")![??1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/241286i260A00919FF4438A/image-size/large?v=v2&px=999 "??1.PNG")


Answers:
author: Patrik S
body: Hello [@Wei Cai](/t5/user/viewprofilepage/user-id/5151307) ,

Welcome to Atlassian Community!

It seems like the git command is facing some issues to execute the underlying OpenSSH binary used to authenticate with Bitbucket.

I see you are using Windows, so I would suggest downloading [Git for Windows](https://gitforwindows.org/) as it brings a bash emulation used to run Git from the command line. It's basically an emulation of the UNIX bash system for your git commands.

Thank you, [@Wei Cai](/t5/user/viewprofilepage/user-id/5151307) !

Patrik S


Tags: bitbucket-cloud

cloud
pipeline issue using docker file
Asked by Anis Halleb:

I am about to set up a pipline based on a docker image for my node js project.

this is my yaml file:  
image: docker:latest

pipelines:  
branches:  
develop:  
- step:  
name: Build and Deploy develop  
caches:  
- docker  
services:  
- docker  
script:  
- echo "$DOCKER_PASSWORD" \| docker login -u "$DOCKER_USERNAME" --password-stdin  
- export DOCKER_BUILDKIT=1  
- docker build -t api .  
- docker tag api repo/api:latest  
- docker push repo/api:latest  

every time when the pipeline is launched i got this error:  
![Screenshot from 2023-02-20 19-31-09.png](https://community.atlassian.com/t5/image/serverpage/image-id/241227i8133B6B12C9C7040/image-size/large?v=v2&px=999 "Screenshot from 2023-02-20 19-31-09.png")  


Answers:
author: Anis Halleb
body: it was resolved by disabling the buildKit :  
- export DOCKER_BUILDKIT=0


Tags: bitbucket-cloud

cloud
Why doesn't my bitbucket have a default personal workspace?
Asked by Michael Spangler:

It seems like most users have a default workspace (one that just matches their username) but whenever I create a bitbucket account (I've tried twice), it doesn't create this default personal workspace. For me, after creating the account, it brings me to a mostly blank page and prompts me to create a new workspace, but this is different from the default personal workspace.  

See this video for an example of what I was expecting to see: <https://www.youtube.com/watch?v=vKDksVXjMtQ>  


Answers:
author: Patrik S
body: Hello [@Michael Spangler](/t5/user/viewprofilepage/user-id/5151746) ,

Welcome to Atlassian Community!

We have recently released a change where the workspace and user account are now separate entities, so there will be no concept of personal/default workspace going forward.

So when you create an account, we will not automatically create a default personal workspace that is attached to your account. You can still create as many workspaces as you want though, but they will be not attached to a user.

Let me know in case you have any questions

Thank you, [@Michael Spangler](/t5/user/viewprofilepage/user-id/5151746)

Patrik S


Tags: bitbucket-cloud

cloud
List of Bitbucket users with users and access to repositories, type of access
Asked by Athar:

Hi,

I need a list of all Bitbucket users with access to repositories and the type of access.

Thanks,


Answers:
author: Vedant Kulkarni
body: [@Athar Hussain](/t5/user/viewprofilepage/user-id/5151663)

you can try the solutions mentioned here [Solved: Bitbucket Rest API 2.0 get all users with access t... (atlassian.com)](https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Rest-API-2-0-get-all-users-with-access-to-repository/qaq-p/1059383)


Tags: bitbucket-cloud

cloud
How to run a node project using postgress db (populated by a seed file) in the bitbucket pipeline ?
Asked by Jouni Riimala:

Hi,  
I have a node project using postgres db via [sequelize](https://sequelize.org/docs/v6/advanced-association-concepts/eager-loading/). My purpose is to run integration tests within pipeline.   

Installation phase goes well, but then it complains that it doesn't find the table where to push seed file (predefined record, which can be pushed to the table). Issue is that tables have not yet been created as those are created when the project starts after npm start command. Tried to add npm start after npm install, but then it just runs continuously.  
How to make this work, is there a way to make npm start to run on background ?  
I would appreciate example :)

```
pipelines:
default:
- step:
image: node
script:
- npm install
- npm run seed
- npm test
services:
- postgres
definitions:
services:
postgres:
image: postgres
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
```


Answers:
author: Riley Venable
body: You can try adding the command "npm start \&" to your bitbucket-pipelines.yml file after the "npm install" command. This will run the "npm start" command in the background, allowing the "npm run seed" and "npm test" commands to run afterwards.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Is it possible to create a B account either without a verification email, or with an existing email?
Asked by patrick feerick:

(Typo: title refers to 'BBC' not 'B')  

I'd like our CI to have access running as a distinct user, so that permissions are independent of other users. (Assigning credentials from an APP password created by and linked to another user is not ideal for us). However the requirement for email verification is proving problematic for us as when we create such users (on our side) they don't have a real email account.... Is there anyway such an account could be created on your side?


Answers:
author: Patrik S
body: Hello [@patrick feerick](/t5/user/viewprofilepage/user-id/5082722) ,

Thank you for reaching out to Community!

I'm afraid it's not possible to create a bitbucket account without a valid e-mail account, as the verification e-mail is part of the sign-up process. We do have a feature request to implement the concept of service accounts, that would apply in this case :

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

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.

As an alternative, you have the option to use [Access tokens](https://support.atlassian.com/bitbucket-cloud/docs/access-tokens/) instead. Access tokens are linked to a repository, project, or workspace - not to a user. They are meant to use in tools that integrate with Bitbucket, such as CI/CD, and scripting, as they are not attached to a user.

Hope that helps!

Thank you, [@patrick feerick](/t5/user/viewprofilepage/user-id/5082722)

Patrik S

comments: author: patrick feerick
body: Thanks.  
Whilst I was aware of Access tokens I seem to have missed that they can be Project-scoped. This is a much more attractive proposition than creating per-repo Access Tokens, or a user-linked application password. So, great, I'm taking this route!

Paddy


Tags: bitbucket-cloud

cloud
Cron expression in bitbucket-pipeline.yml?
Asked by Bruno Romagnoli:

I want to schedule a pipeline using a cron expression but i don't know how to add that value to my bitbucket-pipeline.yml in order to see it when using the schedule function in bitbucket.

How do i add it in the bitbucket-pipeline file?


Answers:
author: Theodora Boudale
body: Hi Bruno!

Schedules are not configured in the bitbucket-pipeline.yml file. If you open the Pipelines page of the repo, you will see an option **Schedules** at the top right corner.:

![Screenshot 2023-02-21 at 15.13.30.png](https://community.atlassian.com/t5/image/serverpage/image-id/241468iA510D7CB75A6DF37/image-size/large?v=v2&px=999 "Screenshot 2023-02-21 at 15.13.30.png")

You can select that option in order to create a schedule.

Another option is to use our API to create a schedule and you can pass the cron expression as an argument:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-config-schedules-post>

An example API call is the following:

```
curl -X POST -u Bitbucket_Username:App_Password 'https://api.bitbucket.org/2.0/repositories/workspace-id/repo-slug/pipelines_config/schedules/' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{
"type": "pipeline_schedule",
"target": {
"ref_type": "branch",
"type": "pipeline_ref_target",
"ref_name": "master",
"selector": {
"type": "custom",
"pattern": "master"
}
},
"cron_pattern": "0 0 0 1 * ? *"
}'
```

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora

comments: author: Bruno Romagnoli
body: This will do.   
Thank you very much.


Tags: bitbucket-cloud

cloud
How to use git command to authenticate git in Jenkins and local PC environments
Asked by Yi Zong:

Hello

Do you know How to use git command to authenticate git in Jenkins and local PC environments  
Waiting for your reply. Thank you very much!!!

Best Regard,  
Zong


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

Could you please first confirm if you are referring to Bitbucket Cloud or Bitbucket Server/Data Center, as there are some differences between the two products?

I see that your question has the tag bitbucket-cloud, however, I don't see any Bitbucket Cloud account associated with your email.

If you are unsure what you are using, Bitbucket Cloud repositories are hosted at <https://bitbucket.org/>, while Bitbucket Server/Data Center repos have a different custom URL.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Commit history from root repo is not saved in forked repo
Asked by Dmitriy Rovenskiy:

Hi, I work with two projects, first of them is root project (original) and second project is forked from the first. I always need to do synchronization between root and forked repositories. All worked fine, but last times I stacked with problem, when I do synchronization, using command git pull \<original_repo_URL\> in forked repository, resolve all conflicts, push changes and merge pull-request, commits history from root repository is not saved in forked repository anymore. Each time, when I do synchronization, I resolve same conflicts in same files, please help, what I do wrong?


Answers:
author: Theodora Boudale
body: Hi [@Dmitriy Rovenskiy](/t5/user/viewprofilepage/user-id/5151280) and welcome to the community!

I would like to ask a few questions to better understand what is happening:

**1)** After you resolve the conflicts and prior to pushing, are you committing these changes?

**2)** Are you pushing the changes to the forked repo?

**3)** What do you see actually see in the commits of the forked repo after you push? Are there no new commits at all?

**4)** You also mention merging a pull request, but I am not sure how a pull request is relevant to what you are doing. What is the source and destination repo and branch of this pull request?

**5)** Can you navigate to the clone of the forked repo where you followed this process, run **git config --list** and post the output here? Please make sure to sanitize any emails and the repo url in the output, I would just like to see any Git configuration for pull.

**6)** What is the version of Git on the machine where you are following this process? You can find out by running **git --version** on terminal.

Kind regards,  
Theodora

comments: author: Dmitriy Rovenskiy
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086), thank you for your answer! I found solution for my problem. When I did synchronization, I deleted incoming changes from root project, because they are not needed in forked project. In forked project I need only commits history, it sounds a little bit strange, I know) And after deleting this changes, commits history was not saved in forked project. Solution is accept all changes in forked project from root project, merge these changes with master brunch and after that I need revert this changes) Full commits history from root project in forked project now)


author: Theodora Boudale
body: Hi [@Dmitriy Rovenskiy](/t5/user/viewprofilepage/user-id/5151280),

Thank you for the update! It's good to hear that you figured this out!

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

Kind regards,  
Theodora


Tags: cloud

git
Want to use yum command only in one step & use its binary in second
Asked by Shrey:

I have 3 steps in my pipeline but the work is same to install git\& make command . but I dont wana install gir and make in all steps I want to use that command in 2nd \& 3rd step . How Can I achieve that?![Screenshot 2023-02-19 at 3.21.55 PM.png](/t5/image/serverpage/image-id/241101iF33242BB3D381FA1/image-size/large?v=v2&px=999 "Screenshot 2023-02-19 at 3.21.55 PM.png")


Answers:
author: Erez Maadani
body: Hey [@Shrey](/t5/user/viewprofilepage/user-id/5150807)

Each step in the pipeline is using a new container, even if the same image, so you can't install in step #1 and expect the dependency to exist in step #2.

To solve this issue, you can:

1. Install the dependency in the same step.
2. Use an image with the dependency already installed.
3. Use an external service which will replace your dependency.

Based on past experience, #2 is usually the simplest and fastest solution to such issues.

Hope that helps

comments: author: Shrey
body: ok I did the same b4 thanks !


Tags: bitbucket-cloud

cloud
How to add a git remote using ssh with "-oHostKeyAlgorithms=+ssh-dss" needed?
Asked by LMD:

Hi Everyone. I am having an issue adding a git remote to push to my production server that is hosted with GoDaddy.

For example I use to be able to add it like this at it worked fine:

git add remote beta ssh://username@mysite.com/\~/gitrepos/myrepo.git

When trying to push the beta I now get this error:

Unable to negotiate with "ip of server" port 22: no matching host key type found. Their offer: ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-dss  
fatal: Could not read from remote repository.

I then thought it was the ssh key so I created a new one. Imported the public key to GoDaddy and tested a connection in the terminal:

ssh username@mysite.com

And got the same error as above "Unable to negotiate..."

I then found out I had to use the following ssh flag "-oHostKeyAlgorithms=+ssh-dss" in order to connect successfully:

ssh **-oHostKeyAlgorithms=+ssh-dss** username@mysite.com

So my question is... How do I add this new ssh flag "**-oHostKeyAlgorithms=+ssh-dss**" to the git remote?


Answers:
author: LMD
body: I figure out my issue. I had to add the following in my .ssh/config file:

PubkeyAcceptedAlgorithms +ssh-rsa  
HostkeyAlgorithms +ssh-rsa


Tags: bitbucket-cloud

cloud

git