youngmon/atlassian-qna huggingface dataset:
How to make an integration enabled in a time range?
Asked by jesus.martinez-caro:

I have CloudWatch integrated with Opsgenie to receive the alarms that are generated in CloudWatch in Opsgenie. Then I have a webhook integration so that those alarms reach an external monitoring tool. I have integrations that are for Non-Productive environments and these alarms should not reach the external tool outside of working hours. How could I configure a webhook or cloudwatch opsgenie integration so that it is not enabled outside of business hours?

Greetings.  
Jesus.


Answers:
author: Mona Singh
body: Hi Jesus,

This is Mona here, happy to help :)

As I understand, you're getting alerts created in Opsgenie via Cloudwatch integration which is triggering an outgoing webhook from Opsgenie to an external monitoring tool. Here, you would like to restrict the outgoing webhook to time intervals (business hours only). Please let me know if my understanding is correct.

If the above is the use case, then I would suggest using the Maintenance policy here since there's no direct way of restricting an integration to a time interval.   

Maintenance provides the ability to enable or disable multiple policies/integrations with a single entry where:

* You want to disable multiple integrations temporarily for a limited time, to prevent alerts from being created.
* You want to schedule multiple policies to be enabled at the same time, for a particular maintenance routine.  

  For more details, you can refer to the below doc:  
  <https://support.atlassian.com/opsgenie/docs/create-and-manage-maintenance-policies/>

Please try it out and let me know if this helps in achieving your use case. In case you have any further queries, please feel free to reach out to us by creating a ticket in this [link](https://support.atlassian.com/) and we'll take it from there :)

Thanks!  
Mona


Tags: cloud
How do I set user roles in Opsgenie?
Asked by Daniel Bergamin:

I can see doco about this at <https://support.atlassian.com/opsgenie/docs/invite-users-and-manage-their-roles/>

However, the screenshots don't match what I see when logging into Opsgenie. I see no 'setting' icon and the UI looks completely different with a navbar on the top instead of along the left-hand side.

I am using an account that is part of an Atlassian workspace. I thought perhaps I could control roles through <https://admin.atlassian.com/> and the 'Products' page. However, when I use "Add Groups" to add a group of users to the Opsgenie product, the only product roles I can select is 'User' and 'User Access Admin'. I don't see 'Owner' or 'Admin'.

![opsgenie_config.jpg](/t5/image/serverpage/image-id/314050i470CBCCC6BA46294/image-size/large?v=v2&px=999 "opsgenie_config.jpg")

If anyone can help that would be much appreciated!


Answers:
author: Egor
body: Hey Daniel,   

Thanks for reaching out to Atlassian Community!   

In case you don't have access to Settings \>\> Users, then there's a chance that you don't have the needed role "Admin" or "Owner" to add or edit users.   

I checked your Vivcourt instance and can confirm that you have a "User" role.   

That would be the reason why you cannot add new users or change roles.   

What you can do in this case is to ask David (current owner of your instance) to upgrade your role following the steps from here <https://support.atlassian.com/opsgenie/docs/add-invite-update-and-delete-users/>.

I hope this helps :)   

Best Regards,  
Egor

comments: author: Daniel Bergamin
body: Thank you Egor, I'll give that a try!


author: Sagar Mainali
body: Hi [@Egor](/t5/user/viewprofilepage/user-id/3583730) I am from the ITOPS team at vivcourt and have OrgAdmin rights. I experience the same issue Daniel pointed out in the post above.   

I can see existing roles and assign users to them but I cannot assign product admin to myself or anyone as the role doesn't appear in the drop-down. ![opsgenie.png](https://community.atlassian.com/t5/image/serverpage/image-id/314695i400B4269E640F539/image-size/large?v=v2&px=999 "opsgenie.png")   

<br />

<br />


author: Egor
body: Hey Sagar,   

It appears that you're checking the roles from your Atlassian admin's side.   
Could you go to your Opsgenie account <https://vivcourt.app.opsgenie.com> and then go to Settings \>\> Users \>\> Modify roles from there?   

Thanks,  
Egor


author: Daniel Bergamin
body: Thanks Egor, we're in business now! David was able to get in and grant me admin in the product. We can close this off.


author: Egor
body: That's amazing Daniel, thanks for the confirmation, I'm super happy that it works for you :)
Create alert when JSM Responders field is changed
Asked by Dan W:

We would like to use the responders field to notify our SME when assistance is needed on an incident. We turned off the responder alerting in JSM as it alerts the Assignee, they already know they have the ticket, they don't want or need an another email/SMS. How can I alert responders that are not the assignee?


Answers:
author: Muhammad Zeeshan
body: Hey [@Dan W](/t5/user/viewprofilepage/user-id/3380586)

We do not have that functionality at the moment, however, we do have a Feature suggestion ticket for it that you can track and vote on via: [OPSGENIE-45](https://jira.atlassian.com/browse/OPSGENIE-45)

I would recommend keeping an eye out on our community page for any news about feature updates:  
[https://community.atlassian.com/t5/Statuspage/ct-p/statuspage](https://community.atlassian.com/t5/Opsgenie/ct-p/opsgenie)

In the below link you can read about our feature implementation policy if you like:  
<https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html>

BR,


Tags: jira-service-management-cloud
Trigger alerts of Slack Messages
Asked by Paul Beerkens:

Many of our systems currently post alerts to Slack. We got OpsGenie because it has a bi-directional Slack integration, and we were hoping to use it to improve our response rate to these Slack messages.  

Now that I have it set up, I can not figure out how to create an Alert if, for example, in the Slack channel #system-status, there is a message saying something like "Warning: Flux capacitor down."  

Did I misunderstand what OpsGenie offers, and it only provides the "/genie" command from Slack to OpsGenie or Is there a way to trigger alerts based on the messages sent to Slack channels?  

Paul


Answers:
author: Paul Beerkens
body: I created a support ticket for this and Atlassian confirmed this is impossible.  

As an alternative, I am planning to write a small Python application that subscribes to Slack channels and then calls the OpsGenie Rest API to trigger alerts.
billing plan
Asked by Elena Bedosti:

Hi, we have a jira service managemtn site with 10 agent: We need tre Opsgenie user on the same site. Can we have free plan licence?


Answers:
author: Egor
body: Hey Elena,   

Thanks for reaching out to Atlassian community.   

Yes, indeed you can have a free license for your Opsgenie. Please see what are the options, features, and limitations in the following article <https://www.atlassian.com/software/opsgenie/pricing>   

Here's the link to start your Opsgenie instance - <https://www.atlassian.com/software/opsgenie/try>   

I hope this helps and I wish you a beautiful day ahead!   

Egor


Tags: cloud
Upgrade current BAMBOO 8.0.5 can be upgraded to latest version 9.3
Asked by Devendar Gangapuram:

Hi Team,

We are planning to upgrade our current BAMBOO 8.0.5 server type to latest version 9.3

Is it possible to upgrade now? because we have information that , support for Server products ends on Feb. 15, 2024.

Please advice us , how to proceed?


Answers:
author: Peter Van de Voorde
body: Hi [@Devendar Gangapuram](/t5/user/viewprofilepage/user-id/2497518) ,  

Welcome to the Atlassian Community, I don't see a reason why you can't upgrade to the latest version, just be sure to use the upgrade guide: <https://confluence.atlassian.com/bamboo/getting-started-with-bamboo-289277283.html>   

I would even highly recommend upgrading to the latest version before the support ends.   
But your upgrade won't have an impact on the end date for support for your Server products.  

Cheers,  
Peter

comments: author: Devendar Gangapuram
body: Sure [@Peter Van de Voorde](/t5/user/viewprofilepage/user-id/781487) , Thank you so much for the quick reply.


Tags: administration

upgrade

version
Intermittent JIRA to BAMBOO Build Trigger Issue with User Authentication
Asked by Devendar Gangapuram:

Hi Team,

We have set up JIRA(8.20.12) and BAMBOO ( 8.0 version) integrated and triggering Bamboo build absolutely fine. But intermittently JIRA not triggering BAMBOO build if "BAMBOO" not logged in in Browser.

I mean, we have successfully set up the integration between JIRA and BAMBOO, allowing us to trigger Bamboo builds from JIRA. However, we've noticed an intermittent issue where JIRA fails to trigger a BAMBOO build when the "BAMBOO" user is not logged in on the browser. This results in a user authentication 401 error, even though the user exists and has the necessary permissions.

Error message, we got is: aused by: java.io.IOException: Server returned HTTP response code: 401 for URL) error where user is already exists and has required permissions.

Please team, help on the issue to address more effectively and how to resolve this issue.

**Note:** We are using JIRA(8.20.12) and BAMBOO ( 8.0 version) of server type instances.

Thanks,

Dev G


Answers:
author: Devendar Gangapuram
body: Hi Team,

Please help on this issue. thank you.

Thank you,

Dev G


Tags: authentication

automation

user-management
Voice Notification - Limited
Asked by Luan Huu Phan:

I intend to using Opsgenie Standard version, i'm curious about the limit # of users x100 in voice notification ?

Is it calculated per month or annually ?

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


Answers:
author: Egor
body: Hey Luan,   

Thanks for reaching out to Atlassian Community.

The limit # of users x100 means that you'll get, let's say for 10 users, 1000 SMS notifications limit per month.   

After the next billing, your resource usage is reset and you have again the limit.   

It's worth noticing that this limit applies only to the Essentials plan and you were asking for a Standard plan. On a Standard plan, you get unlimited SMS and Voice notifications.   

I hope this helps!

Best Regards,  
Egor


Tags: cloud
Permission denied on projet in Bamboo
Asked by ghalia sidi amemou:

The user already has access to the project and I gave him admin access, but with that, he cannot access or view plans.

I granted him admin privileges to the permission project and plans.

but it's not working.

![image-2023-10-23-11-49-28-530.png](/t5/image/serverpage/image-id/287958iB955978F13389B9A/image-size/large?v=v2&px=999 "image-2023-10-23-11-49-28-530.png")


Answers:
author: Shashank Kumar
body: Hello Ghalia,

Welcome to Atlassian community

As per my understanding the user has both the Admin access of the Project and all the plan under this project, but the user is not able to view the plans.

Can you let me know the Bamboo version which you are using, there was a bug which affected this access because of broken cache.

Meanwhile can you restart your Bamboo instance and see if the access works for the user.

Regards,

Shashank Kumar

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

comments: author: ghalia sidi amemou
body: Thanks
OpsGenie notify a role
Asked by JONATHAN BOHLMANN:

Is there a way to add a role across multiple teams for notifications?

The Director of Managed Services should be notified if an issue is near its over time period for response. For example, Severity 1 is a 30 min response time, if the timer gets to 25 min, we want the Director to be notified...but we don't want to have to add them to every team. There are two reasons for this, we don't want them notified on items that go to "all team users or admins" and if they were to change positions, we don't want to have to touch 20 teams and some 80 escalation points (each team has 4 severities escalations) .


Answers:
author: Brennan Kiely
body: Hi Jonathan,

The best option for this would be to have the Director be its own team with the director user(s). Then, the teams' escalations can be to notify all members of the Director team. If the director changes, then you'd just have to update that one team.
Is there a Rest API to create a plan?
Asked by leegyu86:

I have seen the Rest API related to branch creation and plan execution.

Is there a Rest API related to plan creation or cloning?


Answers:
author: Shashank Kumar
body: Hello leegyu86,

Welcome to Atlassian community.

We **do not** have a REST api for the plan creation. New plans can be created and managed by using Bamboo Java or YAML specs.

You can take a look at [What is configuration as code?](https://confluence.atlassian.com/bamboo/what-is-configuration-as-code-894743909.html) for general information on the concept of configuration as a code in Bamboo. If you're interested to try specs a great place to start is [Bamboo Specs](https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html).

Regards,

Shashank Kumar

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


author: leegyu86
body: The clone was found as follows.

/api/latest/clone/{projectKey}-{buildKey}:{toProjectKey}-{toBuildKey}

Is there a Rest API I can create?
Bamboo Personal filter issue
Asked by Paul Moors:

I noticed something strange in the Bamboo UI while navigating.  
Here are the steps I use for reproduction:

1. Make sure the 'Personal filter is off'
2. Activate the 'Personal filter' (Personal filter is on)
3. Open a build-plan
4. navigate back (left arrow in MS-Edge \| Chrome)
5. The personal filter is off again
6. After refresh: the personal filter is on

After step 4 I expected that the personal filter would be on (as in step 2)

<br />

Anyone seen this before?  

<br />


Answers:
author: Eduardo Alvarenga
body: Hello [@Paul Moors](/t5/user/viewprofilepage/user-id/538219)

What Bamboo version are you using?

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Paul Moors
body: 6.3.1 and 9.3.3


author: Eduardo Alvarenga
body: Hi [@Paul Moors](/t5/user/viewprofilepage/user-id/538219)

Thanks for the quick response. I wasn't able to reproduce it on the provided versions. Have you tried using a different browser? Do you mind recording the reproduction of the issue and posting a link to the videos here?

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
bamboo build page keeps on reloading - where to find logs?
Asked by Jim Wigginton:

The Bamboo Build page keeps on reloading, as depicted in this video:

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

<https://community.atlassian.com/t5/Bamboo-questions/When-building-a-plan-Bamboo-is-page-reloading-like-mad/qaq-p/822637> describes a similar problem. Here's what that post says:
> Your catalina.out or atlassian-bamboo.log should tell you what's going on.

Where would I find these logs? <https://confluence.atlassian.com/bamboo/logging-in-bamboo-289277239.html> suggests that they're in the \<Bamboo-Home\>/shared/builds/ directory. But where is that directory?

<https://confluence.atlassian.com/bamboo/locating-important-directories-and-files-289277247.html> offers this nugget:
> When you [installed](https://confluence.atlassian.com/bamboo/running-the-setup-wizard-289276851.html) Bamboo, you specified the location for the Bamboo installation directory, where Bamboo application files are stored

I didn't install Bamboo. I was hired after it was installed.

There's a /media/atlassian-data/ directory but I'm not seeing a shared/builds directory in that or any of the subdirectories that I went into. There is a /media/atlassian-data/docker/ directory which prompted me to do sudo docker ps. I saw that there was a docker container running and I did "sudo docker exec -it \<container-name\> bash" but nothing in the docker container looked like a match, either.

Any ideas?


Answers:
author: Charlie Misonne
body: Does the issue persist after a Bamboo restart?

About the log files:

* catalina.out is in the install directory of the Bamboo application (not agent)
* atlassian-bamboo.log is in de data directory of the Bamboo application (not agent)

Make sure you are on the Bamboo server and not on an Bamboo Agent server. Agent's are often installed on different machines than the actual application.

You'll have to find our where Bamboo has been installed. If Bamboo is running in a container the catalina.out is likely to be inside the container while atlassian-bamboo.log should be on some persistent volume outside the container.
Scheduled Trigger for specific branch
Asked by Ashish Nigam:

Hi All,

I have scheduled trigger on default plan branch but it auto trigger on it's schedule time on all the plan branches. I want to restrict it only from the default branch.

Please let me know how to set branch condition.

Regards,

Ashish


Answers:
author: Eduardo Alvarenga
body: Hello [@Ashish Nigam](/t5/user/viewprofilepage/user-id/5342035)

Welcome to **Atlassian Community**!

You may set customised triggers on the Plan branch by going to your Plan Branch configuration and selecting the *Change trigger* checkbox. Then you can modify the trigger or even disable them by setting to "*Manual*".

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Log4j vulnerability mitigation
Asked by Dilsha:

Please let me know the recommendation how to mitigate log4j1


Answers:
author: Eduardo Alvarenga
body: Hello [@Dilsha](/t5/user/viewprofilepage/user-id/5294552)

Welcome to **Atlassian Community**!

Bamboo versions equal to or later than 9.0 introduced Log4j2. Make sure to read all the release and upgrade notes between your current release and the one you plan to upgrade to:

* [Bamboo upgrade guide](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html)
* [Bamboo Release Notes](https://confluence.atlassian.com/bambooreleases/bamboo-release-notes-1189793869.html)

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Bamboo CI Question
Asked by Dante Santiago:

Hi,

Sorry for the Bitbucket (Cloud) subject because Bamboo is not found in the list where I can select.

Anyway, my question is: Where does Bamboo CI get the total number of tests (415 below)?

|---------------------------------------------------------------------------------------|-------------|------------------|
| [Automation Tests](http://bamboo.panduit.com/browse/QA-AT-JOB1-2125/) (Default Stage) | 293 minutes | 10 of 415 failed |

Thanks.

Dante Santiago


Answers:
author: Dante Santiago
body: I tried to move the question to Bamboo but again, there is no Bamboo selection in the list.

Thanks [@robertwen](/t5/user/viewprofilepage/user-id/809029) for moving this question.

comments: author: Dante Santiago
body: I just explained my predicament and thanked [@robertwen](/t5/user/viewprofilepage/user-id/809029) for the help.

That's not an answer and that's from me, too!


Tags: bitbucket

bitbucket-cloud

cloud

confluence

confluence-cloud
Is there a way to run the command in the background or async in the task's script?
Asked by leegyu86:

The script is waiting for the termination of a process run with pythonw or the start /b option.

Is there a separate option or other way to make the Script not wait?

pythonw -c "import time; time.sleep(2); print('hello bamboo')"

19-Oct-2023 11:05:47 D:\\workspace\\A-WRT-JOB1\>pythonw -c "import time; time.sleep(2); print('hello bamboo')"  
19-Oct-2023 11:05:49 hello bamboo  
19-Oct-2023 11:05:49 Finished task 'Script' with result: Success  
19-Oct-2023 11:05:49 Running post build plugin 'Docker Container Cleanup'  
19-Oct-2023 11:05:49 Running post build plugin 'NCover Results Collector'  
19-Oct-2023 11:05:49 Running post build plugin 'Artifactory Release Management Staging'  
19-Oct-2023 11:05:49 Running post build plugin 'Artifactory Build Info Copier'  
19-Oct-2023 11:05:49 Running post build plugin 'Artifactory Gradle Properties Info Copier'  
19-Oct-2023 11:05:49 Running post build plugin 'Clover Results Collector'  
19-Oct-2023 11:05:49 Running post build plugin 'npm Cache Cleanup'  
19-Oct-2023 11:05:49 Running post build plugin 'Artifact Copier'  
19-Oct-2023 11:05:49 Finalising the build...


Answers:
author: leegyu86
body: There was no way to do this on Windows, so I solved it on Linux.
NoClassDefFoundError: org/yaml/snakeyaml/inspector/TagInspector -Bamboo 9.3.1
Asked by jerry:

Hello Experts, I am getting the below error while generating a Plan for Mettleci. I am new to Bamboo and I trying to integrate Mettelci \& Bamboo. [My reference link](http://?Generating%20MettleCI Bamboo Plans - MettleCI Documentation - Confluence (atlassian.net))  

**C:\\Users\\Administrator\> mettleci deploy devops-pipeline -bamboo <http://localhost:8085/> -username admin -password admin -source-repository mettleci -bamboo-shared-credentials bambooDS117v -plan-name Pla1 -plan-key PLA1 -datastage-install DataStagev117**   
(C) 2018-2020 Data Migrators Pty Ltd  
***2023-10-03 00:34:26,468 INFO \[BambooServer\] Publishing plan MCI-PLA1***   
***Exception in thread "main" java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/yaml/snakeyaml/inspector/TagInspector***   
at com.atlassian.bamboo.specs.util.IsolatedYamlizator.execute(IsolatedYamlizator.java:24)  
at com.atlassian.bamboo.specs.util.BambooSpecSerializer.dump(BambooSpecSerializer.java:19)  
at com.atlassian.bamboo.specs.util.BambooServer.publish(BambooServer.java:73)  
at com.datamigrators.mettle.bamboo.commands.DevOpsPipelineCommand.execute(SourceFile:142)  
at com.datamigrators.mettle.shell.Shell.executeCommand(Shell.java:170)  
at com.datamigrators.mettle.shell.Shell.run(Shell.java:45)  
at com.datamigrators.mettle.shell.MainClass.main(MainClass.java:162)  
Caused by: java.lang.NoClassDefFoundError: org/yaml/snakeyaml/inspector/TagInspector  
at com.atlassian.bamboo.specs.util.IsolatedYamlizator.lambda$static$0(IsolatedYamlizator.java:9)  
at com.atlassian.bamboo.specs.util.IsolatedExecutor$1.run(IsolatedExecutor.java:50)  
Caused by: java.lang.ClassNotFoundException: org.yaml.snakeyaml.inspector.TagInspector  
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)  
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)  
at java.base/java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:904)  
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)  
... 2 more  
PS C:\\Users\\Administrator\>


Answers:
author: Nicolas Grossi
body: [@jerry](/t5/user/viewprofilepage/user-id/5331327) welcome! Is this question still "active" ?

Nicolas
IMAP configuration for reading Gmail emails
Asked by Lehlohonolo:

How to go about correctly setting up Bamboo to allow tests executed by Bamboo jobs to read emails from Gmail without connection timeout? Currently this is the error I keep getting whenever Bamboo job execute the tests.

Actual error message: *Couldn't connect to host, port: imap.gmail.com, 993; timeout -1*


Answers:
author: Eduardo Alvarenga
body: Hello [@Lehlohonolo](/t5/user/viewprofilepage/user-id/5327522)

Welcome to **Atlassian Community**!

Bamboo has no built-in mechanism to retrieve messages from an IMAP server. You will have to implement your own [Script Task](https://confluence.atlassian.com/bamboo/script-289277046.html) that will call a program that will be responsible for that action.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**