youngmon/atlassian-qna huggingface dataset:
Error 422 Unprocessable Entity creating new Integration Action for CloudWatch integration.
Asked by Joel Bradley:

Hi All,

I'm trying to use the Integration API to create a new CloudWatch integration then dynamically add new integration actions to that integration.  

The CloudWatch integration gets set up fine. I then take the values for IntegrationId and ApiKey from the new integration and try to add a new action to that integration.  
I get error 422 Unprocessable Entity. It doesn't like the format of my json. I've been sure to only include mandatory fields.  
Input params are as follows.  

$uri = '<https://api.opsgenie.com/v2/integrations/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/actions>'  
$api = 'GenieKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'  
$head = @{"Authorization" = "$api"}  
$body = @{"type"="create";"name"="Create Alert -Test";"alias"="alias for this alert"} \| ConvertTo-Json  
Or  
$body = '{\\"type\\":\\"create\\",\\"name\\":\\"Create Alert -Test\\",\\"alias\\":\\"alias for this alert\\"}'  

$data = Invoke-RestMethod -Uri $uri -Method Post -Headers $head -ContentType "application/json" -Body $body  

The response is:  
Invoke-RestMethod : The remote server returned an error: (422) Unprocessable Entity.  
At line:1 char:9  

Can anyone help me to get the integration to accept this JSON?  

Bear in mind, this is a CloudWatch API integration and not the Default API integration.  

Any assistance would be greatly appreciated.


Answers:
author: John M
body: Hi Joel,

It looks like the following fields are also required for the *create* action:

"user": "{{user}}",  
"note": "{{note}}",  
"source": "{{source}}",  
"message": "{{message}}",  
"description": "{{description}}",  
"entity": "{{entity}}"

That doesn't seem to be very clear in the docs; I will put in a request to have them updated.

comments: author: Joel Bradley
body: Thank you John.  
The requests are now getting through.


Tags: cloudwatch

integration
Getting an error when trying to create an integration to Jira Software Cloud
Asked by Amarga (Customer):

### Hi, {#toc-hId-1316129878}

I am using Jira Software and Opsgenie (both trial version)

I want to create an integration so I went to Opsgenie \> settings \> Integrations then I clicked in Add integration and fill in the form. However, when I click Save I get the following error message:

### Subscription is not granted with integration.global {#toc-hId--491324585}

Any idea what am I missing?


Answers:
author: John M
body: Hi Annie,

If you are on the Essentials trial, you can only add integrations within teams. You can to go to **Teams \>\> Select a team \>\> Integrations** and your Jira integration should work. Global integrations are only available on the Standard and Enterprise plans. You can also upgrade your trial for free by going to **Settings \>\> Subscription** (Under the *Billing* section at the bottom).

comments: author: Landon Tran
body: When I go to my subscriptions, I do not see opsgenie. Only jira service management and my other app, confluence.


author: Daniel
body: I'm getting a similar issue in a test bed I'm playing with.

I'm in OpsGenie, in Teams, trying to add an integration to Jira Service Management Cloud. Both are free versions/subscriptions. I'm just doing a little test on a throwaway site on my end to prove this works for a future project.

When I get everything hooked up, I get the following error.
> We couldn't create the integration
>
> com.opsgenie.integration.subscription.SubscriptionNotGrantedException: Subscription is not granted with integration.JiraServiceDesk.outgoing
>
> Try again

