youngmon/atlassian-qna huggingface dataset:
bamboo-capabilities.properties file possible edge case with space in type
Asked by Brent P:

On a bamboo agent, I am trying to define visual studio as a capability in the bamboo-capabilities.properties file

![properties file.PNG](/t5/image/serverpage/image-id/187785iAEA4DD6CC68C35AE/image-size/large?v=v2&px=999 "properties file.PNG")

However, the space between visual and studio is causing it to not be picked up properly in the capabilities section of the agent. I cannot figure out a way to include the space in the properties file.

I also know the space is required. When configuring the agent through the menu on bamboo, visual studio has a space in it

![manual capability.PNG](/t5/image/serverpage/image-id/187792iD240834EB810D675/image-size/large?v=v2&px=999 "manual capability.PNG")

And when you add the capability to the agent, it appears as it should

![end result.PNG](/t5/image/serverpage/image-id/187793i7A04FA6064E256E7/image-size/large?v=v2&px=999 "end result.PNG")

The top capability is the one added through the menu, and the bottom one is added from the bamboo-capabilities.properties file

I looked through the documentation of bamboo-capabilities.properties, and I did not see an example of setting a capability in the file with a type that has a space in it. If there is no way to configure visual studio as a capability in the properties file, this may be worthy of a ticket


Answers:
author: Eduardo Alvarenga
body: Hello [@Brent P](/t5/user/viewprofilepage/user-id/4808244),

Welcome to **Atlassian Community**!

Please check the following KB that instructs how to export the capabilities list in the adequate format:

