youngmon/atlassian-qna huggingface dataset:
About Opsgenie and Jira Service Management Roadmap
Asked by ryusei arai:

I am confused. While researching the latest features of Jira Service Management, I noticed that it has the same features as Opsgenie.

<https://support.atlassian.com/jira-service-management-cloud/docs/start-shifting-from-opsgenie-to-jira-service-management/>

From reading the above link, I understand that Atlassian recommends migrating to Jira SM. What I want to know is the future of Opsgenie. Will Opsgenie continue , or will it be discontinued and only Jira SM will be available? Depending on this, I need to urgently plan for the migration to Jira SM.

Let me know if you need any further assistance!


Answers:
author: Mikael Sandberg
body: Hi [@ryusei arai](/t5/user/viewprofilepage/user-id/5504420),

Welcome to Atlassian Community!

I haven't seen a public statement yet from Atlassian regarding Opsgenie, but based on the KB you linked above and what I have seen from the roadmap for JSM everything indicate that Opsgenie will be integrated into JSM and not offered as a standalone application. This is just my educated guess and not an official confirmation.

comments: author: Arai Ryusei
body: Thank you for your response. I appreciate you letting me know that there is no official statement yet. Just to be safe, I plan to prepare for the migration to Jira SM with ample time."


author: Dan Knapton
body: Follow-up question in this vein - is there a future for Opsgenie? I have a use case that fits the Opsgenie features but I'm concerned that there is little to no training on the University site for Opsgenie and it's not straight-forward to set it up. There is one course on Opsgenie for Mobile but it assumes Opsgenie understanding. Are they fading it out?

I don't want to invest time in learning and setting it up if it's going to be discontinued.

comments: author: Mikael Sandberg
body: [@Dan Knapton](/t5/user/viewprofilepage/user-id/4691114) I do not think it will go away, but I do think that it will be rolled into JSM instead of its own product.


Tags: cloud
Is there a way to track false positive?
Asked by Pierre Kelbert:

I believe the most important cause of alert fatigue come from being notified for irrelevant events. The risk just being that "receiving an alert" will not be asociated by team members, to the idea something really happened and should be investigated quickly.

My wish would be to have the option to mark any acked alerts as being either a false or true positive with a kind of drop down field.

This way, in a second time, my team and I would have the chance to export the list of alerts where the monitor that triggered it should be reviewed.

Is that wish already feasible in OpsGenie? ?


Answers:
author: Tom Russell
body: The easiest way would simply be to have the responder add a tag that indicates whether the alert is a false positive (or true positive). This would, however, not be a simple drop-down.

If your Opsgenie level supports Actions, you could add a "Mark as False Positive" action, with the action channel adding that tag via an OEC script. That script could also export that alert to another system for further analysis.

comments: author: Pierre Kelbert
body: I didn't know about opsGenie action interesting.

> via an OEC script

If I'm right that require of me to run a kind of daemon somewher? Is there no integration that bring the same result and would be managed by Atlasian?
use Jar file or ADB don't terminate on the bamboo agent will waits around 20-30 minutes.
Asked by sylvia:

We often have a case when we Usually use Jar file or ADB don't terminate on the bamboo agent will waits around 20-30 minutes.


Answers:
author: Anik Sengupta
body: Hello Sylvia,

Welcome to Atlassian community

<br />

Looks like when you are trying to install an agent using the jar command the jar on the new agent continues to install you have to hit CTL +C to exit from the screen and you want to avoid that .

Please let me know if my understanding is correct.

The easy way to achieve this without running the agent supervisor would be to use nohup to disconnect the process from your terminal session, and \& to run it in the background.

*nohup java -jar atlassian-bamboo-agent-installer-9.2.1.jar \<Bamboo Base URL\>/agentServer/ \&*

<br />

So the above command would effectively start the agent in the background and ensure the agent process keeps running after you disconnect from the server or exit the terminal.

You can also make use of the below command which should work as well :-

