youngmon/atlassian-qna huggingface dataset:
It is possible to use Opsgenie with Oracle Database Standard Edition
Asked by Alexandra Mart?nez Romero:

Hi,   
I have an Oracle Database 19c standard edition and I want to use Opsgenie to monitor my resources and send alerts and notifications, so I have seen I can use this tool with enterprise manager but my problem is how my database is standard edition I don't have enterprise manager. How am I use Opsgenie for my database?

Thanks


Answers:
author: John M
body: Hi [@Alexandra Mart?nez Romero](/t5/user/viewprofilepage/user-id/5255660) ,

If you have already tried the existing Oracle integration and it's not working with your version, the common workarounds when no prebuilt integration is available are to use either our [Email integration](https://support.atlassian.com/opsgenie/docs/integrate-your-email-with-opsgenie/) or our [API integration.](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/)

If you are using Oracle Cloud, we do have a feature request to build an integration directly with Oracle cloud here which you can follow and upvote:

<https://jira.atlassian.com/browse/OPSGENIE-300>

comments: author: Alexandra Mart?nez Romero
body: Hi Juan,

Thanks for your answer.

Until now, I haven't used the existing Oracle integration. Do you have a video or specific information that I can review? I would like to have the contact information of someone who can guide me with this requirement.

Thanks!


author: John M
body: [@Alexandra Mart?nez Romero](/t5/user/viewprofilepage/user-id/5255660) You can start with this doc:

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-oracle-enterprise-manager/>

And you if have any questions please open a support ticket and our team will be able to assist:

<https://support.atlassian.com/contact/#/>


author: Alexandra Mart?nez Romero
body: Thank you John,  

I reviewed the link, but my problem is the database doesn't have Enterprice Manager, I would like to know if Opsgenie is compatible in a direct connection with the database or the server where it is hosted.  

I have open the support ticket.  

Thanks a lot for your answer
Can you send out monthly on-call reminders for OpsGenie
Asked by Rich Smith:

We have about 10 people who are in our on-call rotation. Our team is quite busy, so we do not always remember to actively go look at the on-call schedule to see when it is coming up.

Is there an option or a way we can get an emailed report from opsgenie each month (or week) that shows the next several weeks of on-call? This way, people will see the upcoming schedule in their mailbox instead of being notified the morning of them going on-call.


Answers:
author: John M
body: Hi [@Rich Smith](/t5/user/viewprofilepage/user-id/5255639) ,

There is no report for on-call but you can export the team schedule to your calendar using the 'open calendar' button on the team schedule and see/get calendar updates directly from Google or whichever calendar application you use.

comments: author: Rich Smith
body: Which is unfortunately not helpful.

A solution that might work, is API usage. Is there a way to query future on call schedules using the REST API? Or is it only for the current on call users? I can write a script to gather and email the information, if the API supports it.


author: John M
body: The Get Schedule Timeline API can be used to get future on-call recipients for a given time period.

<https://docs.opsgenie.com/docs/schedule-api#get-schedule-timeline>


author: Rich Smith
body: Yes. This is what I need. I can poll this api for a few weeks in advance, and build an email from it.

Maybe I'll post the script here after I write it. If I can get to it soon.
What are the action mappings available for OpsGenie to Zendesk actions?
Asked by Thibaut SMITH:

Hello,

I would like to know what are the actions possible from OpsGenie to Zendesk created tickets?

It's in the Action Mapping Feature section from this page:

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-zendesk/>

Thanks,


Answers:
author: John M
body: Hi [@Thibaut SMITH](/t5/user/viewprofilepage/user-id/5255306) ,

From Opsgenie Alert you create a Zendesk ticket using the following Opsgenie actions:

