youngmon/atlassian-qna huggingface dataset:
I am trying to get the Team's name and the Responder Name thru an API call.
Asked by Kiranmayi Yalamanchi:

Hi,   
I am trying to modify an existing API that already pulls $OGAlert.teams.id and $OGAlert.responder.id  

I want to replace those ids with names so, used these 2 fields   

$OGAlert.teams.name  
$OGAlert.responder.name  

But, these fields are returning blanks.   

Can I get help to get the right fields for the actual names of teams and responders??  

Thanks  


Answers:
author: Darryl Lee
body: Hi [@Kiranmayi Yalamanchi](/t5/user/viewprofilepage/user-id/4786642) ,

This is Darryl. I am here to help.

Understand that you would like to obtain the Teams and Responders of an Opsgenie Alert via API calls.

I assume that you are incorporating the [Get Alert API Call](https://docs.opsgenie.com/docs/alert-api#get-alert) to craft your script.

Please note that the response of this endpoint for the Teams and Responders field is always the full ID, instead of the Name.

The alternative here is to make 2 extra API calls to incorporate the IDs you've obtained:

1. [Get Team](https://docs.opsgenie.com/docs/team-api#get-team), the name is contained in the field "name".
2. [Get User](https://docs.opsgenie.com/docs/user-api#get-user), the name is contained in the field "fullName".

Hope this helps.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian

comments: author: Kiranmayi Yalamanchi
body: Thanks so much for the prompt response, [@Darryl Lee](/t5/user/viewprofilepage/user-id/3680306)  

Will try the additional APIs and will let you know if I need any furthur assistnace.  

Best regards,

Kiran


author: Darryl Lee
body: Hi [@Kiranmayi Yalamanchi](/t5/user/viewprofilepage/user-id/4786642) ,

No problem at all!

Looking forward to your test result. :)

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian
Filter Alert Integration
Asked by Jo?o Fernando Jungblut:

I'm trying to perform a filter with OR and AND

<br />

the content is in source JSON

eventCode:123  
Team: AZC  
Type: A

eventCode:123  
Team: AZC  
Type: B

eventCode:123  
Team: AZC  
Type: C

Mounted Filter

Filter all conditions below

<br />

Result Object \> Contain Value \> 123

Result Object \> Contain Key \> eventCode

Result Object \> Contain Key \> Time

Result Object \> Contain Value \> AZC

<br />

Leaving these filters works.. but it brings all types

Adding the following filter

Raw \> Matches(regex)\>.\*(A\|B).\*  
Does not work :(


Answers:
author: Nick H
body: Hi [@Jo?o Fernando Jungblut](/t5/user/viewprofilepage/user-id/4501483) ,

I see you opened a ticket with our support team as well. We'll work through that for now, and post the results here for other customers to review.


Tags: splunk
How to bamboo tags elastic-agent instances
Asked by mithrim:

Hi! How can I create custom tag for EC2 instances, started via Bamboo? Bamboo Server version 7.2.4.


Answers:
author: Steffen Opel _Utoolity_
body: Hi Mithrim, welcome to the Atlassian Community!

Unfortunately this is still not supported by Bamboo - please watch and vote for the following issue to raise Atlassian's priority to finally address this extremely long standing feature gap:

* [Add the ability to assign or modify AWS tags to Elastic Bamboo triggered instance (BAM-14137)](https://jira.atlassian.com/browse/BAM-14137)

**Potential workarounds**

The issue comments describe a few approaches - nowadays I'd look into automating this on the AWS side by listening to the EC2 instance startup via [EventBridge](https://aws.amazon.com/eventbridge/) and applying the tag via a Lambda function provisioned as an [Serverless Application Model (SAM)](https://aws.amazon.com/serverless/sam/) app.

comments: author: mithrim
body: Thanks for asking my question. I'm already find decision, may be it will be useful for somebody.

import os  
import subprocess  
import json

cmd = 'aws ec2 describe-tags \> /tmp/aws_tags.json'  
os.system(cmd)  
with open("/tmp/aws_tags.json", "r") as read_file:  
tags = json.load(read_file)

for elem in tags.values():  
for elem1 in elem:  
if elem1\['ResourceType'\] == 'instance' and 'known tag' in elem1\['Value'\]:  
cmd = f"aws ec2 create-tags --resources {elem1\['ResourceId'\]} --tags Key=Name,Value=new_tag"  
subprocess.run(cmd, shell=True)

This python script run on instance startup ang change tags via aws cli
LDAP Timeout after couple of hours
Asked by xeroxxx:

Hello,

I've running a Jira and Bamboo instance, both on separate servers, same network. Both point to an Active Directory via LDAP, identical configuration.

AD contains roughly 20 Users and 20 Groups.

Jira works flawless and Bamboo gets some trouble after couple of hours. I can authenticate without a problem after startup for some hours, but then I start getting a timeout. Jira still works fine.

[LDAP users fail to authenticate with response timeout errors in logs in Jira server \| Jira \| Atlassian Documentation](https://confluence.atlassian.com/jirakb/ldap-users-fail-to-authenticate-with-response-timeout-errors-in-logs-in-jira-server-298980165.html)

Not using follow refereal.

Restarting the Software, not the server, helps. Any ideas what causes the timeout? DCs are still reachable of course.


Answers:
author: xeroxxx
body: Hello,

I reviewed all settings and everything is correct.

But I started a tcpdump when the error happens and I can see...nothing. There is no outgoing connection.

However ping to DC, nslookup to DC and telnet on 389 to DC works fine.


author: Brant Schroeder
body: [@xeroxxx](/t5/user/viewprofilepage/user-id/271687)

If the users in Jira and Bamboo are the same I would suggest just setting Bamboo up to use Jira as its directory. Then you have one directory to manage. <https://confluence.atlassian.com/bamboo/connecting-bamboo-to-jira-for-user-management-952604122.html>

Since you have them set up separately I would suggest reviewing all the LDAP settings. <https://confluence.atlassian.com/bamboo/integrating-bamboo-with-ldap-289277210.html> Pay particular attention to all your timeout settings and how often the sync occurs. I have seen it when the sync occurs prior to the other completing eventually the thread gets stuck and everything begins timing out. You should also check the logs and see if there are any specific LDAP errors.

comments: author: xeroxxx
body: Sry, I actually wanted to reply over here.


Tags: active-directory

jira

ldap
How can I setup passwords for selenium tests on bamboo?
Asked by vlado123:

Hi, I have selenium tests andI am using serenity. All passwords for db and website login are saved in the file serenity.conf. I want to remove passwords from this file and setup password on bamboo. How can I setup it and access from my testscript?


Answers:
author: Alexey Chystoprudov
body: You can keep them at Bamboo [plan variables](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html) and then put them to serenity.conf file with a command

```
echo ${bamboo.my.password} >> serenity.conf 
```


author: Charlie Misonne
body: You can use variables in Bamboo. Variables exist at several levels (global, build, project). See [Bamboo variables.](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html)

If you include "password" in the name of the variable the value will be encrypted in Bamboo's database.  
Unfrotunately varibales do not come with permissions so be careful at what level you define the variable if you don't want any Bamboo user to use it.
Can I still use a physical bamboo server now that server licenses are phased out?
Asked by ar3935:

I'm trying to setup a standalone bamboo server for my team's use. I understand that I cannot procure a "server license" anymore. Therefore, is this setup still achievable? Or do I have to explore a cloud based solution?


Answers:
author: Brian Clair
body: You can still purchase server licenses. I did just the other month for Bamboo. I believe Bamboo is an exception until the Data Center version is released.
Does Bamboo Server 6.6 support macOS Big Sur (11.4)
Asked by Myke:

Our team needs to upgrade our mac to macOS Big Sur so we can use Xcode 12.5, we currently use Bamboo Server 6.6 and would like to see if it is compatible with Big Sur. On the Supported platforms page for Bamboo 6.6 it only says that MacOS/OSX are supported and not which versions. Would love some clarification.

Thanks


Answers:
author: Alexis Robert
body: Hi [@Myke](/t5/user/viewprofilepage/user-id/31707) ,

there are no specific OS version mentioned on the page because Bamboo runs with the Java JDK : this means that the OS only needs to be able to run Java, so I guess MacOS 11.4 should handle this :)

Let me know if this helps,

--Alexis

comments: author: Myke
body: Excellent! Thanks for the info and also the fast response.


Tags: mac

upgrade
Bamboo Build java.lang.OutOfMemoryError: GC overhead limit exceeded
Asked by Prakash Somasundaraiah:

Hello All,

We are getting java.lang.OutOfMemoryError: GC overhead limit exceeded during the bamboo build,

I try to increase the java_options/maven_opts in the build plan task (

Maven 3.x configuration) {#toc-hId--1241860092}
-----------------------------------------------

but no luck.

Environment variables:

_JAVA_OPTIONS ="-Xms1024m -Xmx6144m"

MAVEN_OPTS="-Xmx6144m -Xms2048m" "-XX:-UseGCOverheadLimit"

could you please help me with what would be the issue here?![Bamboo Build.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/148560i76F327712D711C9F/image-size/large?v=v2&px=999 "Bamboo Build.PNG")


Answers:
author: Alexey Chystoprudov
body: Try to grant more memory at wrapper.conf file at Bamboo agent side
I want to import and export build and plan configuration from one bamboo server to another server
Asked by DURGA2468:

Hi ,

I want to import and export build and plan configuration from one bamboo server to another bamboo server

In this case i do not need to copy any logs and artifacts . Just need copy Plan configuration from one server to another


Answers:
author: Alexey Chystoprudov
body: Bamboo doesn't support import/export of individual plans structure yet. Try to use Export to Java/YAML Specs and then import it at destination server

comments: author: Sven-Olov Lindqvist
body: I have been struggling with this as well as I want to mirror our prod environment to a dev and a qa environment to test the build/deployments prior to upgrading Bamboo and Bitbucket. I have tried to do db level export/import and that result in problems with a lot of internal references between tables. Ends up getting builds triggered on Bamboo prod if something is committed to Bitbucket dev etc. To hard to do any ETL to get the references correctly setup. On the reply to the question I want to say that such approach as far as I know would only support pipeline as code. If you import a yaml file you cant edit on UI level anymore.
Bamboo Specs bamboo.yaml does not like include
Asked by BX:

bamboo.yaml:

```
---
version: 2
!include 'PlanName/spec.yml'
```

I have also tried moving 'spec.yml' to the same directory:

```
---
version: 2
!include 'spec.yml'
```

Both scenarios give me:

```
Bamboo YAML import failed: Invalid format of the YAML file: while scanning a simple key in 'reader', ... !include 'PlanName/spec.yml'
                                                                                                         ^
could not find expected ':' in 'reader' ... 'PlanName/spec.yml'
                                                                  ^
```

(The carats didn't format properly, but the first one is under the exclamation point of "!include 'PlanName/spec.yml'", and the second carat is underneath the end of ".../spec.yml'")

The documentation shows that what I am doing is the correct way to implement the '!include' statement in the 'bamboo.yaml' file:
> Using your main YAML file to include every other plan

    # bamboo.yaml---!include 'planA.yaml'---!include 'planB.yaml'# planA.yaml---version: 2# ...# planB.yaml---version: 2# ...

Why isn't this working?


Answers:
author: Aron Weiler
body: I'm having the same issue as well.

I want to have a separate file that contains a shared task in it, then include that file in a number of other bamboo.yml files.

It feels to me like the yaml stuff is half-baked- there are a ton of little issues like tasks not being properly configurable and what not.

comments: author: Aron Weiler
body: I've come across this bug that might explain why the !include statement is not working:

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

Looks like if you have permissions defined in your sub-files, it will break.


author: gabriel_moreno
body: We are having exactly the same issue as you, [@BX](/t5/user/viewprofilepage/user-id/4446683).


Tags: include

spec
How to pass bamboo build variables from one pipeline to child pipeline(bamboo spec)
Asked by Vetri:

i have two Bamboo pipelines Dev \& Test and we have many variables defined in **package.sh** file on DEV pipeline,

now i need that variables for child build (TEST) pipeline -its already integrated with DEV pipeline ,so i dont knw how to get that values here to make one condition in the test pipeline script file.

In the Bamboo sites/guide there is options to add global variables in UI, bt here they are using bamboo spec concepts that options r disabled now , so i cant able add global variables manually in Bamboo Ul,

so pls tell me how to create global variables using bamboo spec concepts?

how to get that values in child pipeline?

please provide the correct logic if you have , kindly help me its very urgent..

Thanks in advance..!


Answers:
author: Dave Attard
body: Are you changing the variables? As global variables are read only. When i want to pass variables between staged i create a file with the variable and values in them in the working directory and then use the inject variables,

EG:  

```
  - script:
      interpreter: WINDOWS_POWER_SHELL
      scripts:
      - |-
        Set-Location ./${bamboo.solution}
        dotnet test -c Release --logger "trx;LogFileName=${bamboo.solution}_TestResults-Build_${bamboo.buildNumber}.trx" -v q
        $found = Get-ChildItem -Path . -Filter *.trx -Recurse -ErrorAction SilentlyContinue -Force
        $string = "testResultsExist=false"
        if($null -ne $found) {
            $string = "testResultsExist=true"
        }
        $string | Set-Content "testsExist.txt"
      description: UnitTest
  final-tasks:
  - inject-variables:
      file: ${bamboo.solution}\testsExist.txt
      scope: RESULT
      namespace: inject
  - any-task:
      plugin-key: com.atlassian.bamboo.plugin.dotnet:mstest
      configuration:
        mstestTestResultsDirectory: '**/TestResults/*.trx'
        pickupOutdatedFiles: 'false'
      conditions:
      - variable:
          equals:
            inject.testResultsExist: 'true'
```


Tags: bamboo-administration

bamboo-development
Remove "Manage Subscriptions" from statuspage incident notifications
Asked by Asher Francis:

Hi there

We are sending incident notifications to distribution groups and don't want the users within those groups to be able to manage the subscriptions for the dist. group, since this would stop the notification from being sent to anyone

Is there a way to remove the "Manage Subscriptions" link at the bottom of the incident notification email?

Thanks in advance


Answers:
author: Mark Campbell-Vincent
body: Hi [@Asher Francis](/t5/user/viewprofilepage/user-id/3853341) -

Thanks for reaching out! We strongly recommend against using distribution lists for subscriptions. The reason is that any recipient on the distribution list would have the unsubscribe button, and clicking it would remove the entire distro list just as you stated. There currently isn't a way to disable the unsubscribe link that the recipients see. You can refer to this information here: <https://support.atlassian.com/statuspage/docs/enable-subscribers/>

Hope this answers your question.

comments: author: Asher Francis
body: Hi Mark

Thanks for this. Yet another hole in Atlassian's functionality. We have a number of applications used by different users and those users change regularly due to staff turnover.

Users are granted access to the applications by way of an AD security group, which is mail enabled. Hence, we are using those distribution groups to notify the users of that application when an incident is created

It's not a suitable suggestion to use individual email addresses as every time a new user started/left, we'd have to add/remove their subscription

Unless there is a way to automate this?

Thanks

Asher


author: Mark Campbell-Vincent
body: Hi [@Asher Francis](/t5/user/viewprofilepage/user-id/3853341) -

If you'd like, you can mass import subscribers with our import template: <https://support.atlassian.com/statuspage/docs/import-subscribers-via-csv/>

Take note that this can only add new subscribers, not remove them. So if you need to remove a subscriber, you would need to leverage our API: <https://developer.statuspage.io/#operation/deletePagesPageIdSubscribersSubscriberId>


Tags: cloud

subscription
Is it possible to limit access to Status Page to Jira Service Desk customers?
Asked by Mark Hanson:

Sorry for such a simple question, but I could not find the answer.


Answers:
author: Mark Campbell-Vincent
body: Hi [@Mark Hanson](/t5/user/viewprofilepage/user-id/693306) -

Thanks for reaching out! We don't have a feature specifically for limiting Status Page access only for Jira Service Desk customers. The Private page offers SSO or IP Allowlisting to authenticate to your Status page, but this would mean your Jira Service Desk customers would need to use this authentication to view the page.

Hope this answers your question.

comments: author: Gonchik Tsymzhitov
body: Hi [@Mark Campbell-Vincent](/t5/user/viewprofilepage/user-id/2365445) ,

Any news about that?
Is it possible to have more than 500 users per Audience specific page, and if so at what cost?
Asked by Mark Hanson:

The pricing page gives a base of 500 users per page in Audience-specific pages. What happens if you go over 500 users per page?


Answers:
author: Nikola
body: Hi Mark,

Yes! Audience Specific page resources are bundled in 'Packs'. Each pack contains the following: 500 users, 10 groups, 25 team members and 30 metrics.

Initial Pack cost 500 USD, and adding any additional packs would cost you 200 USD more.  
So for an example, if you need 800 users, or 40 team members, then 2 Packs would be the best fit, and the monthly bill would be 500 USD.

I hope this helped!

comments: author: Gerard Phillips
body: Did you mean to say that the monthly cost would be $700, in this example?

$500 for the base pack, plus $200 for the additional pack = $700
How to send notification to subscribers about a historical incident?
Asked by Khoi Do:

How do I send an incident notification for a historical incident to email subscribers? The problem is that I am not able to mark components for past incidents and subscribers are subscribed to components. What's the recommendation for this?


Answers:
author: Mark Campbell-Vincent
body: Hi [@Khoi Do](/t5/user/viewprofilepage/user-id/4115542) -

There currently isn't a direct way to send notifications for backfilled incidents since you can't choose impacted components. As a workaround, you can create a regular incident, add impacted components and inform the subscribers that this is for a past incident.

Hope this helps!


Tags: cloud
Incidents and Status Page timeline color
Asked by toni simon:

I'm brand new to StatusPage and I'm really confused about the color in the timeline.

About 40 minutes ago, I created an incident with status Major Outage and attached my component to it. The component has the Display Historical Status option checked. The incident is still open and in the major outage state. The component also has status Major Outage.

I mention 40 minutes ago because the documentation for "Display historical uptime of components" says the color on the bar progresses from green to red depending on elapsed time and state of the incident.

On the Status Page, the timeline - shows red text "Major Outage" for my component

Hovering over the timeline bar for today, it shows "No downtime recorded on this day" and the timeline bar is green.

I would expect the hover tooltip to show there is an incident and that the color bar for today shows red, or at least orange after 40 minutes (immediately would be my preference).

What am I doing wrong?

Thanks


Answers:
author: toni simon
body: I created a new component and moved it to the top of my list of components.

I changed its status to Major Outage.

After 20 minutes or so the timeline bar for it in the StatusPage turned yellow.

I don't know if it's because I made it the first component in the list or if I just edited the original component too much and it broke. And I also don't know if incidents have any effect on the bar in the timeline - my new component has no incident associated with it.

Anyway, I'm happier now :)


author: chare
body: I don't know if the page refreshes automatically. I have seen mine not change for a while and then at some point, I do a page refresh and the new data is there. I suspect you did that already, so I don't know what the problem is. If you look on the components page it should show a red X beside the component which is in trouble.

comments: author: toni simon
body: I have refreshed the page many times and the display is the same. In the Components page, there is a red X beside the component. Everything is at is should be except that the bar in the timeline for today is green and the hover tool tip does not show any incidents. I don't know if the admin posting the incident also needs to take the additional step of editing the timeline bar for the current day. I hope not.


Tags: cloud
Question about Audience-specific page pricing
Asked by Hao Lv:

Based on this page, <https://support.atlassian.com/statuspage/docs/audience-specific-page-pricing/>

I have two questions:

1. What's the difference between user and team member, and could users sign in by sso?

2. Audience-specific pages are standalone pages, is this mean we can deploy statuspage inside our data center?


Answers:
author: Mark Campbell-Vincent
body: Hi [@Hao Lv](/t5/user/viewprofilepage/user-id/4158101) -

Welcome to the Statuspage community!

1. Users are subscribers on an audience specific page. They will be notified whenever an incident occurs. Users are also added to Groups so they can only see certain components/services being updated. They are able to sign in via SSO to see the page.

Team members on the other hand are admins of the Statuspage account. They can create incidents, manage users and take other admin actions. Team members use a separate SSO from Users: [**Team member SSO**](https://support.atlassian.com/statuspage/docs/require-saml-for-team-member-login/)(Admin SSO). [**User SSO**](https://support.atlassian.com/statuspage/docs/require-saml-for-audience-specific-pages/)(Audience page viewer SSO).

2. Audience specific pages are standalone based on pricing, not on where it can be hosted. Statuspage is hosted in the cloud, so all features/pages provided can only be accessed via cloud.

Hope this helps!


Tags: cloud
Pingdom API Key Update
Asked by Andrew Krull:

Good afternoon all.

Just wanted to confirm that updating the Pingdom API key won't have any adverse affects to currently running checks and that it is a seamless uninterrupted change.

Thank you.

--

Andrew Krull


Answers:
author: Andrew Krull
body: Where is the correct place to post questions or get support for said questions where we can get a timely answer?

comments: author: Zach
body: Hey Andrew!

I work on the Statuspage support team and would be happy to help with this one!

Changing the key will have no impact so long as the new key is valid. If you happen to have any questions, feel free to open a ticket with us over at support.atlassian.com!


Tags: api

customer

pingdom