youngmon/atlassian-qna huggingface dataset:
Moving Artifacts, etc outside of Export/Import processn
Asked by Jeremy Blacker:

We're running Bamboo 5.9.10 using MySQL v5.5.41. We want to migrate to PostgreSQL 9.2 before upgrading Bamboo to v5.14.3. It's recommended to run an Export on Bamboo, start a new instance, and choose Postgres as the back end, and then run an import. We have 292G worth of Artifacts, so it would be unreasonable to have Bamboo include them as part of the export. We also have lots of logs.

My question is, if I don't include artifacts, nor build logs, nor results, but keep them in place on the filesystem. Will Bamboo be able to find them after starting a new instance and using importing the exported file? Will it try to overwrite them in the space that they are in?

Thanks,

Jeremy


Answers:
author: Jeremy Blacker
body: Thanks Dana,

It's good to know that the artifacts can be moved separately. The logs (and possibly build results?) are just text files as well, so I'd like to not needless copy and around large amounts of data.   

Though this is making lean more towards trying a straight up database migration from MySQL -\> PostgresSQL. Do you remember about how long your initial export took? It looks like the safest way to do that is to pause the Bamboo server, which would even further add to the downtime.   

Thanks,

Jeremy

comments: author: Dana Cleveland
body: The export took about 3 or so hours, and i had the server in Pause mode, so people could get to things just not kick off new builds.

I researched doing a straight database -\> database conversion, but all the tings i found seem iffy at best, and i lot of work to verify the mapping. We did all our products to PostgreSQL so i choose to do the vendor recommended route.. Bitbucket by far the easiest.. It has a conversion process builtin to go from one DB to another..


author: Dana Cleveland
body: So i did mostly that a few months ago...

Essentially, i did an export with everything BUT artifacts (our database is quite large already)

My steps included starting up brand new instance, going through the setup wizard to fresh empty bamboo instance (existing license).

After that, i imported my exported file (which took forever!!!, over 24 hours-36hours). once that was finished, i shutdown the instance..

here is where i copied the original artifacts directory from the old instance home, to the new instance home.. In fact i actually moved it, since it was about 1 terabyte..

When i brought the instance back up and navigated to the builds and corresponding artifacts, bamboo was able to find them no problem..

BTW. the reason i went through the setup wizard completely, and not used its import setup was that was told that the import from the Setup in some odd circumstances can be flaky.. It was recommended to me to run it after the blank instance was running fully..

Other tip.. start from a completely empty BAMBOO_HOME for the new instance, otherwise again you might run into odd issues..

/d


Tags: database

export

import
Unique working directories for local agents
Asked by Kostas Kritikos:

Hello

I have multiple local bamboo agents and I would like each one of them to have their own default working directory. Unlike remote agents, for local agents there appears to be a single config file (bamboo.cfg.xml) where buildWorkingDir can be set which will apply to all local agents

Thanks

Kostas


Answers:
author: Kostas Kritikos
body: This is actually possible - one needs to enable concurrent builds (even if setting max number to 1). Local agents will then get their own working directory ${buildWorkingDir}/{agentId}

Another undocumented "feature"....


author: Alexey Chystoprudov
body: No, you can't configure separate working directories for local agents. It's just another limitation of local agents


Tags: bamboo-administration
Can I import the plans after exporting them in the YAML format?
Asked by Jacob D'Onofrio:

