youngmon/atlassian-qna huggingface dataset:
Shared credentials with npm module via git+ssh
Asked by Dan Coates:

Hi there,

I'm trying to set up a build plan where the first step is to run npm install. One of the npm dependencies is a Bitbucket repository that is accessed via ssh. I've added the correct ssh private key as a shared credential in Bamboo cloud and added the public key to a Bitbucket account with access to the repo. When running the build plan it fails when trying to clone the repository.

```
error   29-Oct-2015 15:53:14    npm ERR! Host key verification failed.error   29-Oct-2015 15:53:14    npm ERR! fatal: Could not read from remote repository.error   29-Oct-2015 15:53:14    npm ERR! error   29-Oct-2015 15:53:14    npm ERR! Please make sure you have the correct access rightserror   29-Oct-2015 15:53:14    npm ERR! and the repository exists.
```

Is there anything else that needs to be done for the ssh authentication to work?


Answers:
author: Jeremy Owen
body: This is a pretty old question regarding Bamboo Cloud but for anyone who's interested in the same subject for **Bamboo Server**, I've got a few points and suggestions to share regarding Git Credentials and NPM via Bamboo.

When you invoke NPM through Bamboo, NPM and Git will be run as the same user that runs the Bamboo (or Bamboo remote agent) process and will use the SSH key from the environment (e.g. *\~/.ssh/id_rsa*) for that user. Basically, authentication is purely handled at the environment level, the same as it would by command-line (not by Bamboo).

The same credentials you use to checkout the repository that contains your NPM project via Bamboo, will **not** be available within the build or to NPM to checkout dependencies.

Our general recommendation (using Bitbucket Server as an example) is to:

