youngmon/atlassian-qna huggingface dataset:
how to make bamboo tasks one dependent on the other, if one goes wrong, the next one doesn't execut
Asked by Dem?trius Eg?dio:

> Basically I have 4 or 5 tasks, which need to connect to the repository, build, test on virtual android and upload to Nexus Oss, I need to leave it in a way that if one task gives an error, the others shouldn't start. In the documentation it says: "The build tasks will run sequentially in the order specified in the job. If a build task fails, all subsequent tests will not run." But that didn't happen, everything turned green, even one of the first ones went wrong. Thank you, I await a return...  
>
> ![Captura de tela de 2021-11-05 10-11-54.png](/t5/image/serverpage/image-id/168128i86424E5C5E499868/image-size/large?v=v2&px=999 "Captura de tela de 2021-11-05 10-11-54.png")![Captura de tela de 2021-11-05 10-15-50.png](/t5/image/serverpage/image-id/168129iFB6B78179B7049B9/image-size/large?v=v2&px=999 "Captura de tela de 2021-11-05 10-15-50.png")


Answers:
author: Eduardo Alvarenga
body: Hello [@Dem?trius Eg?dio](/t5/user/viewprofilepage/user-id/4624681),

Welcome to **Atlassian Community!**

As per your screenshot, you are running multiple Jobs within the same Stage in Bamboo. Jobs will run in parallel and will not consider the results of their sibling jobs.

To instruct a Plan to stop upon a failed Job, you need to assign each Job to distinct *Stages*.