*This question is in reference to Atlassian Documentation: [Configuring plans](https://confluence.atlassian.com/pages/viewpage.action?pageId=289276853)*

Ask your question here...


Answers:
author: Przemek Bruski
body: Stay tuned for our announcements on Summit 2017 in May.

Anything we ship before that will not be in a production-ready state and will not be announced as a feature.


Tags: bamboo-administration

documentation

plan
Bamboo Windows Build Agent change user
Asked by Stefan Hausotte:

Hi,

I need to change the Bamboo Build Agent user on a Windows Server 2012 R2 system from "SYSTEM" user to a local admin user. I followed the tutorial here <https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html> but after every build jobs fails after changing the user.

The git gets checked out, but the first powershell script to execute failes with -1. No error message or what so ever. This happens with all build jobs. If I change back to the SYSTEM user it works fine.

Any ideas how to fix it?

Kind regards,

secana


Answers:
author: Maclean IT
body: Had this myself today, for me the solution was to copy the user path env variable into the system path env variable. I had nodejs installed so my circumstances exactly matched the SO question/answer below which fixed it.  

<http://stackoverflow.com/a/30184185/191877>

Hope that helps.

comments: author: Stefan Hausotte
body: Hi, unfortunately this does not work. The agent finds the powershell scripts but they all fail for an unknown reason. Even inline scripts don't run.

Example:

Failing task since return code of \[powershell -ExecutionPolicy bypass -Command C:\\Users\\BambooAgent\\bamboo-agent-home\\xml-data\\build-dir\\XYZ-MS-JOB1\\K-Build\\pre-build.ps1 C:\\Users\\BambooAgent\\bamboo-agent-home\\xml-data\\build-dir\\XYZ-MS-JOB1\\K-Build\] was -1 while expected 0


author: Maclean IT
body: Can you logon as the BambooAgent and run powershell scripts ok?

<br />

Also, obvious but have you followed <https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html> and restarted the remote agent service?

Also check the agent logs on the machine, mine showed that the reason for my -1 error code was that powershell was not a recognised command (because it wasn't included in the user path which was being read instead of system path)

Also worth checking that the bamboo agent service has sufficient permissions to run I guess.   

Can't think of much else to try, sorry.  


author: Stefan Hausotte
body: Yes, that's the tutorial I followed. I restarted the service and the server, too. I see the remote agent running with the correct user but all build jobs fail with the error above.

I can logon to the server with the user I want to use for the agent and run all PS scripts.


author: Maclean IT
body: Anything in the remote agent logs?


Tags: bamboo-administration
Bamboo Quiet Period Not Delaying Builds
Asked by Jason Unrein:

I have 6 build plans across 3 projects. For the projects, one plan is just a simple/quick CI build and the other is the full build/delivery. Each project is a different repository.

I was trying to set the Quiet Period to do a 5min delay and 1 retry (max 10min wait) but every time I commit code, it builds immediately. The quiet period is never observed.

The repository is a Bitbucket server and it is triggered by the Bitbucket server as well

Linked repository config:

image2017-1-5 16:31:38.png

Trigger:

image2017-1-5 16:32:43.png

To further complicate things, I would also like the CI build to build immediately to provide developers with quick feedback if the commit is good while the full build/deploy is delayed the 5min/1retry. I was going to try to accomplish this by having a CI linked repository with no quiet period and a Full build linked repository with a quiet period.

UPDATE-1

Does this feature only work with SVN/Perforce? Going back to the original ticket to add this functionality, it sounds like yes.

<https://jira.atlassian.com/browse/BAM-926>  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Quiet-Period-Not-Delaying-Builds/qaq-p/200233?attachment-id=10751){#link_1170140f5d24f9}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/6337/1/image2017-1-5%2016%3A32%3A43.png){#display_1170140f5d24f9_0}  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Quiet-Period-Not-Delaying-Builds/qaq-p/200233?attachment-id=10752){#link_1170140f5d24f9_0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/6337/2/image2017-1-5%2016%3A31%3A38.png){#display_1170140f5d24f9_2}


Answers:
author: Alexey Chystoprudov
body: Quiet period should work for Bitbucket Server repository as well.

Can you please create a request at support.atlassian.com for investigation by our Support engineers


Tags: bamboo-administration
http://localhost:8085 does not show anything
Asked by amit joshi:

i installed standalone bamboo server and after running start-bamboo.bat script it launches a tomcat server instance. but when i am trying to launch bamboo using <http://localhost:8085> it does not show me anything.. it shows a blank page


Answers:
author: Nic Brough -Adaptavist-
body: Can you check the Bamboo logs to see what it might be doing? Does the application appear to be running at all?
Is it possible to disable a build step in bamboo for a branch plan
Asked by eric wood:

I have a build plan that by default has a build step that pushing a build component to a deployment tool called urban code deploy. Typically we only "build" CI related branches ... develop and release.

I have had some developers ask to build feature branches, but I do not want to push the built asset to my deployment tool repository because I will never deploy builds to my target servers from feature branches. Is is possible for me to disable a build step for a given branch plan?


Answers:
author: Divin Honnappa
body: It would help if you provided some details on which task you are trying to disable for feature but from Bamboo point of build plans, I don't think you can automate the plan to disable a task for feature branches and run for other branches

That being said, I do have an alternative for you to consider. All tasks you do using plugins can be done in script task. So, I would consider using the script task and have this condition:

if \[\[ ${bamboo.planRepository.branchName} =\~ feature\* \]\]

echo Not performing push to deployment tool

else

Your task to push build asset to deployment tool

Get bamboo variable for plan branch and match the keyword for your feature branch in a if else condition

comments: author: eric wood
body: Thank you for your reply. It is a script and I was in the process of implementing the same solution. I do appreciate your feedback. It would be a nice feature to be able to disable certain build tasks based upon a branch plan.

eric
how to start bamboo plan from URL?
Asked by Roberto De Oliveira:

Hello everybody!

Sometime ago I had a bamboo server and I used to start bamboo plans from web browser bookmarks (example: [https://mybamboo.domain.com/build/admin/ajax/startPlan.action?planKey=XAC-DDDC](https://mybamboo.domain.com/build/admin/ajax/startPlan.action?planKey=DDDC)), this was a very useful feature. But on a recent installation it doesn't work, every time I try it I get the following message:

"{"status":"ERROR","errors":\["Error encountered while triggering manual build: Could not generate next build number for 'XAC-DDDC'","Plan 'XAC-DDDC' did not start"\]}.

Do I have to configure something?

Running Bamboo: 5.13.0.1 build 51314


Answers:
author: rsperafico
body: Hello Roberto,

Please, do not bookmark actions as they may not work as you have noticed. Some actions require parameters to be passed along with the request and when you bookmark them those parameters will go missing.

Instead, I would suggestion you on using any of the following URLs:

```
http://localhost:8085/api/rest/updateAndBuild.action?buildKey=PROJ-PLAN?# Requirements- Repository configured for the PROJ-PLAN (Plan configuration &gt;&gt; Repositories)- Remote Trigger (Plan configuration &gt;&gt; Triggers)?# Behaviour- Bamboo will check whether there are changes in the repository setup, checking for changes against all branches within PROJ-PLAN (i.e PROJ-PLAN0, PROJ-PLAN1...) If changes are found in any of the branches, Bamboo will trigger a build against the branch as well?# Notes- Cannot be used with IPv6
```

![information](/html/@4DF2F60CA30FBCA0CD7B960B5D0F871B/images/emoticons/information.png "information") The method above will increase load in Bamboo whereas the method below will be triggering a specific build.

```
# https://docs.atlassian.com/bamboo/REST/5.14.3.1/#d2e578curl -u USERNAME -X POST 'http://localhost:8085/rest/api/latest/queue/PROJ-PLAN'?# Behaviour- Bamboo will trigger the build specified in the URL only. If you want to trigger a particular branch, you can update the url to 'http://localhost:8085/rest/api/latest/queue/PROJ-PLAN123' where 123 is the referred branch in your Plan.
```

I would like to wish you a Happy New Year!

---

Kind regards,

Rafael  
Atlassian

comments: author: Roberto De Oliveira
body: Thank you so much Rafael and have a happy new year!


author: Roberto De Oliveira
body: Yes, it works fine if I use web UI inside the same window, but if I use URL, or something that opens a new window or tab it doesn't work.


author: Alexey Chystoprudov
body: does it work if you run it from Bamboo UI?
How to forward mail to collaborators
Asked by Alain Gagne:

```
Hallo,I have the following problem regarding projects: I have set the coordinator, collaborators and email relating to the project.When a ticket is opened, only the coordinator receives the notification via email. How can I ensure that the notification is also sent to the collaborators?Thank you
```


Answers:
author: RMahajan
body: Hi [@Alain Gagne](/t5/user/viewprofilepage/user-id/4613405)  
Check the following things:  
Notification Scheme:  
1\] Navigate to Project Settings:  
Go to your Jira Service Management project.  
Click on "Project settings" (gear icon) and select "Issues" from the dropdown.  
2\] Access Notification Schemes:  
In the "Issues" settings, find and click on "Notification schemes."  
3\] Edit the Notification Scheme:  
Locate the notification scheme associated with your project and click on its name to edit it.  
4\] Review Notification Events:  
Look for the "Issue Created" event (or any other events you want to trigger notifications for).  
Check the notification scheme to see which users or groups are set to receive notifications for the "Issue Created" event.  
5\] Add Collaborators:  
If your collaborators are not listed in the notification scheme, add them to the appropriate events.  
2. Permissions:  
Navigate to Project Settings:  
Go to your Jira Service Management project.  
Click on "Project settings" (gear icon) and select "Permissions" from the dropdown.  
Check Browse Project Permission:  
Ensure that collaborators have the "Browse Project" permission. Without this permission, they won't be able to see issues and won't receive notifications.  
3. Collaborator's Watcher Status:  
Ask Collaborators to Watch the Project:  
Collaborators can manually watch "the project or specific issues t? receive notifications.  
In the issue view, they can click ?n th? "More" button and choose "Watch" t? receive n?tifications f?r that issue.  
4.Review Global Mail Notification Settings:  
1.Navigate t? Jira Settings:  
Clic? ?n th? Jira settings (gear icon) in th? top right corner and select "Issues."  
2.Access Notification Settings:  
Under "Notification," check the global email settings t? ensure they allow users to receive email notifications.  
Hope it will help!  
Regards,  
RMahajan