<br />

*java -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar \<Bamboo Base URL\>/agentServer/ install*

Regards,

Anik Sengupta

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Rest API to generate User Tokes
Asked by Rajat Roy:

Hi ,

Is there any rest API provide by Bamboo so that users can generate Auth Tokens for their service accounts ?

Thanks !!!


Answers:
author: Hariharan Iyer
body: Yes, bamboo does provide REST APIs - <https://developer.atlassian.com/server/bamboo/rest-apis/>

comments: author: Pramodh M
body: [@Rajat Roy](/t5/user/viewprofilepage/user-id/5248140)

<https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-access-token-post>


author: Rajat Roy
body: how to pass the username in the url in order to generate the token for GET request


author: Hariharan Iyer
body: Ho [@Rajat Roy](/t5/user/viewprofilepage/user-id/5248140) ,

Please check the "Using the Bamboo REST APIs" section - <https://developer.atlassian.com/server/bamboo/using-the-bamboo-rest-apis/>

You will need to get your Personal Access Token from the UI. There's no way to get that via API.


author: Pramodh M
body: [@Rajat Roy](/t5/user/viewprofilepage/user-id/5248140)

It's for the current user you are requesting the token.


author: Rajat Roy
body: Yeah , we use OIDC , so service accounts cant login via the UI to generate tokens . So we were looking for an option to generate it for these accounts via some API .


author: Shashank Kumar
body: Hello [@Rajat Roy](/t5/user/viewprofilepage/user-id/5248140)

You can use the below to generate token for the service account, you need to have the credential details of the service account, otherwise it won't be possible.

User including Admins cannot generate PAT tokens for other users. Admin users can only revoke tokens of other users.

```
curl --request POST \
--user serviceaccount_user_id:serviceaccount_password \
--url 'http:localhost:8085/rest/api/latest/access-token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "token name",
"permissions": [
"READ"
]
}'
```

Regards,

Shashank kumar

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


author: Ayrijit Swain
body: [@Rajat Roy](/t5/user/viewprofilepage/user-id/5248140) to add to [@Shashank Kumar](/t5/user/viewprofilepage/user-id/4693340) 's answer the valid values for **permissions** parameter are:

**READ** - The token will be allowed to read data from Bamboo.

**TRIGGER** - Allows the token to trigger builds and deployments.

**USER** - The token will have the same permissions as the service account.
How to create a artifact from a build log
Asked by james.mckean:

I looked here - which SEEMS to answer my question.

<https://confluence.atlassian.com/bamkb/how-to-save-a-build-log-as-an-artifact-892498832.html>

But I cannot get it to work. Has anyone been able to do this?


Answers:
author: Eduardo Alvarenga
body: Hello [@james.mckean](/t5/user/viewprofilepage/user-id/4184054)

Can you describe where the outlined implementation is not working for you?

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: james.mckean
body: Following up. The problem was my formatting of build key. It needed to be the key for the specific job I was trying to pull the log for. Not the Plan or the Stage. It says that in the article, I just missed it. In my case it was AB-CD-JOB1 where AB was the repo code, CD was the plan code, and JOB1 was the Job code.

I also had a typo in the artifact copy pattern. This worked for me. \*\*/\*.txt


Tags: artefact

log
Artifact dependencies with YAML specs
Asked by Rene Wittmann:

I have a build plan that needs the artifacts of another plan. The plan generating the artifacts is in YAML specs, so I'm not able to setup the artifact using plan as child plan.

Are there any options to work around that?

I can set a trigger on Plan fail, but not on Plan pass, so this will not help without inverting the logic in the generating plan.

Is there a plugin that could help?

Any recommendations are highly welcome.


Answers:
author: Rene Wittmann
body: Well I guess upgrading to Bamboo v.8.1.2 should be sufficient...


author: Shashank Kumar
body: Hello Rene,

Welcome to Atlassian community

