youngmon/atlassian-qna huggingface dataset:
Is there a way to deactivate the accounts via a csv import?
Asked by Arif Muhammed:

I am in the process of claiming all the accounts that were unmanaged in our domain to be managed. and I found that some accounts are no longer in use and I would like to deactivate them after claiming those accounts.

Is there a way to do this deactivation based on a csv import file? I was looking up for the options in the forums and documentations, but couldnt find anything.

Regards

Arif


Answers:
author: Rafael Meira
body: Hey [@Arif Muhammed](/t5/user/viewprofilepage/user-id/5477235)   

There are a few ways how you can achieve this.  

You can delete users via the Opsgenie UI, you can find more information about it here: [https://community.atlassian.com/t5/Opsgenie-articles/How-to-Delete-a-User-from-Opsgenie/ba-p/2518843#:\~:text=Users%20can%20be%20deleted%20from,aren't%20gaps%20in%20coverage](https://community.atlassian.com/t5/Opsgenie-articles/How-to-Delete-a-User-from-Opsgenie/ba-p/2518843#:~:text=Users%20can%20be%20deleted%20from,aren't%20gaps%20in%20coverage).  

<br />

Also, you may do that via API here: [https://docs.opsgenie.com/docs/user-api#:\~:text=aec9%2D2491224ab58a%22%0A%7D-,Delete%20User,-Delete%20user%20request](https://docs.opsgenie.com/docs/user-api#:~:text=aec9%2D2491224ab58a%22%0A%7D-,Delete%20User,-Delete%20user%20request)  

<br />

Let me know if you have any additional questions.  

Best,  
Rafa  


Tags: cloud

trello
Jira integration with Opsgenie
Asked by Hristo Vassilev:

Hi,

I have integrated Jira Software (soon we'll switch to Jira Service Management) to Opsgenie and all incidents are successfully flowing to Opsgenie as alerts. I have created 2 incident rules to automatically create Opsgenie incidents when an alert from Jira is matching certain requirements (Source = jira-software-cloud AND Priority = P1 AND P2).

I have two questions:

1. How can I align the Jira Incident ID with the Opsgenie Incident ID (as of today the Jira Incident ID's are at 4900 and counting and the Opsgenie Incident ID's are at \~30 and whenever I want to create a Slack channel form Opsgenie which we want to use as an incident HUB of some sort the Slack channel is labeled with the Opsgenie ID which is misleading.

2. How can I automatically link the Jira incident ticket with the Opsgenie incident ticket, the Jira incident is linked to the Opsgenie alarm, but it's not visible in the Opsgenie incident. I also want to add more details to the Opsgenie incident from the Jira incident.

Thanks


Answers:
author: John M
body: Hi [@Hristo Vassilev](/t5/user/viewprofilepage/user-id/5477181)

John from Opsgenie support here - happy to assist.

Here are answers to your questions:

1. There is no way to control the issue or incident IDs in Jira or Opsgenie, as those are assigned by the system and not accessible on the frontend. You can however add a link to from the Slack channel to the Jira incident to avoid confusion, as explained in the next answer.

2. To add more details to the incident (which can be sent to Slack) you will need to add those details to the alert, which are then carried over to the incident via the incident rule.

For example, to add a link to the incident ID, you will need to create that link in the Jira integration settings, and add it to one of the fields that is used in the incident creation.

In the example below, we are creating a link in the description field via the 'create' action in the integration, and you can see in the second screenshot that the alert's description is used in the incident summary:

![2024-04-17_11-59-41.png](https://community.atlassian.com/t5/image/serverpage/image-id/319016iC9D72B0F1F212FF6/image-size/large?v=v2&px=999 "2024-04-17_11-59-41.png")![2024-04-17_12-00-09.png](https://community.atlassian.com/t5/image/serverpage/image-id/319017i19EC95BF2A53B1C6/image-size/large?v=v2&px=999 "2024-04-17_12-00-09.png")


Tags: jira-software-cloud
Opesgenie User Audit Report
Asked by Anthony Richardson:

Is there a way to run a report or query to see which users in Opsgenie have a cell phone number as well as the app set as notifications?


Answers:
author: Muhammad Khan
body: In Opsgenie, you can run a query or report to identify users with both a cell phone number and the app set as notification preferences. Utilize Opsgenie's reporting or querying features, filtering users based on notification preferences and contact details. Ensure proper permissions to access user data.


Tags: audit

cloud

report
Is there a free way to view who is on call?
Asked by Rus Yates-Aylott:

We have an external party managing our 1st line cases.  
We would like them to be able to see who is on call.  

Would they need an OG licence or is there an easier way?


Answers:
author: Jack Brickey
body: Hi [@Rus Yates-Aylott](/t5/user/viewprofilepage/user-id/5306962) , I wonder if exporting as iCal as mentioned here [manage-on-call-schedules-and-rotations](https://support.atlassian.com/opsgenie/docs/manage-on-call-schedules-and-rotations/) is an option .


Tags: cloud
Is that possible to use opsgenie as a standalone tool if subscribed to JSM already?
Asked by Rishabh Tamrakar:

I use free version of Atlassian cloud and JSM is enabled there for a POC and when I try to access ospgenie URL it says  
"*Jira Service Management now offers the Opsgenie capabilities natively, so separate access to Opsgenie with your account is no longer available. Contact us for guidance on using Opsgenie*   
*functionality within Jira Service Management*."

I tried to use opsgenie features from JSM like Alert list and On-call but I do not find myself comfortable this way but want to use opsgenie on it's original form itself not bundled with JSM.   

Is that possible somehow?


Answers:
author: Shashwat Khare
body: Hi [@Rishabh Tamrakar](/t5/user/viewprofilepage/user-id/5474636) ,  

Yes, that's possible.  

Please log a ticket with us using [this link](https://www.atlassian.com/company/contact/purchasing-licensing?redirectSource=sac-wac-redirect#/) for your JSM bundled Opsgenie to be split into a standalone instance.  

Best,  
Shashwat

comments: author: Rishabh Tamrakar
body: Great, Thanks I'll log ticket there :)


author: Rishabh Tamrakar
body: Hey [@Shashwat Khare](/t5/user/viewprofilepage/user-id/5070894) I had created ticket by the link you provided but I haven't heard back from anyone.


author: Shashwat Khare
body: Hey [@Rishabh Tamrakar](/t5/user/viewprofilepage/user-id/5474636)   

May I know the ticket number for this issue?  

Best,  
Shashwat


author: Rishabh Tamrakar
body: I checked again and there response from Miggy on ticket, I'll continue there thanks Shashwat ?


author: Shashwat Khare
body: That's great! :)


Tags: cloud
alert export csv cell formatting issue
Asked by Lucente, Ransel Marie:

Hello,

In opsgenie when exporting csv for alerts, it generates columns "createdAt," CreatedAtDate," UpdatedAt," and "UpdatedAtDate" fields. However it will not list the information properly. I tried re-formatting the cells to date or time, but it still will not list the correct info. How to change or re-format?

Red outline is showing both date and time in formula bar, but reformatting does not reflect it in the actual cell.

Green outline is showing how it appears without re-formatting.![opsgenie alert reformatting issue.jpg](/t5/image/serverpage/image-id/317796iAC0FB3FC2021CC01/image-size/large?v=v2&px=999 "opsgenie alert reformatting issue.jpg")


Answers:
author: John M
body: Hi [@Lucente, Ransel Marie](/t5/user/viewprofilepage/user-id/5474340) ,

The CreatedAt and UpdatedAt fields in the Opsgenie export are formatted as [unix time stamps](https://www.unixtimestamp.com/). You can convert them with the following formula:

=DATE(1970, 1, 1) + (CELL_WITH_UNIX_DATE/ 86400000)

Be sure the cells with the unix dates are formatted as numbers, or the formula won't work.

comments: author: Lucente, Ransel Marie
body: I'm not following. In my image, J5 says 21:40.0, but in the formula bar says 4/11/2024 09:21:40 AM. How do I get the date and time into it's own cell?


author: John M
body: [@Lucente, Ransel Marie](/t5/user/viewprofilepage/user-id/5474340) the difference between the formula bar and the value shown in the cell would have to do with the formatting. We can't really advise on that since it's not related to the export, but rather the formatting of the spreadsheet editor that you're using.


Tags: cloud
Filter alerts by integration?
Asked by Emma Rector:

Is there a native way to look at the integration directly for conditions? I want to provide multiple APIs so that users creating an alert manually specify what they are working with (e.g. Oracle vs. Sql Server databases). Depending on which API is used, I would like to apply different routing rules to it, because different people know how to handle the two types of things.

Filtering on the integration name directly would be the easiest. It shows up well when I create an alert:

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

(source is my email address because I manually created an alert for testing) . The Integration field also works well for other integrations, showing the name defined on the Integrations page.

But that doesn't seem to be a selectable field when creating conditions (on routing rules, policies, etc.):

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

(not shown: Actions, Alias)

I have tried the following as routing rule conditions, and the activity logs show that they did not work:

* Details (Key-Value Based) Integration Contains DBA_API
* Details (Key-Value Based) API Equals DBA_API
* Details (Key-Value Based) API Equals DBA_API (API)
* Details Contains DBA_API
* Entity Equals DBA_API

I know I could use the Create Alert rule on each API to add a tag/add an extended property/change properties like the message, alias, or description to mark which API is being used, but it seems like there should be something built in to handle this.


Answers:
author: John M
body: Hi [@Emma Rector](/t5/user/viewprofilepage/user-id/5468628) ,

John from Opsgenie support here, happy to assist.

The value in the 'source' field is typically a hard-coded value that is the same as the type of integration. For example, for a Twilio integration it looks like this, by default:

![2024-04-11_23-07-41.png](https://community.atlassian.com/t5/image/serverpage/image-id/317886i8A80FF1CDD2F787F/image-size/large?v=v2&px=999 "2024-04-11_23-07-41.png")

Only with API integrations is the default value {{source}}, which parses to the users email address.

As seen above, the entity field is also usually blank by default, so that you can configure it for things like routing rules.


Tags: cloud
opsgenie alerts to show the ticket number from Jira
Asked by Mihir Ruparelia:

Hello,

We are trying to set up OpsGenie with JSM and I wanted to ask how we ensure that any alerts coming from JSM going into OpsGenie has the ticket number so ITSD-XXXX in this case.

Is there a way we can set this up within OpsGenie or JSM?


Answers:
author: YY Brother
body: Hi [@Mihir Ruparelia](/t5/user/viewprofilepage/user-id/4142792)

I think it's native functionality to show JSM ticket in Opsgenie after integrating JSM \& Opsgenie. For example, mark a JSM incident as Major Incident to trigger an Opsgenie alert auto creating /w link betwee them.

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

Thanks,

YY?

comments: author: Mihir Ruparelia
body: [@YY Brother](/t5/user/viewprofilepage/user-id/4083879) thank you for your response

However what we are seeing is this:

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

On the test incident it has Jira Service management

However on previous incidents its shown the ITSD number.

Any thoughts?


author: YY Brother
body: Hi [@Mihir Ruparelia](/t5/user/viewprofilepage/user-id/4142792)

What source is for this alert? or where did it come from? We could firstly get the use case and then know the behavior. Above, I just introduced a Major Incident escalation use case.


author: Mihir Ruparelia
body: It came from our Jira Service management board. How could I get any logging information that helps?


author: YY Brother
body: How do you trigger the new alert creating then? Please see alert logs from here.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/317464iA16E65ACBECCB09A/image-size/large?v=v2&px=999 "image.png")
Mass Deleting opsgenie alerts
Asked by Anthony Richardson:

So we're looking for a way to clean up our alerts. In the past we haven't really felt a need to delete the alerts as we don't actually work them from opsgenie. We would like to clean them up but the mass delete function only lets us do it 1000 at a time. We have over 200k (yes I know thats a lot) to clean up. Does anyone know of a script I can use to help with this? Feel free to spoon feed this to me.


Answers:
author: John M
body: Hi [@Anthony Richardson](/t5/user/viewprofilepage/user-id/5473126)

We don't have an official script in support for this, but in this community post a user linked a Github script for mass closing alerts:

<https://community.atlassian.com/t5/Opsgenie-questions/How-do-I-bulk-close-amp-delete-a-huge-number-of-alerts/qaq-p/1115738>


Tags: cloud
Is there a way to automatically free up unused agent license when using elastic agents
Asked by Tim Kopplow:

Hi Atlassian Community.

Currently i'm trying to implement elastic windows agents to our bamboo server because we have build jobs that rarely needs to get build using a specific windows machine.

And to not have this machine running 24/7 without anything to do i would like to utilize the elastic feature of bamboo.

Now to my problem. The licensing.

* We have a License for a relatively small amount of Agents which we utilize to 100% because they're all used very regularly and not using an agent license is a massive waste of money.
* We don't have such a huge license that i might wouldn't care if 1 license spot just get's left freed up for eventual consumption

When i want to use elastic images i assume i need free licenses at the time of agent spin up. How does this work in real-life without wasting money having spare agent licenses lying around?

Is there a mechanism that allows for dynamic license shifting if an agent is not getting used when an elastic agent is needed?

Thanks in advance for Answers! :)


Answers:
author: Shashank Kumar
body: Hello Tim,

Welcome to Atlassian community.

Bamboo measures license usage based on the number of **active** agents connected to Bamboo server at a particular point in time.

**Question** : When i want to use elastic images i assume i need free licenses at the time of agent spin up. How does this work in real-life without wasting money having spare agent licenses lying around?

**Answer :** Yes your assumption is correct here, for the elastic instance to spin up you should have **active** agent count less than the number of license you have.

This might be a problem in scenario where say you have **10** licenses and there are 10 **remote** agents which are connected to the Bamboo server and is active ( it may not be building anything and sitting idle, but it is considered **active** and ready to receive the builds), here to start the elastic instance you have to shutdown any of the active remote agents.

To cater to this scenario, Bamboo has introduced the below types of agents which does it's Job and shuts down if there is nothing to execute ( saving cost as well as bandwidth ).

1) **Elastic agents**

2) **Ephermal agents**

**Question** : Is there a mechanism that allows for dynamic license shifting if an agent is not getting used when an elastic agent is needed?

**Answer** : As far as I am aware there isin't anything available by default of Bamboo, probably you can customise something where it would check if a remote agent is idle and shut it down and free the license.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Has anyone configured enterprise grade production environment Bamboo 9.2.1
Asked by Mayur Maru:

Hi All,  

Did anyone configured enterprise grade production environment setup of Bamboo v9.2.1, which includes High Availability and Disaster Recovery.  


Answers:
author: Shashank Kumar
body: Hi Mayur,

Welcome to Atlassian community.

Currently High availability of Bamboo is based on Active - Passive Nodes, which means at a given point of time there is only 1 active node and if it goes down it releases the DB lock which is claimed by the passive nodes which now becomes active.

You can refer the below documentation to read more about this which includes steps to install DC infrastructure.

* [Installing Bamboo Data Center](https://confluence.atlassian.com/bamboo/installing-bamboo-data-center-1063170560.html)
* [Clustering with Bamboo Data Center](https://confluence.atlassian.com/bamboo/clustering-with-bamboo-data-center-1063170551.html)
* [Set up a Bamboo Data Center cold standby](https://confluence.atlassian.com/bamboo/set-up-a-bamboo-data-center-cold-standby-1063170556.html)

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***

comments: author: Mayur Maru
body: Thanks for the reply [@Shashank Kumar](/t5/user/viewprofilepage/user-id/4693340)   

We are designing and building a substantial large enterprise platform using Bamboo Data Center v9.2.1. After reviewing the official documentation, we've identified two potential methods to achieve our goals:  

1. [Clustering with Bamboo Data Center](https://confluence.atlassian.com/bamboo/clustering-with-bamboo-data-center-1063170551.html)  
2. [Running Bamboo in Kubernetes Cluster](https://confluence.atlassian.com/bamboo/running-bamboo-data-center-on-a-kubernetes-cluster-1108673465.html)

<br />

We are seeking insights to determine the recommended approach that ensures high availability, disaster recovery capabilities, and enhanced performance, particularly in a large-scale environment.  

Your guidance on the optimal strategy for our requirements would be greatly appreciated.


author: Shashank Kumar
body: Hello Mayur,

Both the approaches are fine to setup large enterprise platform, with the kubernetes option you get an extra feature of setting up Bamboo using Helm charts on kubernetes cluster

I would leave other members of the community to give their practical experience on what suits their needs better.

If you have some specific questions about how to do the setup etc, I will try to help you there.

Regards,

Shashank Kumar
Is there any way for Bamboo plan to yield execution order to the host?
Asked by leegyu86:

The problem is polling, which means that other Bamboo plans are waiting on the host and cannot be performed (Concurrent setting is 1 and cannot be modified)

Is there a way to give up host resources within that plan to another plan?

<br />

I wanted to perform RERUN after STOP internally with RestAPI, but there seems to be no way to perform the RERUN command.


Answers:
author: Shashank Kumar
body: Hello [leegyu86](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5325379),

Welcome to Atlassian community.

To rerun a plan which is already running, you have to enable concurrency on the plan, I know you have said concurrent setting is 1 and cannot be modified, but you can refer <https://confluence.atlassian.com/bamboo/configuring-concurrent-builds-289277193.html> for more details on how to enable this, if something changes.

I don't know if there is any way to give host resources from a plan which is already running, only way would be to stop the running Job.

I've come across a big report which talks about the problem which you are seeing, you can refer <https://jira.atlassian.com/browse/BAM-21065> for details and the workaround.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Ensure that commits deployed to any production stack are tested by primary build
Asked by Nagendra Patel:

Before deploying any branch to the production stack, the primary build should be passed.  


Answers:
author: Shashank Kumar
body: Hello Nagendra,

Welcome to Atlassian community.

In Bamboo when you use the Deployment project to deploy to a Deployment environment, Bamboo will ask you to create a release from the **successful** Build results ( of the linked Build plan ).

This is automatically taken care by Bamboo ( whereas none of the **failed** builds of the plan can be deployed ).

I hope my understanding of your questions is correct, If not can you explain your question with a scenario or an example.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***

comments: author: Nagendra Patel
body: hi Shashank,  

We have a multi-module project and if we make changes to any particular module, the bamboo build is triggered and it will run tests for all the affected components in the bamboo.

Now if want to deploy a particular component we have to trigger another build for that particular module and from this build, the release is created and deployed.

so, we want to make sure until the parent build is successful bamboo should not create a deployable release for any module.


author: Shashank Kumar
body: Hello Nagendra,

Thanks for the clarification, I think what you are looking can be done using the below configurations, let me know your view on this

1) You can setup a **Deployment trigger** for the **Deployment environment** which will activate once the build for any child module is completed successfully. Here I assume your particular module in a **separate plan** in Bamboo and the parent Build is another plan in Bamboo, correct my understanding if it's wrong.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/295886i85CC3BC763FB5533/image-size/large?v=v2&px=999 "image.png")  
Here The trigger can only be applied the plan which is linked to the Deployment Project ( the one which you want to deploy ), you cannot check the conditions of any other plan here.

2) Now Inside Build plans, you can create a dependency for the main plan and create child plans, which means when the main plan is succesfull build, it'll run the child plans and if it's successful then the deployment trigger would get activated, refer below

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/295889iD9033B3D7DCDD50D/image-size/large?v=v2&px=999 "image.png")  
Read more about it at <https://confluence.atlassian.com/bamboo/setting-up-plan-build-dependencies-289276887.html>

Let me know if this helps

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***