youngmon/atlassian-qna huggingface dataset:
Installed bamboo in windows local host. But unable to access remote git from local bamboo server.
Asked by Sekhar Nooney:

I Installed Bamboo in my local windows laptop and running bamboo on local host and port combination http://localhost:8085/

Able to login to Bamboo UI, but unable to connect to remote GitLab Repository.

```
fatal: unable to access 'https://ntuser@gitlab.testingprojects.com/abcd/xyz.git/': Failed to connect to www-proxy.web.1234.com port 31060: Timed out
```

While facing same issue to clone the repo to my local directory, I followed the steps got from google i.e. update the git config list with http \& https proxy values. After this when I connect to internal Wired network, then only able to clone the git repo.

Please suggest if I have to make any proxy config changes for bamboo so that GitRepo can be accessible. If possible, provide me the same code what and where to make the changes to bypass the proxy.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I hope the problem with connectivity was fixed


Tags: gitlab

proxy
Bamboo server 6.3, YAML specs issue
Asked by ssytnikov:

Hi.  
After upgrading the Bamboo server from 6.1 to 6.3 version I've tried to create a new plan using Bamboo YAML specs and faced the next issue.  
I've created the repository in my bitbucket cloud account with `bamboo-specs/bamboo.yml` and connected this repository as linked repository in bamboo configuration. Then I wanted to enable Scan for Bamboo Specs in this linked repository as it shown here <https://confluence.atlassian.com/bamboo/enabling-repository-stored-bamboo-specs-938641941.html> and saw that I haven't "Bamboo Specs" tab when I'm editing the repo.

Does anyone have an idea how to resolve the problem?


Answers:
author: robhit
body: Hi Serhii,

Thanks for your question!

As mentioned on the page shared by you:
> You must use the Bitbucket Server repository type to have Bamboo Specs executed automatically by Bamboo.

Since you are using Bitbucket Cloud, you won't be able to see the "Bamboo Specs" tab.

Hope this will help.

Thanks,

Robhit

comments: author: ssytnikov
body: Hi, Robhit.  

Thanks for the fast reply.  
Do you know will this feature be able with using Bitbucket cloud in the future releases?


author: robhit
body: Hi Serhii,

can't comment on that but as of today, it is only available with Server.


author: Grzegorz Lewandowski
body: [@ssytnikov](/t5/user/viewprofilepage/user-id/1178015), here's open feature request. You can vote for it and watch to track updates: [https://jira.atlassian.com/browse/BAM-18785](https://jira.atlassian.com/browse/BAM-18785?)


author: ssytnikov
body: [@Grzegorz Lewandowski](/t5/user/viewprofilepage/user-id/853635), thank you.  
I'll vote for it.


author: SG
body: [@ser](/t5/user/viewprofilepage/user-id/350045) Thanks for voting. It is very important for us to understand user demand while prioritizing this item.
Possible to store user profile full name with uft8 characters?
Asked by Erlend:

I'm trying to change my full name for my user profile in bamboo.

My name contains nordic characters (?), but this is saved as '?'

Is there some trick to enable utf8 support in Bamboo?

Bamboo Server (version 6.3.1 build 60306)


Answers:
author: Jeyanthan I
body: You can check what you see in the database with this query

```
select * from users where fullname='Erlend Sand B?rland';
```

