youngmon/atlassian-qna huggingface dataset:
Reroute existing alert if priority changes
Asked by Marcel Kempken:

Hi,

Users will only be notified on responder alerts on priority P2 or P1. For P1 and P2 alerts an incident will be created (Associate, Owner and Responder).

Global Policies:

1. Decrease the priority of specific events from P2 to P3, some events have a too high priority  
2. Next Global Policy assigns each alert to a specific team based on a unique identifier

Each team has a service which creates an incident on P1 and P2 and routes the alert to the on-call team.  
This works perfectly fine if the priority is P1 or P2 from the very beginning.

Now, if the priority is lowered from P2 to P3 by the first Global Policy, things behave different.  
1. Prio is decreased to P3 (OK)  
2. The alert is assigned to the according team (OK)  
3. Prio is increased (e.g. manually) from P3 to P2

This should create an incident and notify on-call team via the responder alert shouldn't it? Somehow the alert is not rerouted into the team routing rules even though the log says

**Jul 23** **9:28 AM** **system** System

Alert matched to an incident rule of service \[cbad14f8-5d82-4b44-9747-b46417d511d2\]. Will not send notifications.

**Jul 23** **9:28 AM** **alertAction** System

Alert priority has been updated to P2 via Jira\[MonitPrj-Incoming as Task Major\] with incomingDataId\[41b8836b-3a04-49ca-a3bd-3b3dc1d79b61\] using policy/policies\[ArzInn 2\] (Previous priority was P3). Will stop ongoing escalations and notification rule steps, and restart the notification flow as if the alert is newly created now.

But instead no incident is created. Anyone else seen this behavior or am I missing something?

Best regards,  
Marcel


Answers:
author: Kate Clavet
body: Hi there [@Marcel Kempken](/t5/user/viewprofilepage/user-id/3503245) since this is a very specific scenario, please work with our support team so that they can assist you in resolving this question. Let me know if you need anything else! Have a great day!
How do I change the start date of a linked issue to "now" with post functions and nunjucks?
Asked by FMassaro:

Hi everyone,

I have configured my Jira instance to collate all the issues within our project portfolio into a capacity plan program I created in Big Hand. I am using the original estimate to estimate the effort required for each task, these are then scheduled in the resource view provided by BigHand according to their start date and due date.

It works amazingly, but the view is somewhat ruined by delayed tasks: I am not able to see how these are impacting on our capacity and what is the domino effect of a delayed task on the rest of the sprint/project stream.

I am willing to have a small discrepancies for single tasks running late, but I would like to reschedule the linked successor tasks as soon as the late one goes into "done" status.

I plan to do that with a post function attached to the transition that set the "predecessor" task to done. I just have a small issue, I don't know how to instruct JMWE to set the start date for the "successor" task to the moment the "task completed" transition has been executed.

is there a way to set the start date of a linked issue to "now" using nunjucks? Could anybody help me in understanding what is the correct expression I should use?

Thank you very much


Answers:
author: David Fischer
body: Hi,

did you look at the "Expected Value" help tab right below the Value field of the post-function configuration screen? It shows an example of how to input the current date, even explaining how to make sure the date is set to "today" in the desired timezone, as "now" can be one day in one timezone and the next (or previous) day in another:

    {{ now | date("tz","America/Los_Angeles") | date("YYYY-MM-DD") }}


Tags: jira
Exporting OpsGenie calendar does not create an active calendar sync in Outlook.
Asked by John Roethke:

Haven't found a way to make current calendars in OpsGenie sync with Outlook Calendar.

When exporting to outlook I get the message: Add this Internet Calendar to Outlook and subscribe to updates? In the advanced tab there are some check boxes that don't seem to make any difference. I can see the exported calendar in Outlook, but any subsequent scheduling changes in OpsGenie cannot be seen in Outlook.

Will this take programming through Office 365?


Answers:
author: Samir
body: Hi [@John Roethke](/t5/user/viewprofilepage/user-id/3498933) !

Did you export the on-call schedule as a URL via webcal link? <https://docs.opsgenie.com/docs/your-on-call-schedule#section-how-to-export-on-call-schedules>