* Setup an SSH private key for the operating system user that runs the Bamboo agent responsible for executing the build: [Creating SSH keys](https://confluence.atlassian.com/bitbucketserver/creating-ssh-keys-776639788.html)
* Add the public key from *\~/.ssh/id_rsa.pub* to the *Bitbucket Repository Settings \>\> Access Keys (for Bitbucket Server)* for each NPM dependency hosted in a private Bitbucket repository needed for the build: [SSH access keys for system use](https://confluence.atlassian.com/bitbucketserver/ssh-access-keys-for-system-use-776639781.html)
* Perform a git clone manually on command-line to the same Git repository as the same user that runs the Bamboo agent and answer yes to the host key questions. This is an easy way to both test the connection and accept the host key of the target Git server. You could also directly add the host key to *\~/.ssh/known_hosts*.


author: Eric Jensen
body: They are killing Bamboo Cloud, so in a way this will resolve itself... We'll be playing with Bitbucket Pipeline to see if it will work for us. Otherwise we'll go the stand-alone Bamboo server route, which I really wanted to avoid.


author: Will Albone
body: I am having the same issue. Is there any way to resolve this?


Tags: cloud
Lowercase work directory
Asked by Eric:

*This question is in reference to Atlassian Documentation: [Specifying Bamboo's working directory](https://confluence.atlassian.com/pages/viewpage.action?pageId=289277246)*

I'm working with some legacy code and need a complete path that's lowercase in order for my build to work properly, is there a way to get the JOB_KEY field set to a lowercase folder name in bamboo for the working directory (`bamboo.build.working.directory`)?


Answers:
author: Przemek Bruski
body: No - but you could try using a symlink that is all-lowercase - whether that would work depends on the build tasks you're using.


Tags: bamboo-administration

documentation
Can Bamboo show all successful tests from a remote agent
Asked by reikje:

When I have a job that generates test reports which I parse using the Junit Parser task. When running on a local agent, I see all the Successful Tests and their duration in the Test tab. When I run the job on a remote agent, the Test tab doesn't show me the Successful Tests even though the reports are properly found. Any ideas? Bamboo 5.9.7


Answers:
author: rsperafico
body: Hello Reik,

Thank you for your question.

Could you please raise a [Support Request](https://support.atlassian.com) so we can investigate this issue further?

I would kingly ask you to:

1. please, mention this 'answers' link in the ticket so we can keep track of original request.
2. please, attach build log generated when running JOB in 'local agent'
3. please, attach build log generated when running JOB in 'remote agent'
4. please, attach Bamboo Support Zip (*Bamboo Administration \>\> System \>\> Atlassian Support Tools \>\> Support Zip \>\> Create*)

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support
how to install Bamboo JMeter Aggregator plugin
Asked by changming su:

Don't know where to put after downloading jar file.


Answers:
author: Krystian Brazulewicz
body: Did you try following installation instructions on <https://marketplace.atlassian.com/plugins/jmeterAggregator/server/installation>?


author: Mibex_Software
body: You can put it in the directory BAMBOO_HOME_DIR/plugins.

Best regards,

Michael

comments: author: changming su
body: thanks, I still got some error after restarting Bamboo "This add-on couldn't be loaded. It has one or more errors that prevent it from being enabled." Any idea where I can find log for this plugin? Thx


author: Mibex_Software
body: You should find all the logs of Bamboo including the errors thrown by the plug-in in the file BAMBOO_HOME/logs/atlassian-bamboo.log. If you could paste the error from this log file here that would greatly help to debug this problem.
How to change the export directory path
Asked by Dan Hodge:

Bamboo 5.8.1

Windows Server 2008

I've followed the instructions here:

<https://confluence.atlassian.com/bamboo/exporting-data-for-backup-289277255.html>

and here:

<https://confluence.atlassian.com/bamboo/configuring-bamboo-on-start-up-289277345.html>

ran setenv.bat with this argument:

set JVM_SUPPORT_RECOMMENDED_ARGS="-Dbamboo.paths.set.allowed=true"

and then restarted bamboo but I still can't change the export directory path.

Does anyone know why that might be?


Answers:
author: Dan Hodge
body: Thanks for the reply! I managed to work around it in the end but I will try that out when I get a chance


author: rverschoor
body: It works for me.

To check if your setting made it into Bamboo, go to Administration - System information, and look at the JAVA_OPTS setting.  
The "-Dbamboo.paths.set.allowed=true" should be part of it.  
If it isn't, your change just didn't make it into Bamboo.

Note that the change in setenv.bat is only useful if you start Bamboo from the commandline with start-bamboo.bat.

If you start Bamboo as a Windows Service, the change in setenv.bat has no effect.  
You'll need to follow the instructions shown in <https://confluence.atlassian.com/bamboo/configuring-bamboo-on-start-up-289277345.html#ConfiguringBambooonstart-up-Windowsservice>

[](https://confluence.atlassian.com/bamboo/configuring-bamboo-on-start-up-289277345.html#ConfiguringBambooonstart-up-Windowsservice)
ANT builder task and JAVA Bamboo build
Asked by s2zaman:

*This question is in reference to Atlassian Documentation: [Ant](https://confluence.atlassian.com/pages/viewpage.action?pageId=289277042)*

Hi,

**Issue:** What should i mention in the '**Target**' field in ANT Builder Task ?

I don't have any tests to be included in this task. Just simply i need to Build my 'build.xml' file.

Can anyone help, please.

Thanks.


Answers:
author: Steffen Opel _Utoolity_
body: An [Apache Ant](http://ant.apache.org/) target denotes *a set of `tasks`` `you want to be executed. When starting Ant, you can select which target(s) you want to have executed. When no target is given, the project's default is used -* see [Writing a Simple Buildfile](https://ant.apache.org/manual/using.html) and for [Running Apache Ant](https://ant.apache.org/manual/running.html) more on this.

While specifying the target for Ant is optional as such (Ant will simply execute all top level targets in case), the [Bamboo Ant Task's](https://confluence.atlassian.com/pages/viewpage.action?pageId=289277042) resp. '**Target** ' parameter strangely requires a value. Accordingly, you need to be explicit about what Ant is doing by default when run from the command line by looking into your `build.xml` file to determine the `default` target configured there.

In case your `build.xml` does not have a `default` target configured, you need to deduce an appropriate target for your use case depending on the targets that are available in `build.xml` .

* For example, as outlined in the Ant tutorial's [Four steps to a running application](https://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html#four-steps), *it's a good practise to have a "clean" target, which deletes all the generated stuff. Many failures could be solved just by a "clean build"*.

Many projects use a target named `build` or `compile` accordingly.


Tags: ant

documentation
Possible to have sequential unique build numbers shared between all branches?
Asked by Andy Shinn:

In a Bamboo build plan, the build numbers are only unique per plan branch. So, for example, branch "master" and branch "mycoolfeature" could both have a build number 5. My configuration is such that I move artifacts around with the build number in them and these means that their could be two conflicting artifacts.

Is there any way to have build numbers unique per the entire plan?


Answers:
author: Ondrej Medek
body: Yes, you can use plan and global custom variables. To increment such variable after each build may help the [Variable tasks for Bamboo](https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic/overview)
Right to left support in description
Asked by Gal Fatal:

Hi,

We are working in Hebrew. Need to allign the text to the right, in the description.

That's basic, because the description need to be in home language.

Any idea ? I believe it's an issue for more languages.

Gal


Answers:
author: David Bakkers
body: Hello [@Gal Fatal](/t5/user/viewprofilepage/user-id/2014272)

If you Google*'Jira right to left'* you'll see where this question has been asked before, find the links to the corresponding feature requests, and also find the commercial add-in that provides the solution.

Google is your friend.


Tags: jira-service-management

jira-service-management-server

server
Does automation override notifications?
Asked by Alex Arantes:

When an automation rule is created, triggered by an event that normally would send a notification, does the automation override the notification?

In principle, if comments are left on a ticket, a number of people get notification: assignee, reporter, watchers, etc...

Is it possible that if I create an automation rule triggered by someone leaving a comment on that ticket, that it will override the notifications?

Someone else in my organization has created a number of automation rules (some related to comments being added) and now I have some people saying that, in some cases, they are not being notified by email when comments are left on a ticket.

Is this just a coincidence or can automation rules override notifications?

Thanks.


Answers:
author: Laurie Sciutti
body: Hi [@Alex Arantes](/t5/user/viewprofilepage/user-id/5018951) \~ it shouldn't override, it should supplement.


Tags: automation

cloud

jira-service-management

jira-service-management-cloud

notification
How do you update the types of service requests in Microsoft Teams(assist)
Asked by Nathaniel Hoecherl:

Hi ya'll,  

I was trying to add a new service request through assist. I am able to create the request in Jira service management, but when checking the menus through the assist teams menu, the new request doesn't show up. Any idea how to get the new option to propagate?


Answers:
author: Eugenio Onofre
body: Hi [@Nathaniel Hoecherl](/t5/user/viewprofilepage/user-id/5392164)

Welcome to the Atlassian Community.

I would recommend following the steps shown on the document below:  
<https://support.atlassian.com/jira-service-management-cloud/docs/manage-chat-settings-for-microsoft-teams/>

Please do not forget to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Downgrading vs. Removing user permission
Asked by Wade Stout:

I have a person that was at Administrator level. I have downgraded this person to 'User', but that would still mean that they have access to all historical tickets they submitted, including information with attached sensitive documents. I was wondering:

1) Does removing the account permission from JIRA do anything to historical and currently open tickets that they self-entered into the system?

2) Is there a way to do a batch-update to change that user from the original submitter/requestor to another administrator so that historically, it looks as if the active current admin submitted their tickets?

I'm asking because the individual has left the organization, but still has access to JIRA. They will not have a need for JIRA and will need the license revoked. I want to make sure that anything they submitted for self-work on behalf of the department continues so that when it is marked as done, it is registered to a current administrator. I also don't want any orphaned records.

Any information would be appreciated.


Answers:
author: Trudy Claspill
body: Hello [@Wade Stout](/t5/user/viewprofilepage/user-id/5376780)

Yes, you can use the Bulk Change feature to change the Reporter of multiple issues at once from the departed person to a currently active user.

When you say "remove the person from Jira" are you talking about removing their product access, deactivating the user account, or deleting the user account (assuming you have access to delete the account)?

If you remove their product access, their identity will remain displayed in the Reporter field but they will not be able to access the information. I believe the same is true if you go a step farther and deactivate their account.

I'm not sure what happens if you go as far as actually deleting the account.


Tags: cloud

jira-service-management

jira-service-management-cloud
Opsgenie email notifications after a issue create in JSM
Asked by Dario Alarc?n:

Hello, I am writing to request help because I started receiving email notifications from Opsgenie after creating/closing an incident in JSM, this did not happen to me before.  
I have never used Opsgenie and I don't know the reason why these notifications started receiving me, could someone explain to me the reason and how to disable it?  
Notifications come from different projects.

I hope you can help me, thank you very much!

![Captura de pantalla 2023-12-21 172008.png](/t5/image/serverpage/image-id/297971i9A786D586BD9B2D5/image-size/large?v=v2&px=999 "Captura de pantalla 2023-12-21 172008.png")


Answers:
author: Asha Goyal
body: Hello [@Dario Alarc?n](/t5/user/viewprofilepage/user-id/5307057)

Please refer below link to stop notifications

<https://confluence.atlassian.com/jirakb/jsm-opsgenie-how-to-disable-opsgenie-responder-alerts-1236603146.html>

Please accept my answer if it helps.

Thanks


Tags: cloud

jira-service-management

jira-service-management-cloud

opsgenie
How do I convert a JIRA company-managed project to a team-managed project?
Asked by jkoerhuis:

We want to convert our company-managed project to team managed projects.

It is an existing project with about 2500 issues and existing boards and workflows (and integration with Slack and Bitbucket). How can we convert this as easily as possible so that I can have better control over permissions within other team projects?


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

There is no "convert", you have to create a new project and move your issues from the old one into it. Make sure you set up the new project to include all the global fields the company-managed project has, and you'll need to manually rebuild all the workflows and integrations.

I would not do this, you say you want "better control over permissions", but I'm afraid the permissions in team-managed projects are nowhere near as granular or comprehensive as they are in company-managed projects, so you would actually be losing control over permissions by moving to team-managed.

comments: author: Trudy Claspill
body: Adding to this...

Can you provide the details of the problem you are trying to solve?

What permission problem are you currently encountering, specifically?

Why do you think the move to a Team Managed project will help?

Additionally note that the agile board and workflow customization capabilities in Team Managed projects is not nearly as comprehensive as what is available for Company Managed projects. And, specifically with workflows, many third party apps that extended the Conditions, Validators, and Post Functions capabilities will not work at all in Team Managed projects.


Tags: cloud

jira-service-management

jira-service-management-cloud
Export filter output to CSV file automatically using web link in an Excel file.
Asked by Didier LOGRE:

Hello,

I would like to populate an Excel sheet by using an excel query (get data from web where the web URL is the result of a Jira filter.

Thanks for help!


Answers:
author: Eugenio Onofre
body: Hi [@Didier LOGRE](/t5/user/viewprofilepage/user-id/5391990)

Welcome to the Atlassian Community.  
I am not 100% sure if I understood your request correctly, but one suggested approach would be using the default Excel export functionality on the Filters screen so you can keep your data updated while using Excel features such as query.

On a filter, the top-right corner button says "Export" and you can select Export CSV from there.

Please do not forget to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: jira-service-management

jira-service-management-server

server
Xray - can we move a Test Repository from one project to another
Asked by Anshika:

Hello,

I have a project with all test cases written down in folders in sub folder in Test Repository. Now project is complete so I am moving my test cases to another project. Is it possible to move folder by folder such that my new project keep the same folder structure with test cases in them?

I have done something similar to another project but had to then manually select my test cases and move them to my required folder. Just trying to find if there is an easier way to do this?

Thanks,

Anshika


Answers:
author: Eugenio Onofre
body: Hi [@Anshika](/t5/user/viewprofilepage/user-id/3923432)

XRAY provides 2 types of structure for the test cases:

* test repository
* test sets

While the test repository groups tests within a project in a hierarchical folder, test sets are a more dynamic way of grouping your tests, as tests can be added from other projects, allowing test cases to be added to different test sets

Please see below documentation:

<https://docs.getxray.app/display/XRAYCLOUD/Organizing+Tests>

Please do not forget to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio

comments: author: Anshika
body: Thanks Eugenio, I appreciate that I can use Test Sets instead of Repository.

As I am closing old projects that's why there is a need to move my opened test cases to another projects. I have now created a testing repository project such that different project test cases will be in this single one and I will create Test Plan and Test execution in the working project then. As current project, I already had Repository/folder structure that I want to continue with but when I bulk move them there is no option to select.

I checked if I create same folder in the new project will that work or not and it didn't.

I appreciate your help, I guess I have to manually move them to respective folders as there is no bulk update option.

Thanks,

Anshika


author: Eugenio Onofre
body: Great! If you agree with the response, please accept it so it can help other community members.

Thanks!


Tags: cloud

jira-service-management

jira-service-management-cloud
validate field in the customer portal
Asked by Guilherme:

Hi everyone, I have the following scenario: I have a project in service management for users to request calendar blocks for vacations, remote work, and other reasons. The policy is to request these blocks 15 days before the intended date. I want to know if it's possible to validate the period directly in the portal when choosing the date. The selected day must be at least 15 days from the date of the request. I want to implement validation in the portal to prevent users from creating a request if it's not made 15 days in advance. If the blocking is necessary, the supervisor will handle the request directly through the service management create option. If its not possible by standard, can i develop this?


Answers:
author: Eugenio Onofre
body: Hi [@Guilherme](/t5/user/viewprofilepage/user-id/5391993)

Welcome to the Atlassian Community.

Unfortunately there is no default way you could restrict the date intervals on a date picker field in the portal.

One possible workaround is to add a validator to your workflow on the "Create Ticket" transition that would validade if the selected date is within the accepted dates. However, the message that will show in the portal is not detailed (screenshot below).

Another possible solution would be to allow the user to create the ticket anyway and, once created, an Automation runs to validate the value of the field and adds a comment to the request stating that the selected date is not valid and requesting the user to add a comment with a new date. The downside of it would be people having to check the dates manually and updating the ticket accordingly.

Lastly, a third option would be to have this same automation mentioned above cancelling the ticket and requesting the user to create a new one and, on the comment, inform the valid range of dates.

Please do not forget to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
How to integrate local Mail ID with JIRA support mail id (i.e. support@umlsalesforce.atlassian.net)
Asked by UML IT SUPPORT:

Dear Team,

We are now using mail id for support call: support@umlsalesforce.atlassian.net.

We want to integrate that support mail id with our organization support mail id: support@ushamartin.co.in.

So that user will send SR request to our company mail id, rather than Atlassian mail id.

Please help with needful suggestion and documentation.

Thanks and Regards,

Subrata


Answers:
author: Mayuresh Kamble
body: Hi [@UML IT SUPPORT](/t5/user/viewprofilepage/user-id/5391943) ,

Welcome to the Community!

I think this [Documentation](https://support.atlassian.com/jira-service-management-cloud/docs/add-an-email-account/) can help you to add custom email account to the service project.

Regards,  
Mayuresh


Tags: cloud

jira-service-management

jira-service-management-cloud
Has anyone had this problem? The request status or sharing option is not displayed in the portal
Asked by Karla Rivera:

The user/customer cannot view the status or share the request from the Jira service management portal. The portal site disappears, only the name, description and comments of the request can be seen.


Answers:
author: Jehan Bhathena
body: Hi [@Karla Rivera](/t5/user/viewprofilepage/user-id/5100503) ,

Can you share an image of the behavior mentioned? Perhaps that might help in identifying the issue that you've mentioned.


Tags: cloud

jira-service-management

jira-service-management-cloud