![Screenshot 2022-04-12 164018.png](https://community.atlassian.com/t5/image/serverpage/image-id/192512i603B95321A7AD27D/image-size/large?v=v2&px=999 "Screenshot 2022-04-12 164018.png")

comments: author: John M
body: Hi Daniel,

The free version does limit the outgoing/2-way functionality on the Jira Service Management Cloud integration.


author: Landon Tran
body: Why is there limited functionality when it says full functionality on the trial page? I am having the same issue integrating jira service management cloud.

![2022-04-12 14_33_17-Sign up _ Atlassian.png](https://community.atlassian.com/t5/image/serverpage/image-id/192670i9862C7265C6CCD8B/image-size/large?v=v2&px=999 "2022-04-12 14_33_17-Sign up _ Atlassian.png")


author: Daniel
body: Hey Landon,  

I think that the free version is distinct from a 14 day trial of the paid versions.

Shelving this for the moment, but I'll take a look at it again once time frees up.


author: Howard Nedd
body: Hi,

It could depend on the plan that your currently on (trial).
Auto-Assigne Alerts based on shedule
Asked by Tomek:

Hello,

I've connected OpsGenie with Zabbix and now I'm trying to autoassigne alerts created by zabbix on OpsGenie to on-call person based on schedule.

Is that possible?

\[UPDATE\]

I've uploaded screenshot so you can see what I mean :)

So in general once new problem is created on Zabbix it will create Alert in OpsGenie and call right person but owner is "no owner", no one is assigned.![OpsGenie.png](https://community.atlassian.com/t5/image/serverpage/image-id/185901iD407C0B1B8E6AC1D/image-size/large?v=v2&px=999 "OpsGenie.png")

Can it also automatically change owner/assigne the on-call person? So it will be like below? ![OpsGenie_assigned.png](https://community.atlassian.com/t5/image/serverpage/image-id/185902i95BB1AC98E8AE2B8/image-size/large?v=v2&px=999 "OpsGenie_assigned.png")

\[SOLVED\]

Hello, I found the solution, there is "closedBy" field in alert response data which is enought to use when closing alert via OpsGenie. Using it, I have neccessary information on Zabbix event :) Thank you guys for help! :)


Answers:
author: John M
body: Hi Tomasz,

When sending the alerts from Zabbix, you will need to specify an Opsgenie team in the *Responders* field. Without first routing to a responding team, there can be no on-call user. Users are only on-call within individual teams. Once the alert is routed to the correct team, you can use the routing rules within that team to send the alerts to the on-call users.


author: Dirk Ronsmans
body: Hi [@Tomasz Mazur](/t5/user/viewprofilepage/user-id/4782752) and welcome to the community!

From your question I'm guessing you mean something like an rotation of users who need to be notified.

That should be possible and you can find more detailed information here:

<https://support.atlassian.com/opsgenie/docs/manage-on-call-schedules-and-rotations/>

comments: author: Tomek
body: Hello Dirk,

It's not exactly what I'm looking ;)

I've put an update with screenshots for better understanding what I'm looking for.
What are the biggest differences between Opsgenie Standalone and Opsgenie which is integrated in JSM
Asked by Howard Nedd:

We are currentlyy in the process of deciding if we are going to use Opsgenie standalone or Opsgenie which is integrated in JSM.

The main reason that we are comparing the two is because the standalone instance provided the Incoming Call Routing feature and the Jsm version of Opsgenie does not (Although the feature is currently also visible in the jsm version of opsgenie).

What are other pros and cons to consider when making this decision?


Answers:
author: Nick H
body: Hi [@Howard Nedd](/t5/user/viewprofilepage/user-id/4566707) ,

At a high level, the JSM plans do not include:

* [Incoming call](https://support.atlassian.com/opsgenie/docs/incoming-call-routing/) routing

* Live in-app chat support (only Community or [ticket support](https://support.atlassian.com/opsgenie/))
* Free [Stakeholder](https://support.atlassian.com/opsgenie/docs/get-started-with-opsgenie-as-a-stakeholder/) roles

However JSM plans have extras including:

* Major incident management in Free (vs. none in standalone)

* Services in Free (vs. none in standalone)

* Unlimited SMS alerts in JSM standard (vs. extra charge in standalone)

Each JSM subscription receives a free corresponding Opsgenie. JSM standard is the equivalent of a standalone Opsgenie essentials plans. While JSM premium and enterprise equate the standalone Opsgenie enterprise plan.

So to upgrade the features include in your JSM-OG (ex: JSM standard), you'd have to upgrade your JSM subscription entirely - which could be very costly - especially if only a select number of users are going to be using Opsgenie.

You can compare pricing, plans, etc. here as well:

<https://www.atlassian.com/software/opsgenie/pricing>

<https://www.atlassian.com/software/jira/service-management/pricing>

Hope that helps!

comments: author: Howard Nedd
body: Hi Nick,

Thank you for taking the time. This will

help a lot.

Regards,

Howard


Tags: jira-service-management
I can not download or delete or move files.
Asked by Yuhang Yang:

I cannot download, delete and make other changes on the files in scratch, and the job status is always CG after I have cancelled the job for a long time.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Could you tell us the symptoms of "cannot download/delete/change files in scratch"? What exactly are you clicking on / typing / using, and what are the error messages?
How do I match the Priority from OpsGenie to Jira Service Management?
Asked by Marlon Silva:

I saw this question here ( [https://community.atlassian.com/t5/Opsgenie-questions/How-do-I-match-JSM-to-Opsgenie-priority-level/qaq-p/1583386?utm_source=dm\&utm_medium=unpaid-social\&utm_campaign=P:online\*O:community\*I:social_share\*](https://community.atlassian.com/t5/Opsgenie-questions/How-do-I-match-JSM-to-Opsgenie-priority-level/qaq-p/1583386?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*))

and I understood the answer actually resolved the concern. But I think when I am in OpsGenie in the Integration, i dont see any Advanced button.

My question is:

\> How can I get the Advanced button?

\> Is there anyway we can get to match the Priority between OpsGenie and Jira Service Management?

This is the the major concern we need to get the alerts work properly between OpsGenie and Jira SM.

Thank you!

Marlon


Answers:
author: Cindy
body: Hi John, my company has the standard plan, yet still same issue - no 'advanced' option available.

What should I do?

comments: author: John M
body: Hi Cindy,

Can you open a ticket via the chat in Opsgenie or at <https://support.atlassian.com> and we will look into this for you.


author: John M
body: Hi Marlon,

**"How can I get the Advanced button?"**

The Advanced settings of the integration are only available on the *Standard* and *Enterprise* plans.

**Is there anyway we can get to match the Priority between OpsGenie and Jira Service Management?**

There is already a feature enhancement submitted for this that you can upvote here:

<https://jira.atlassian.com/browse/JSDCLOUD-9565>

In the meantime, if you decide to move to the Standard or Enterprise plans, you can follow the [post you linked to](https://community.atlassian.com/t5/Opsgenie-questions/How-do-I-match-JSM-to-Opsgenie-priority-level/qaq-p/1583386?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*) as an alternative solution.
Change Default repository using Bamboo YAML specs
Asked by Vinod Dampuru:

Below is my bamboo specs directory structure

* bamboo-pipelines-repo/bamboo-specs/plan1.yaml (Check out from repo1)
* bamboo-pipelines-repo/bamboo-specs/plan2.yaml (Check out from repo2)

Since i am maintaining all the specs in one repo 'bamboo-pipelines-repo' is setting up as default repo. Due to this i am not able to create branch plan for repo1 and repo2.

plan1.yaml -\> Need to have repo1 as default repository

plan2.yaml -\> Need to have repo2 as default repository

Is it possible to have such kind of configuration using Bamboo specs ?


Answers:
author: Alexey Chystoprudov
body: It's not yet possible, please watch <https://jira.atlassian.com/browse/BAM-20563> for updates. It's planned for resolution at the next Bamboo version.


Tags: spec

yaml
How do i reset my password ,im failing to login?
Asked by Nokulunga:

How do i reset my password ,im failing to login?


Answers:
author: Eduardo Alvarenga
body: Hi [@Nokulunga](/t5/user/viewprofilepage/user-id/4436483)!

Welcome to Atlassian Community!

To temporarily gain access to your Bamboo Server instance with a new admin account, add the following option to your *${BAMBOO_INSTALL}/bin/setenv.sh/bat* file under **JVM_SUPPORT_RECOMMENDED_ARGS**and restart Bamboo:

```
JVM_SUPPORT_RECOMMENDED_ARGS="-Datlassian.recovery.password=temporarypassword"
```

Once Bamboo starts, use **recover_admin** as the username along with the defined password.

Have your password reset, then undo the changes to *setenv* and don't forget to restart Bamboo afterwards.

A complete, step-by-step guide can be found here:

* <https://confluence.atlassian.com/bamboo/lockout-recovery-process-952624910.html>

Kind Regards,

Eduardo Alvarenga  
Atlassian Support APAC
need to generate a new license key
Asked by Isabelle Debel:

Dear Sir / Madam,

We used Bamboo in evaluation version and upon final purchase of Bamboo the migration of the database requires a re-install. We already requested the license key with the old server-id. Now we do have a different server-id and it isn't possible to create a new license key.

Can you please assist?

Kind regards,

Isabelle   
Applikon Biotechnology B.V.


Answers:
author: Brant Schroeder
body: [@Isabelle Debel](/t5/user/viewprofilepage/user-id/1156110) I would suggest that you submit a support issue here <https://support.atlassian.com/contact/> if you have any issues.

There is no need to update the Server ID. The license was issued to a [my.atlassian.com account](https://my.atlassian.com/products/index), you can retrieve the license from there and enter it into machine B (see [Updating your Bamboo license details](https://confluence.atlassian.com/display/BAMBOO/Updating+your+Bamboo+license+details)). Once that's done and machine B is in production, you can decommission machine A.
How to install bamboo in a cluster.
Asked by Sandeep Goru:

I have installed bamboo in a single node. How can I add another node to the primary and make it a cluster.


Answers:
author: Nic Brough -Adaptavist-
body: Start at <https://confluence.atlassian.com/bamboo/installing-bamboo-data-center-1063170560.html>

comments: author: Sandeep Goru
body: Thanks Nic for the response. Is this part of early access program or is it fully functional for cluster setup? We are planning on creating a cluster for Bamboo install.


author: Nic Brough -Adaptavist-
body: It is currently "early access".

Do not let that stop you using it.

Atlassian really do use a lot of what they find from early access people

Whilst there is no useful commitment that "do Bamboo DC stuff and have it work when/if we release it", of all Atlassian's server-\>DC migrations, this looks like the one most likely to work without fuss (This is very very much my opinion, do not rely on it)
Account suspended
Asked by ?? ?:

already on''official/master'  
error:you account is suspended.please check with your installation administrator  
fatal:could not read from remote repository.

please make sure you have the correct access rights and the repository exists


Answers:
author: Nic Brough -Adaptavist-
body: This is what it says it is, but it is not actually too helpful when it says "account".

There are three accounts it might be talking about.

* There is the account that owns (and pays for) your Bitbucket server. If that is "suspended", the most likely reason is that the bill has not been paid so the service is suspended. Technically, the actual Atlassian account behind it is probably not suspended, it's just the service(s) accounts that belong to it.
* The second account it might mean is the **Atlassian account** you are using to access bitbucket (you can check if that is suspended by logging into the community here with it - if you can log in here, it's not suspended).
* The third account is might mean is the account you are using to access bitbucket (which may or may not be an Atlassian account as above). If it is this reporting as "suspended", it means the owners/admins of your bitbucket account have suspended its access to bitbucket

In general, the only answer we can give you here is "you need to talk to the admins of your bitbucket" - they'll be able to tell you why you no longer have access, and what to do to get it back.
REST API: How do you create a new release from build result?
Asked by Jeremy:

I have a project where I need to leverage the API to trigger deployments. I found how to deploy a release that already exists when I know the deploy environment ID and the release ID. I need help understanding how to use the API to "Create a new release from build result", the deploy option that is available from bamboo's web interface. Any tips would be appreciated!


Answers:
author: Alexey Chystoprudov
body: Use this method <https://docs.atlassian.com/atlassian-bamboo/REST/7.2.4/#d2e2659>
Identifying which repository was updated in Trigger
Asked by Kyle Day:

Hello,

I have a bamboo plan that contains around 20 different repositories.

I have configured a trigger to monitor all of those repositories and kick off the Job if it detects any changes to the master branch on any of those repositories.

Inside of the job, I was hoping there was a way for me to identify which repository was changed, as I want to pass that as a value to my script that runs.  

The only option I see for this in the documentation is calling a variable like -

${bamboo.planRepository.\<position\>.name}

Unfortunately, since the trigger monitors 20 repositories, this isnt helpful since I wont know what the position of the repo that was updated was (since it could be any one of them).

Is there another way to get the name of the repository that had an update pushed to it when it is in a list other repos in the same trigger?

Thanks.


Answers:
author: Michael Trostle
body: Use conditionals maybe and then use the I below variable to do a check?

```
bamboo_planRepository_#_name
```


Tags: linux
execute test cases in Non headless mode in Bamboo
Asked by Rahul Unnikrishnan:

Is it possible to execute test cases in Non headless mode in Bamboo as the testcases contains Sikuli and Robot activities?


Answers:
author: Charlie Misonne
body: Hi Rahul, Welcome to the Atlassian Community!

If your Bamboo agent(s) has a GUI it should be possible to run non headless tests. Bamboo agents simply execute the commands you define in the build scripts. So the agent must support the commands you specify.

comments: author: Rahul Unnikrishnan
body: Hi Charlie,

Thanks for the reply..

While executing I can see the test execution is happening. But the chrome is not opening in the Server. Currently the execution is happening in the Bamboo server.

Is there any reference links available to setup the same


author: Rahul Unnikrishnan
body: The current execution is happening same like headless mode without opening the chrome driver.


author: Charlie Misonne
body: Here is someone who solved it by using the --no-sandbox option for Chrome: <https://community.atlassian.com/t5/Bamboo-questions/How-to-call-chrome-by-bamboo-with-selenium-web-driver/qaq-p/1190182#M27186> Perhaps that will solve your issue.

When searching the web about this issue I found a lot of results, everything depends on your OS, programming language and other technologies you're using of course.


author: Rahul Unnikrishnan
body: Thanks a lot Charlie. I will check this. :)


author: asbs as
body: No want to push documents....From record record output.Xml, it need to take the skip or fail reputation to corresponding take a look at case in zephyr jira robotically from postbuild moves of bamboo robotic program [link](https://thordrc.com/how-to-draw-a-robot/).
Adding a Bamboo Job implicitly adds a Repo Checkout Task?
Asked by Matthew Kluber:

Hello Everyone,

I was adding a test job to my overall configuration for bamboo yaml specs and noticed something I didn't expect.

\`\`\`

. . .

Hello World:  
key: JOB2  
tasks:  
- script:  
interpreter: SHELL  
scripts:  
- \|-  
echo "Hello World"  
requirements:  
- Computer.Name: TEST

\`\`\`

Above is my job, that I've defined with a single script task in my bamboo-spec file on my bitbucket repository. Yet when I go to the configuration of the plan viewed as a yaml spec I see an extra task has been added?

From Yaml-Spec generated from plan:

\`\`\`  
. . .

Hello World:  
key: JOB2  
tasks:  
- checkout:  
force-clean-build: 'false'  
- script:  
interpreter: SHELL  
scripts:  
- echo "Hello World"  
requirements:  
- Computer.Name: TEST

\`\`\`

any help would be appreciated. Thank you!


Answers:
author: C
body: This isn't the best solution but I found that you can work around this by explicitly adding the Checkout task and making it dependent on a variable that you won't define.

For example:

```
 tasks:
?- checkout:
     force-clean-build: 'false'
     conditions:
       - variable:
           exists: NOPOP
     description: Checkout task
 
 # Now define your other tasks 
```

Also found this feature request:

<https://jira.atlassian.com/browse/BAM-20709>
Stop statuspage notification when added as a subscriber
Asked by Asher Francis:

Hi there

We want to turn on component subscriptions for statuspage, and have notifications sent to certain distribution groups when incidents are created for certain components

Currently when you add someone as a subscriber they get an email to say you've been subscribed as per below

![statuspage subscription notification.png](/t5/image/serverpage/image-id/115639i5F5A385983FDABE8/image-size/large?v=v2&px=999 "statuspage subscription notification.png")

Is there any way to stop this being sent? Since we're subscribing dist. lists with potentially hundreds of users, we don't want them to get this notification

Thanks


Answers:
author: Carmen Nadeau
body: Hi Asher,

You can control via API if you want to send, or not, the email for the subscription confirmation

I don't know if each subscription plan offer this. I con confirm that we can do this with Business plan.

comments: author: Dave Parrish _Atlassian_
body: Hi Asher, the option to skip confirmation is available via the authenticated API for all plan types. Here is the endpoint in question:

<https://developer.statuspage.io/#operation/postPagesPageIdSubscribers>

Just specify the optional \`skip_confirmation_notification\` parameter in the POST body, like this:

```
{
  "subscriber": {
    "email": "dave@example.com",
    "skip_confirmation_notification": true
  }
}
```


author: Asher Francis
body: Thanks both, this has worked


Tags: cloud

notification

subscription
" Select a credential helper " pop up not going away
Asked by Ojasvini.Ojasvini:

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


Answers:
author: Nic Brough -Adaptavist-
body: Could you explain why this is happening on Statuspage pages? What exactly is asking you about CredentialHelpSelector?