**![2023-06-28_12-54-20.png](https://community.atlassian.com/t5/image/serverpage/image-id/265626i217CEA7519669588/image-size/large?v=v2&px=999 "2023-06-28_12-54-20.png")![2023-06-28_12-54-42.png](https://community.atlassian.com/t5/image/serverpage/image-id/265627i8235BA7FC0964993/image-size/large?v=v2&px=999 "2023-06-28_12-54-42.png")**

comments: author: Thibaut SMITH
body: Thank you!

And on the right side, in the "in Zendesk" actions, can we close the ticket?


author: John M
body: Yes, the following options are available:![2023-06-30_09-10-25.png](https://community.atlassian.com/t5/image/serverpage/image-id/266035i5ACD22B86FC8550C/image-size/large?v=v2&px=999 "2023-06-30_09-10-25.png")


Tags: cloud
How do I create a global policy to ignore specific email subjects?
Asked by Amanda Estes:

When I try to create a global policy, I don't see an option to mark to ignore/not alert for specific field matches. For our current configuration - we have 10 email integrations setup within a mailing distribution group, so if someone emails the DL, it sends an email to the 10 different email integrations and pages out for emails that get sent to that DL which are not actionable (such as password resets for the DL). Can I create a global policy to ignore emails with password reset in subject so that those 10 teams don't get paged? Or do I have to go into each of those 10 teams in Ops genie and configure the email integrations individually to ignore those emails with that subject?


Answers:
author: Wei Wung
body: Hi Amanda,

Thank you for reaching out! There are 3 possible options to ignore these password reset emails/alerts:

1. Use the **Ignore actions** in each of the 10 email integrations to prevent these alerts from getting created. This is the most direct option preventing such alerts from getting created or showing up in Analytics.
2. Use the team-based **Notification Policies** to filter for these password reset alerts to suppress them. This would be created in each of the 10 Teams' **Policies** tab.
3. Using **Global Alert Policy** and**Notification Policies** . Use a **Global Alert Policy** to add a tag (like "ignore") to alerts matching your filter criteria, like: Message Contains password reset. In the Alert Policy, you would need to toggle on "**Show advanced fields** " to add the **ignore** tag, like in the example below  
   ![AlertPolicy-ignoretag.png](https://community.atlassian.com/t5/image/serverpage/image-id/265012iD8FED89496063786/image-size/large?v=v2&px=999 "AlertPolicy-ignoretag.png")  

   Then, in each of the 10 teams' **Policies** tab, create **Notification \[suppression\] Policies** (like in option 2, but) filtering for the "ignore" tag.  
   ![SuppressIgnoreAlerts.png](https://community.atlassian.com/t5/image/serverpage/image-id/265014i8AE8DDE5ABEAFBFD/image-size/large?v=v2&px=999 "SuppressIgnoreAlerts.png")  

**Why I prefer option 3**: If you need to ignore other alerts for the same 10 teams in future, you would only need to add a global alert policy with the appropriate filters and the "ignore" tag.

Hope the above help and please feel free to let us know if there are additional questions.

Best Regards,

Wei


Tags: cloud
Triggers for environments
Asked by Shama:

Hi,

I would like to ask for some suggestions in the next case. Thanks!

I have to implement this automatic CI/CD pipline in Bamboo:

-build+unit tests

-deploy to Dev

-run e2e tests on Dev

-if successful, deploy to QA

-run e2e tests on QA

-if successful, deploy to Staging.

I have created:

-1 build plan for "build+unit tests"

-1 deployment project with 3 environments

-3 separate build plans for e2e tests, each of them has a successful deployment to Dev, QA, Staging as a trigger

So far so good.

But, I cannot figure out how to create a trigger on QA environment to start deployment only if my plan with e2e tests are green on Dev.

I have found 4 available triggers on environment level, but none of them allow to use a different plan (in my case a plan with e2e tests) as a trigger.

Did I misunderstand a concept of project/plans/environments/ triggers? Do you have ay idea how to solve this?

Thanks!


Answers:
author: Mohammed Asif, Nabil
body: Out of the 4 triggers, there is "after successful build plan" trigger. But the trigger doesnt give you the option to choose a different plan, it takes the source plan by default.  

Just a thought. You can create another deployment project "B" with QA env only. Then add your trigger to "B" to start after successful build.
Utilising Ant copy pattern for multiple file types
Asked by Nadesh Ramanathan:

Hi all,

I am looking to building a Bamboo artifact using the Ant copy pattern based on two file types. For argument sake, let's say I want all '.cpp' and '.xml' files from all directories and subdirectories (in practicality, I want more files but I'll keep it simple for the discussion here). I can't seem to combine these two patterns together: '\*\*/\*.cpp' and '\*\*/\*.xml'. At the moment, I am using with: '\*\*/\*', which copies unwanted files.

Also, on a separate note, is there a way to include the '.git' folder in the Ant copy pattern on Bamboo. I see that in the Ant documentation I can remove excludes but would it apply to Bamboo and if so how?


Answers:
author: Eduardo Alvarenga
body: Hello [@Nadesh Ramanathan](/t5/user/viewprofilepage/user-id/5096976),

Welcome to **Atlassian Community**!

Multiple file patterns for artifact transfer are **available on Bamboo 9.0+** releases. You can specify multiple patterns separated by a comma.

Apache Ant will exclude a series of patterns by default, including ".git" folders. This is documented on the following page:

* <https://ant.apache.org/manual/dirtasks.html#defaultexcludes>

To copy the ".git" folder as an artifact, add a script task at the end of the Job and move it from ".git" -\> "git" and then use a pattern such as "***\*\*/git/\*\****"

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


Tags: ant
How to create additional node for Bamboo server to make it datacenter
Asked by venkatesh rachuru:

Can anyone suggest adding a passive node for the existing bamboo server to make it cluster . The steps which are in the documentation are not meeting the present data centre version creation requirements like steps involved in creating node and adding it to existing one.


Answers:
author: Eduardo Alvarenga
body: Hello [@venkatesh rachuru](/t5/user/viewprofilepage/user-id/4996782)

Welcome to **Atlassian Community**!

Adding a cold standby node to a Bamboo cluster takes [some extra requirements](https://confluence.atlassian.com/bamboo/clustering-with-bamboo-data-center-1063170551.html) such as having a shared filesystem and a separation between shared and local data.

To know how to migrate your standalone Bamboo instance to a Cluster, please check the following documentation:

* [Setup a Bamboo Data Center Cold Standby](https://confluence.atlassian.com/bamboo/set-up-a-bamboo-data-center-cold-standby-1063170556.html#)

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Through bamboo spec how to upload the build artifacts in AWS S3.
Asked by Akhil Srivastava:

I am working on project where I am using bamboo as CI tool and I am using bamboo spec. I have to upload my artifacts in AWS s3 as object.  

Please help me on this.


Answers:
author: Eduardo Alvarenga
body: Hello [@Akhil Srivastava](/t5/user/viewprofilepage/user-id/5096253),

Welcome to **Atlassian Community**!

You need to configure your S3 Artifact Handler to be able to store your artifacts on S3:

* [Artifact handlers](https://confluence.atlassian.com/bamboo/artifact-handlers-938641848.html)
* [Bamboo Artifact Handlers - Use Case Scenarios](https://confluence.atlassian.com/bamkb/bamboo-artifact-handlers-use-case-scenarios-939695899.html)

To configure your S3 artifact handler, go to:

* **Bamboo Administration** -\> **Artifact Handlers -\> Amazon S3**
* Don't forget to enable S3 on the first panel

You can enforce custom Per-Plan artifact handlers by following:

* **Plan configuration** -\> **Other (tab)** -\> **Artifact handlers** -\> **Use custom artifact handler settings**

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
GET Bamboo project level variables via API
Asked by Toby.Matherly:

According to this documentation there is an endpoint to GET project variables:  

<https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-project-projectkey-variables-get>

But according to this documentation only POST is avaiable?  
<https://docs.atlassian.com/atlassian-bamboo/REST/8.0.4/#d2e271>

I'm getting a 403 but able to hit other endpoints on the project like repositories. Any ideas on what my issue is or if GET is even supported for this endpoint?


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

The ***/project/\<project_name\>/variables*** endpoint [was introduced in Bamboo 8.1](https://docs.atlassian.com/atlassian-bamboo/REST/8.1.9/#d2e415) and supports GET normally:

```
# curl -s -u admin:admin --request GET \
  --url 'https://bamboo819.mydomain.net/rest/api/latest/project/ABC/variables' \
  -X GET \
  --header 'Accept: application/json' | jq
[
  {
    "name": "Foo123",
    "value": "123"
  }
]
```

The Bamboo RESPI API documentation found on developer.atlassian.com will always revert to the latest API version. For specific versions, check docs.atlassian.com. The latter can be deprecated at any time.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Toby.Matherly
body: Thank you [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) ! This is very helpful. We are currently on 8.04 so that explains why the GET endpoint is still not available.


Tags: api

project

variable
Unable to quarantined failed test case though quarantined option available on bamboo ui
Asked by Scandy:

Having issue with quarantined option on UI.quarantined option available on bamboo UI but it is not working


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

Welcome to **Atlassian Community**!

As you have not described your issue, we can assume you need general information about the quarantine feature. Check the following page for information:

* [Quarantining failing tests](https://confluence.atlassian.com/bamboo/quarantining-failing-tests-289276886.html)

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Scandy
body: I am able to see quarantined option, but that is not working. Showing build status as failed, Even if I quarantined that particular test case
SQL Query to find All Deployment Projects
Asked by Mahendra Singh Bisht:

Hi Team,

Can someone help me with the SQL queries to generate the following from the Bamboo Database:

1. All Deployment Projects
2. Previously Deployed Releases details after we select the Environment in the All Deployment Projects.

Regards,

MS


Answers:
author: Eduardo Alvarenga
body: Hello [@Mahendra Singh Bisht](/t5/user/viewprofilepage/user-id/5091308)

Welcome to **Atlassian Community**!

The two questions are covered by the following KB article:

* [How to relate a release with deployment project, environment and build plan in Bamboo database](https://confluence.atlassian.com/bamkb/how-to-relate-a-release-with-deployment-project-environment-and-build-plan-in-bamboo-database-1168849810.html)

You may have to reduce the SQL to retrieve only the "deploy_proj_name" portion to fulfil your first question.

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Mahendra Singh Bisht
body: Hi Eduardo,

Thank you for your assistance here, I will check and get back to you on this.
Any sunset plan for Bamboo
Asked by Raymond Lee:

Hi all,

Does anyone know if Bamboo roadmap or it is going to sunset in future ?

Thanks,

Raymond


Answers:
author: Eduardo Alvarenga
body: Hello [@Raymond Lee](/t5/user/viewprofilepage/user-id/609642)

Bamboo Data Center is being actively developed and has a bright and long future ahead!

Check the following page to have an overview of the product's present and future roadmaps:

* [Bamboo Data Center Roadmap](https://www.atlassian.com/roadmap/data-center?product=bamboo&status=released;comingSoon;future&)

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Force Bamboo to not allow builds during specific times?
Asked by Tod Higman:

We have some bad interactions happening with Bamboo. We think that these could be solved by having Bamboo not allow any builds for one hour per day. Is there a way to set an 'allow schedule', where Bamboo only builds plans during specific hours?

Thanks.


Answers:
author: Eduardo Alvarenga
body: Hello [@Tod Higman](/t5/user/viewprofilepage/user-id/4848399)

You can use the Bamboo REST API to instruct the application to *pause* and *resume* its operations.

* <https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-server-nodes-get>
* <https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-server-pause-post>
* <https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-server-resume-post>

It would also be interesting to know what is happening to your system, that way we may suggest other strategies if we knew the issue in detail.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Tod Higman
body: Hello. Thank you for the reply. Our problem is the remote agent clean up issue:

[Need a solution to clean up Bamboo remote agent bo... (atlassian.com)](https://community.atlassian.com/t5/Bamboo-questions/Need-a-solution-to-clean-up-Bamboo-remote-agent-boxes/qaq-p/1188669)  

We need to run a script to perform these cleanups, but we need to insure that a build is not occurring when we take the remote agent down.
bamboo different force clean build option and clean working directory task
Asked by JooHyun Park:

Hi

I wondering different **force clean build** option and **clean working directory task** in bamboo.

What's the difference between clearing the workspace and checking out the source again before build both options?  
Is the difference that the force clean build option is used only in the task where the source is checked out, and the clean workspace task can adjust the task order arbitrarily?

Also, I wonder if the Clean working directory after each build option on the other tab is the best way to erase the build-dir workspace after build.

Thank you.


Answers:
author: Eduardo Alvarenga
body: Hello [@JooHyun Park](/t5/user/viewprofilepage/user-id/1980395)

When you clean the working space after a build or before starting a new Job, Bamboo will delete everything that was generated by the last run, including downloaded files and created files -- That includes binaries, accessory files, temporary content, etc.

By checking out the source code you have no means to guarantee that any content that is still available from previous builds in the folder will be deleted.

Bamboo leaves the content there to help developers troubleshoot any build issues, otherwise, it would be hard to figure out what happened after a failed build without proper evidence.

You can choose to delete the content before or after each build, the decision on which method will depend if you need the build content to be available in case of any required troubleshooting, as stated in the previous paragraph.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Why UUId is not available on bamboo-agent installation ?
Asked by Pavankumar:

Im installing bamboo-agent on Debian10. Ran the command:

java -Dbamboo.home=/home/bamboo-agent-home -jar atlassian-bamboo-agent-installer-7.2.10.jar [https://bamboo.\*\*\*.com/agentServer/](https://bamboo.***.com/agentServer/)

It shows all the files wer installed and wrapper.conf started and stopped. But uuid and xm-data folder were not present.

![wrapper.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/226946i422B11B98482CABA/image-size/large?v=v2&px=999 "wrapper.PNG")


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

Welcome to **Atlassian Community**!

The answer to your question is in your screenshot. You are using Java 11 and Bamboo 7.2 only supports Java 8.

To use Java 11 your need to upgrade to Bamboo 8 or superior.

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Pavankumar
body: Hi [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410)

I downgraded my java version and reinstalled. agent uuid is availabe in file named "uuid-temp.properties" but build dir. is not present. Is it OK!


author: Eduardo Alvarenga
body: Hello [@Pavankumar](/t5/user/viewprofilepage/user-id/5085004)

The building structure will get created once you launch the first build on that agent.

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


author: Pavankumar
body: Thanks! Got it.
REST API to get queued builds for related agents
Asked by Michael:

Hi,

I need to automatically get all queued build jobs that can be build by a specific agent. What I want is the list you can get in each agents overview page in the "Executable jobs" and "Executable deployment environments" tabs.

But actually it's hard to get this information using the REST API. The Endpoint /agent/assignment provides "nameElements" - a list of project, plan and job names. But The /queue endpoint provides keys of the projects, plans and jobs ("PROJ-PLAN-JOB").

With detours via /plan and /project endpoints I can determine name-key matching. But to find the key for jobs I need to call /search/jobs/{planKey} for each agent assignment on a job.

Isn't there an easier and more resource saving way to get all queued builds for a specific agent?


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

You will have to use SQL to retrieve what you want. Please check the following KB article for some sample queries. You may have to adapt them to your requirements.

* [Query to fetch Dedicated agent details, Agent capabilities, Job requirement and Plans having artifactory plugins tasks](https://confluence.atlassian.com/bamkb/query-to-fetch-dedicated-agent-details-agent-capabilities-job-requirement-and-plans-having-artifactory-plugins-tasks-1115137133.html)

Sincerely,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Michael
body: Thanks for that hint. Unfortunately I don't have database access.


Tags: api

rest