youngmon/atlassian-qna huggingface dataset:
How to remove a team assigned to an Incident
Asked by tmazzola:

Hi all,

New to my role and trying to discover how to remove a team that has been assigned to one of our incidents. We have two teams assigned to this incident when there should only be one, which means alerts are consistently being acknowledged by the wrong team. I have Owner level permissions but can't see how to view or change my incidents. Any help is appreciated!


Answers:
author: Samir
body: Hi [@tmazzola](/t5/user/viewprofilepage/user-id/4676910) !

You can remove a team as a responder from an incident by hovering over the team and clicking the "X"

![2021-12-16_11-13-59.png](https://community.atlassian.com/t5/image/serverpage/image-id/174298iABC4AE8586401619/image-size/large?v=v2&px=999 "2021-12-16_11-13-59.png")

However there is not a way to remove responders from *alerts*, this can only be done for incidents.

Thanks,

Samir

comments: author: tmazzola
body: Hi Samir,

Thanks for the quick response. However, I don't have an Incidents tab to view; shouldn't this be included with the Owner Role?

![Screen Shot 2021-12-16 at 10.25.51 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/174299i378B5DCBD14B4938/image-size/large?v=v2&px=999 "Screen Shot 2021-12-16 at 10.25.51 AM.png")


author: Samir
body: It depends what plan you are on. You may be on an older Opsgenie plan that doesn't include Incidents. [Incident Management](https://www.atlassian.com/software/opsgenie/service-aware-incident-management) is a whole separate feature set in Opsgenie.


author: tmazzola
body: Hi Samir,

Yes, I woudln't be surprised if we were. Any ideas on how I can get past this issue? This particular incident is extremely common and is causing lots of confusion being routed to two teams.


author: Samir
body: Once an alert is created, there is no way to remove a team as a responder on that alert.

But it sounds like we need to look at *why* these alerts are being created with 2 teams. Generally, the integration is assigned to a team which determines which team will be a responder. Perhaps your integration is set-up to create alerts with 2 teams as responders. If so, you can remove one of the teams from the integration.

Might best for you to reach out to support via support.atlassian.com so we can take a look at these alerts and see *why* these alerts are being created with 2 teams as responders.


author: tmazzola
body: Thanks, I will submit a support ticket!


Tags: cloud
Auto-logout issue with Opsgenie App?
Asked by Frank Barzizza:

Hello,

Our IT team reported that they were all logged out of their Opsgenie app on their phones, causing them to not receive any notifications or alerts. Is this related to the scheduled maintenance on 12/13 or network outages yesterday, 12/15? If not, how can we prevent this from happening again?

Thanks,

Frank


Answers:
author: AdamP
body: Is it possible for us to get any feedback on this from Atlassian? I have phone calls that alert me / wake me up, then I check the app to ack/look at details of a page. If there was at least a notification that we've been signed out, that would be a good feature.


author: Anthony Karapetrides
body: Same for me! Super annoying when I try to acknowledge an alert on my watch but it doesn't let me because the iPhone app has decided to log out!


author: Mark
body: Same here... VERY annoying! From what I remember, this started happening around the 21st of December?


author: Alexander Jost
body: Same for me. After a while I get logged out the iPhone app and must re-login when opening the app.


Tags: app

logout

mobile
Delay notification and restart alerts automatically
Asked by Hiroyuki Ota / ?? ??:

I would like to set up notification policy to

1. Delay notifications until first 9:00 am between 18:00 - 09:00 for alerts whose priority is P3
2. Restart alert notifications 1 hours after it was created for all alerts

However, P3 alerts sent between 18:00 - 09:00 are not restarted because it meets the first policy. Is there any way to delay the notification and restart automatically?


Answers:
author: Samir
body: Hi [@Hiroyuki Ota / ?? ??](/t5/user/viewprofilepage/user-id/2238771) !

An alert can only match one notification policy, and they are processed top-down. So as soon as it matches a notification policy, it will apply that one.

So you may want to set-up the notification policy for P3 alerts created between 18:00-09:00 that both A) delays the notifications until 9am, and B) restarts notifications after 1 hour

comments: author: Hiroyuki Ota / ?? ??
body: Thank you for your reply!

I did not realize that I can set multiple actions before reading your solution.


Tags: cloud
AWS PrivateLink for API
Asked by Tom Russell:

Does Opsgenie support AWS PrivateLink for connections to the API endpoint?