If so, that should keep the calendar in sync with Opsgenie. But it's dependent on the calendar provider (in this case Outlook/Office 365) in order to set how frequently it will refresh to get updates to the schedule. So it could be that your Outlook is not refreshing the webcal.
OpsGenie On Premise
Asked by PhilB:

Hi, I read somewhere (i can;t find the link now) about OPsGenie on Premise. I just wanted to check, is this a self hosted offering of OpsGenie?


Answers:
author: Jimmy Seddon
body: Hi [@PhilB](/t5/user/viewprofilepage/user-id/2907307) ,

Data Residency is something that is important to our company and [@Kate Clavet](/t5/user/viewprofilepage/user-id/2156162) did a fantastic job of pointing out how one of the features they have in beta might help:

<https://www.youtube.com/watch?v=vyxpUsij1t8>

Post is here for context:

<https://community.atlassian.com/t5/Opsgenie-questions/What-information-gets-stored-in-OPSGenie-Data-Residency-concerns/qaq-p/1100474>

I hope that helps!

-James


author: Alexis Robert
body: Hi [@PhilB](/t5/user/viewprofilepage/user-id/2907307) ,

I'm afraid that OpeGenie is only a cloud service at the moment.

--Alexis

comments: author: PhilB
body: Ah darn, I'd read something about on prem and thought that might be what it was referring to. Ah well. Thanks for clarifying.


author: Alexis Robert
body: They provide a solution for environments in the Cloud or On premise, maybe that's where you read this !


author: Dominik Siekierski
body: Nothing has changed? Opsgenie can only be used in cloud and not on premise?

comments: author: Kate Clavet
body: Hi [@Dominik Siekierski](/t5/user/viewprofilepage/user-id/4876022) Opsgenie is a cloud solution, but can connect to your on-prem solutions by using Opsgenie Edge Connector. This page has more information: <https://www.atlassian.com/software/opsgenie/it-alerting-for-onprem>

Have a great day!   

Kate


author: Dainee Ranaweera
body: Is OpsGenie only on AWS or is it also available on other public clouds?


author: PhilB
body: Thanks [@Kate Clavet](/t5/user/viewprofilepage/user-id/2156162) [@Jimmy Seddon](/t5/user/viewprofilepage/user-id/512822) [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) for clarifying, my main reason for asking is we are using OpsGenie currently but have some issues with firewalls and getting all alerts through to the OpsGenie API.

I'd seen a mention of on premise and thought it might be possible to self host the OpsGenie platform. That way we could just open up firewalls to our data center instead.  

Thanks for your time!


author: Kate Clavet
body: Also to clarify, although Opsgenie is only a cloud product, we can communicate with on-prem tools and applications! Let me know if you'd like to hear more.
Why my OpsGenie Webhook URL is not called
Asked by Alex:

I am using webhook to trigger alert from Azure Application Insights but failed to receive alert in OpsGenie. I can send alert by email but I really want to use webhook. I also used the new Azure portal to create alert in Application Insights.


Answers:
author: Mark Campbell-Vincent
body: Hi [@Alex](/t5/user/viewprofilepage/user-id/3484000) - it looks like Azure Application Insights is not one of the Azure integrations provided in Opsgenie. Just to check to see if there is any information on the data sent, can you take a look at your logs in Opsgenie?


Tags: azure

insight
Schedule a Report With Alert Details
Asked by Eric Sletten:

Am I missing it, or is there a way to schedule a report with the alert details? If I go to "Alert Analytics" and run a report for a specific period of time for a specific integration or team. Then if I click on "Alerts per Status" or almost any other graph or chart on that page, I get the option to "Show Alerts" or "Show Alerts Detailed". I know I can schedule that report in different formats, including "as .CSVs" but all it is, is a list of the number of alerts broken down in different ways. I can't seem to find a place where I can schedule a report of the alert details.

We would like to be able to schedule this on a routine basis and sent to application owners for some applications as a safety net to make sure the alerts generated aren't sent to OpsGenie, auto closed, and then forgotten about, never to be seen.

