youngmon/atlassian-qna huggingface dataset:
Build freezes when git "checkout" starts
Asked by Mark Wolff:

I've used Bamboo for years, mostly Red Hat. I've never seen this issue before. I have a remote agent that I had to change the user ID. I deleted the old agent and added a new agent with the same agent name under the new user ID with a different Bamboo home. Now when the plan runs on this agent, as soon as it gets to checking out the git repository, the build freezes. No output comes to the log, the 3 minute build has run over a weekend and doesn't finish. This build worked fine under the old user ID. Perhaps I missed some cleanup of the old user ID? The first step is an SVN checkout, which completes.


Answers:
author: Mark Wolff
body: I've changed the git repository from git to https format as an experiment. The Bamboo logs show no issues. I've opened a ticket with Atlassian support as well. A git clone on the remote agent, done manually from the command line, also work.


author: Mark Wolff
body: I just changed the plan to run on another machine and the build hangs in the same way. So, I can eliminate the newly changed user ID as the initial attempt, since the agent I am running with today is run as a different user ID. So, something about the plan itself is corrupted, perhaps. I've restarted the build agent, removed the repository definition and re-added it to the plan. (It is a linked repository, so I just re-added it.)
Is it possible to make a call to the bamboo api from a plan?
Asked by Esteban Colcombet:

I would like to know if it is possible to call the Bamboo api from a task (for example, Script type), the important thing is that it can be called with the credentials of the user who is logged into bamboo.

<br />

Is there a variable with the credentials of the user who is logged into bamboo?

or is it necessary to use plan level variables with credentials to do this?


Answers:
author: Vitalii C_
body: Hi, yep.

There's no problem with it.