Answers:
author: Nick H
body: Hi [@Tom Russell](/t5/user/viewprofilepage/user-id/4107159) ,

AWS PrivateLink is not currently one of Opsgenie's prebuilt integrations. Having said that, if these events / alerts could trigger through an SNS topic, I believe you'd still be able to integrate with one of our AWS integrations.

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-incoming-amazon-sns/>

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

Otherwise, customers typically use either an API or Email integration if we don't have something prebuilt. The API integration could be triggered by a Lambda function to create an alert in Opsgenie too:

<https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/>

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

<https://opsmatters.com/videos/enhance-opsgenie-aws-lambda>

Hope that helps! Let me know if you have any other questions.

comments: author: matvey.teplov
body: Good morning,

I would like to start this conversation over. We have a requirement that no data will leave VPC and would like to ask for the private link connectivity for it. Can this be done?

Regards


Tags: api

cloud
OpsGenie to JSM [addComment] and [resolveIssue] Actions Failing without Error
Asked by Nean Hawe:

Setting up an integration between our JSM instance and our separate (pre-existing) OpsGenie instance. JSM can open and Close Alerts in OpsGenie, but the OpsGenie integration back to Jira does not seem to be working.

I am using my email address as the username and an API token instead of a password. When I first set it up I was using my password and getting 401 errors in the activity log on the alert, but after switching from password to API token it is not giving any error, just failing to actually add comments or resolve the incidents. The Jira API Token management screen also shows that the token has never been accessed. I have revoked and tried a new token with the same results. Checked the debug logs and I'm not seeing any debugs, errors or warnings.

I have tried this with the Alerts and On-Call JSM Features both on and off in Jira, I've deleted the integration both in OpsGenie's team integrations and Jira's Webhooks page and rebuilt them.