Also some management is feeling a little "lost" without folders full of alert emails to "see what's going on" . I'm not missing them at all :) but it will probably take some time to break the old habits for them and for them to be confident in the system. A detailed report of alerts over the past day (for example) should eliminate the alert email overload and still allow these people to easily access a list of alerts if they desire.


Answers:
author: Brennan Kiely
body: Hi Eric,

Thanks for reaching out about this! Unfortunately, there isn't an option to schedule the alert details in an email right now, but we do have an open feature request with our dev team to add this feature to the platform. In the meantime, the best bet would be to setup something to pull alerts from our API periodically to get this data passively.

<https://docs.opsgenie.com/docs/alert-api#section-list-alerts>

Thanks!
Opsgenie integration to Ivanti ITSM?
Asked by Nigel Murphy:

Hi. Are there any plans to integrate Opsgenie to the Ivanti ITSM platform?

Thanks.


Answers:
author: G?k?em
body: Hi there,

This is G?k?em from Opsgenie Support Team. Thanks for contacting with us! :)

The implementation of Ivanti integration is not in our near term plans but I can create a feature request ticket to our engineering team.

Kind regards,
Robocopy problems
Asked by Jerry Moseley:

I am attempting to copy files from the build directory to another server, using Robocopy.

When Bamboo launches the Robocopy command, I am getting an Access Denied error on the destination path.

When I copy/paste the Robocopy command from the log file into the Powershell, it works fine.....therefore there does not appear to be any permissions/security issues between the two boxes.

I only have an Administrator account doing everything, so it does not look like Bamboo can be launching the Robocopy command via a different account.

Any ideas why I get Access Denied through Bamboo, but can run the Robocopy command just fine from the command line? This is maddening...

Please help! Thank you!


Answers:
author: Jimmy Seddon
body: Hi [@Jerry Moseley](/t5/user/viewprofilepage/user-id/683619),

First, quick question, is this being from from a local or remote agent? I ask because that is important as to which user is running the command. Also, as you are mentioning Robocopy I'm going to assume this is likely two Windows boxes, but could you please confirm that?

Here's what I know from my own experience, if you are running this from a remote agent it doesn't matter what user account the remote agent service is running, the remote agent will run tasks as the user 'bamboo'. To get around this I wrote a PowerShell wrapper where I would pass in the credentials of the admin user account I wanted it to run as and spawned a new Powershell session as that admin user before running the robocopy command.

If this is running from a local agent check to make sure the Bamboo Server service is running as the Admin user account (or another admin user with proper permissions on the destination box) as tasks will run as the logon user for the service.

I hope that helps!

-Jimmy

comments: author: Jerry Moseley
body: Hi Jimmy,

Thank you for your help with this! It was set as run from the default local account (which is administrator), but I changed it to explicitly run as administrator and now it seems to be working! Thanks for your help!

-Jerry
How to setup atlassian-cli 9.2 to use netrc
Asked by Matthieu Brucher:

Hi,

This is something that used to work with 8.8.0, but now with 9,2,0, I get the following error:

Parameter error: This function requires a non-blank value for parameter password

I have the user name and password in my .netrc file, so I thought the command line client would pick it up? I didn't build both versions, so maybe there was an option to add when building the jar?


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Matthieu Brucher](/t5/user/viewprofilepage/user-id/3898738) ,  

Welcome to Community and Thanks for posting your Bamboo Command Line Interface ( CLI) requirement in Community!

We are from the Bobswift support team and we have raised a support request [SUPPORT-3989](https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3989) in our portal to troubleshoot the reported issue and please sign up to the portal. Once you signup, please let us know your username so that we can add yourself to the reporter of the support request.

Can you please provide us below additional details to troubleshoot the issue further.

* Please let us know how you calling the .netrc file for CLI action.
* Provide us .netrc file by removing login details.
* Append --debug to action you are running and provide us debug logs.
* Let us how you defined .netrc file in CLI 8.8 and CLI 9.2