If you see the entry is set right and you still see it shows ? in Bamboo UI, you will just have to change the encoding in Bamboo by following [this KB article](https://confluence.atlassian.com/bamkb/how-to-change-the-wrong-encoding-in-bamboo-that-is-causing-the-application-to-crash-318670134.html).

In short, you will have to add this line under JVM_SUPPORT_RECOMMENDED_ARGS in *\<Bamboo-Install\>/bin/setenv.sh*and restart Bamboo service.

    -Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8

comments: author: Erlend
body: It's not stored correctly in postgresql: "Erlend Sand B?rland"

I tried adding this to setenv.bat:

set JVM_SUPPORT_RECOMMENDED_ARGS="-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8"

But the System information is still showing "System encoding Cp1252" after restarting the service.


author: Jeyanthan I
body: If you are using Windows and starting Bamboo as a Windows service, you will have to alter this parameter by following [this link](https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html) .


author: Erlend
body: Thanks! That did it.
[Bamboo Specs] Ability to check if linked repo exists
Asked by smolkin:

Hi.

I use Bamboo Specs and sometimes I need to check if some linked repo already exists in Bamboo. What's a best way to do it? Now I'm trying to publish plan with linked repo and if failure I'm creating repo and trying to publish plan again.


Answers:
author: JesperHVL
body: Just saying I'm also puzzeled about this, having not found the right method in the API to do this.

In general - is it possible to "import" an existing entities, or at least to check if it exists. Any clues?


Tags: repository

spec
Import failed
Asked by Chebet:

I have selected starting data for Bamboo and gave the file path but it throws the error "Import failed" {#toc-hId-1787851067}
-----------------------------------------------------------------------------------------------------------------------------

What could be the issue?? {#toc-hId--764305894}
-----------------------------------------------


Answers:
author: Jeyanthan I
body: Hi,

You will find more clue in **\<bamboo-home\>/logs/atlassian-bamboo.log**
saved Shared credentials does not show up.
Asked by Masahiro Takatsuka:

I have added a ssh credentials to be shared and under overview-\>shared credentials, the saved credentials shows up. However, when I try to create a plan and try to link repository to a new plan through Bitbucket Cloud, I could not use shared credentials.

When I select "Use shared credentials to authenticate", I get a message saying "No shared credentials of this type have been defined. You can configure them in administration panel on [Shared credentials](http://129.78.157.126:8085/admin/credentials/configureSharedCredentials.action) page." even though a credential is already added.

Is there anything else I need to do to use this added ssh credentials (with which I can access bitbucket repository from a terminal)?


Answers:
author: robhit
body: Hi Masahiro,

Thanks for your question!

For connecting Bitbucket cloud repository we need to use username and password first so that the Bamboo can make rest calls to get the info.

So to use SSH shared credentials, we need to use the username password first to connect to Bitbucket cloud repository and then use the SSH shared credentials.

Thanks,

Robhit

comments: author: Masahiro Takatsuka
body: hmm, but 2fa is enabled and username/password would not allow bamboo to connect to bitbucket, right?

Do I need to disable 2fa?


author: robhit
body: Hi Masahiro,

You can use the App password for that.

Steps:

1. Create [App Password in Bitbucket](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html).

2. In Bamboo, create a shared credential type "username and password" and use the Bitbucket username and the app password as a password.

Thanks,

Robhit


author: Oib-wan Kenobi
body: Hello i've a problem, where can i find the username? is it the mail used to connect to atlassian account? the password? where is it? i cannot configure my bamboo server with bitbucket cloud without them, where can i use the ssh key? i've shared creditentials but it doesn't show up ?  
please help me it's for a end year's school project


author: szakba
body: 4 years later. This is still a problem. It is horrible UX to say that no shared credentials exist, when the actual problem is that user+pass needs to be used.

Also, why does the first connection need to be made with HTTPS? There is absolutely no hard reason for this. Transfer whatever "info" needs to be transferred via SSH.
Bulk deploy permissions for a project
Asked by Jon Stalnaker:

I have 16 projects that each have the same 10 environments. I need to give deploy permissions to a group for all 160 environments. Is there a way to do this without doing it 160 times? We're going to keep adding projects to these 10 environments (they are microservices) and we still haven't flushed out our QA/Prod environments yet so any sort of bulk capabilities are greatly appreciated.


Answers:
author: robhit
body: Hi Jon,

Thanks for your question!

As of today, there is no such bulk feature in Bamboo to achieve this requirement but we do have an open feature request in our system which talks about the same thing. Have a look here:

[Add bulk edit for deployment project permissions](https://jira.atlassian.com/browse/BAM-18762)

Thanks,

Robhit


Tags: deployment
Wallboards how to display failed builds
Asked by Mark Hatton:

Using bamboo wallboard how to display only failed builds or top 20 builds or another filter based on build states.

Thanks.


Answers:
author: Jeyanthan I
body: I see there are some existing feature requests around Wallboard feature - [BAM-10370](https://jira.atlassian.com/browse/BAM-10370) and [BAM-15585](https://jira.atlassian.com/browse/BAM-15585)

Please feel free to vote and add your comments to share views on this with our developers. It is very important for them to understand user demand while prioritizing this item.
Get all plan varibles in script task
Asked by sangeeta:

I want to display all plan variables in a script task . I can display a specific variable using the following:

echo ${bamboo.myVarName}

Is there a way where we can display all plan variables in \[key:value\] pairs.

The task dump variables to log display all variables but we need only plan variables.


Answers:
author: robhit
body: Hi Sangeeta,

Thanks for your question!

You can use the "env" command (if using Linux OS) to print out the session variables. This will include all the Bamboo Variables.

And if you want to restrict it to the Bamboo Variables then you can pipe it something like this:

```
env | grep bamboo_
```

This will only print the variables starting with "bamboo_" and if you want to filter further then you can follow a pattern while declaring the variables and then use the same pattern with the pipe.

You can also assign this to a separate variable and then iterate that variable and then play with it in a way you want.

Hope this will help!

Thanks,

Robhit


Tags: plan

variable
Bamboo Training
Asked by geabenitez:

Hello, is there any site where I can find a free or pay (for low budgets) training to learn how to integrate Jira Software Server with Bamboo?

I have a PHP web app project, I have about 2 weeks using Jira, But I would like to include Bamboo to the equation.

thank you.


Answers:
author: robhit
body: Hi Gerson,

Thanks for your question!

There is some official documentation on integrating Bamboo with Jira which you can refer for free. I am sharing the links below so that you can go through them:

* [Integrating-bamboo-with-jira-applications](https://confluence.atlassian.com/bamboo/integrating-bamboo-with-jira-applications-289276945.html)
* [Integrating-jira-with-bamboo](https://confluence.atlassian.com/jira064/integrating-jira-with-bamboo-720412770.html)
* [Linking-jira-application-issues-to-a-build](https://confluence.atlassian.com/bamboo/linking-jira-application-issues-to-a-build-289276957.html)

Hope this will help!

Thanks,

Robhit

comments: author: geabenitez
body: Hello Robhit,

Thank you for the answer, I'll take a look to the videos


Tags: jira-software
TestRail bamboo integration
Asked by ????? ???????:

Hi, how I can integrate "bamboo" with "testrail"

thanks


Answers:
author: Jeyanthan I
body: If your requirement is to just upload the results within TestRail, I see TestRail has a very simple API that allows you to push test run results.  

Just create a script task in your plan and that pushes the results of the build from Bamboo to TestRail via their API.

<http://docs.gurock.com/testrail-api2/start>
Please mention the commands for compiling the code
Asked by Ajay Sharma:

Please mention the commands for compiling the code.

the commands to unit testing,

commands for integration testing.

Please mention all these commands that we need to create in Bamboo.

Thanks in Advance.

Regards,

Ajay


Answers:
author: Jeyanthan I
body: Hey Ajay,
> Please mention the commands for compiling the code.

Can you please elaborate which code you are referring to?

In general, [script task](https://confluence.atlassian.com/bamboo/script-289277046.html) helps you to enter the respective commands you would like to run.
> the commands to unit testing, commands for integration testing.

These are generally the testing methods and you have different [test tasks in Bamboo](https://confluence.atlassian.com/bamboo/configuring-a-test-task-289277052.html) that you can use in your plan to run and parse test data. Maybe this is what you are looking for?

comments: author: Ajay Sharma
body: Thank you [Jeyanthan](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1124775),

Let me read the 2 links you have provided.

I will ask few questions, if i have doubts.

Ajay
Start Bamboo via WEB
Asked by Ruth W?lti:

Try to start Bamboo over http://localhost:8085

Inbound Roule on the Windows-Server is configured.

No Access

Java Enviroment:

Java Version 1.8.0_151  
Java (TM) SE Runtime Enviroment (build 1.8.0_151-b12)  
Java HotSport(TM) 64-bit Server VM (build 25.151-b12, mixed mode)

echo %Java_Home%:  
%Java_Home%

____________________________________________________________________________________

Try to start Bamboo:

c:\\Program Files\\Bamboo\\bin start.bamboo.bat:  
"To run Baboo in the foreground, start the Server with start-bamoo.bat /fg

<br />

C:\\Program Files\\Bamboo\\bin\>start-bamboo.bat

To run Bamboo in the foreground, start the server with start-bamboo.bat /fg  
'#' is not recognized as an internal or external command,  
operable program or batch file.  
'#' is not recognized as an internal or external command,  
operable program or batch file.  
'#set' is not recognized as an internal or external command,  
operable program or batch file.  
'#' is not recognized as an internal or external command,  
operable program or batch file.

Bamboo Server Edition  
Version : 6.3.0

<br />

If you encounter issues starting or stopping Bamboo Server, please see the Troub  
leshooting guide at <https://confluence.atlassian.com/display/BAMBOO/Installing+B>  
amboo+on+Windows

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined  
At least one of these environment variable is needed to run this program  
C:\\Program Files\\Bamboo\\bin\>start-bamboo.bat /fg  
'#' is not recognized as an internal or external command,  
operable program or batch file.  
'#' is not recognized as an internal or external command,  
operable program or batch file.  
'#set' is not recognized as an internal or external command,  
operable program or batch file.  
'#' is not recognized as an internal or external command,  
operable program or batch file.

Bamboo Server Edition  
Version : 6.3.0

<br />

If you encounter issues starting or stopping Bamboo Server, please see the Troub  
leshooting guide at <https://confluence.atlassian.com/display/BAMBOO/Installing+B>  
amboo+on+Windows

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined  
At least one of these environment variable is needed to run this program

What's going wrong?


Answers:
author: robhit
body: Hi Ruth,

Like it says

"Neither the JAVA_HOME nor the JRE_HOME environment variable is defined  
At least one of these environment variable is needed to run this program"

Check if your Java Home is configured properly.

    echo %JAVA_HOME%

It is case sensitive.

Thanks,

Robhit
Bamboo start
Asked by Ruth W?lti:

I have a problem starting the Bamboo Server.  
Java Enviroment:

C:\\Users\\administrator.REA\>echo %JAVA_HOME%  
%JAVA_HOME%

C:\\Users\\administrator.REA\>

<br />

<br />

Can not be started on the web or via the Bamboo Batch.


Answers:
author: somethingblue
body: Hi Ruth,

It looks like you may need to set your JAVA_HOME variable in Windows. To do this take a look at Setting the JAVA_HOME Variable in Windows.

Let me know if that helps. Once the path is set try starting Bamboo. If it still will not start provide the JAVA_HOME again. You should also see an error in the bamboo logs. Paste that snippet and a screenshot of any errors in the UI and we'll go from there.

Cheers,

Branden

comments: author: Ruth W?lti
body: Hi Branden

Thank you for your answer. That was the fault. - Java Home.....
Oracle JDK 1.8
Asked by Ruth W?lti:

Can't find JDK 1.8 on the Internet for download.

Do you mean with JDK 1.8 Oracle Version 8?


Answers:
author: Ellie Z _they_them_
body: Hi Ruth,

Thanks for reaching out to us!

Indeed, we are referring to Java 1.8, which is JDK 8.

Please download the version for your operating system from [Oracle's download website](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).

If there is anything else we can assist with, please don't hesitate to reach out!

Thanks,  
Elias \| Bamboo Support
Plan status isActive vs isBuilding
Asked by Lei P:

One can call following RestAPI to get Plan Detail

```

curl --user 'xxx':'xxx' -H "Accept: application/json" -X GET 'http://localhost:8085/rest/api/latest/plan/PRJ-PLANKEY2'

{"expand":"actions,stages,branches,variableContext","projectKey":"PRJ","projectName":"Project Name","project":{"key":"PRJ","name":"Project Name","description":"","link":{"href":"http://localhost:8085/rest/api/latest/project/PRJ","rel":"self"}},"description":"Plan created from (enter repository url of your plan)","shortName":"Plan2","buildName":"Plan2","shortKey":"PLANKEY2","type":"chain","enabled":true,"link":{"href":"http://localhost:8085/rest/api/latest/plan/PRJ-PLANKEY2","rel":"self"},"isFavourite":false,"isActive":true,"isBuilding":true,"averageBuildTimeInSeconds":5.0,"actions":{"size":7,"start-index":0,"max-result":7},"stages":{"size":2,"start-index":0,"max-result":2},"branches":{"size":0,"start-index":0,"max-result":0},"variableContext":{"size":1,"max-results":1},"key":"PRJ-PLANKEY2","name":"Project Name - Plan2","planKey":{"key":"PRJ-PLANKEY2"}}
```

What is the difference between Plan isActive and isBuilding?

If one want to find out if a Plan is running, which of these 2 parameter best fit the requirement?

Thanks!


Answers:
author: robhit
body: Hi Lei,

"isActive" - means that the build has been triggered.

"isBuilding" - means build execution has been started and the agent is executing it.

So "isBuilding" will be the best fit for your requirement.

To test the above:

1. Disable all the agents in the Bamboo.

2. Trigger the build.

\<Result\> - Since there is no agent to execute the build the "isActive" will become "true" and "isBuilding" will be "false"

1. Enable the agents and run the build again

\<Result\> - Both "isActive" and "isBuilding" will be "true"

Hope this will help.

Thanks,

Robhit

comments: author: BIF01
body: > "isActive" - means that the build has been triggered.
>
> "isBuilding" - means build execution has been started and the agent is executing it.

If we got from **/rest/api/latest/plan/{planKey}** the fields:

```
{ "isActive": true, "isBuilding": false }
```

then we'll found that planKey as queued build from **/rest/api/latest/queue?expand=queuedBuilds**?

Thanks in advance.

Cheers.
Trouble Creating Service Ticket
Asked by Demerle Lewis:

Hello Community,

Is anyone experiencing technical difficulties creating service tickets? As an admin I cannot create service tickets and users in my service group are experiencing the same issue. Any advice you can share would be greatly appreciated.

Thank you,

Demerle L.


Answers:
author: Dan Breyen
body: Hi [@Demerle Lewis](/t5/user/viewprofilepage/user-id/5232751) I'm not having any issues with my instance creating issues at this time. Looking at the [Atlassian Status Page](https://status.atlassian.com/) I don't see any reported issues relating to creating tickets.

I would say if it continues to persist, to open a ticket with [Atlassian Support](https://support.atlassian.com/contact/?support_type=customer&inquiry_category=#/) to get their input.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
Issue when installing tempo cost tracker
Asked by Anatole_P:

Hello  
We're trying since one week to install <https://wazoom.atlassian.net/jira/marketplace/discover/app/io.tempo.cost-tracker>

When we install it that say

''Unable to install Cost Tracker by Tempo. Unfortunately, we're facing a technical issue with the partner. You can contact the partner to know more about the issue.''

After creating the ticket on Tempo their team saying its an issue with Atlassian.After creating a ticket with Atlassian they said us we cant have technical support because we dont pay for all the jira product.

But still that product will not be free and we will be charged for

Anybody know from where that issue coming ?

thanks


Answers:
author: Joseph Chung Yin
body: [@Anatole_P](/t5/user/viewprofilepage/user-id/5445467) -

Welcome to the community. Your JSM subscription based on your posting is free, and when you utilize add-ons - typically it is under a trial (free) period for you to trying out the add-on. I seems that you did reach out to the vendor for their team for technical assistance, and they stated it was a problem on Atlassian side.

This could happen due to some possible network issue. Have you tried to contact Atlassian Support (<https://support.atlassian.com>) to ask them to see if the backend logs showing any further details on the add-on installation failure\>

Were there any detailed error messages you got when installing the add-on?

Please advise, so we can assist you further.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud