youngmon/atlassian-qna huggingface dataset:
Disable planbranch cleanup in database for specific branches
Asked by HeWi:

As I've learned so far ([Planbranch cleanup option in database](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-planbranch-setting-to-prevent-deletion-pendant-in/qaq-p/2029328)), the planbranch setting "Clean up plan branch automatically" is stored in the Bamboo database in the table BUILD_DEFINITION (column: XML_DEFINITION_DATA):

```
<cleanup><disabled>true</disabled></cleanup>
```

With the column being an NTEXT column, it is kind of laborious, if the switch would have to be toggled, I would have to work with temporary tables, doing casting, etc.

Isn't there an easier way to disable the setting "Clean up plan branch automatically" (i.e. the XML_DEFINITION_DATA value) automatically for specific branch types (i.e. bugfix/)?

Both two expiry settings need to be taken into consideration:

* cleanup due to git delete branch
* cleanup due to branch inactivity

Is the only chance to look for bugfix/ branches in the tables and set disabled to true in the XML?


Answers:
author: Eduardo Alvarenga
body: Hello [@HeWi](/t5/user/viewprofilepage/user-id/3583857),

Unfortunately, a programmatic way to enable/disable the branch cleanup is not available in Bamboo.

Please check the following feature request for more details. Make sure to follow and vote it so you'll get notified of any future implementations of it. You can even add your specific case as a comment; that will help the developers prioritise it and consider it as a candidate.

* [BAM-18532: Allow regular expression control of plan branch deletion](https://jira.atlassian.com/browse/BAM-18532)

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: HeWi
body: Hello [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) ,

that's what I did guess, but very interesting to see, that others have already thought about the same problem, thanks for the link to the feature request. Unfortunately I don't have much hope, only 7 Watchers, created in 2017 already, not many responses, but nonetheless I did add a comment.


Tags: plan
Allow caching of repositories on remote agents to save bandwidth. Note that caches are always full c
Asked by can ma:

Hi All:

I got the following fatal message about git clone message, when I use bamboo.

**19-May-2022 05:33:50 fatal: write error: Bad file descriptor**   
**19-May-2022 05:33:50 fatal: index-pack failed**

for optimization : bamboo tool has two options,

**1. Use shallow clones**   
Allows Bamboo to perform shallow clones (i.e. history truncated to a specified number of revisions). This should increase the speed of the initial code checkouts, however if your build depends on the full repository history, we recommend that you do not use this option. Shallow clones are enabled by default.

**2. Enable repository caching on remote agents**   
Allow caching of repositories on remote agents to save bandwidth. Note that caches are always full clones of the source repository

I feel two options that have conflicts.

**if we use cache and select 2, we have to use full clones ?**

**if we select 1, we cannot select 2, since shallow clones cannot store a lot of history?**

**but I can see the tool allows us to select both. It is very interesting to know if what' should happen if selecting both.**

**I have to admit I might have a slow network interface which git clone problem. But how to improve from bamboo......or other tools?**


Answers:
author: full name
body: I would like to see an answer for this. It's correct that the two option descriptions conflict but that you can enable them both at the same time, so it makes no sense and the behavior is unclear.


Tags: git
Bamboo Database Table/Field Location of the Linked Repo settings
Asked by Conor O'Higgins:

Hi,

I'm trying to find the location in the DB for the field(s) that stores the status of the ***Access all projects*** and ***Access all repositories*** setting in the Linked Repos. there is a db table ***vcs_location*** that has a ***xml_definition_data*** that captures all of the repository settings ++***except***++ the status of these two fields. The data located in the ***xml_definition_data***field does have the record if Bamboo specs are enabled on a repositories or not.

![linked-repo-setting.png](https://community.atlassian.com/t5/image/serverpage/image-id/197970i97257B52E39B68FD/image-size/large?v=v2&px=999 "linked-repo-setting.png")

I can make the change in the UI and get a record in the audit table detailing that I made the change however I can't find the source of this in the DB itself in order to query which linked repos have this configured or not.

I have checked across a range of the DB tables and read over the online Bamboo Schema however I can't find anything in regards the location of this setting stored in the DB.

The bamboo version I'm using is: 7.1.1


Answers:
author: Eduardo Alvarenga
body: Hey [@Conor O_Higgins](/t5/user/viewprofilepage/user-id/4933493), Welcome to **Atlassian Community**!

The information you are looking for is in the BANDANA table.

The repository ID will be listed as an XML element on *serialised_data*

```
SELECT * FROM BANDANA WHERE BANDANA_KEY LIKE 'bamboo.specs.all.%'
```

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC


author: Conor O'Higgins
body: Thanks [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410)


Tags: database

spec
tar bamboo-home folder
Asked by Reneesh Kottakkalathil:

We're planning to upgrade Bamboo. One of the pre-requisite is to take a backup of the bamboo-home directory. However, the bamboo-home directory is so huge that tar will take longer and we don't have enough space for the tar backup. I'm looking for advise on how do you all manage this situation when performing an upgrade.


Answers:
author: Ronald Bolante
body: Hi [@Reneesh Kottakkalathil](/t5/user/viewprofilepage/user-id/1202532) ,

You can create a backup of or archive **ALL folders except the following**:

* artifacts
* export (if it exists)
* import (if it exists)
* logs

You're going to perform an upgrade (and not a migration, for example) and the artifacts folder will still be there even if the upgrade fails. This does not mean you can delete that folder. You will need it in case you need to roll-back the upgrade.

I learned this from one of the Atlassian Support guys.

Hope that helps.

comments: author: Reneesh Kottakkalathil
body: Hi Ronald,

Thanks for the inputs. Could you please send me the steps in the event of a rollback?


author: Ronald Bolante
body: Hi [@Reneesh Kottakkalathil](/t5/user/viewprofilepage/user-id/1202532) ,

No worries, more than happy to share.

I think before I send you the steps I need to give the upgrade steps first to be clear about what needs to be done.

**Upgrade steps:**

1. Create support zip
2. Upgrade plugins that need upgrading
3. Stop Bamboo service
4. Create a backup of all folders except:
   * artifacts
   * export
   * import
   * logs
5. Create a DB backup
6. Do the Bamboo upgrade
7. Start Bamboo service
8. Upgrade plugins that need upgrading
9. Conduct technical PIV

**Rollback plan:**

1. Stop Bamboo service
2. Restore the DB backup
3. Point the symlink to old version
4. Start Bamboo service

Hope this helps


author: Reneesh Kottakkalathil
body: Thanks for the detailed steps. Don't we have to rollback the bamboo-home folder that we backed up(before upgrade) and copy back the folders(artifact, export,..)that we excluded?


author: Ronald Bolante
body: Hi [@Reneesh Kottakkalathil](/t5/user/viewprofilepage/user-id/1202532) ,

Thank you for pointing that out. Yes, you are right how can I miss that.

Here is the updated rollback plan.

**Rollback plan:**

1. Stop Bamboo service
2. Restore the DB backup
3. Re-point the symlink to old version (bamboo-install)
4. Restore backup of bamboo-home (Upgrade step #4)
5. Start Bamboo service

I need to emphasise as well that I haven't had any chance of testing a rollback. This is a recommendation from Atlassian Support. I will get back to you once I get the chance to test it.


Tags: server
how to retrieve admin username and password in bamboo? i forgot my admin username and password
Asked by Abhinendra Singh:

Hi

how to retrieve admin username and password in bamboo? i forgot my admin username and password.

Pls help


Answers:
author: Eduardo Alvarenga
body: Hello [@Abhinendra Singh](/t5/user/viewprofilepage/user-id/4932978) Welcome to **Atlassian Community!**

Please check the following KB article:

* [Lockout recovery process](https://confluence.atlassian.com/bamboo/lockout-recovery-process-952624910.html)

Regards,

Eduardo Alvarenga  
Atlassian Support APAC
Bamboo Specs - Permissions issue creating a deployment plan
Asked by Pablo Rodriguez:

Hi,

I'm trying to create a deployment plan by command line from mi bamboo specs in java. When I'm trying to create it I get a permission error saying that I don't have permission to create the deployment plan. If I try to create the deployment plan manually through the browser I can do it without problems using the same user.

As info, my user has admin permissions, and the token created to use in the bamboo spec was created with the option to have the same privileges as the user. I also performed tests using the .credentials file with my username and password obtaining the same error (example in the github link below)

The error is the following:

"Execution default-cli of goal com.atlassian.bamboo:bamboo-specs-runner:8.0.5:run failed: java.lang.reflect.InvocationTargetException: An error occurred while publishing deployment CAP-NEWBETEST: You don''t have CREATE permission to import deployment project. -\> \[Help 1\]"

![DeploymentPlanPermissionError.png](/t5/image/serverpage/image-id/197849i65CAE4D88335DCF2/image-size/large?v=v2&px=999 "DeploymentPlanPermissionError.png")

Is there any way to be able to create the deployment plan directly from bamboo specs?

The bamboo version I'm using is: **8.0.5 build 80013**

**Source Code of the error:** <https://github.com/paruuy/bamboo-specs-example>

thank you


Answers:
author: Ronald Bolante
body: Please make sure that the Personal Access Token that you're using had the "Same as user" tick when you created it.

![2022-05-20 17_50_33-Create a personal access token - Atlassian Bamboo and 112 more pages - Work - Mi.png](https://community.atlassian.com/t5/image/serverpage/image-id/198293iE98ECC459690F4C5/image-size/large?v=v2&px=999 "2022-05-20 17_50_33-Create a personal access token - Atlassian Bamboo and 112 more pages - Work - Mi.png")

comments: author: Pablo Rodriguez
body: Hi [@Ronald Bolante](/t5/user/viewprofilepage/user-id/4875461) ,

The token I'm using already has this option. I can create a building plan without problems, the only problem is with the deployment plan that returns the error that I don't have permissions.

I've seen answers from 2018 saying that it was not possible to create a deployment plan directly from the command line without having created the empty plan first by browser manually. But I believe that in these 4 years with the change of versions of Bamboo maybe that changed.

thank you


Tags: java

spec
GET on rest/api/latest/project/ , project without a plan, doesn't return project
Asked by Mark Milford:

GET on rest/api/latest/project/ , project without a plan, doesn't return project.

When creating a PROJECT via API, then attempting to GET on project, if there is no plan built, it returns a 404 "Project KEYHERE not found."

Is this expected behavior?

Version 8.13.5 - SERVER.


Answers:
author: Mark Milford
body: Ack, found the showEmpty parameter... whoops.

e.g. Project NEW with no plans returns 404 when querying :

api/latest/project/NEW

but shows up when querying

api/latest/project/NEW?showEmpty=true
bamboo build expiry
Asked by Reneesh Kottakkalathil:

Trying to configure the global build expiry configuration. I would like to know what do you all use as your global build expiry configuration?


Answers:
author: Eduardo Alvarenga
body: Hello [@Reneesh Kottakkalathil](/t5/user/viewprofilepage/user-id/1202532)

Check these two KBs:

* [Configuring global expiry](https://confluence.atlassian.com/bamboo/configuring-global-expiry-289277253.html)
* [Configuring build results expiry for a plan](https://confluence.atlassian.com/bamboo/configuring-build-results-expiry-for-a-plan-289276917.html)

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC


Tags: server
Does anyone know of any helpful scripts for Bamboo 8.2 disk cleanup, dependency resolvers, anything?
Asked by Dave:

Does anyone know of any helpful scripts for Bamboo 8.2 disk cleanup, dependency resolvers, anything? Just check to see what's out there and to find out if anyone has had any brilliant ideas they're willing to share.


Answers:
author: Eduardo Alvarenga
body: Hey [@Dave](/t5/user/viewprofilepage/user-id/4661318), Welcome to **Atlassian Community!**

Please check the following KB article.

* [Disk space hotspots and cleanup best practices in Bamboo](https://confluence.atlassian.com/bamkb/disk-space-hotspots-and-cleanup-best-practices-in-bamboo-1079351744.html)

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Dave
body: Sweet! Thanks, Eduardo!
Running Bamboo as a Windows service gives 1053 error
Asked by Devendar Gangapuram:

Hi Team,

Before some windows updates, our Bamboo was running Bamboo as a Windows service but suddenly, winodws got updated and since then, when we try to configure again, it gives 1053 error: please refer below screen.

![1053 error- Bamboo as windows service.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/196862iCF7DAF730287AC79/image-size/large?v=v2&px=999 "1053 error- Bamboo as windows service.PNG")

We have 2 JAVA versions installed on the windows machine where Bmaboo is running, could be the issue?

![Two diff Java versions.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/196870iA2075A3C971BD3F1/image-size/large?v=v2&px=999 "Two diff Java versions.PNG")

Please need your assistance to resolve this 1053 issue and need to configure Bamboo as windows service.

Thank you,

Dev G.


Answers:
author: Devendar Gangapuram
body: Hi,

Some one please assist me on this...

Thanks in advance.

Dev G


Tags: service

windows
Hung build killer in AMP bamboo during coverity scan
Asked by Mamatha:

Build jobs are consistently being killed by the hung build killer during coverity scan. I originally raised this against coverity support . However as part of the work on that ticket it's becoming clear that I can't really tweak the COV_ANALYZE_OPTS to speed things up, because they are mandated by cyber security.

How else can we ensure the hung build killer does not reap jobs that are running coverity scans and not producing log output for 20 minutes?


Answers:
author: Alexey Chystoprudov
body: you can disable HBK for job.

See

![Screenshot 2022-05-11 at 10.33.44.png](https://community.atlassian.com/t5/image/serverpage/image-id/196789iE2F9A5198C0C9451/image-size/large?v=v2&px=999 "Screenshot 2022-05-11 at 10.33.44.png")
Trigger a Plan when downloaded Artifacts from another plan are updated
Asked by Ben:

I have a build plan for a library that publishes the binary as a shared artifact. I have build plans for several applications that consume the library via an Artifact Download task. When the library changes, I want the application build plans to trigger so they re-build against the newer version of the library.

I know I can go the Library plan and add each of the applications as a "Child" plan. That will trigger them. But this seems backwards to me. I shouldn't need to go to a library and add links to each application that consumes it. It would require admin privileges' on that library, even though I'm only a user of it. Ideally the Artifact Download task should already imply a dependency and should act as a trigger.

Do I have the wrong idea here? Why are "child plans" the standard approach when it seems me a "depends on" relationship in the other direction would be more natural?


Answers:
author: Eduardo Alvarenga
body: Hello [@Ben](/t5/user/viewprofilepage/user-id/4919898) Welcome to **Atlassian Community**!

We have a feature request that suggests adding such a feature:

* <https://jira.atlassian.com/browse/BAM-14981>

Make sure to vote on it and make yourself a watcher so you will get notified of any changes to it.

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC
api_id not found
Asked by anuj tyagi:

<https://github.com/statusio/statusio-python>

This seems to be the official Python client library and it mentions usage of api_id which I can't find.   
I got api_key and can see page_id in url but not sure what should be the api_id. Any suggestions?

From error, I am getting it seems it should be an integer but I am not confident on it.


Answers:
author: Rahul S
body: Hi Anuj,

Rahul here, with the Statuspage Team

The python package at Github <https://github.com/statusio/statusio-python> belongs to a different Product 'Status.io' and does not belong to Atlassian 'Statuspage'.

Is there anything particular feature or functionality you are looking for with regards to Statuspage? Let me know, I'd be happy to check further on it.

Kind regards,  
Rahul  


Tags: python
Using same subdomain for email and page
Asked by Matt Madzia:

I am attempting to do the following:

1. set up custom DNS for our status page, attempting to use <https://status.mydomain.com>
2. set up custom email for the same domain, noreply@status.mydomain.com

I am able to set up a CNAME for status.mydomain.com, and I was able to set up the email DKIM and CNAMEs.

However, it is requiring a TXT record for domain ownership and SPF. AFAIK you can't have a TXT record and CNAME record with the same hostname. My DNS provider is not allowing me to add a TXT record with the same hostname as well. Is having DKIM enough for custom emails, or am I forced to use different subdomains for email and the page?

![Screenshot 2022-01-31 125812.png](/t5/image/serverpage/image-id/180838i087D0D3C51E9D871/image-size/large?v=v2&px=999 "Screenshot 2022-01-31 125812.png")


Answers:
author: Scot Wilson
body: G'day Matt!  
I'm Scot, from the Statuspage Support team in the APAC region.  

You're absolutely right you can't put a TXT record on a CNAME record - RFC 1034 doesn't allow this! Fortunately you can apply it to the APEX domain record as per our Statuspage documentation on [configure-your-dns](https://support.atlassian.com/statuspage/docs/configure-your-dns/),

*If your domain is a subdomain the record can be placed on the subdomain itself or the apex domain. Both will be checked to complete verification for domain ownership.*

So to setup the domain ownership - you need to add the TXT record to your *mydomain.com* DNS entry, and we'll reference that when doing the domain ownership check for you.  

Kind Regards,  
Scot.  

comments: author: Matt Madzia
body: Thanks for the info, this is helpful!


Tags: cloud

dns
After getting everything set up can i use this platform for affiliate marketing?
Asked by Jessica Hunter:

Would i be able integrate with affiliate marketing programs,? If so how?

Thank you for your time

Jessica83hunny.


Answers:
author: Jesse Klein
body: Hello Jessica,

This is Jesse from the Statuspage support team. Welcome to the community and thank you for your question around using the platform for affiliate marketing.

Statuspage's intended use is around incident communication. If something were to break within a system or a process in your company, Statuspage could be used to get that information out to stakeholders. This really would not be the platform to use for any affiliate marketing.

That being said, I am curious what your use case would be to see if I am understanding this correctly. If you could provide some additional information around that, I would be happy to provide some more information.

Thanks for your time!

Regards,  
Jesse


Tags: cloud
Subscribe to Microsoft service health with statuspage
Asked by Joseph:

Has any one figured out a way to subscribe to the service health of Microsofts services? They are available for customers at <https://admin.microsoft.com> and can also be received by email.

I am looking for a way that our users see if Microsoft Teams is working or if there are known issues.


Answers:
author: Abraham Musalem
body: Hey Joseph,

Thanks for reaching out. Unfortunately [https://admin.microsoft.com](https://admin.microsoft.com/) is not affiliated with Statuspage or Atalssian. It might be worth reaching out to their support for ways to get this done.   

Cheers,


Tags: ms-teams
Twitter app: Update at start and close of maintenance window
Asked by Sean Ivester:

Hi,

I recently integrated the Twitter application for status.io.

I thought that I had configured everything correctly but was confused when I saw the tweet that went out this morning...

![Screen Shot 2022-01-27 at 10.16.14 AM.png](/t5/image/serverpage/image-id/180354iD7B8DF3B48BE8489/image-size/large?v=v2&px=999 "Screen Shot 2022-01-27 at 10.16.14 AM.png")

A couple of things to call out:

1) This tweet went out at the end of the maintenance window, not the beginning

2) It looks like the "Completed:...." language was combined with my original language instead of as a thread

3) Is there a way to set what the "Completed:...." language is

Thanks for the help!

Sean


Answers:
author: Talar Pavlovic
body: Hi there Sean,

Thanks for writing into Statuspage Community, I'm Talar from the Atlassian team, happy to help!

Q1 and Q2 - could I suggest you create a support ticket with us so we can do a deep dive and see what happened there. You can do this via [https://support.atlassian.com](https://support.atlassian.com?)

Q3 - Is there a way to set what the "Completed:...." language is

* Automated Maintenance completion: No, this isn't possible
* Manual Maintenance completion: Yes, you can provide your own copy that will then be tweeted out in the format: "Completed: ________"

Hope this helps ??

Regards,  
Talar


Tags: cloud
I want to show API response time on my page
Asked by Tran Tuan Minh:

I want to show API response time on my page. Discord have that in discord's status page. I want too


Answers:
author: Jesse Klein
body: Hello Tran,

This is Jesse from the Statuspage support team. Welcome to the community and thank you for the question around wanting to add API response time.

Discord is doing this by utilizing the system metrics feature of Statuspage: <https://support.atlassian.com/statuspage/docs/what-are-system-metrics/>

I would take a look at that article as it gives the details to add this information yourself or using a third party like Datadog.

I hope that helps get you started and I hope you have a fantastic day!

Regards,  
Jesse


Tags: cloud
PagerDuty App - Business Services
Asked by Kilian Woods:

Greetings,

Are there any plans to support 'Business Services' from PagerDuty in Statuspage?

Current (Technical) Services are supported (https://\<domain\>.pagerduty.com/service-directory) but it would be powerful to have Business Services (https://\<domain\>.pagerduty.com/business-services) available so that major incidents can more easily be integrated into Statuspage.

Thanks,

Kilian.


Answers:
author: Jesse Klein
body: Hello Kilian,

This is Jesse from the Statuspage support team. Thanks for the question and welcome to the community. We don't have any plans to implement business services directly into Statuspage at this time. I was taking a look at the business services in Pagerduty, however, to get a better understanding of them and it appears that business services link to groups of technical services. One thing I did notice is that technical services are services that you can trigger incidents off of and you can create dependencies with business services. I am a bit unfamiliar with the business services side of Pagerduty and I can't quite seem to get the business services to link in my incidents. Can you give me some background of your use case and what exactly you would like to be able to do? I can then open a feature request for us to have our product team take a look. Thanks for your time!

Regards,  
Jesse


Tags: cloud

pagerduty