Refer to[this](https://docs.atlassian.com/atlassian-bamboo/REST/5.5.0/) to learn more about api.

I call it from PowerShell scripts with invoke-webRequest under service accounts creds. I don't know, unfortunately, about any way to extract user's creds from the runtime. However, our deployment is old enough - check latest releases documentation of the Bamboo.

Don't forget to prepare credentials correctly if you will be using PowerShell.

**Important:** don't forget to append a call with "?os_authType=basic" or you requests will fail.

**Example**:  
$url = "<https://bamboo.someprovider.com/rest/api/latest/result/>$projectKey-$buildKey-" + "$buildNo" + "?os_authType=basic\&expand=artifacts"

I don't like idea to use Bamboo secret variables to store passwords and as I remember it was causing issues when I was preparing creds for PowerShell requests. I'm using Windows Credentials Manager to store service account credentials instead of Bamboo offering (creds update will occur with standard automation from the IT/security side and I will invoke them securely to the script).


Tags: rest-api

script

task
Missing "viewProject.action?projectKey="
Asked by Marcin Niedziela:

After an upgrade from Bamboo 7.2.4 to 8.0.4 it is not possible to open project page using the url: "bamboo_instnace/viewProject.action?projectKey=XXX".

I was looking though the release notes but didn't find anything related. Is there any official information about this url being removed?

Thanks in advance.


Answers:
author: Alexey Chystoprudov
body: Hello [@Marcin Niedziela](/t5/user/viewprofilepage/user-id/4149347) , as part of work on [Project level build resource](https://confluence.atlassian.com/bamboo/project-level-build-resources-1071825278.html) feature this url was replaced with

```
bamboo_instance/project/viewProjectPlans.action?projectKey=
```

It was modified as users should use *bamboo_instance/browse/$PROJECT_KEY* as entry point.
Updated from 6.10.2 to 8.0.4, now when I run a plan I don't get logs
Asked by Andy Barclay:

Needing to test the upgrade from 6.10.2 to 8.0.4, I restored our production database into our test bamboo db.

I then started the 8.0.4 docker image and it did the upgrade no problem. I see all the production projects and plans.

When I run a plan, however, I see no logs. I'm probably missing some stuff on the file system. Anyone know what directories I need to copy across?

Anything else I need to check?


Answers:
author: Eduardo Alvarenga
body: Hello [@Andy Barclay](/t5/user/viewprofilepage/user-id/3875795)

Bamboo 8 [uses a different subset of folders](https://confluence.atlassian.com/bamboo/bamboo-home-migration-1063170553.html) when compared to Bamboo 7. This change allows Bamboo to scale and provide high availability.

Please check the following link to find the differences between each version:

[Locating important directories and files - Build locations](https://confluence.atlassian.com/bamboo/locating-important-directories-and-files-289277247.html#Locatingimportantdirectoriesandfiles-Buildlocations:)

Regards,

Eduardo Alvarenga  
Atlassian Support APAC
Can I access global, plan, or project variables from a file
Asked by Dale Binkley:

I am migrating from Jenkins to Bamboo. We have a file that defines variables that are used throughout our projects. Can I reference that file in Bamboo or must I recreate the variables individually within the global, plan, or project variable configuration tab


Answers:
author: Dale Binkley
body: The Inject Bamboo variables task allows you to read the values for variables from a file, and create those variables in your build plan.

<https://confluence.atlassian.com/bamboo/configuring-a-variables-task-687213475.html>
Twitter feed integration
Asked by Beatrice Corazza:

Hello,  

I saw on your doc that it's possible to push status from status.io page towards a Twitter feed, is it possible to do it the other way around? From Twitter into a status.io feed?  

We would like to use something like this for third party incidents.  

Thank you


Answers:
author: Nick Coates
body: Hi [@Beatrice Corazza](/t5/user/viewprofilepage/user-id/4445942)

Welcome to the Atlassian Community!

I just want to confirm you mean Atlassian Statuspage (statuspage.io) and not status.io? status.io is a different product, nothing to do with Atlassian.

If it's pertaining to Atlassian Statuspage, then no there is not way out of the box to push from Twitter to Statuspage. You would need to write some sort of "bot" that would utilize the API to create incidents in Statuspage.

If you're not aware, Statuspage already has hundreds of Third-Party components that you could utilize for example Mailgun, AWS etc.

Thanks,  
Nick


Tags: cloud
Code for the legend on the landing page under components
Asked by Mark Morrell:

Hi,

I am trying again to add the legend to the page under the status of our components, I originally added the code into the page for the legend but am no longer able to find that code anywhere as I removed it :(

I am not a developer in any shape or form and we are working to just have a neat informative page, this would be useful to have this legend on the status for our employees.

The legend I mean is the icons and text for

Operational

Degraded Service

Partial Outage

Major Outage

Maintenance

TIA

Mark


Answers:
author: Nick Coates
body: Hi [@Mark Morrell](/t5/user/viewprofilepage/user-id/4448207)

Welcome to the Atlassian Community.

I've checked the source code and have extracted it for you. I've tested the code in my test page and works (although you may need to play around with the CSS to tweak it).

1. Insert [this code](https://github.com/gadgick/gadgick/blob/main/style.css) into the CSS customization

2. Insert [this code](https://github.com/gadgick/gadgick/blob/main/legend.html) into the HTML footer customization

Hope this helps :)

Thanks,  
Nick

comments: author: Mark Morrell
body: Thankyou [@Nick Coates](/t5/user/viewprofilepage/user-id/732642) I appreciate you taking the time to look at the code, the code has been added as suggested although it displays at the bottom of the page and not under the components section and above Past incidents, I have played around and still unable to position correctly. - thankyou

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


author: Diego Zamora
body: Nick, the links do not work anymore... can you please share the new links? i'm specifically looking for the one related to CSS


author: Mark Morrell
body: Hi, For reference , you may have seen this added to other pages at the bottom of their components like here - <https://status.ucdavis.edu/>, it's frustrating as I added it but never documented my changes..

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


Tags: cloud
Multilanguage notifications and templates
Asked by Kir Kir:

Hello!

We have clients all over the world and our corporate website is available in 4 languages. We need the same on the status page. I am aware of the Localize integration, but it is not clear if it is possible to send multilingual notifications and create multilingual templates?


Answers:
author: Jesse Klein
body: Hello there,

This is Jesse from the Statuspage support team. Unfortunately, when it comes to notifications, the message will only send out in the language that it is sent out in. What I have seen some people do is to have the notification written out in the different languages that need to be covered. Alternatively, I have seen user have pages for each language to have that level of separation. Please let me know if you have any additional questions.

Take care,

Jesse


Tags: cloud

translate
Downtime field in Maintenances
Asked by Dachi Tchonishvili:

Hello,

In maintenances there are different scenarios with downtimes, sometimes a maintenance is one hour with 10 minutes of downtime and sometimes the downtime is one hour, we want to track this data for reports with API, currently it is not available with API. I guess having Expected Downtime field in Scheduled Maintenances form will fix this issue.

Please tell me how do you track this kind of data?

Thanks.


Answers:
author: Jesse Klein
body: Hello Dachi,

This is Jesse from the Statuspage Support Team. I think the best way to go about doing this is to keep the maintenance itself going on but change the component status from under maintenance to operational. This would allow you to track when there is no downtime while keeping the scheduled maintenance active. That would be the way that I would manage it. Feel free to reach back out if you have any other questions about this.

Regards,

Jesse


Tags: cloud
Differentiate alerts sent across subscriber segments
Asked by Rydoo NV:

We have certain subscribers who would like to be notified of every tiny incident happening on our application.

As we don't want to alert all our subscribers of every tiny incident but would like to alert these specific people, we would love to differentiate between subscribers.

I however can't find this option. Am I overlooking something or are there workarounds that could help me doing so?

Thanks in advance for the information.

Kind regards,

Ruben


Answers:
author: Jesse Klein
body: Hello Rydoo,

This is Jesse from the Statuspage support team. One of the options is to use component subscriptions:<https://support.atlassian.com/statuspage/docs/enable-component-subscriptions/>

You can select which components people subscribe to and then people that only care about certain components can to subscribe to just them while leaving everyone else that wants to subscribe to everything can also do so. This requires a business plan, however.

Beyond that, you could turn on the feature to allow users to subscribe to individual incidents. Under Subscriptions, you can go to Options \> Settings to make this change. This allows users to subscribe to incidents after the incident starts.

Hopefully one of these options could help you out!

comments: author: Rydoo NV
body: Thanks for the insights!


Tags: alert

cloud
Action Required to retain SAML SSO
Asked by Nomel Payomo:

There was a deadline to migrate our statuspage to Atlassian to June 1st. After this deadline, we will be migrated automatically.

We would like to know if there is still action form our end as we missed the deadline.

Also we are still getting the prompt that Statuspage is migrationg to Atlassian account. Does this mean we need to action anything even if we missed the deadline?


Answers:
author: Nomel Payomo
body: Thank you Egor for responding. It seems that our account has been ported. We have tested our instances and so far they are working. Do we still need to create an Atalassian account?


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

In case you still see the banner asking you to migrate your org - it means that you were not migrated yet.   

The deadline is the 1st of June, but we're migrating organizations in batches. Your organization can be migrated on the first day or after a few weeks.   

We strongly recommend you perform the migration manually, so you can select a correct Atlassian site/org. Please follow the steps described in the following article to continue - [https://support.atlassian.com/statuspage/docs/migrate-to-an-atlassian-account-from-statuspage/](https://support.atlassian.com/statuspage/docs/migrate-to-an-atlassian-account-from-statuspage/?)

Should you need any other information or help, please do let me know.

Best wishes,  
Egor
Are Self-Provided Metrics Even An Option?
Asked by bfishman:

I am trying create metrics in Statuspage and having a ton of difficulty! Are there scopes to API keys which could be impacting me?

Attempt 1: Added system metrics via GUI. Attempted to use Runscope's Statuspage integration. Fail. No data received in Status Page.

Attempt 2: Added system metrics via GUI. Attempted to use Statuspage's API to submit data. Could authenticate to endpoints such as Pages (<https://api.statuspage.io/v1>/pages) but could not access the metrics endpoint (/pages/{page_id}/metrics/{metric_id}/data) due to unauthorized access.

Attempt 3: Tried to add metrics via API. Realized I first needed to create a metric provider. The documentation says you can name "Self" as the metric provider. Statuspage API didn't agree. (see pics below)

![Screen Shot 2021-06-15 at 7.01.15 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/147636i73AA828460317C89/image-size/large?v=v2&px=999 "Screen Shot 2021-06-15 at 7.01.15 PM.png")


Answers:
author: Jesse Klein
body: Hello there,

Thanks for the question about adding your own system metrics.

I will try to address these for you as best as I can:

Attempt 1: I do not see Runscope showing up on the list of the providers we use for metrics. I would not be able to really go into details with Runscope. Is there any documentation there that might be useful?

Attempt 2: If you have access to the API key for your Statuspage, you should have access to add data to a metric. I just gave this a shot on my own page. I would double check that the API key you are using is valid. It's also important to make sure your authorization includes the "OAuth" part as well. This would be my preferred way to add the metrics using the scripts provided on the System metrics page.

Attempt 3: This is an interesting one. When I went to add Self (note the capital S), I was told that I already have the Self metric provider active. My guess is that if you create one Self instance of a metric, you no longer need to add Self. That being said, it looks like the error message needs an update.

I would give your second attempt another try to see if you can get data. If you are able to provide more screenshots, I can try to assist further for you.

I hope you have a great day!

Regards,

Jesse


Tags: cloud

metric
How can I make an RSS feed?
Asked by Stormy Galaxy:

I want to make an RSS feed that goes on discord(it uses an rss link). Here is a picture of someone who did it![F696CE6C-8021-488D-9637-3FFDA26073DF.jpeg](/t5/image/serverpage/image-id/147630i27EEDA4BDA26587E/image-size/large?v=v2&px=999 "F696CE6C-8021-488D-9637-3FFDA26073DF.jpeg")how do I do this?

thanks! -Stormy


Answers:
author: Dave Liao
body: [@Stormy Galaxy](/t5/user/viewprofilepage/user-id/4438744) - welcome Stormy! If you're looking to have a feed of tickets feed a Discord server, consider some third-party integrations mentioned here:

<https://community.atlassian.com/t5/Jira-questions/Discord-integrations-with-Jira-Atlassian-Apps/qaq-p/1452306>


Tags: cloud
Status Page Webhook Question
Asked by Eric R Hartway:

As the Statuspage admin for my organization, is it possible for me to edit the content (headers, body etc.) of the webhook notifications that are sent when subscribed to a Statuspage?


Answers:
author: Nick Coates
body: Hi Eric,

You are not able to edit the content of the WebHook, it's built into the WebHook call.

Thanks,  
Nick


Tags: cloud
Why System Metrics leave blank data on my Statuspage while I'm sending data.
Asked by Tim S:

Hello everyone,

I use Statuspage API to send data to my metrics every minute but after some moment (4hours) there is a blank In the graphic and I don't know why. I checked if my app was still sending data and yes I even receive response from the API. If I don't restart the app every time there would be no data for a while.

And some times the data is filled 1 hour later, could it be from the cache of my browser ?

So I'm asking the community if I'm doing something wrong.

Code:

I'm using JavaScript, I've used the example that was given by Statuspage but I modified it a bit so it could work with the rest of my app.

First of all the condition on line 4 was effective but when I saw that there was a blank in the data and that this condition was true while sending the data (came from the code of Statuspage) I've decided to disabled it.

So I don't know if the fact that I'm sending data every minute is an issue or I just need to care more attention at the data points (every 5 minutes)

If someone could help me...

Thanks for your time,

Tim S.

ps: If this code seems you non optimised don't worry it's test code.

```
async function submit(count, botping) {

? ? count = count + 1;

? ?console.log('submitting');

? ?//if(count > totalPoints) return;

? ?console.log('submitted');

? ?var url = apiBase + '/pages/' + pageId + '/metrics/' + metricId + '/data.json';
? ?

? ? var currentTimestamp = epochInSeconds - (count - 1) * 5 * 60;

? ? var randomValue = Math.floor(Math.random() * 1000);

? ?

? ? options1 = {

? ? ? ? method: 'POST',

? ? ? ? url,

? ? ? ? headers: {

? ? ? ? ? ? 'Authorization': 'OAuth ' + apiKey,

? ? ? ? ? ? 'Content-Type': 'application/json'

? ? ? ? },

? ? ? ? data: {

? ? ? ? ? ? data: {

? ? ? ? ? ? timestamp: currentTimestamp,

? ? ? ? ? ? value: botping,

? ? ? ? ? ? }

? ? ? ? }

? ? };

? ? console.log(options1);

? ? const res = await axios.request(options1).catch((error) => {

? ? ? ? console.log(error)

? ? });

? ? console.log(res.data.error); // That is the undifined on the screenshot

? ? console.log(res.data);

? }
?
```

![IMG_20210612_135442.jpg](/t5/image/serverpage/image-id/147216iC6BDF7605A9B8B23/image-size/large?v=v2&px=999 "IMG_20210612_135442.jpg")![IMG_20210612_135532.jpg](/t5/image/serverpage/image-id/147215iECB6997B750C9669/image-size/large?v=v2&px=999 "IMG_20210612_135532.jpg")


Answers:
author: Tim S
body: Hello,

I just saw after 2 days that the problem is not mine it's the Statuspage metric which update 4-5h later.

Does somebody know why ?

Thanks,

Tim S.


Tags: api

cloud

javascript

metric
how to get all the incident for a component
Asked by murtaza.bhatia:

I want to get all/list of incident for a component on statusPage is there any API anyone can help me with please


Answers:
author: Nick Coates
body: Hi Murtaza,

Welcome to the Atlassian Community!

There isn't an API endpoint to get a list of incidents for a specific component. You would need to use the 'Get a list of incidents' endpoint and then filter based on the component array (using the component_id):

<https://developer.statuspage.io/#operation/getPagesPageIdIncidents>

Thanks,  
Nick

comments: author: murtaza.bhatia
body: Hi Nick,

Thank for the response,

I did have a look on the list of incidents API, but I wanted to fetch all the incidents for a component

List of incidents API gives me the historical incidents for all the components on the page which is bit uneasy to filter all those

Did you mean to get the response from List of incident APi and then filter based in the component array json?

Thanks,

Murtaza


author: Nick Coates
body: [@murtaza.bhatia](/t5/user/viewprofilepage/user-id/4437451) Yes, I think you would need to get a list of all incidents via the API endpoint I shared and then filter it based on the component_id.

I can absolutely see a need though for an endpoint where you can easily pull the incidents for a component. I'll get an enhancement logged with the team.


author: murtaza.bhatia
body: Thank you [@Nick Coates](/t5/user/viewprofilepage/user-id/732642) for logging this issue, it would be great to have this and would save a lot time


author: David Bjorgen
body: [@Nick Coates](/t5/user/viewprofilepage/user-id/732642) I would love to see the following endpoints:

* a list of ALL incidents for a specific component
* a list of UNRESOLVED incidents for a specific component
* a list of maintenance items for a specific component (both upcoming and active)


Tags: cloud
Feature Request: Don't blank all the fields when resizing the window
Asked by Andrew Williamson:

I use a tiling window manager for productivity. Sometimes, when scheduling a maintenance, I'll need to resize my browser window to access some information somewhere else on my desktop. When I do this while creating a maintenance notification in StatusPage, all the information I've entered including time and date gets blanked out.

I would really like for the page to retain the info I've entered when the window is resized.

I tried to submit this on jira.atlassian.com, but there doesn't seem to be a StatusPage project there.


Answers:
author: Nick Coates
body: Hi Andrew,

Welcome to the Atlassian Community!

At the moment, you can't submit requests/enhancements via the public Jira. This is something I am working with the Statuspage team on.

In the meantime, I would recommend raising a Support Ticket as a technical issue and sharing screenshots with the Statuspage support team. I suspect they will raise this as a bug as opposed to an enhancement.

<https://support.atlassian.com/contact/>

Thanks,  
Nick


Tags: cloud
Possible to send API calls without triggering a real notification to customers?
Asked by Daniel Thurston:

We would like to give lower access employees the ability to raise Status Page alerts via a job in our CI/CD server. We have concerns about API calls spamming our current Status Page subscribers accidentally while we are testing.  

I have been reading over the documentation, and not seeing anything such as a safeguard flag to guarantee alerts do not go live to our customers accidentally.  

Does such a feature API parameter exist?  


Answers:
author: Nick Coates
body: Hi Daniel,

Welcome to the Atlassian Community!

If you are testing, I would recommend creating another page and testing with that to avoid any information going to your customers. At Broadcom we have a 'Sandbox' page that we created and we do all our testing there.

I would also suggest that once putting automating in place, there are safeguards from the CI/CD server in case of false positives etc. We've disabled automation across all our pages as this happened to us \& it was not a great experience for our customers or the business.

Thanks,  
Nick

comments: author: Daniel Thurston
body: Thank you, I never realized you can have multiple pages (without creating new accounts).  

Wiki page that may help others in the future:  
<https://support.atlassian.com/statuspage/docs/add-a-new-status-page/>