youngmon/atlassian-qna huggingface dataset:
Not able to get the Assignment action for an alert
Asked by Kavyansh Pandey:

Hi  

I was trying to assign an alert to the user, but not able to get the option for assignment.  

I am referring to the following link.   

[link](https://support.atlassian.com/opsgenie/docs/assign-an-owner-to-an-alert/#:~:text=The%20Assign%20action%20gives%20ownership,will%20become%20the%20Alert's%20Owner.)  

Thanks.


Answers:
author: Rodolfo
body: Hi [@Kavyansh Pandey](/t5/user/viewprofilepage/user-id/4592380) does your user role has Alert assignment permissions?


Tags: assign

cloud
OEC on Local Server Queue processor could not get initial token and will terminate
Asked by Oleksandr K_:

When starting process it immediately fails Out.log has  

> ```
> [36mINFO[0m[2022-02-02T20:16:57.9148359+01:00] OEC version is 1.1.3 
> [36mINFO[0m[2022-02-02T20:16:57.915836+01:00] OEC commit version is b1628543cb8f2a58b6300a660bfb6a72ae79a83a 
> [36mINFO[0m[2022-02-02T20:16:57.9168361+01:00] Queue processor is starting. 
> [36mINFO[0m[2022-02-02T20:16:57.9168361+01:00] OEC-metrics serves in http://localhost:9120/metrics. 
> [31mERROR[0m[2022-02-02T20:17:02.0422486+01:00] Queue processor could not get initial token and will terminate. 
> [31mFATAL[0m[2022-02-02T20:17:02.0422486+01:00] Get "https://api.eu.opsgenie.com/v1/oec/credentials": x509: certificate signed by unknown authority 
> ```


Answers:
author: Samir
body: Hi [@Oleksandr K_](/t5/user/viewprofilepage/user-id/1137776) ,

This is usually an issue with the API Key you put into the config.json file for OEC. This apiKey is what allows the OEC service to sync up with the queue. This apiKey should be the api key from the integration you are using with OEC. So if you're using OEC to integrate with Jira for example, you would paste the apiKey from your Jira integration into the a[piKey field of the config.json file](https://github.com/opsgenie/oec-scripts/blob/master/Jira/conf/config.json#L2) for OEC, and make sure "send via OEC" is checked off on your Jira integration.

e.g.

![2022-02-02_15-27-17.png](https://community.atlassian.com/t5/image/serverpage/image-id/181253i63EA05613B798283/image-size/large?v=v2&px=999 "2022-02-02_15-27-17.png")Hope that helps!

Thanks,

Samir

comments: author: Oleksandr K_
body: Thx Samir,

but I want to use OEC directly with Opsgenie, and apiKey copied from newly created channel configuration.  

What i can mention additionally that i have configured as environment variables http_proxy and https_proxy. Maybe I need some other parameter to add?


author: Oleksandr K_
body: so issue was in certificate, when i downloaded it from personal laptop and exported with whole chain, and then imported in trusted roor store, everything started to work
?an I create a Slack Channel from an incident using the api?
Asked by ???? ????????:

I want to create an incident via the API inside my app and then create a Slack chat channel for the incident via the API. How can I do this?  
I was thinking of making a request in the internal opsgenie API along the path /webapi/incidents/incnum/chat/create-channel  
, but I don't know how to log in


Answers:
author: Samir
body: Hi [@???? ????????](/t5/user/viewprofilepage/user-id/4739338) ,

There is no public API available to create a slack channel from an incident via API. You could leverage Slack's API To create the channel, but the channel wouldn't be linked to the incident of course.

We can enter a feature request for a way to trigger the slack channel to be created from the incident via API.

Thanks,

Samir

comments: author: ???? ????????
body: Hi [Samir.](https://community.atlassian.com/t5/user/viewprofilepage/user-id/2168284)  
Thanks for you reply.

It would be great if you could make such a method. Will there be any notification if such a method is added?


author: Samir
body: Hi [@???? ????????](/t5/user/viewprofilepage/user-id/4739338) ,

You can follow the feature requests here:

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

You can vote for it, and watch it so you will get notified of any updates to it.


Tags: cloud

slack
I have two opsgenie accounts and I cannot login to one in app
Asked by Guillermo Contreras:

Hi,

I have Opsgenie for my company but I noticed that I have two accounts: one that is 'personal' and one related to my company. I have not set this up this way myself it is just how I see it.

The problem is that when I login to the Opsgenie app only my 'personal' account appears and I do not have anything there. I need to login to the other account but I cant and dont know how. On the web I can choose between the two but not on the app, I only have one way to login and is just to the 'personal' account.

I need Opsgenie soon for oncall days and I need the app for the alerts, can somebody help me?

![Screenshot 2022-02-02 at 11.24.06.jpg](/t5/image/serverpage/image-id/181153i0BE40DD6F37DA546/image-size/large?v=v2&px=999 "Screenshot 2022-02-02 at 11.24.06.jpg")


Answers:
author: Robert
body: Hi [@Guillermo Contreras](/t5/user/viewprofilepage/user-id/4738953) !

This would be best handled by opening up a ticket with our support team over at <https://support.atlassian.com>.

If you open a ticket for this over there, we will be able to get a bit more information to help you out without putting it in a public forum.

Hope this helps!

comments: author: Guillermo Contreras
body: thanks! I wanted to ask before opening a ticket


Tags: cloud

login
Moving services between teams
Asked by Gareth.Oakley:

We've just merged a couple of incident handling teams as a result of restructuring. I've managed to move integrations into a single team, but I can't find a way of moving services between teams. Is this something that's possible?


Answers:
author: Samir
body: Hi Gareth!

From the **Services** page, you can click on a specific service, and *remove* the Owner team, and you will then be able to assign a new owner team once the original owner team is removed.

![2022-01-31_12-16-30.png](https://community.atlassian.com/t5/image/serverpage/image-id/180828i1888302A90823D2B/image-size/large?v=v2&px=999 "2022-01-31_12-16-30.png")

![2022-01-31_12-16-10.png](https://community.atlassian.com/t5/image/serverpage/image-id/180827iD357A5241E1EFEA9/image-size/large?v=v2&px=999 "2022-01-31_12-16-10.png")

Hope this helps!

Thanks,

Samir

comments: author: Gareth.Oakley
body: Hi [@Samir](/t5/user/viewprofilepage/user-id/2168284) - I'd completely missed the option to remove the team there. Many thanks!


author: blaw2422
body: [@Samir](/t5/user/viewprofilepage/user-id/2168284) - can you point me to the docs for doing this with the Opsgenie API?

Thanks
Incident rules and alert policies
Asked by Edoardo Passacantilli:

Hi all,

in our service we'are using Incident rules to reduce alert noise. Our configuration includes some Alert Policies when a new alert is received; these policies can change the name (message) and the priority of alerts. In this case, the Incident Rules works on the originating values or on the new values modified by the alert polcies?

Thanks in advance

EP


Answers:
author: John M
body: Hi Edoardo,

That is a good question - Incident Rules run against the new/updated alert values value, after being modified by the alert policies.

comments: author: Edoardo Passacantilli
body: Hi John, thanks a lot for the support!


Tags: cloud
Can I create custom fields in Opsgenie incidents
Asked by JP Feve:

Is there a way to modify the fields in the Incidents?

For example, I'd like to pull the Tags from a drop-down list. I'd also like to embed a link to a document describing best practices for incident creation


Answers:
author: John M
body: Hi JP,

The tags for the incident come from the alert so there is no way to add a drop-down list to select from, but you can manually add new ones directly to the incident. You can also use an incident creation rule to add additional tags automatically. Adding a link to a document for best practices can also be done with an incident creation rule. ![inc_rule.png](https://community.atlassian.com/t5/image/serverpage/image-id/180580i9F6C38F6AB9208FC/image-size/large?v=v2&px=999 "inc_rule.png")

comments: author: JP Feve
body: Does this also mean that the fields in the incidents are frozen and can't be customized?


author: John M
body: The fields that are built into the incidents can't be changed but you can add your own fields with the Extra Properties.


author: JP Feve
body: Got it, thanks!
why opgenie sent mail when jira's url change ?
Asked by M?lanie Liguet:

Hi,   

I'm jira administrator.  
I see that opsgenie is connected to our jira but no alert is configured (I think my predecessor tested opsgenie at some point)

Recently we changed the url of our jira, and many users have received an email from opsgenie (see attachment)

I don't understand why opsgenie sent an email when no alert is configured. Can you help me understand?

Regards,

![Capture d??cran 2022-01-20 ? 08.32.55 (1).png](https://community.atlassian.com/t5/image/serverpage/image-id/180512iD7A74D4054B94E4C/image-size/large?v=v2&px=999 "Capture d??cran 2022-01-20 ? 08.32.55 (1).png")


Answers:
author: John M
body: Hi Melanie,

The email in your screenshot was sent out because the URL of your opsgenie account was changed. All Opsgenie users would need to login again using the new URL. This email is not related to alerts at all - it's just letting users know that their current web sessions in Opsgenie were terminated due to the name change.
Atlassian Bamboo server Alternative tool
Asked by Prakash:

Since Atlassian has announced the end of support for all Server products, we are now evaluating other tools which can be replaced with Bamboo.

Any Alternative tool from Atlassian for Bamboo?


Answers:
author: Dirk Ronsmans
body: Hi [@Prakash](/t5/user/viewprofilepage/user-id/3298716) ,

why not simply move to Bamboo Datacenter? (when it comes out)

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

comments: author: Alex Janes
body: Probably because, like most of their on-premise products, there is a massive price increase between server vs data center.


author: Jimmy Seddon
body: Except that Bamboo was licensed based on the number of remote agent instances not based on users.

Much like BitBucket DataCenter offered lower user tiers for licenses, I don't expect Bamboo Datacenter is going to have a massive price increase.


author: Alex Janes
body: Depends on your definition of 'massive' I guess.

Maybe 'massive' is unfair. But \~30% increase is not small and definitely will be a sticking point with plenty of people.
Does Bamboo Java spec have something like YAML's "!include"?
Asked by james.mckean:

We are weighing Bamboo YAML against Bamboo Java specs. We are looking for scalability features. There is a feature of YAML, "!include", that allows the inclusion of other files in the bamboo.yml file. This would help us manage a high volume of spec files.

Is there a similar feature in Bamboo Java Specs?


Answers:
author: Alexey Chystoprudov
body: Yes, look at <https://docs.atlassian.com/bamboo-specs-docs/7.2.4/specs.html?yaml#includes>

comments: author: james.mckean
body: That explains how to use !include in Yaml specs, but what I am asking is whether I accomplish the same thing using the Java spec. Since I am not a Java programmer, this may be a very naive question, but I am trying to figure out how to combine multiple build programs, connecting with different source code repos, in one Java Spec file.


author: Alexey Chystoprudov
body: Oh, sorry I messed it up.

Regarding Java specs. First of all all files should be kept at same repo unless you want to deal with dependencies management using Maven\\Artifactory.

In Java language you have concept of classes which are generally kept at different files and have access to each other.

So Java language is more scalable here, some of Atlassian teams use YAML Specs if they need to manage few plans, but if you need to manage 50+ plans then Java is more convenient tool. For example Jira dev team manages 4500+ plans at Java Specs.


author: james.mckean
body: After a few hours with a Java basics book, I was thinking that external classes would be a key. Thanks for the confirmation.

I would love a chance to learn more about how teams approach this. When are separate plans used, when are edits applied to spec files for a core plan, etc. Are you aware of any resources you could point us toward that discusses organizing and running a 50+ plan program using Java Specs?

Thanks


author: Alexey Chystoprudov
body: I'm not aware of any external resources about organising of Specs code. Every team gradually evolves their codebase and follow approach which works best for them.

In Bamboo team we have combination of classes with plan config and utility classes for common operations like running test task, artifact definitions, docker images config etc.


author: james.mckean
body: In case others are looking I did find this article about one approach.

<https://yayimorphology.org/bamboo-specs-project-sharing.html>

I am still struggling to completely understand it, but it is at least a pointer.
SonarCloud - Java version
Asked by Thirupathi Gangula:

I use JDK 1.8 to compile the application source code. However, SonarCloud is looking for Java 11 to run the scan report.  
If I use Java 11, it gives me a different error message.

I am just wondering if anyone using SonarCloud with Java 11 in Bamboo.  
I don't think our application does support OpenJDK11 in order to run compile and sonarcloud together. Can you give some suggestions please ?


Answers:
author: Thirupathi Gangula
body: Hi there, I tried that created a new maven task with OpenJDK11 already. It gave me a different error as I think SonarCloud doesn't support OpenJDK11. See error message below.

29-Apr-2021 10:39:41 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED  
29-Apr-2021 10:39:43 \[INFO\] Scanning for projects...  
29-Apr-2021 10:39:43 \[ERROR\] \[ERROR\] Some problems were encountered while processing the POMs:  
29-Apr-2021 10:39:43 \[ERROR\] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at specified path /datavg/bamboo-capabilities/java/openjdk-11.0.2/../lib/tools.jar @  
29-Apr-2021 10:39:43 \[ERROR\] Unknown packaging: mule @ line 8, column 13  
29-Apr-2021 10:39:43 @  
29-Apr-2021 10:39:43 \[ERROR\] The build could not read 1 project -\> \[Help 1\]  
29-Apr-2021 10:39:43 \[ERROR\]  
29-Apr-2021 10:39:43 \[ERROR\] The project ie.zurichlife:s-zl-document:1.2.4-SNAPSHOT (/datavg/bamboo-home/xml-data/build-dir/91652100/RP-IT-JOB1/pom.xml) has 2 errors  
29-Apr-2021 10:39:43 \[ERROR\] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at specified path /datavg/bamboo-capabilities/java/openjdk-11.0.2/../lib/tools.jar -\> \[Help 2\]  
29-Apr-2021 10:39:43 \[ERROR\] Unknown packaging: mule @ line 8, column 13  
29-Apr-2021 10:39:43 \[ERROR\]  
29-Apr-2021 10:39:43 \[ERROR\] To see the full stack trace of the errors, re-run Maven with the -e switch.


author: Gonchik Tsymzhitov
body: Hi [@Thirupathi Gangula](/t5/user/viewprofilepage/user-id/3916414) ,

Based on the

<https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/Sonarcloud-java-11-suppport/qaq-p/1406715>

you can think about cli
Artifact copier fails due to Java heap size but build is successful
Asked by Bjorn Harvold:

I have a build that that has been green for weeks. Today, I see this text in the log:

Failed to execute plugin 'Artifact Copier' with error: Java heap space

All artifacts are set to "required". This build still went green and is now causing havoc on other plans that depend on these artifacts.

I am playing around with Xms and Xmx properties in setenv.sh. However, this behavior should be marked as a Bamboo bug.


Answers:
author: Jeyanthan I
body: Hey Bjorn,

Just wanted to close the loop after our internal discussion.

A bug report - [BAM-21327](https://jira.atlassian.com/browse/BAM-21327) has been raised for this and is fixed in the next major release - Bamboo 8.0 already.

Thanks again for taking the time to flag this.

Cheers,  
Jey


author: Bjorn Harvold
body: Hi [@Jeyanthan I](/t5/user/viewprofilepage/user-id/1124775)

Can share whatever you need. However, you do not allow for anyone with a startup license to file bugs. That's why were are here in the community forum ;-)

comments: author: Jeyanthan I
body: Ah, right. My apologies. I just raised an internal ticket to follow up on this further.

Cheers,  
Jey


author: Jeyanthan I
body: Hi Bjorn,

We'd need to review appropriate logs and understand what happened. Do you mind raising a support ticket with us and share the agent log and server log captured during this timeframe?

Cheers,  
Jey
Where do i download version 6.5 of bamboo from
Asked by Rafer G:

It says quite clearly on <https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html> that I should go my version to 6.5 to latest... HOWEVER when i go to the <https://www.atlassian.com/software/bamboo/download-archives> page to download a version, all I've got is 6.5.1 - which is close, but its not 6.5 - and we know in software that not equals is not good enough.

Am I missing a secret download location here?


Answers:
author: Jeyanthan I
body: Hi Rafer,

I agree that the binaries to download are not in order. Just so you know, when you see 6.5 in the upgrade docs, it is okay (in fact encouraged) to choose the latest version of that. So, in this case, 6.5.1 is the latest minor version in 6.5 release and you may use that binary to do the upgrade.

Hope that helps.

Cheers,  
Jey


author: Rafer G
body: For get it. - Atlassian isn't publishing things in order.

SIGH.


Tags: upgrade
can't connect to mysql
Asked by Hozen Shi:

Hi, I've check with mysql connection in shell, and it works. not sure why it keeps reporting:

Error accessing database: java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

Is there any debug log can help to debug this issue?


Answers:
author: Hozen Shi
body: ok, just found the log files under bamboo home directory.

no more question, thanks.
YAML spec file
Asked by Sebastien Berthiaume:

Is there a way to have TWO plan in a YAML file. I've check the reference and it seems possible:

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

However, every time I try this:

```
---
version: 2
plan:
  project-key: TEST
  key: TESTBUILD
  name: build_one

stages:
  - Short Validation 1:
      - step1

step1:
  requirements:
    - OS: Linux
  tasks:
    - script:
        - echo "build-ONE"

---
version: 2
plan:
  project-key: TEST
  key: TESTBUILD
  name: build_two

stages:
  - Short Validation 2:
      - step2

step2:
  requirements:
    - OS: Linux
  tasks:
    - script:
        - echo "build-TWO"
```

(also tried using include file, same results)

I only get the first plan to be build....

What I'm I doing wrong?

I know the example is basic, but ultimately is to have a generic plan, and a plan to build only at night (different stage)


Answers:
author: Alexey Chystoprudov
body: Plans at your sample have same key, but keys and names should be unique
Task:scripts name in bamboo-specs
Asked by dango85:

I am trying to set name for the scripts that were generated in my build tasks using bamboo-specs yaml. Is there a property I can define in bamboo specs definitions of my tasks:scripts that can give it a custom name? Currently when I open the job in bamboo, the tasks section shows bunch of scripts and have to drill through each to identify the one I am validating.

![Screen Shot 2021-04-21 at 9.50.08 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/139737iB56FCCB43F59447B/image-size/large?v=v2&px=999 "Screen Shot 2021-04-21 at 9.50.08 AM.png")

Thanks


Answers:
author: Marck
body: I was looking for the same thing last week.

It appears as though the "description" tag was only available in YAML spec version 1, as well as the Java spec. I have yet to find any documentation for 7.2.4 (using version 2) that supports the "description" field.


Tags: spec

yaml
deployment project: release versioning "version" attribute - how to pass value from build?
Asked by Dariusz Dzingielewski:

Hi,

I have a build plan (in bamboo yaml) with script task. Script calculates (besides many other things) my custom new version number. Build plan is linked to deployment project (which is automatically triggered after successful build). The question is how can I configure bamboo deployment project to use that "custom new version number" (known inside build plan execution) in release versioning "version" attribute?

In other words: I would like to create every new release in bamboo with the name based on "custom new version number" which is calculated one step earlier (inside build execution).

Plan variables are scoped to broad (every build inside plan). I would like to have something like custom "bamboo build variables" bus it seems that this is generated only by bamboo.

I use bamboo 6.10.3

Thanks a lot for any suggestion how to achieve that.

Darek


Answers:
author: Marcin Gardias
body: Inject Variable Task allows creation of 'result' variables. Those can be used in deployment version naming.

Basically, you need your script to create a .properties file with the variables you want to create and then use Inject task to read it. The variables will then be available as 'bamboo.\<namespace\>.\<name_of_the_var\>', where 'namespace' is defined in the task config and name of the var comes from the properties file.

This is how it might look in YAML Specs:

```
- inject-variables:
   file: props
   scope: RESULT
   namespace: inject
```

With this config, properties file like

```
variable=value
```

is going to give you a variable accessible as 'bamboo.inject.variable'

comments: author: Marcin Gardias
body: <https://docs.atlassian.com/bamboo-specs-docs/6.9.0/specs.html?yaml#task-inject-variables>


author: Dariusz Dzingielewski
body: Thanks a lot, It seems that this will resolve my issue ;)


Tags: deployment

release

variable

version
Role based access
Asked by sai kumar erukulla:

How to set role based access for status page.

Like if there are Dev, QA and Prod

Developer should be able to see on Dev information

QA should able to see only QA

Some one like admin access should be able to see all the information.

Can you respond on these ASAP


Answers:
author: Victor Dronov
body: Hello Sai,

Statuspage used to have plain access model, where all team members have equal permissions within a product.

However, our most recent release - [user permissions](https://support.atlassian.com/statuspage/docs/set-up-user-permissions-for-team-members/) - allows account owner to set which status pages within your org account each user should have access to.

This feature is **only available if your org is already using Atlassian accounts**. If you have signed up after June 11th 2020 - you have one. Otherwise, you may check whether you are using it by going to your avatar icon in the bottom left \> Profile \> you'll see a note on top of the page if you are using Atlassian account already.

For most of our customers, who do not have Atlassian account yet, we'll be doing a[gradual migration in the coming months](https://support.atlassian.com/statuspage/docs/migrate-to-an-atlassian-account-from-statuspage/). Please stay tuned.