Tags: cloud

jira-service-management

jira-service-management-cloud
SLA - Comment: For Customer does not work !!
Asked by Y. Oezl:

Hi dear Community,  

unfortunately I'm looking an answer for this simple problem but there is not...

I checked also old posts, still nothing.

my SLA is very simple but "counter" does not stop. ![SLA.PNG](/t5/image/serverpage/image-id/303448i09328FF038088DFA/image-size/large?v=v2&px=999 "SLA.PNG")

when ticket creates, SLA starts to count and when I response to customer, it stops and our target is 24h.

![test.PNG](/t5/image/serverpage/image-id/303449i64E58D64F205B286/image-size/large?v=v2&px=999 "test.PNG")

and these are some examples.   

Thanks for your help  
Best Regards  
Yigit.


Answers:
author: Yuliia_Borivets__SaaSJet_
body: Hi [@Y. Oezl](/t5/user/viewprofilepage/user-id/4739481)

This could happen because of different reasons:

* Automation rules. If you are using Jira Automation, make sure that the SLA stop condition is not being interfered with by your automation rules.
* System limitations or bugs. Sometimes, the issue might be with the system itself.

You might need to dive deeper into your Jira configuration, or if you don't find the reason, you may need to open a ticket to get support from the Atlassian team.

Also, as an alternative solution, you may try to configure your SLA with the help of the add-on such as [SLA Time and Report for Jira](https://marketplace.atlassian.com/apps/1220741/sla-time-and-report-for-jira-track-time-to-sla-deadline?hosting=cloud&tab=overview&utm_source=Atlassian_Community&utm_medium=referral&utm_campaign=Comment_SLA-Comment-For-Customer-does-not-work_20240131) (developed by my team).

comments: author: Y. Oezl
body: Hello Yuliia,  

Thank you for your answer. I checked our automation rules, but there is nothing about SLA or something like that.  

I guess, it's a bug but I will contact with Atlassian Support.   

Thanks for your help again.   

Best Regards  
Yigit.


Tags: cloud

jira-service-management

jira-service-management-cloud

sla
Delete Forms in JIRA Service Management Tickets
Asked by Emery Manayan:

Hello,

Why I cannot delete a form in JSM tickets:

![Forms.png](/t5/image/serverpage/image-id/303454iFF16E20BE5C47C07/image-size/large?v=v2&px=999 "Forms.png")


Answers:
author: Emery Manayan
body: Please ignore - Thanks

comments: author: Tim Nelson
body: So what was the answer?


author: David Quiram
body: [@Tim Nelson](/t5/user/viewprofilepage/user-id/2365654) I just added a comment with an "answer" such as it is :/


author: Nikola Perisic
body: Hello [@Emery Manayan](/t5/user/viewprofilepage/user-id/4908323)

Only project administrators are available to delete the forms: <https://support.atlassian.com/jira-work-management/docs/how-to-create-edit-save-and-delete-a-form/>

Also to find out if you are a project lead:

1. Go to project settings (for this you need to have the permissions)
2. See if you are the project lead:![Screenshot 2024-01-31 at 10.27.59.png](https://community.atlassian.com/t5/image/serverpage/image-id/303458i1F4F897CDE2A4D3C/image-size/large?v=v2&px=999 "Screenshot 2024-01-31 at 10.27.59.png")

In case you are not an admin, you need to contact the project lead of that project.

comments: author: Matt S_
body: I am having the same issue. I am project lead, admin. i don't have the option to delete form from a ticket. I used to be able to do this.


author: Tim Nelson
body: It looks like Perisic Nikola is talking about deleting forms from a project, whereas the OP and others who have arrived here are asking about deleting a form from a **ticket/issue**, not a whole project.


author: David Quiram
body: For others looking for an answer See: <https://community.atlassian.com/t5/Jira-Service-Management/Unable-to-Delete-Form-in-Service-Management-Ticket/qaq-p/2623947>

and please go vote for the feature request: <https://jira.atlassian.com/browse/JSDCLOUD-13604>

The workaround is:

1. Make the form external
2. Open the form for edits
3. Delete the form


Tags: cloud

jira-service-management

jira-service-management-cloud
password policy for portal only customers
Asked by Fatima AALLA:

Hello, I need to know what is the configuration of authentication policy for portal only customers in Jira service management (Password expires, Password strength...) don't know where to find this configuration in jira


Answers:
author: Nikola Perisic
body: Hello [@Fatima AALLA](/t5/user/viewprofilepage/user-id/5261577) ,

For the password policy, you may want to visit this page: <https://support.atlassian.com/security-and-access-policies/docs/manage-your-password-policy/>

From this page, the answer you are looking for:

#### Portal-only accounts {#toc-hId-295049340}

You can't create a password policy for Jira Service Management customers with portal-only accounts. These accounts must have a password between 8-100 characters in length. [Learn more about portal-only accounts](https://support.atlassian.com/user-management/docs/manage-jira-service-management-customer-accounts/).

comments: author: Fatima AALLA
body: Hello Nikola, thanks for you response, we want to understand the config behind the passwords for portal-only customers is it documented somewhere? for example the accounts are locked out after wrong password trying what will happen?


author: Fatima AALLA
body: I need to **provide screenshots of the configuration of the password settings**


author: Nikola Perisic
body: There is no limitation on how much wrong passwords you can enter.

Reference: [https://community.atlassian.com/t5/Jira-Software-questions/What-is-the-limit-of-unsuccessful-login-in-Jira-Can-this-be/qaq-p/1745863#:\~:text=You%20have%2010%20attempts%20and,force%20attacks%20on%20your%20environment.\&text=Community%20Leaders%20are%20connectors%2C%20ambassadors%2C%20and%20mentors](https://community.atlassian.com/t5/Jira-Software-questions/What-is-the-limit-of-unsuccessful-login-in-Jira-Can-this-be/qaq-p/1745863#:~:text=You%20have%2010%20attempts%20and,force%20attacks%20on%20your%20environment.&text=Community%20Leaders%20are%20connectors%2C%20ambassadors%2C%20and%20mentors).


Tags: cloud

jira-service-management

jira-service-management-cloud
Create an application for JSM but it loads still shows a small error
Asked by Pranav Saraf:

We have our application on below URL:

<https://helpdesk-dev.bio-rad.com/public/atlassian-connect.json>

Although it loads the html that has back button on the html in iframe, it still shows error at bottom:

![error.png](/t5/image/serverpage/image-id/303444iE64F793468D5C5C9/image-size/large?v=v2&px=999 "error.png")

Just need help hiding this error.


Answers:
author: Nikola Perisic
body: Hello [@Pranav Saraf](/t5/user/viewprofilepage/user-id/5377185)

Did you use Forge to develop this app? If yes, which template did you use to develop it?

Can you briefly explain what was the process of building of this app?


Tags: cloud

jira-service-management

jira-service-management-cloud