* [How to export a remote agent capability list to bamboo-capabilities.properties format](https://confluence.atlassian.com/bamkb/how-to-export-a-remote-agent-capability-list-to-bamboo-capabilities-properties-format-1108676050.html)

You don't have to necessarily run the export, instead, check for the listed examples that would contain spaces on its path.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Brent P
body: Hello,

So in the page you sent me, there is no example of a system.builder.\<executable type\>.\<executable label\>=\<executable path\> where the \<executable type\> has a space included


author: Eduardo Alvarenga
body: Hello [@Brent P](/t5/user/viewprofilepage/user-id/4808244)

Visual Studio executable type will default to "system.builder.***devenv.*** label**"**. The executable types are hardcoded and cannot be customised.

It is recommended that you run the API calls to extract the information from the UI and then use the output to create the capabilities file.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC
Running the Unit test task as different user then account that is running Bamboo
Asked by Kevin Stacey:

Hi All,  

Bamboo version 8.0.6  

We have Bamboo running as a service using a service account.  
I had a few users who are utilizing a unit runner task in some of their build plans.  

The unit tests are run as that same user that is running bamboo which makes sense.  
Is there a way to tell bamboo to use a different user or another solution?  

Instead of using a unit runner task, use a script task and definite the user to run the task in it? I apologize if this was been answered before.  


Answers:
author: Marcin Gardias
body: The only solution I can think of is to use a script task. You can then use test result parser task to read the test results.
Atlassian Python API - how to retrieve commit associated with a build ?
Asked by Naren:

We are a Atlassian Shop. We use Bamboo, Bitbucket, Confluence and Jira. I am trying to find out which commit/commits are associated with particular build.

I am trying to find out what Bitbucket commit is associated with my Bamboo Build.

http://\<base url\>/rest/api/latest/result/\<build key\>

It retrieves information minus commit. I see the commit information through the GUI.

Is there an API that can retrieve the commit information ?  

thanks


Answers:
author: Eduardo Alvarenga
body: Hello [@Naren](/t5/user/viewprofilepage/user-id/4706229)

Welcome to **Atlassian Community**!

To find the associated revision (commit/PR) for a nominated build you can use the following API syntax:

```
/result/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)|(latest)}?expand&favourite&start-index&max-results
```

Then look for the value of "vcsRevisionKey".

<https://docs.atlassian.com/atlassian-bamboo/REST/8.1.3/#d2e4105>

For example, considering my project is ABC, the plan is NOP and Build is 31:

```
$ curl -k -s -u admin:admin -X GET?-H "Accept: application/json" https://bamboo.mydomain.net/rest/api/latest/result/ABC-NOP-31 | jq -r ".vcsRevisionKey"
2c357d05bac57c09bdc588f5380d8fff25bf8693
```

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Naren
body: Thanks Eduardo


author: Eduardo Alvarenga
body: Hey [@Naren](/t5/user/viewprofilepage/user-id/4706229) please let us know if we can go ahead and close this thread by accepting this answer as a solution for this case.
[bamboo] no agents can build this job
Asked by Reneesh Kottakkalathil:

Hello all,

New to Bamboo. I'm seeing message "no agents". See the attached screenshots. Any thoughts to fix the issue?

![agents1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/186372i399FA954B7AA84A4/image-size/large?v=v2&px=999 "agents1.jpg")

![agnets.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/186371i5A3FC440A461E43D/image-size/large?v=v2&px=999 "agnets.jpg")


Answers:
author: Vani
body: Hi Reneesh,

Welcome to Atlassian Community.

We understand that you are getting the "No Agent to build this job" error on your plan.

As per your Job **requirements**screenshot, we could see that none of your agents has Ant 1.9 installed to run your job.

A requirement specifies a [capability](https://confluence.atlassian.com/bamboo/capability-289277445.html) that an [agent](https://confluence.atlassian.com/bamboo/agent-289277442.html) must have for it to [build](https://confluence.atlassian.com/bamboo/build-289277449.html) that job or task.

Please refer: [Configuring a job's requirements](https://confluence.atlassian.com/bamboo/configuring-a-job-s-requirements-289277064.html#Configuringajob'srequirements-currentcapableagents) and [Agents and capabilities](https://confluence.atlassian.com/bamboo/agents-and-capabilities-289277114.html) for more details.

Please let us know if you need more help on this.

Thanks

Vani
Git error when running job in Docker Container
Asked by Philip White:

We're running an on-prem installation of Bamboo 6.5. I'm trying to setup a build job to run in a docker container. However, at one point I run a script in the job which runs  

```
git diff master --name-only
```

This command fails with:  

```
error: object directory /var/atlassian/application-data/bamboo/xml-data/build-dir/_git-repositories-cache/a8a7e8c0985e56b918179b7d01e7ed1189667581/.git/objects does not exist; check .git/objects/info/alternates

fatal: bad object master

```

I have git 1.8 on the server running Bamboo and the Docker container is running git version 2.34.1, which might be the source of the error. I see that Bamboo creates a docker volume for the pulled source, but I do specify that a clean clone be done every time, and I thought the git clone or pull happens in the container, not in the host. I don't think I can update the global version of git on the Bamboo host at this time, and it doesn't seem too easy to install an older version of git in the container.

Any suggestions?


Answers:
author: Philip White
body: I wish I'd read the error message more carefully at first. I had assumed it was having trouble with the .git/object directory in the local repo, but the path is actually the remote, which is some kind of git cache bamboo makes. That remote is in the local file system but was not mapped in the docker container.

So I mapped /var/atlassian/application-data/bamboo/xml-data/build-dir/_git-repositories-cache as a docker volume and I'm able to run git commands within the container now.

I was also mistaken in assuming that the git clone happens inside the container. It happens on the host.
I am trying to run Batch file from Bamboo into Windows server but not getting executed.
Asked by Lalit Soni:

Hello,

I am trying to run Utility.bat command from SCRIPT TASK (Powershell Interpretor) which needs to run on destination server. But it is not exactly running the Batch command in Server's CMD.

Any solution to this please, Thanks in advance.


Answers:
author: Lalit Soni
body: While i debug the problem, when i run same PWShell script in server, it runs perfectly. When i trigger that same script from outside its not running.

when i run in server, it pop up cmd screen to run batch file. Thats why not running in powershell because not able to open cmd screen.

Any solution to skip pop up cmd screen.


Tags: script
Upgrade Bamboo Server to 8.1.2
Asked by Stefan Haus:

Dear Atlassian Support,

we like to upgrade our Bamboo Server from 6.10.10 to 8.1.2.  
After start of 8.1.2, we get the message  
"Bamboo bootstrap failed: Unable to run pre-bootstrap upgrade tasks as your support period has ended."  
The current license is valid, what is to do to extend the support period?

Best regards  
Stefan Haus


Answers:
author: Joshua Sneed Contegix
body: Hi Stefan,  
I believe you need to file a ticket to contact Atlassian support, <https://support.atlassian.com/contact/>.  
I will disagree with your statement that the license is valid as Bamboo says it is not valid. Follow <https://confluence.atlassian.com/bamkb/unable-to-run-pre-bootstrap-upgrade-tasks-as-your-support-period-has-ended-762874747.html> to place a valid license and start/restart the service. Cheers!
Prevent Bamboo from being indexed by search engines
Asked by Derek Clarke:

I used the ec2 wizard to install bamboo on an EC2 instance in AWS. It has been running for years, but I now want to prevent search engines from listing the bamboo servers URL.

I found this page:

<https://confluence.atlassian.com/bamkb/prevent-bamboo-from-being-indexed-by-search-engines-1005322757.html>

However, after a lot of searching, I still don't know where the \<bamboo-install\>/atlassian-bamboo/ directory is on my server.

Can anyone tell me where the default location of this directory is on a bamboo server installed using the ec2 wisard as described here:

<https://confluence.atlassian.com/bamboo0700/running-bamboo-server-in-aws-1014681759.html>

Any help is much appreciated.


Answers:
author: Eduardo Alvarenga
body: Hello [@Derek Clarke](/t5/user/viewprofilepage/user-id/3934963)

The default Bamboo install directory used by the Bamboo EC2 Wizards is */media/atlassian-data* . You will find the *atlassian-bamboo* directory under:

*

  ```
  /media/atlassian-data/installs/bamboo/current/
  ```

It may be different for your case, so you may need the whole search for the \<atlassian-bamboo\> directory:

*

  ```
  # find / -type d -name atlassian-bamboo
  ```

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Derek Clarke
body: That did the trick. Thanks for the help, much appreciated.


Tags: aws

robots.txt

ubuntu
Can Bamboo compile AutoIt
Asked by Constantin Balan:

Hey, so i'm looking to use a CI/CD tool to run AutoIt(.au3) scripts. My question is if Bamboo supports running said scripts.


Answers:
author: Anonymous Coward
body: Simon says:

\` Bamboo does not natively support those scripts but you can use a Bamboo Script Task to run the AutoIt script. You would need to roughly follow these steps:

1. Install AutoIt on your Bamboo agent.

2. verify that you can run from a terminal on the agent (as the same user that you run the agent) the following command:

AutoIt.exe \<your_script\>.au3

3. Create a Bamboo plan with a job in it.

4. In the job create a Bamboo Script task and use the command in step 2 in the task.

5. Run your plan.

If the command in Step 2 does not work there may be environmental configuration mistakes, such as your AutoIt.exe binary not being present in the PATH. If you prefer not to have it in the PATH then you can use the absolute path to the binary in the Script task:

C:\\ \<blah\>\\AutoIt.exe \<your_script\>.au3

A few things that you should check if the plan hangs on run or the Script task is reported as failed:

- make sure that the AutoIt script does not block.

- check if the AutoIt executable returns 0 on success or another value. Bamboo assumes success if the binary returns 0 on exit, in the good old UNIX tradition. If the binary is not well behaved then the script may run correctly but Bamboo considers it failed.

I hope this helps. \`

Simon out.
How to POST data into an api.statuspage.io endpoint, getting 404?
Asked by Narendra Kadhirvelu:

Hi All,

I have an issue when trying to POST data related to OPERATIONAL status of an application into statuspage API endpoint i.e Page/Page_ID -\> Component/Component_ID(the endpoint).

I am running a PYTHON script and able to GET details for the component_id from the endpoint, but getting an ERROR-404 during the POST.

RESPONSE_MESSAGE : b'{"error":"The requested resource could not be found."}'

NOTE : (1) The API_KEY being used is VALID and authorized to access the API. (2) Error out only when we POST.

Please let me know what other details to be checked before making a POST request to the API endpoint, let know if you require any additional information.

Regards,

Naren


Answers:
author: Jesse Klein
body: Hello Naren,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for the question. For the API, we use PUT and PATCH requests. I am not entirely sure how your code is written but this might be causing the issues you are having if you specifically use POST.

Please take a look here as well to see if you have everything required for the request: <https://developer.statuspage.io/#operation/putPagesPageIdComponentsComponentId>

Hopefully that helps. I hope you have a great day!

Regards,  
Jesse

comments: author: Nikolay Kojuharov
body: Any way you can add support for POST? A lot of systems out there (e.g. New Relic) only support POST webhooks.


author: Jesse Klein
body: Hi Nikolay,

We do support POST on some functionality in our API. Any creation of incidents or components should be using POST while updating incidents or components would be either a PUT or a PATCH since it is not creating a new resource. That would be the only way that our API could accept data so in the case of only being able to work with POST, you would need to take the data from New Relic and put it into a format that our API could accept if you were updating anything that already exists. I don't see this as something that we would be able to change unfortunately. Please let me know if you have any other questions.

Regards,  
Jesse


Tags: cloud
Changing the SLA for status page components to 30 days
Asked by hamza.busuri:

One of our requirements is to change the SLAs for status page components from 90 days to 30 days. I was wondering if anyone has managed to achieve this? I can see that the SLA graph showing uptime is in an SVG format and modifying it using javascript might be a little bit tricky.

Any help would be appreciated!


Answers:
author: Jesse Klein
body: Hello Hamza,

This is Jesse from the Statuspage support team. Welcome to the community! Changing the amount of time that the component uptime showcase shows might be able to be done using custom CSS. I tried to take a look and see if I could come up with something to share. The closest I got was to remove the entire bar graph and leave only the uptime percentage:

```
.availability-time-line-graphic {display: none}
```

You might be able to manipulate that. Unfortunately, besides what we have on the help page <https://support.atlassian.com/statuspage/docs/use-custom-css-on-a-status-page/> we don't really have any good answers that we can provide.

Hopefully someone in the community also has some suggestions for you as well. I hope you have a great day!

Regards,  
Jesse


Tags: cloud
How to make status page public
Asked by Shivraj Waghmare:

Can some one tell me how to make status page public for general audience?

Right now i have private page


Answers:
author: Charlie Misonne
body: If you are on a trials you can switch it yourself.

If you are on a paying subscription you need to contact support.

Read more on [this page](https://support.atlassian.com/statuspage/docs/switch-your-trial-page-type/)


Tags: cloud
Questions about dates and notice when creating incidents
Asked by Yusuke Yoda:

I'm currently trying out the evaluation version, and I've seen some behavior that is different from what I expected, so I'd like to ask a question.

1. For some reason, an incident created by the [API](https://developer.statuspage.io/#operation/postPagesPageIdIncidents) on Oct 17 02:15 Japan time is displayed as Oct 16 02:15.  
Why is this? By the way, is there any way to rewrite the creation time with an arbitrary value?

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

<br />

2. I was unable to receive email even though I was subscribing to an email during the time the incident occurred and until it was resolved. If the incident occurred for an extremely short period of time (e.g. when it was resolved in 1 minute), is it possible that the email was not received?

Is there anything I need to do to make sure I receive notifications even if the incident is only for a short time?


Answers:
author: Abraham Musalem
body: Hey Yuske,

Abraham here with Statuspage support. Thanks for reaching out.   

The time difference here might actually be a bug so thanks for bringing that up. Would you mind opening a ticket with us at <https://support.atlassian.com/statuspage/> and report this time discrepancy in there?   

As far as the notification issue, it might have been that you did not pick an affected component when creating the incident. We will only send notifications if an affected component it picked upon creation of the incident.   

Cheers,  

- Abraham

comments: author: Yusuke Yoda
body: Thanks for the reply.  
I'll make sure to report the time difference issue in the ticket.  
I'll double check the notification issue.


Tags: cloud
Unable to select affected components when doing a "Backfill an incident that happened in the past"
Asked by Vuthda Tith:

Hello,

I would like to know how I can select affected components when I want to create an incident but for previous date. I know I would be selecting "Backfill an incident that happened in the past" but I am not able to select the affected components.

Thank you,

Vuthda


Answers:
author: Jesse Klein
body: Hello Vudha,

This is Jesse from the Statuspage support team. Welcome to the community! I have actually just answered this same question in a post on the 15th of October. Please take a look here for that process and answer: <https://community.atlassian.com/t5/Statuspage-questions/Why-isn-t-it-possible-to-choose-components-on-backfilled/qaq-p/1835098>

I hope you have a great day!

Regards,  
Jesse


Tags: cloud
Where do I find this "Opsgenie Statuspage Integration page"?
Asked by terry_soles:

I am trying to setup the connection between Opsgenie and Statuspage and I found some document that says "Go to OpsgenieStatuspage Integration page" but it doesn't tell me how to get to this page and I am not finding it.

Can someone tell me where to find this integration page?


Answers:
author: Mykenna Cepek
body: I'm assuming you're referring to the [StatusPage](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-statuspage/) product integration.

Start in the "Settings" tab in Opsgenie, and click on "Configured Integrations" in the left sidebar. If Statuspage **is** listed there, click on it. You'll be in the desired page.

If Statuspage **is** **not** listed as an existing integration, then click on "Integration List" in the left sidebar. Search for "Statuspage" and click "Add" for that integration. Now you'll be on the desired page, configuring the new integration. The integration won't exist in Opsgenie until you complete the "Instructions to configure the webhook on Statuspage" on that page, *and* the configuration page itself including the "Save integration" button at the bottom.


Tags: cloud

opsgenie
Change the favicon according to the status of the components.
Asked by choi:

Hello,

by default, the color of the favicon changes depending on the component's status.  
in ?Customize page and emails?, If I upload a custom Fabicon image,  
is it impossible to set another Fabicon in case of a conforment outage?

Thanks.


Answers:
author: Jesse Klein
body: Hello Choi,

This is Jesse from the Statuspage support team. Thanks for reaching out to the community. Unfortunately, if you set your own favicon, it replaces the functionality of changing colors for the component statuses. At this time, there are no plans to change this. If you want to have the favicon change, you will need to leave it set to the default. My apologies for the inconvenience.

Regards,  
Jesse
Plan rate-limit or HA differences?
Asked by Perry_Statham:

The plan pricing page <https://www.atlassian.com/software/statuspage/pricing> does not mention any differences in rate-limiting or high-availability.

Can someone from Atlassian confirm that all public, private, and audience-specific plans -- regardless of price -- have the same rate limits and are hosted across multiple clouds

TIA


Answers:
author: Abraham Musalem
body: Hey Perry,   

Thanks for reaching out. The Manage API is limited to 60 requests per minute. The Status API is not rate limited. You can read more about the difference here: <https://support.atlassian.com/statuspage/docs/what-are-the-different-apis-under-statuspage/>  

This is the same for all page types!   

Cheers,   

-Abe

comments: author: Perry_Statham
body: Thanks Abe.

This is true regardless of plan?

Since the status API is not rate limited, then the page views are also not limited?

What about HA?
When using the statuspage embed, how soon do maintenance notifications/popups show?
Asked by Bryan Matias:

See the subject line.


Answers:
author: Jesse Klein
body: Hello Bryan,

This is Jesse from the Statuspage support team. For this I would point you here to the status embed help page: <https://support.atlassian.com/statuspage/docs/what-is-status-embed/>

It mentions the following:
> The status embed for maintenance is shown 24 hours prior to the maintenance occurring and during ongoing maintenance, until the page viewer closes the status embed flag.

Please let me know if you have any other questions around this. I hope you have a great day!

Regards,  
Jesse

comments: author: Bryan Matias
body: Totally missed that, thanks!


Tags: cloud
Need to add more team members to a plan
Asked by Danny Aujla:

Hello,

I would need to add some more teams members to a plan. In my case, I need to add 10 more users.

How can this be done and what's the cost?

Thanks,

Danny


Answers:
author: Callum Carlile _Automation Consultants_
body: Hi [@Danny Aujla](/t5/user/viewprofilepage/user-id/4115402)

A user will be allocated a license to a product if they are associated with a group assigned to the product. You can add users to these groups via [admin.atlassian.com](https://admin.atlassian.com/) and then go to Product Access to see the groups in which users will be assigned a license. You will need to upgrade your plan if you are on the free version of Jira, and can do this under Manage Subscriptions.

Based on your billing method/subscription plan, you can use this [calculator](https://www.atlassian.com/software/pricing-calculator) to work out what any additional costs may be.

Hope this helps!


Tags: cloud