You can use the Artifact download task to achieve the same and choose the plan from where you want to download the task, see the example below

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

YAML Specs code

```
- artifact-download:
artifacts:
- {}
source-plan: BAM-SHA
```

You have said upgrading to Bamboo v.8.1.2 should be sufficient, hope you are talking about the above 2 solutions.

Regards,

Shashank Kumar

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

comments: author: Rene Wittmann
body: Sorry, no.

Your suggestion does not help: without defining the dependency with parent and child plan, the plan using the artifact will start as soon as an agent is ready to build the plan.

And it will then use the artifact that is available from the "parent", no matter whether a more convenient artifact (e.g. the artifact that is based on the same commit id) is available later.


author: Shashank Kumar
body: Hello Rene,

Let me try to understand the flow and you can correct my understanding

1. Plan A is the plan which generates the artifacts - This plan is created via YAML Specs RSS.

2. Plan B needs the artifact generated via Plan A .

Requirement:

1. You want to create Plan B as a child plan of Plan A via YAML code ( so basically you require YAML logic to define the child dependency ?)

This is because When you run Plan A it creates an Artifact and immediately Plan B should be trigerred which should use the same artifact generated.

Let me know if this is the flow you are targeting.

Also what is your current Bamboo version ?

Regards,

Shashank Kumar


author: Rene Wittmann
body: Exactly, this is the aim.

Previously, I used Bamboo version 8.0.5.

With that version it was not possible to define Plan A as parent plan of Plan B.

So now I updated to Bamboo version 8.1.12. This version contains an update of YAML specs where I can define the dependency between Plan A and Plan B.


author: Shashank Kumar
body: Cool, I was testing this on Version 9 so was wondering Why you are not able to see this option.

Anyways you have already upgraded!
how to deploy the source code directly to the IIS windows server from Bamboo ?
Asked by Pundarikaksha Kakkirala:

We are using Bamboo Pipeline for building the Git-Hub repo using Msbuild tool of .Net core 4.5.2 version \& deploying the code to the final deployment servers using octopus as a deployment.

<br />

Do we have any feasibility to deploy the builded code or artifact or source code directly in to the windows server IIS deploy without using OCTOPUS. Also do we have any code revert back options, if we having any issues with the fresh code, hence we are using for environments like Development, Staging, UAT, Pre-Production \& Production as well.

Need suggestion and Procedure to deploy it


Answers:
author: Jyothi Charupalli
body: Hi [@Pundarikaksha Kakkirala](/t5/user/viewprofilepage/user-id/5425946) ,

Thanks for reaching out to Atlassian Community!

I understand you want to directly deploy your source code to the IIS Windows Server without using the Octopus.