![Screenshot 2021-12-14 125649.png](https://community.atlassian.com/t5/image/serverpage/image-id/173942i785341AB103076AF/image-size/large?v=v2&px=999 "Screenshot 2021-12-14 125649.png")![Screenshot 2021-12-14 125808.png](https://community.atlassian.com/t5/image/serverpage/image-id/173943i4E3CE12350F38982/image-size/large?v=v2&px=999 "Screenshot 2021-12-14 125808.png")![Screenshot 2021-12-14 130005.png](https://community.atlassian.com/t5/image/serverpage/image-id/173941i13DC0FBE97750D13/image-size/large?v=v2&px=999 "Screenshot 2021-12-14 130005.png")


Answers:
author: Nick H
body: Hi [@Nean Hawe](/t5/user/viewprofilepage/user-id/2370630) ,

Although the activity log says those actions are being sent from Opsgenie to JSM, I don't believe they are due to this configuration in your integration:

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

OEC is used mostly for on-prem instances. Based on your Atlassian site URL it looks like you are cloud so most likely do not need this enabled:

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira-service-management/#Integration-via-OEC--for-On-Premise-Jira-Service-Management-Usage->

Can you uncheck that, save the integration, and retest with a new alert? You may also want to reenter the API token into the password field before saving too.

comments: author: Nick H
body: This might help as well: <https://community.atlassian.com/t5/Opsgenie-articles/Opsgenie-Alerts-Not-Creating-Jira-Jira-Service-Management-Issues/ba-p/1563628>


author: Nean Hawe
body: Lol. That did it. Can't believe I missed that. Thanks!


Tags: cloud

integration

jira-cloud

jira-service-management
Once the owner team in Services is configured, how can you edit/change the owner team?
Asked by mark.sabo:

I configured the owner team in services but would like to create a hierarchy. For example, I created a Network Service for the Network Team. The Network team owner is the Network Service.

I now have an Infrastructure Team and I want the Infrastructure Team to be the owner of the Network Service and other Services to create a hiearchy. Does this make sense/

However once I created the owner, it does not look like a am able to edit the owner. I am an admin.


Answers:
author: Howard Nedd
body: As far as I know you need to be an owner to do those adjustments. Change your role from admin to owner (or let one of the owners do that for you).
How do I restrict the User roll?
Asked by Chris Thomas:

When a new user is given a JSM license they are also given access to Opsgenie as a user. That gives them access to schedules and the phone numbers of the people on-call.

I created a custom roll with all security removed and it works, but I would like that to be set as default for new users or reduce what the default User roll can see.

Where do I set this up?


Answers:
author: Samir
body: Hi [@Chris Thomas](/t5/user/viewprofilepage/user-id/3697803) ,

This may be a better question to ask via a support ticket, as this will depend on your specific Opsgenie account, and if it's a JSM-Opsgenie account, or a **standalone** Opsgenie account. You can submit a ticket with us via support.atlassian.com

Thanks,

Samir
What plan includes the Zendesk integration?
Asked by Robert Staffeld:

What level plan do I need to get the Zendesk integration?


Answers:
author: Nick H
body: Hi [@Robert Staffeld](/t5/user/viewprofilepage/user-id/4666651) ,

To add a Zendesk integration, your Opsgenie plan will need to be either Standard or Enterprise. This integration is not included with our Free or Essentials plans.

You'd also need to be subscribed to a Standard or Enterprise plan to use the Zendesk app because this requires a global API integration (assigned to No Team) - and these are also only included on the Standard and Enterprise plans. Free and Essentials plans require a team to be assigned to any integration:

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

After reviewing out documentation of the actual Zendesk integration, I realize it doesn't mention what plan is required:

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

On my end I'll enter a ticket with engineering to edit this! Let us know if you have any other questions.

comments: author: Robert Staffeld
body: Thank you, that's what I was looking for.


author: Jack Brickey
body: Jira doesn't integrate natively with the likes of Zendesk but there are Marketplace options - [https://marketplace.atlassian.com/search?query=Zendesk.](https://marketplace.atlassian.com/search?query=Zendesk)

all should work with Standard and above and possibly the free version of Jira.


Tags: cloud
I am trying to get list of all plans and plan actions using API, the api is returing only 25
Asked by Yasashree:

API:- <https://bamboo.cdk.com/rest/api/latest/project/{ProjectKey}?expand=plans.plan.actions>

I am get response with 25 plans but my project actually contain more than 350+ plans in it


Answers:
author: Alexey Chystoprudov
body: See information about start-index at <https://developer.atlassian.com/server/bamboo/bamboo-rest-resources/#general-information>

comments: author: Yasashree
body: Hi [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646) , I have tried those methods, but I am able to retrieve only 25 plans, but there are 300+ more


Tags: rest-api
Adding a new Environment to an existing deployment project
Asked by Dounia M_ A_:

Hi,

I would like to add a new Environment to an existing deployment project using java bamboo-specs. I passed to the PlanIdentifier the same existing bambooProjectKey, the same bambooPlan key and the same name, instead of creating a new environment it overrides the existing published one. That is not what I want. i want to add the existing deployment and add new environments.

Deployment rootObject = **new** Deployment(**new** PlanIdentifier(bambooProjectKey, bambooPlanKey),  
deploymentName)

Is there a way to add new environment to an existing published deployment project?

This is urgent. Your help is really appreciated.

Thank you


Answers:
author: Marcin Gardias
body: You can export existing deployment project to specs code in the UI. Copy \& paste the code and add new environment.

comments: author: Dounia M_ A_
body: Ok, I will try it. Thank you Marcin
XSRF check failed when adding user to group
Asked by Marko Jovanovi?:

Hi there,  

I am trying to add users to a group in Bamboo (/admin/group/editGroup.action?groupName=bamboo-admin )  

It seems that there is some problem with the REST API call as the server response body contains the text "XSRF check failed". I have attached the request headers my browser is sending. I am using Bamboo 7.2.2 build 70209  

I saw that there are a handful of related questions around here, but I find it odd that this doesn't work out of the box in a new Bamboo installation. I am running a dockerized Bamboo behind an Apache proxy, with an internal Bamboo user directory, if it matters.  

<br />

![Bildschirmfoto 2021-03-05 um 20.16.32.png](/t5/image/serverpage/image-id/133246i340C0060E5718F1F/image-size/large?v=v2&px=999 "Bildschirmfoto 2021-03-05 um 20.16.32.png")![Bildschirmfoto 2021-03-05 um 20.17.04.png](/t5/image/serverpage/image-id/133247i9200A70C6CDDE354/image-size/large?v=v2&px=999 "Bildschirmfoto 2021-03-05 um 20.17.04.png")


Answers:
author: Gonchik Tsymzhitov
body: Hi [@Marko Jovanovi?](/t5/user/viewprofilepage/user-id/4292476) ,

How about gzip compression on apache side and in bamboo side?

if you duplicate, you can meet with XSRF as well


Tags: api

error

rest

xsrf
After upgrade, Bamboo Java Spec failed, no ScriptBuildTask generated
Asked by Tech Noboundary:

Alright, this is resolved. There are further error messages in the Bamboo server log. Not sure why they were not pulled to the build log.

=====

Bamboo upgraded from 6.8.2 to 7.2.1

We have been useing Bamboo Java Spec. After upgrade, the build will fail with the following log messages.

```
simple	03-Mar-2021 13:55:46	User xxxx is moving build BB-BBB-JOB1-27simple	03-Mar-2021 14:21:46	Build Branch Builds - Branch Build BJS - Default Job #27 (BB-BBB-JOB1-27) started building on agent Remote for Build Branch 53, bamboo version: 7.2.1simple	03-Mar-2021 14:21:46	simple	03-Mar-2021 14:21:46	Build working directory is D:\Bamboo\build-dir\BB-BBB-JOB1simple	03-Mar-2021 14:21:47	Executing build Branch Builds - Branch Build BJS - Default Job #27 (BB-BBB-JOB1-27)simple	03-Mar-2021 14:21:47	Running pre-build action: VCS Version Collectorsimple	03-Mar-2021 14:21:47	Running pre-build action: Artifactory Release Stagingsimple	03-Mar-2021 14:21:47	Starting task 'Listener' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'command	03-Mar-2021 14:21:47	Beginning to execute external process for build 'Branch Builds - Branch Build BJS - Default Job #27 (BB-BBB-JOB1-27)'\n ... running command line: \nD:\Atlassian\bamboo-home\temp\BB-BBB-JOB1-27-ScriptBuildTask-2715883387375057947.ps1\n ... in: D:\Bamboo\build-dir\BB-BBB-JOB1\nbuild	03-Mar-2021 14:21:54	 :0 :  ::  :0 :build	03-Mar-2021 14:21:54	Both revision can not be blank!! Branch has been deleted for sure.  Exiting out.simple	03-Mar-2021 14:21:54	Failing task since return code of [powershell -NonInteractive -ExecutionPolicy bypass -Command D:\Atlassian\bamboo-home\temp\BB-BBB-JOB1-27-ScriptBuildTask-2715883387375057947.ps1] was 1 while expected 0simple	03-Mar-2021 14:21:54	Finished task 'Listener' with result: Failed
```

Looking into bamboo-home\\temp, there is no BB-BBB-JOB1-27-ScriptBuildTask-2715883387375057947.ps1 file.

What could be the reason of failure? And what are necessary steps to debug this?

Meanwhile, I found once that there was a bamboo.specs.enabled variable showing in the audio log. It was first "false" and then can be toggled to be "null" through GUI. However, the option only showed up once in one branch creation and there is no trace of how it works.

Regards,


Answers:
author: Tech Noboundary
body: Additional info.

Furthermore, Bamboo\\build-dir\\BB-BBB-JOB1 is empty.

mvn test and mvn -Ppublish-specs are all successful w/o any error.
bamboo upgrade from 6.6.2 to 7.2 version
Asked by Ayashakanta Mishra:

++Steps:++

1. Installed bamboo 6.6 version and 7.2 version and postgres(9.6) database.
2. created fresh database(bambooolddb).
3. Took the backup for database.

sudo -u postgres pg_dump bambooolddb \| gzip -9 \> bamboodb.sql.qz

1. Uninstalled postgres(9.6) database.
2. Reinstalled postgres and created fresh database (bamboodb).
3. Restored data from the backup data to newly created database.

zcat bamboodb.sql.qz \| psql -h localhost -p 5432 -U bamboouser2 bamboodb

1. Updated bamboo-config.xml with new database name(bamboodb) and username in bamboo 7.2 version home folder.
2. Restart the bamboo 7.2 application.
3. While access the bamboo 7.2 in browser facing below issue.

\[Bamboo bootstrap failed: Your Bamboo instance could not start because health check failed. Contact Atlassian Support at [https://support.atlassian.com](https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.atlassian.com%2F&data=04%7C01%7Camit-an%40hcl.com%7C46ad6a8e13a243891f4e08d8dedeb175%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637504395320888735%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xlHsZ%2BDm%2FoWHLx%2FyRYOrJQ4PJs%2FQXazfmP7M0n39ZQk%3D&reserved=0)\]


Answers:
author: Marcin Gardias
body: The problem is (probably) that your database is from version 6.6 and your bamboo home folder is from version 7. You need to run Bamboo version 7 using the same bamboo home as you had for Bamboo 6.6, the only change should be the new database connection details.
How do I Create a Bamboo Specs project WITHOUT using Maven Archetype?
Asked by Shadowdust:

Assuming there is a firewall preventing me from simply running the command listed in the tutorial:

    mvn archetype:generate -B \    -DarchetypeGroupId=com.atlassian.bamboo -DarchetypeArtifactId=bamboo-specs-archetype \	-DarchetypeVersion=6.2.1 \    -DgroupId=com.atlassian.bamboo -DartifactId=bamboo-specs -Dversion=1.0.0-SNAPSHOT \    -Dpackage=tutorial -Dtemplate=minimal

How do I create a manually Bamboo Specs project? I assume it can be created manually, but I cannot find a description of the directories and files that are expected. I'm sure I'm not the first person to hit this problem, but I'm not having any luck finding an answer.


Answers:
author: Marcin Gardias
body: Hi,

I think the easiest way is to find some examples on GitHub or Bitbucket and adjust for you needs.

This for example should get you started: <https://github.com/Gpkmr/bamboo-specs/blob/master/pom.xml>

Note how the specs project is inside 'bamboo-specs' folder. That's how it's supposed to be organized if you want Repository Stored Specs to work.

That being said, wouldn't the same firewall rules that prevent you from using Maven Archetype also prevent you from downloading Java Specs dependencies? Which would be awkward, as you wouldn't be able to compile your specs locally before committing.
Bamboo - Capabilities configuration is read-only because of specs
Asked by Paul Laganke:

Hi guys,

I have a question regarding the agent management and its permissions in bamboo. The documentation and the found threads unfortunately didn't provide the crucial hint.

**Preconditions** :  
-I'm using bamboo specs (yaml)  
-I'm not the bamboo administrator

<br />

**Problem** :  
While I try to deploy my already build artifact, the build fails because the used java version is not suitable:

\[...\]Exception in thread "main" java.lang.UnsupportedClassVersionError: \<...\> has been compiled by a more recent version of the Java Runtime (class file version 55.0),  
this version of the Java Runtime only recognizes class file versions up to 52.0 \[...\]

I'm pretty sure this is related to the used bamboo agent. Sadly it seems like I can't change the used agent because I'm missing some permissions (I want to select an agent which uses Java 11 instead of 8):

![1.png](/t5/image/serverpage/image-id/132599iA87F8CF28FF4DC9A/image-size/large?v=v2&px=999 "1.png")

**Assumption** :  
For now, I guess it's needed to add some magic permission to the spec to be able to set the capability configuration on writable.

But I don't know which one is needed :)

currently, the permissions look like:

![2.png](/t5/image/serverpage/image-id/132600iF76AFCB008D043A6/image-size/large?v=v2&px=999 "2.png")

Thanks in advance guys.


Answers:
author: Alexey Chystoprudov
body: I think you don't need any additional permission here but to configure requirements for given evironment:

```
My environment:
  tasks:
  - clean
  - artifact-download:
    artifacts:
    - {}
  - script:
    interpreter: SHELL
    scripts:
    - echo hello
 requirements:
 - java: '1.8'

```

comments: author: Paul Laganke
body: Thanks, it seems to work like charm!

I didn't know that capabilities \<-\> requirements connection.

I managed to create a new capability, now I just need to find the correct name\&value to get a suitable agent. But that's not within this question's scope.

SOLVED.


author: Alexey Chystoprudov
body: It's confusing UX, message should say that requirement is not editable because of Specs. Will be fixed at future versions


Tags: capability

configuration

troubleshooting
Cannot login Bamboo 'This user is read only and can't have password reset'
Asked by Sheng Kuang:

Dear fellas,

One of our user is having login issue periodly, the error message is 'This user is read only and can't have password reset.'

Can you please help to advise?

Thank,


Answers:
author: Bastian Stehmann
body: Hi [@Sheng Kuang](/t5/user/viewprofilepage/user-id/4283113) ,

Welcome to the community.

Probably the problem is that you have an user directory configured, that is read only.

So you can't change the password in bamboo instead you have to do that in the user directory itself.

comments: author: oratile
body: so what can i do to get my password because i want to log in


author: Jeyanthan I
body: You will have to contact your administrator for further assistance on this. Click on **Contact Administrators** link that you see at the bottom in the footer section to get their details.

Hope that helps.

Cheers,  
Jey


author: oratile
body: may i have the contact administrator


author: Jeyanthan I
body: > may i have the contact administrator

You may. I showed you the way to reach them :)

Please note that this is a public community and we have no control over your internal infrastructure.

Cheers,  
Jey