*Stages* group (or map) [jobs](https://confluence.atlassian.com/bamboo/job-289277456.html) to individual steps within a [plan's build process](https://confluence.atlassian.com/bamboo/plan-289277457.html). For example, you may have an overall build process plan that comprises a compilation step, followed by several test steps, followed by a deployment step. You can create separate Bamboo stages to represent each of these steps.

Whenever one of the *Stages* fail, the next upcoming Stage will not be triggered.

Here is a graphical representation of how projects in Bamboo contain plans, plans contain stages, stages contain jobs and jobs contain tasks:

![](https://hello.atlassian.net/wiki/download/thumbnails/248795089/BAM_52_BambooPlanAnatomy.png?version=1&modificationDate=1468342905347&cacheVersion=1&api=v2&effects=drop-shadow&width=627&height=400)

More information here:

* [Using stages in a plan](https://confluence.atlassian.com/bamboo/using-stages-in-a-plan-289276862.html)
* [Bamboo Best Practice - Using stages](https://confluence.atlassian.com/bamboo/bamboo-best-practice-using-stages-388401113.html)

Regards,

Eduardo Alvarenga  
Atlassian Support - APAC
Cannot delete bamboo-specs created plans/deployment projects
Asked by Sean Freitag:

I have removed all specs from the bamboo-specs/ directory, but the plans/deployment projects still exist as disabled instead of deleted. How do I remove these plans so that I may replace them?  

Context: I moved the configuration to a different repository, and some just need to be deleted.


Answers:
author: Sean Freitag
body: Apparently I didn't give myself proper permissions *before*removing the specs. I needed a Bamboo admin to dig me out. Make sure you can delete before you delete the specs.

Hopefully this helps someone in the future.


Tags: spec
Unable to find agent with id -1
Asked by Markus:

Greetings!

I am trying to set up a bamboo remote agent by following [this](https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html) guide, but when I run the command in point 3, The function fails after 10 attempts to build the agent. After searching the logs I find that for each build attempt, the message "java.lang.IllegalStateException: Unable to find agent with id -1" is printed. I have looked into different sources, including an old working bamboo setup on the build server (no-one remember how it was set up multiple years ago so it is no-one to ask) and seen that in the file "bamboo-agent.cfg.xml" it is specified various parameters such as ID, name and description in the agentdefinition element as shown in the upper part of the picture. However in the .xml file for the new agent setup the entire agentDefinition block is missing including an ID. Since the -1 value in the message might mean that it can't find the ID, I wondered how to create an ID for the remote agent? I have googled a lot, but can't find anything about how this ID is created. Does anyone know how to find this, or have an idea of what could be the problem? Is it supposed to generate the ID as a part of the command in part 3 of the guide, or does it has to be manually specified?

Best regards

Markus

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


Answers:
author: Markus
body: It turned out I had downloaded the wrong version of Java, I had JRE, but you must have JDK. Memo to myself, read user guides carefully: <https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html>


Tags: agent

identity

remote-agent
powershell commands in bamboo.yaml
Asked by aksimoN:

Is it possible to run powershell commands directly from bamboo.yaml istead from script file?


Answers:
author: Alexey Chystoprudov
body: Yes, to find example you can create Plan with Powershell command at UI and then export it to YAML form with top-right menu item at plan management ![Screenshot 2021-11-02 at 11.40.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/167579i0DA34D86DE271E06/image-size/large?v=v2&px=999 "Screenshot 2021-11-02 at 11.40.10.png")


Tags: powershell
How to get Artifact Url after finish build using plugin?
Asked by Automation Hoc:

I need to get Artifact Url when develop plugin in bamboo.

If anyone know the way how to get it let me know?

Thank you.


Answers:
author: Steffen Opel _Utoolity_
body: Hi [@Automation Hoc](/t5/user/viewprofilepage/user-id/4618280) - welcome to the Atlassian Community!

App development related questions are best asked in the [Bamboo Development category](https://community.developer.atlassian.com/c/bamboo-development/31) of the [Atlassian Developer Community](https://community.developer.atlassian.com/), you have a greater chance to get feedback from other app developers there.

That said, to set expectations, you'll note that there are comparatively few Bamboo related questions - regardless, quite some Atlassian team members are monitoring the community by now, so hopefully they can loop in someone from the Bamboo team.

Cheers,  
Steffen
I am completely blocked on one thing, when executing the repo from bamboo getting the below error.
Asked by Ritu Agrawal:

I am completely blocked on one thing, when executing the repo from bamboo getting the below error. My email address is ritu.agrawal@bio-key.com![Bamboo-Issue-Capture.PNG](/t5/image/serverpage/image-id/166720iC7438068814F1FA5/image-size/large?v=v2&px=999 "Bamboo-Issue-Capture.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: This looks like your build environment does not have docker installed and in the executables path.
RestAPI documentation question
Asked by Vitalii C_:

Hi, colleagues.

I'm just wondering if there's any reason why does following code snippet from the [official RestAPI documentation](https://docs.atlassian.com/atlassian-bamboo/REST/5.5.0/#d2e174) looks like this:

### /result/{projectKey}-{buildKey}-{buildNumber : (\[0-9\]+)\|(latest)}?expand\&favourite\&start-index\&max-results {#toc-hId-1285829511}

Note, that "**?expand** " command should be followed by the "**=** " sign and not "**\&**".

If I will strictly follow code snippet above and will use "\&" it will not return anything reasonable for an artifacts request.

**E.g.: ?expand\&artifacts will not return anything. It should be ?expand=artifacts.**

I spent a lot of hours trying to figure out why it's not working and accidentally discovered a solution on the [stackoverflow.](https://stackoverflow.com/questions/39072200/can-i-download-bamboo-built-artifacts-using-bamboo-rest-api)

May be it's the time to fix documentation?

If I'm missing something - let me know, I will be really appreciate.


Answers:
author: Alexey Chystoprudov
body: See section "How to use expansion in the REST APIs" at header of documentation <https://docs.atlassian.com/atlassian-bamboo/REST/8.0.4/>


Tags: rest-api
Running a build in a Docker container from a custom registry
Asked by Micah Yoder:

We have a Docker container in a Cloudsmith registry that we want to use in a Bamboo build. I just can't quite get it right.

In the Docker tab, I can put the full path (including repo URL) in, but there is not a space for login credentials, and the build error seems to be that it doesn't have permission to the image.

Under Tasks I can add a task to fetch the image, and there I can add the creds, and at one point it seemed to work and fetch the image just fine. But if the Docker tab isn't configured, it just goes ahead and runs the build outside the container after fetching it. If I put the image name and not the full path, the error is that it can't find the image.

Thanks for any ideas!


Answers:
author: Micah Yoder
body: Meh, irrelevant now, we switched it over to Bitbucket Pipelines.


Tags: docker
what is the impact of Migrating to Atlassian Accounts to our Viewer only users?
Asked by Chris Walkup:

This may be a very basic question but it wasn't clear to me when reviewing the documentation...

do our viewer users (non-adims) need to create new Atlassian Accounts as well at our Admin users? (in the migration process to Atlassian Accounts)

Until they create their new Atlassian Account (viewers, assuming they need to) will they still receive the notifications from any subscriptions they have already setup?


Answers:
author: atlassian-admin
body: It isn't clear to me as well. I would like to know what I need to communicate to our viewer users about the migration. What will they experience? Will Atlassian blast an email to all of our users explaining the changes and what to do next? As an admin, I don't feel well equipped with enough information about the change. We need to know what kind of information our users will receive once we finish the migration steps/prompts.


Tags: atlassian-account

migration
SSL page
Asked by Jamie Jenkins:

Disclaimer: I'm not a web developer and have only the basic level concepts.

We are preparing to move forward on utilizing statuspage.io and a part of this will be to embed the content page into our existing SSL-based pages.

I will need to discuss this with our InfoSec and web developers, and they will want more detailed information than I can describe. A concern of theirs will be embedding a non-SSL page within our corporate SSL pages I'm sure.

Are there any documents I can send to the teams to better describe the methods and security?


Answers:
author: Nick Coates
body: Hi Jamie,

Everything with Statuspage is encrypted via SSL/TLS, from frontend UI to API calls. I manage the Broadcom page and I came from the Symantec acquisition. As you can imagine, Symantec being a security company, Statuspage went through a lot of security and we deemed everything is safe, specifically as Atlassian has many accreditation from ISO 27001 to SOC2 compliance.

However I'm not completely sure what you mean by incorpating into your company-based SSL website? Do you mean using the embed widget?

I highly recommend sharing this page with your InfoSec team: <https://www.atlassian.com/trust>

I'm an Enterprise customer so we have a dedicated CSM so I would normally field these questions there. Alternatively if you are a paid customer you could try contacting Support.

Thanks,  
Nick


author: Nic Brough -Adaptavist-
body: I'm a little stuck - I am not aware of any part of Statuspage that is not served over SSL.

I've always used https to use Statuspage and when I've tried to use http://statuspage-url-I-know-exists, it always redirects me to the https page (as does my own website, with two simple lines of apache config)

What non-SSL page are you working with?

comments: author: Jamie Jenkins
body: Hey Nic,

Apologies on my end - I probably am not constructing my question correctly.

Is there documentation that I can pass along to my InfoSec and web development team to give them the information they need to incorporate my statuspage.io into the company-based SSL website?


author: Nic Brough -Adaptavist-
body: I don't think there is any documentation for that - you have a statuspage site, if you want to incorporate it into another site, then you need to do things with that site to draw it in, all you need from statuspage is the url your statuspage is running on.


Tags: cloud
Reduce "days ago" in uptime history graph
Asked by Dmitrii Chudinov:

Hello,  

Is there any chance to reduce 90 days ago down to 1 week (7 days) or even 24 h ?

There is an option when you change viewport width to reduce the number down to 60 and 30 days and as well recalculate uptime. Probably there is an API we may use to change it directly from code?  

Thanks in advance!  

![screenshot of uptime report](https://images.ctfassets.net/zsv3d0ugroxu/7Hf2mvICGZ4Vp5TEQDqqFE/7f20574aa76648205ce371346718ea4e/screenshot_uptime_report_statuspage_)


Answers:
author: Nick Coates
body: Hi Dmitrii,

This isn't possible with Statuspage at the moment. There is an enhancement I believe in the backlog but I can't find the request number! I know I requested this when we first requested the uptime showcase feature a few years ago (we were one of the vocal customers for this).

Thanks,  
Nick

comments: author: Dmitrii Chudinov
body: Hi Nick,  

Thanks for the answer, this is sad news ;(


Tags: cloud
How do we remove old trial statuspages from our list of active StatusPages??
Asked by Dawud Bey:

hi Atlassian team,  

How do we remove old trial statuspages from our list of active StatusPages??  

See the list of Pages in the left hand pane   

-Aperture Test Page  
-GPCS test

-InfraTest   

These are pages we would like to delete \& remove.  

Question - How can we do this????  

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


Answers:
author: Nick Coates
body: Hi Dawud,

You'll need to contact Atlassian Support \& ask for them to delete your trial page. There isn't a way at the moment to delete them through the UI.

Thanks,  
Nick


Tags: cloud

trial
Subscribe To Updates Button Disappears
Asked by Jamie Jenkins:

Disclaimer - I am not at all a developer...

When I add some HTML code to the customer header, the subscribe to updates button will disappear from my status page. Not sure why....


Answers:
author: Hana Ku?erov?
body: Hi [@Jamie Jenkins](/t5/user/viewprofilepage/user-id/4401130) ,

please, is it possible to share, what exactly you are trying to add? Thank you.

comments: author: Jamie Jenkins
body: \<script charset="UTF-8" type="text/javascript"\>  
window\["adrum-start-time"\] = new Date().getTime();  
(function(config){  
config.appKey = "\*\*\*\*\*";  
config.adrumExtUrlHttp = "<http://cdn.appdynamics.com>";  
config.adrumExtUrlHttps = "<https://cdn.appdynamics.com>";  
config.beaconUrlHttp = "<http://pdx-col.eum-appdynamics.com>";  
config.beaconUrlHttps = "<https://pdx-col.eum-appdynamics.com>";  
config.useHTTPSAlways = true;  
config.xd = {"enable":true};  
config.resTiming = {"bufSize":200,"clearResTimingOnBeaconSend":true};  
config.maxUrlLength = 512;  
config.spa = {"spa2":true};  
config.isZonePromise = true;  
config.angular = true;  
})(window\["adrum-config"\] \|\| (window\["adrum-config"\] = {}));  
\</script\>  
\<script src="//cdn.appdynamics.com/adrum/adrum-20.12.0.3360.js"\>\</script\>


author: Hana Ku?erov?
body: Thanks, [@Jamie Jenkins](/t5/user/viewprofilepage/user-id/4401130) .

Oh, this is not just basic HTML, this is javascript. I'm not familiar with this "appdynamics" service, but these kind of scripts needs be inserted to a specific place on the page. So, could it be this script is not in the right place and therefore is affecting your page?


author: Jamie Jenkins
body: This script is much like a Google analytics beacon. It is recommended that the script be placed in the header, but is there another location I could put the AppD script, or, can you tell me the code I need to add to the header to keep the subscribe button visible?


author: Nick Coates
body: Hi Jamie,

Please add this into the 'footer' in the customization area, not the header. The are referring to add this to the \<head\> section but we do not have access to customize this.

See attached (I've tested and this works on my own pages).

Thanks,  
Nick

![Screenshot 2021-05-24 145109.png](https://community.atlassian.com/t5/image/serverpage/image-id/144555i1BCAFCB8D3F71F9A/image-size/large?v=v2&px=999 "Screenshot 2021-05-24 145109.png")


author: Jamie Jenkins
body: Looks to be working as expected, thanks.


Tags: cloud
Tabular list
Asked by Jamie Jenkins:

I have a need to monitor thousands of B2B transactions, and to display only the B2B sites that are "down." When the customer site is "up" I want them to be removed from the list.

Can this be done?

++**Example**++

Customer #1 down since \[date and time\]

Customer #2 down since \[date and time\]

\[...\]


Answers:
author: Nick Coates
body: Hi Jamie,

This wouldn't be possible out of the box. By default all components are shown regardless of whether they are operational or not. At Broadcom we use audience-specific pages and have set up components mapping to customer tenants. When a customer logs in they only see their components/environment. However appreciate this probably isn't what you are looking for.

Alternatively you could write a custom page that utilizes the Statuspage API and use some JavaScript that would only display components that have a status other than operational.

Thanks,  
Nick

comments: author: Jamie Jenkins
body: Thanks for your insight!


Tags: cloud
Can you add a Mattermost integration?
Asked by Roy Orbitson:

Slack is already supported, and Mattermost accepts the same format messages. Even if it was only listed as a Slack-compatible option in the fine-print of the subscribe dialogue, that would be great.

![Screenshot_20210518_114720.png](/t5/image/serverpage/image-id/143767i3F877B6BEEE94174/image-size/large?v=v2&px=999 "Screenshot_20210518_114720.png")

All it takes is a URL that Mattermost provides via its *Incoming Webhooks* feature, like so:

```
https://mattermost.domain.test/hooks/abc123randomtokenxyz890
```


Answers:
author: Jesse Klein
body: Hello Roy,

Thanks for reaching out about adding a Mattermost integration. I would be happy to forward this along to our product team as a feature request. They will take a look at it for us. Thanks for the suggestion! I hope you have a nice day!

Regards,

Jesse


author: Tarun A
body: +1 we have 20,000 people and counting on Mattermost, would really like an Integration.


Tags: cloud

integration
Filter Components - close dropdown
Asked by Aleksandra Maria Sikora:

Hi,

So I can open/close Filter Components by clicking on button "Filter Components" (History page).

Is it possible to close dropdown by clicking anywhere on the page?

Thanks!


Answers:
author: Egor
body: Hi Aleksandra,  

Egor here with the StatusPage support team. Welcome to Atlassian Community!   

That's an amazing idea! We currently don't have this feature in place, but I'll be more than happy to pass this along to our product team to consider, perhaps we'll introduce this functionality in the future. ?  

Please let me know if there's anything else I can help you with.   

I hope you have an amazing day ahead.  

Best Regards,

Egor
can we have more than one owner
Asked by Murali Deepala:

For Status page can we have more than one owner as aback up?


Answers:
author: Egor
body: Hey Murali,  
Egor here with the StatusPage team, thanks for reaching out!

<br />

Yes, it is possible to have more than one owner. If you migrated to an Atlassian org, then a team member (SP User) with SiteAdmin rights on admin.atlassian.com will have "Owner" rights. Please see the following article on how to set a site admin for your site - [https://support.atlassian.com/user-management/docs/give-users-admin-permissions/](https://support.atlassian.com/user-management/docs/give-users-admin-permissions/?)  

I hope this helps, please let me know if you have any other questions.   

Best Regards,

Egor
Limiting notifications to only certain users
Asked by Ross Blanchard:

I have two different pages in status page -- one internal and one external. I've separated the user accounts to have access to the internal page or the external page. But all users get notifications if, for example, a component on the internal page is set to something other than operational for a long time. How can I limit these statuspage warnings so they only go to the accounts that have access to the internal page?


Answers:
author: Egor
body: Hi Ross,  
Egor here with the StatusPage support team, thanks for reaching out!   

It looks like your users are getting Long-running degraded component notifications. They are receiving these notifications as team members and not subscribers.   

You can turn off these reminders, please see the following page to find out how to turn them off and additional info about notifications we send - [https://support.atlassian.com/statuspage/docs/update-personal-information-and-notifications/](https://support.atlassian.com/statuspage/docs/update-personal-information-and-notifications/?)  

Please let me know if you have any other questions.  

I wish you a beautiful day ahead.   

Best Regards,

Egor

comments: author: Ross Blanchard
body: Hey, Egor. I'm getting a 404 at that link above.

Yes. that's right. The team members are getting notifications and I'd like to be able to adjust those. We had team members who had no access to a certain status page receiving those notifications. We have a couple status pages in our instance and groups of members for each.


author: Egor
body: Hey Ross,  

There was a white space in the link. Please try to use the following one - <https://support.atlassian.com/statuspage/docs/update-personal-information-and-notifications/>  

I'm afraid that you cannot adjust notification preferences for other users and each affected person should follow the steps described in the article to adjust it.   

You can have multiple pages on your org, but team members (admins of SP) have access to all of your pages and have control over your components/incidents, and so on.   

Thank you,  
Egor  


Tags: cloud
Any issues with Statuspage?
Asked by Hoc:

Hello,

Any issues with statuspage?

I can't access any of our orgs? I've refreshed multiple times

![Snip20210512_8.png](/t5/image/serverpage/image-id/143091i4A9B13A274658D73/image-size/large?v=v2&px=999 "Snip20210512_8.png")


Answers:
author: Zach
body: [@Hoc](/t5/user/viewprofilepage/user-id/4044598) we're not having any issues. If you put in a support ticket we can take a closer look, but are you accessing the Statuspage organization via the admin hub? If you're using Access there is a current incident that could be impacting the usability of the product (as [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) pointed out)

Something else worth checking is if you have a possible cookie issue. I'd suggest opening an incognito browser window, then attempting to authenticate to manage.statuspage.io to see if you're able to once again access the management console successfully.


author: Brant Schroeder
body: [@Hoc](/t5/user/viewprofilepage/user-id/4044598) Do you use Atlassian Access? Status page is up but access has an active incident that could be what is impacting your functionality. You can see updates here: <https://status.atlassian.com/>

comments: author: Hoc
body: Hey [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)

Yep, we do have Atlassian Access.

Is this issue still outstanding?

Thank you


author: Brant Schroeder
body: It looks like access is still having issues. As [@Zach](/t5/user/viewprofilepage/user-id/1144054) stated below you should submit a support issue so they can look into it. <https://support.atlassian.com/contact/>

Did you try clearing your cache and see if that made a difference per Zach's comments below as well.


Tags: cloud