You can use the multiple tasks like SCP and SSH tasks available in Bamboo in your deployment project to copy the source code to the remote Windows server through the [SCP task](https://confluence.atlassian.com/bamboo/using-the-scp-task-in-bamboo-305759795.html#) and then use the [SSH task](https://confluence.atlassian.com/bamboo/using-the-ssh-task-in-bamboo-306348532.html) to run the required commands to deploy the code on the Windows remote server.

Yes, you can use different environments for deployments like Development, Staging, and UAT to test your deployment code and then release that to the higher environment like the Production environment, when the deployment is successful in lower environments.

You can rollback the deployment to previous releases from the rollback option available under the deployment environment like below:

![Screenshot 2024-02-12 at 15.11.14.png](https://community.atlassian.com/t5/image/serverpage/image-id/305762i2F0B14169504D876/image-size/large?v=v2&px=999 "Screenshot 2024-02-12 at 15.11.14.png")

You can also rollback by deploying the Release that you want to rollback to and using the bamboo.deploy.rollback (true\|false) Bamboo variable or BAMBOO_DEPLOY_ROLLBACK [environment variable](https://confluence.atlassian.com/bamboo/variables-for-deployment-environments-342754180.html) within your deployment scripts to detect the rollback case and execute different steps.

Hope this helps!

Regards,

Jyothi Charupalli
Can I migrate our BAMBOO server type 8.20.12 version to Open or Adoptium OpenJDK Java 11 JDK8 / 11
Asked by Devendar Gangapuram:

Our current running BAMBOO of server type version 8.0.5 can be migrated to Open JDK or Adoptium OpenJDK Java 11 / JDK 8 ?

We have another JIRA (8.20.12) which also needs to be migrate the DK to Open JDK 8/11.

In both cases, can I use Open JDK 8/11 to be migrated? please help me to decide this to avoid future consequences


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

Welcome to Atlassian community.

As per <https://confluence.atlassian.com/bamboo0800/supported-platforms-1077778398.html> you can migrate Bamboo version 8.0.5 to Open JDK or Adoptium OpenJDK Java 11 / JDK 8.

Java 8 has removed as supported platform from Bamboo 9.3, so considering future options you should move to Java 11.

Regards,

Shashank kumar

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


Tags: atlassian-support

java

jdk

openjdk
My bamboo plan hangs when I run the nvm related commands
Asked by Mahesh:

Hi There,

I have a requirement of using multiple nodeJs versions.

For this I am using nvm (node version Manager).

In my bamboo plan script task when I run nvm list or nvm use 20 commands, My bamboo plan hangs and never gets completed.

I tried using shell, cmd, powershell as interpreters. Even ran as script file also.

Also specified full path for nvm.exe

Much appreciated for the responses.


Answers:
author: Mahesh
body: It is because of nvm version 1.1.12.

nvm version 1.1.10 works fine for me [@Sharmila](/t5/user/viewprofilepage/user-id/2214681)

comments: author: Rio
body: This is also true for GitLab CI!


author: Danvale Times
body: Its normal for any person to run into this sort of of problem. I think you are facing this problem because you are probably using an outdated version of nvm or because you are trying to run too many commands on bamboo script.  
Bamboo Items can easily solve any problem. You can read more by clicking on [Bamboo Items](https://www.meserii.com/).


author: Sharmila
body: Hi Mahesh,

Since we don't have any logs to check what is happening our next suggestion would be to run these commands directly on the Bamboo server and let us know what happens. If it runs successfully then you can raise a ticket with us. But if it doesn't run then you will have to look at your script and the commands in it.

Regards,

Sharmila

comments: author: Mahesh
body: Hi [@Sharmila](/t5/user/viewprofilepage/user-id/2214681) ,

Yes it is working locally.

All nvm related commands are hanging when ran from bamboo script.


author: Sharmila
body: Hi Mahesh,

Thanks for testing it on Bamboo server. What is the error message you see in the build logs?

Regards,

Sharmila


author: Mahesh
body: There is no error message, But the build hangs.   
with the 1.1.10 version it is no more hanging, Build is succeeding.


Tags: build

windows
What is the waiting period of bamboo agent when it is queued
Asked by Madhu:

Hi Team,

Can you please tell me, if my job is went to queued and how much time it will queued means what is the threshold limit(max wait time).

Thanks in advance!!


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

Welcome to Atlassian community.

As far as I am aware Bamboo there is no threshold limit ( max wait time ) for a build to remain in queue.

When a build goes into queue, it will remain there unless there is an agent capable of executing this build.

On the Bamboo server you can see all these queued builds under \<bamboo-shared-home\>serverState/queue folder.

Regards,

Shashank Kumar

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

comments: author: Madhu
body: Thank you for response shashank!!


author: Shashank Kumar
body: Hello Madhu,

Thanks, You can Accept the answer if your query was answered.

Regards,

Shashank Kumar
How to decrypt password via API using Bamboo?
Asked by gjose.batista:

I'm looking for one help on how to decrypt password via API using Bamboo - but I cannot find any regarding documentation at Atlassian website.

Thanks!


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

This is not allowed to be done in Bamboo. What is use case to decrypt the password. You can raise a support ticket with Atlassian Support.

Regards,

Shashank Kumar

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

comments: author: gjose.batista
body: Hi [@Shashank Kumar](/t5/user/viewprofilepage/user-id/4693340) ,

OK. Thank you for your fast response. I would like to use it for test only.

Best regards,

Gustavo B.


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

You can not do this. Not just with Bamboo, but with almost everything. The whole point of encryption is that you can not easily get into the data.

Why do you think you want to decrypt a password? What problem would it solve?

comments: author: gjose.batista
body: Hi [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) ,

OK. Thank you for your fast response also.

I would like to use it for test only. Just for one security test.

Best regards,

Gustavo B.


author: Nic Brough -Adaptavist-
body: May I ask more about what how an attempt to decrypt a password is part of a security test? I am just curious, not trying to pry.


Tags: api
How to use python virtual environment in a buildplan
Asked by Paul Moors:

Has anyone succesfully tried to use python virtual environments (venv) inside of a buildplan in Bamboo?  

I'm curious **how** this can be done.  
Looking forward for your help


Answers:
author: Reese
body: I just run Docker in Docker for bamboo agents, for which you can run/execute a virtual env, if you wanted. But not necessary since it is a one-time env already.......


author: Shashank Kumar
body: Hello Paul,

Welcome to Atlassian community

Bamboo only uses "Shell" and "/bin/sh or cmd.exe" for executing scripts. I doubt about running venv inside plans.

Use the below workaround:

1. Keep your python script in some file or some location.
2. In the Bamboo Script Task use the following command to invoke the python script:  
   **python \<file-path\>/file_name.py**

Also, ensure that you have the python installed as a capability on the agent which will run this build.

Regards,

Shashank Kumar

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


Tags: python
What is the impact of setting concurrent builds to 1?
Asked by james.mckean:

Sometimes I think myself into a corner. When you enable Bamboo's Global Concurrent builds and set the value to 1, does that mean only 1 build of the same plan will run at the same time or only 1 ++additional++ build will run?

I ask because we configure our build plans with stages that deploy the build artifacts rather than using separate deployment plans. So most of the time, we do not want to run more than 1 version of the same plan concurrently. The default has worked well for us. But now we have a plan that does not deploy but is called by multiple other plans to update certain metrics that we track. We would like these plans to run concurrently. Because the parent plans pass different variables to the metrics plan, there is no problem with them running concurrently and no danger of them over-writing one another.

So my idea is to set the global concurrent value to 1 and the specific metrics plan to some value \> 1. I apparently need to enable global concurrency and set the global value to something for the plan-level concurrency option to appear.

Does this seem reasonable?


Answers:
author: Shashank Kumar
body: Hello James,

If you set the Global Concurrent builds and set the value to 1 it means at a time Bamboo will run only 1 build for the plan, if you want Bamboo to run 2 builds for this plan at a time, you need to set this value to 2.

I agree with what you are planning you can keep the Global value to 1 and change the value for that particular plan. This seems reasonable to me.

Regards,

Shashank Kumar

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

comments: author: james.mckean
body: Thanks
BAMBOO's license got expired , and meanwhile we get new license, now I have to generate "Personal Ac
Asked by Devendar Gangapuram:

Hi team,

Recently, our BAMBOO's license got expired , and meanwhile we get new license, now I have to generate "Personal Access Token" for a user. But when I tried to do it form the User's profile, the create new Token option is not appearing, is this due to license expiry?

If yes, Please help an alternative solution to generate the personal access token for users.

Thank you in advance,

Dev G


Answers:
author: Shashank Kumar
body: Hello Devendar,

Welcome to Atlassian community.

License should have any restriction on generating PAT tokens, as I understand you have just replaced one license with another.

what is the error you are getting? Can you replicate the issue and check \<bamboo-home\>logs\>atlassian-bamboo.log file and see if there are any errors?

Regards,

Shashank Kumar

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


Tags: accessibility

licence

server