Also for CLI 9.2, it is recommended to define Server and Login details in acli.properties file and alternatively you can define use environment variables for password parameters. Please find [How to use environment variables for password parameters](https://bobswift.atlassian.net/wiki/spaces/SUPPORT/pages/143851700/How+to+use+environment+variables+for+password+parameters) for your reference.

Thanks,  
Avinash

comments: author: Avinash Bhagawati _Appfire_
body: Hi [@Matthieu Brucher](/t5/user/viewprofilepage/user-id/3898738) ,

I just wanted to touch base with you and see whether you got a chance to review our previous message.

Thanks,

Avinash


Tags: cli
How to generate MD5 from package artifact build
Asked by Ray Lee:

Hi,

I have do a little research in web that there is no way to generate MD5 in maven build (at least no official support for this), so I turn to think if it is possible to do it within bamboo build plan / job.

Suppose I have a a self-develop java program or a command line utility like Microsoft File Checksum Integrity Verifier that can output a checksum file, is it possible to use bamboo to execute to run against an EAR / JAR file from result of a build job ?

Would you share me your solution if you think it is possible to do so ?

Thanks a lot,

Raymond


Answers:
author: Mehmet A _Bloompeak_
body: Hi [@Ray Lee](/t5/user/viewprofilepage/user-id/2115484) ,

On windows, you can use built-in MD5 command as below.

```
CertUtil -hashfile your-package.jar MD5 | find /v "hash"
```

You should insert above command into a script task as below.

![Screen Shot 2020-05-02 at 11.38.22.png](https://community.atlassian.com/t5/image/serverpage/image-id/93182i29BDC381E900846E/image-dimensions/574x335?v=v2 "Screen Shot 2020-05-02 at 11.38.22.png")


Tags: checksum

md5
Unable to find mvn.bat inspite of the file present at the lo
Asked by Divya Bhandary:

Hi,

I am getting the below error message when I run a maven build on Bamboo.

Unable to find executable at C:\\apache-maven-3.3.9\\bin\\mvn.bat. Will try to run it anyway.

I have set up Environment Variables M2, M2_HOME, MAVEN_HOME - C:\\apache-maven-3.3.9  
and Path - C:\\apache-maven-3.3.9\\bin

I have added the Server Capability -\> Maven Atlassian - C:\\apache-maven-3.3.9

I have copied the mvn.cmd and mvnDebug.cmd files and created a .bat file at the 'C:\\apache-maven-3.3.9\\bin' location.   
I am still getting the same error message displayed when the build is run.

Thanks,  
Divya

![image.png](/t5/image/serverpage/image-id/93056i892DD6072EA8B8A3/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/93057i0918FFFB25ADF63E/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Divya Bhandary
body: Please close this thread. It is working for me. I made a mistake of configuring the value in the Sever Capabilities. I fixed this and now the build is running successfully.

Thanks.
How do I trim the Bamboo Audit log?
Asked by Marilyn DeLuca:

I see the option to Disable, Delete all global audit logs or delete all audit logs but I don't see a way to trim the log like only keep the last month worth of entries. Is there an easy way to do this from the application?


Answers:
author: Mst_jennifer
body: hnbnbnbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
The bamboo wallboard don't show me anything
Asked by Mario Abud:

Why the bamboo wallboard don't show me anything?![wallboard.png](/t5/image/serverpage/image-id/93020i3645317EBDADC07E/image-size/large?v=v2&px=999 "wallboard.png")


Answers:
author: Mario Abud
body: I found this solution <https://jira.atlassian.com/browse/BAM-20874?_ga=2.90224090.11550927.1587823620-792503361.1587413124>
Save an encrypted variable without the using the words: "password", "passphrase", "secret", "sshkey"
Asked by Maik:

Hello :), I would like to know if there's a way to store an encrypted **global variable**in bamboo without using those keywords.

I saw there's a tool called [Bamboo Specs encryption.](https://confluence.atlassian.com/bamboo0609/bamboo-specs/bamboo-specs-encryption)I tried to paste the generated value (example:BAMSCRT@0@0@8fboRi5VzUTdnexYVmtNeg== ) into the variable and then use it in the pipeline. But the problem is that I don't know how to decrypt it yet :(. Is it even possible??

Thanks in advance :)


Answers:
author: Jimmy Seddon
body: Hi [@Maik](/t5/user/viewprofilepage/user-id/1812884),

From everything I have seen and done, Bamboo Specs encryption expects one of the keywords: password, secret, etc. to be a part of the variable name in order to know that it should attempt to decrypt the variable.

Sorry I can't offer more positive news for you.

-Jimmy

comments: author: Maik
body: :( No worries [@Jimmy Seddon](/t5/user/viewprofilepage/user-id/512822) . Thanks for your fast response. If there's really no way to achieve this I will accept your answer to end the thread.
Why is Atlassian planning to deprecate repositories defined against a plan?
Asked by Andy Barclay:

I was reading the Atlassian post here:

<https://confluence.atlassian.com/bamboo/linking-to-source-code-repositories-671089223.html>

It says that per-plan repository configurations are being deprecated and that one should use linked repositories instead. I don't understand how this is going to work. We have several hundred developers who may want to create their own plans and we are planning to move away from using mono repositories. This implies we may have to create several hundred linked repositories. Since creating a linked repository requires "create repository global permission", we will either end up with a lot of people with that (potentially dangerous) permission or my DevOps team will become the bottleneck for developers to create their own plans.

Maybe I'm not thinking about this correctly. Can someone explain?


Answers:
author: Victor Debone
body: Hello [@Andy Barclay](/t5/user/viewprofilepage/user-id/3875795) welcome to the community! :)

Yes, as of Bamboo 7.0.3, creating plan-level repositories is not the advised way of creating repositories.

At the same time, we are aware that the workload for admins in Bamboo is considerably increased with the deprecation of the same plan-level repositories and we still didn't move forward with the decision. I am very interested in knowing your use-case and understanding better how we can improve your situation, would you mind sharing more details? My email is vdebone@atlassian.com :)

comments: author: Andy Barclay
body: Hi Victor,

I am one of 3 global administrators for bamboo and we have 700 developers. A large number of them are using bamboo and we are moving away from a mono repo. Without plan-based repos, any time a development team creates a new repo, they must reach out to one of the three of us to create the global repo. Ideally, there would be project-based repositories. That way, the admins for the project could create repos accessible to the whole project (I would say normally, projects are team-based, so it make sense for a repo to be available to a whole team).
Bamboo does not start - permissions on cipher folder
Asked by Jozef Vandenmooter:

I'm setting up a Poc on a Windows 10 machine with Jira 8.7, Confluence 7.4 and Bamboo 7.0.3.

Jira and Conluence work great, but Bamboo refuses to start because the permissions on the

C:\\Atlassian\\Application Data\\Bamboo\\xml-data\\configuration\\cipher

folder keep *disappearing*.

The error in the log is:
>
> ```
> 2020-04-28 16:13,154 FATAL [localhost-startStop-1] [BambooContainer] Cannot start Bamboo java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Atlassian\Application Data\Bamboo\xml-data\configuration\cipher
> 2020-04-28 18:16:28,268 INFO [LastResortTerminationThread] [lifecycle] * Bamboo has been shut down *
> ```

<br />

No matter how I set the permissions on this folder or its parent folder (establishing inheritance etc), they **disappear** after starting Bamboo! Anyone know how to prevent this from happening?

Note that the Bamboo service is running under an account that has Local Administrator's access

![Capture.PNG](/t5/image/serverpage/image-id/92753iD230B3BA9A5CDE7C/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Jozef Vandenmooter
body: In case someone comes here...

I solved this by re-installing Bamboo and installing the service and then, **before** starting it, changing the log on account to an account that has local admin access.

comments: author: Jeyanthan I
body: Hi [@Jozef Vandenmooter](/t5/user/viewprofilepage/user-id/1132796) ,

Thanks for sharing the solution. I believe this issue is also detailed in this [KB article](https://confluence.atlassian.com/bamkb/unknown-cipher-data-id-0-when-performing-certain-actions-in-bamboo-on-windows-after-switching-bamboo-to-run-as-a-service-923437107.html).

Cheers,  
Jey


author: Alexey Chystoprudov
body: It's related to <https://jira.atlassian.com/browse/BAM-18650> and as Jey mentioned KB has solution for it