youngmon/atlassian-qna huggingface dataset:
What is the JSON data structure for the following API method in bamboo https://docs.atlassian.com/bamboo/REST/5.8.0/#d2e653
Asked by Douglas Macqueen:

It seems that the examples are missing when i click on the links to show JSON request example it doesnt work.

I need to kick off a build with a JSON payload.

<https://docs.atlassian.com/bamboo/REST/5.8.0/#d2e653>


Answers:
author: Joe Clark
body: I'm pretty sure you can actually submit a HTTP POST request with an empty body - the information required to queue the build is embedded in the URL pattern.

**EDIT:**

If you need to specify additional information, such as overriding custom variable values, you can do that by either appending them as query parameters, or sending them as a form-encoded request body. Here's an example:

```
curl -vvv -X POST -u admin:admin 'http://localhost:6990/bamboo/rest/api/1.0/queue/PROJECT-PLAN?bamboo.variable.MyCustomerVariable=true'* Hostname was NOT found in DNS cache*   Trying ::1...* Connected to localhost (::1) port 6990 (#0)* Server auth using Basic with user 'admin'&gt; POST /bamboo/rest/api/1.0/queue/PROJECT-PLAN?bamboo.variable.MyCustomerVariable=true HTTP/1.1&gt; Authorization: Basic YWRtaW46YWRtaW4=&gt; User-Agent: curl/7.37.1&gt; Host: localhost:6990&gt; Accept: */*&gt;&lt; HTTP/1.1 200 OK* Server Apache-Coyote/1.1 is not blacklisted&lt; Server: Apache-Coyote/1.1&lt; Set-Cookie: JSESSIONID=79C73D864B26AB65E4CB4DB8D27CD0CA; Path=/&lt; X-Seraph-LoginReason: OK&lt; X-Content-Type-Options: nosniff&lt; cache-control: private, max-age=0, no-cache&lt; Content-Type: application/xml&lt; Content-Length: 287&lt; Date: Mon, 04 May 2015 15:04:34 GMT&lt;* Connection #0 to host localhost left intact&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;restQueuedBuild buildResultKey="PROJECT-PLAN-4" buildNumber="4" planKey="PROJECT-PLAN"&gt;&lt;triggerReason&gt;Manual build&lt;/triggerReason&gt;&lt;link rel="self" href="http://localhost:6990/bamboo/rest/api/1.0/result/PROJECT-PLAN-4"/&gt;&lt;/restQueuedBuild&gt;
```

comments: author: Douglas Macqueen
body: So query params are the preferred way to send variables for a build?


author: Joe Clark
body: @Douglas Macqueen - oh, do you mean you want to specify some custom variables when triggering the build? In that case, you can specify them as query parameters or as a form-encoded request body (the documentation appears to be inconsistent on whether or not JSON is accepted). I've edited my answer to include an example.


author: Douglas Macqueen
body: Thanks. I did some tests with both form encoded body params and query params it seems that form encoded sometimes do not get picked up. Ill stick with query params for now.
IAM for Bamboo to start and terminate instances
Asked by Samuel Sun:

Hi,

I don't want to use an IAM with full permission on Bamboo. Instead I want to allow Bamboo to start new instance and terminate only the instance it starts. Is there a way to do this?

I have googled and search on Support tickets, but I couldn't find anything.

Thank you.


Answers:
author: Bruno Rosa
body: Samuel, an official list of EC2 IAM permission does not exist. There is already an improvement request logged for this issue: <https://jira.atlassian.com/browse/BAM-11932>. Some users are sharing some thoughts around this discussion and even some possible "workarounds" in that request, I'd suggest you take a look at it.


Tags: cloud
Python Rest Client for Consuming Bamboo Deliverables
Asked by GN:

Hi there,

I was wondering if there is a python rest client build for consuming Bamboo deliverables.

Thanks,

GN


Answers:
author: rsperafico
body: Hello GN,

Thank you for your question.

You could be running the following, if suits you:

```
import requestsimport json# [BAMBOO-BASE-URL], i.e.: http://localhost:8085url = '[BAMBOO-BASE-URL]/rest/api/latest/info'headers = {'Content-Type': 'application/json'}# create page# [USERNAME], i.e.: admin# [PASSWORD], i.e.: adminr = requests.get(url, headers=headers, auth=('[USERNAME]', '[PASSWORD]'))print(r.status_code)print(r.text)
```

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support

comments: author: Nate R
body: That did the trick! Thanks! Very helpful!
FAIL: Artifact sharing results in "test cases were expected but none were found"
Asked by Peter Kahn:

Hi all,

I hoped Atlassian fixed this between 4.4.2 and 5.8.1 but apparently not. I have a two stage plan:

1. Test: jobs: test win, test lin - share surefire reports
2. Report: depend on shared artifacts from previous jobs and scan to report test failures  
   **Pick up test results that were created outside of this build** is checked....

Result:

* Report publishes the test files as artifacts (good)
* JUnit scanner failes to detect the files (bad)   

  failing task since test cases were expected but none were found.

I've worked around this before by moving and touching files. It is somewhat lame but easily done.

Let me know if you have a better solution


Answers:
author: Peter Kahn
body: Ooops, that wasn't the case. I had the wrong path, which means Atlassian did fix the bug between 4.4.2 and 5.8.1. sorry guys and thanks

Peter
Continuous Integration for Documentation (using Bamboo)
Asked by Anthony A:

Hello,

FYI - I am brand new to Bamboo and have never setup continuous integration from scratch (only build configurations in a established environment).

I working on setting up continuous integration and deployment for my documentation set. I just connected Bamboo to SVN where my documentation resides. I am in the process of trying to build and deploy my documentation set (PDF and WebHelp) to a website using this process.

I came from using TeamCity (CI and CD) and I was wondering **if there is anyone who is setting up a similar environment?**

I was wonder what the process is to ensure my build is setup correctly. For example, do I need pom files to point to the specific parts I would like Bamboo to pick up and build?

Thank you,

Anthony


Answers:
author: Anthony A
body: All of my content does reside in an output folder in Eclipse. How do I point to the artifact in Eclipse from Bamboo? I am used to using Maven for everything and I would like to understand the simpler format you mentioned.

Thanks,

Anthony


author: Timothy
body: I don't think you need to over complicate stuff like using Maven.

If you documentation is already in your SCM, all you need to do is to check out the artifact and use that artifact in your deployment. The next step depends on how you display your documentation on your website. I might get Bamboo to execute a script that manipulates the documentation files that must sit somewhere in the server.


Tags: bamboo-administration
No dependencies for a 2nd stage artifact in Bamboo
Asked by Mary Sage:

My first stage builds the products \& shares them as artifacts

My second stage is a zip task which zips all of the products into 1 file.

When configuring the 2nd stage artifacts, I'm not getting the button to create the dependencies, where I would list the 1st stage artifacts.

Does anyone know why?

Thanks,

Mary


Answers:
author: Mary Sage
body: It was my mistake. I thought a job on the default stage was another stage. When I made a new stage all worked.

Thanks.


author: rsperafico
body: Hello Mary,

Thank you for your question.

Could you please attach a screenshot displaying full web browser's view when replicating the issue described, please?

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support
User moved a plan on bamboo and the old links still exist as broken links
Asked by Rory Aptekar:

One of our users moved a plan in between projects. The move appears to have happened successfully, but the old plans are still visible on the dashboard but simply lead to errors/page not found. I've attempted a full reindex on Bamboo to see if that would resolve the issue but the old/moved plans still show up under the project.

My expertise on Bamboo is fairly limited, has anyone seen this before and know how to resolve?

We're currently on Bamboo version 5.7.2 (self-hosted)

Thanks!


Answers:
author: Ron Chan
body: I've seen that before and I feel your pain.

I recall each time, restarting Bamboo resolved the issue.

comments: author: Rory Aptekar
body: Thanks Ron - We'll give that a shot. Appreciate the fast response!


Tags: bamboo-administration
Does Bamboo works with TFS-GIT?
Asked by Krzysztof Krawczyk:

Hi,

I have a problem with TFS-Git repository. I was trying to select GIT or TFS repository type, but in both cases I have a problem with checking out the source code.

Error response for GIT:(com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: url : authentication not supported)

Error response for TFS:  
(com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint could not be contacted. HTTP status: 404

OR

(java.lang.RuntimeException : com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.repository.RepositoryException: There is no history for the path .... Probably it doesn't exist.


Answers:
author: Sergey Podobry _Stellarity Software_
body: Hi Krzysztof,

In your case you need to use GIT repository in Bamboo as well. The repos should match:

* TFS repo in TFS -\> TFS repo in Bamboo
* GIT repo in TFS -\> GIT repo in Bamboo

A sample url for GIT repo in TFS: <https://myserver/tfs/defaultcollection/_git/myproject>

More about configuring GIT repo in Bamboo: <https://confluence.atlassian.com/display/BAMBOO/Git>

Note: If you have authentication errors configure Bamboo to use native GIT.


author: cbenard1
body: Hi Krzysztof,

Bamboo does not natively support TFS repositories. That support can be found via this third party add-on: <https://marketplace.atlassian.com/plugins/com.stellarity.bamboo.tfs-repository-plugin>  

This add-on is fully supported by atlassian as well. If you are still running into issues using the TFS repo type provided by the add-on please create a ticket at <https://support.atlassian.com>

Thanks!

Turner

comments: author: Marcin Wisnicki
body: The problem is that Bamboo does not support NTLM authentication with JGit (which should work).


Tags: bamboo-administration
Bamboo elastic Agent in pending state
Asked by Khoa Tran:

Hi,

I started an instance running on Amazon EC2 compute cloud Ubuntu. The instance was running after 1min. However, the elastic agent has been in pending state mode after 38mins. Bamboo Admin page does not show any log under 'Amazon EC2 console'.

I also tried the link to the log file on the, but it got me to an invalid page.

A screen shot of Bamboo Admin page is attached.

The elastic agent started ok when I started an EC2 Windows instance.

Could you please suggest some steps to move forward?

Many thanks,

Khoa TranscreenShot.png  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-elastic-Agent-in-pending-state/qaq-p/390840?attachment-id=10471){#link_1168c2faac9d8a}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/12276/1/screenShot.png){#display_1168c2faac9d8a_0}


Answers:
author: Phil Cook
body: I am having the exact same problem the bamboo directory or the user isn't created. This is massively frustrating!

I have been reading this could be related to VPC (Virtual Private Cloud) and elastic IP addresses as bamboo doesnt seem to be able to connect to the EC2 instance.

Please can we have a guide to be able to run through and check against VPC.


author: Khoa Tran
body: Thank you Rafael.

I ssh into the instance, but the 'bamboo' directory does not exist under /home.

It looks like bamboo failed to even get started. Is there some other log with details on bamboo starting, before bamboo log kicks in?

Regards,

Khoa

comments: author: Phil Cook
body: Having the exact same issue here. No Bamboo directory or user being created.I guess this mean that Bamboo is not connecting to this instance. I have been reading a lot and believe this is related to the fact that its VPC (Virtual Private Cloud) but I dont understand what setup is required.


author: rsperafico
body: Hello Khoa,

Thank you for your question.

Please, connect to your Amazon elastic image:

```
ssh -i &lt;your-key&gt; ec2-user@ec2-23-20-72-61.compute-1.amazonaws.com
```

Please, refer to [Connecting to Your Linux Instance Using SSH](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html) documentation for further information.

Once connected to your instance, please look for any errors in "*/home/bamboo/bamboo-elastic-agent.out*"

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support
Bamboo deployment task for web logic server
Asked by Aakash Basnet:

I have an artifact created from maven task in my build configuration, now I want to deploy those artifact to the web logic server so anyone please help me how to add a deployment task with web logic server?I cannot see any web logic deployment task like that of tomcat deployment server.HOW TO DEPLOY TO WEBLOGIC SERVER???

somebody answer me to write own web logic API deployment scripts. but I didn't understand this clearly.

PLEASE HELP ME


Answers:
author: Felipe Kraemer
body: Hello Aakash,

I am wondering if you can try to use an [SCP Task](https://confluence.atlassian.com/display/BAMBOO/Using+the+SCP+task+in+Bamboo) in order to copy your artifact from Bamboo to your Weblogic server.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer

comments: author: Aakash Basnet
body: I will try with that. So by scp task we can deploy our application to web logic server right?


author: Aakash Basnet
body: @Felipe Kraemer : Thanks very much for the concept provided above, I copied the artifact to weblogic server. Does it means deployed the application? or still something left for deployment?


author: Felipe Kraemer
body: Hi @Aakash Basnet,I am not sure how exactly Weblogic works, but as far as I can see at <http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html#1070825>, as soon as the file extension is EAR and you've followed those steps in the link, the application should have been deployed.
where can I get a good tutorial on bamboo?
Asked by ismobara:

Hi,

I'm trying to configure bamboo since 3 days, and unfortunately, it is not working in build process.

but I cannot find any good tuto online.

I'm disappointed, and I want to try jenkins if I cannot find help .

thanks


Answers:
author: Paulo Hennig
body: Hello Ismo,

You could follow the [Bamboo Installation Guide](https://confluence.atlassian.com/display/BAMBOO/Bamboo+installation+guide) and in case you happen to face any roadblock in the procedure, you can give a detailed description about what's your error in order to give you the right answer.


Tags: build
Missing /home/bamboo when configuring elastic instances to use the EBS
Asked by Eban Escott:

Hi,

I am trying to setup Bamboo to use an EBS volume and I am getting a little confused.

I start an *elastic instance* via the *Manage elastic instances* in the Bamboo administration. I then SSH into the server and make some changes. I can then *run a plan* and get a successful *build* from Bamboo. Yay!

I then swap over to the *AWS console* in the web browser and *create an image* of the *instance* . This creates me an *AMI* and 2 *snapshots* of the *volumes* . However, and this is the bit where I get stuck, when I update my i*mage configuration* to use the new *AMI* and *snapshot* any changes in the /home/bamboo folder have been lost when I start up a new instance. I tried both snapshots and no luck. Shouldn't the *snapshot* include everything on the *volume*?

Can someone explain to me what I am doing wrong here please? I thought that a snapshot would include what was on the volume. I am no Ubuntu admin so I think I am missing something about the way the folders relate to the volumes somehow?

Thanks

Eban


Answers:
author: Bruno Rosa
body: Eban, according to the [Configuring elastic instances to use the EBS](https://confluence.atlassian.com/display/Cloud/Configuring+elastic+instances+to+use+the+EBS) documentation, if you want your files to be included in the snapshot, you must upload them to the **/mnt/bamboo-ebs** folder (or its subfolders). This way they'll be available to the elastic instances that use the EBS volume. I'd recommend that you read [Populating your EBS volume](https://confluence.atlassian.com/display/Cloud/Populating+your+EBS+volume) for guidelines on how to populate your EBS volume effectively. Hope this helps.


Tags: cloud
How to interation jira service manager to Confluence
Asked by Loi Le Quang:

Hi Pro.

I am facing problem with integration jira service manage data center to jira confluence.

I don't know how to setup jira service management with confluence. Please

guild to setting up like

1) while login jira service manage and not need login to confluence

2) how to setup knowledge base

Thanks


Answers:
author: Marc - Devoteam
body: Hi [@Loi Le Quang](/t5/user/viewprofilepage/user-id/5380260)

This article will guide you through all the steps needed.

[set-up-a-knowledge-base-with-confluence-server/data center](https://confluence.atlassian.com/servicemanagementserver0505/set-up-a-knowledge-base-with-confluence-server-1206783255.html)


Tags: jira-service-management

jira-service-management-server

server
Unable to reindex after creating proforma form issues
Asked by koh:

Running jira data center (software 8.20.10, service management 4.20.10) with proforma version v8.5.4-DC.

Unable to reindex after creating proforma form issues.

Looking at the issue property via rest api ([api/2/issue/{issueIdOrKey}/properties](https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/issue/{issueIdOrKey}/properties))

```
property_key: proforma.forms
json_value: {"schemaVersion":4,"forms":[{"id":1,"projectFormId":3,"internal":true,"submitted":true,"name":"12/5/2023 New Form","updated":"2023-12-05T07.11:00.458151Z"}]}
```

Errors in jira logs after reindexing, or trying to transition the issue (Indexing failed with errors)

```
DocValuesField "ISSUEPROP_proforma.forms$schemaversion" appears more than once in this document
```

Any help will be much appreciated.


Answers:
author: Joseph Chung Yin
body: [@koh](/t5/user/viewprofilepage/user-id/4621158) -

I recommend you to contact Atlassian Support (<https://support.atlassian.com>) with your support zip attached to your ask for the support team to advise the next steps.

Your other option is to identify where the specific FORM is associated with in your project, and then delete it. Afterward, recreate the FORM again to see if the specific FORM is the root cause because it is not properly configured.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: jira-service-management

jira-service-management-server

server
Is any scripting or coding required in JIRA Service Management implementation?
Asked by S Jena:

Hello

As a new explorer of JIRA,

Can we implement JIRA Service management with IN, CR, SR \& PM module with only available Plugins in JIRA?

Is their any expertise required in Scripting or Coding language to implement JIRA Service Management?

Need guidance with the available options.


Answers:
author: Marc - Devoteam
body: Hi [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)

I think fro Incident, Change Request , Service Request and Problem Management.

[@S Jena](/t5/user/viewprofilepage/user-id/5288802)

Welcome to the community, not you don't need plugins for this.

Jira Service Management can be used ootb for this ITIL proceses.

It is not like other Service Tooling where you have to purchase every module separately, JSM is a one stop shop for these ITIL proceses.

No scripting or coding is required to use the product.

comments: author: S Jena
body: [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976) Thanks for your input.

I am looking into the steps how to implement JIRA Service Management (JSM) for our client.

Currently our client have JIRA Software cloud available with them.

So i am just finding the steps where to start for the JSM implementation.

Can you please help me with the technical steps?

TIA

S Jena


author: Carla Ann Rowland
body: You can run a JIRA project without any special add-ons. Your Jira Instance administrator does need have experience in coding. It is best to understand the logic and have some coding background to write filters in JQL (jira query language) and AQL (asset query language). Those two skills are used to build automation inside the JIRA or a Service Desk.

The service desk project queues and Kanban boards and Scrum boards work off of filters.

Jira and it inclusive tools, like Assets, and Advance Roadmaps are very powerful.

comments: author: S Jena
body: Thanks @\[deleted\] for you valuable information


author: Brant Schroeder
body: [@S Jena](/t5/user/viewprofilepage/user-id/5288802) Welcome to the Atlassian community

Can you define what IN, CR, SR \& PM modules are? What does each stand for? IN = .......

You do not need to use any scripting or coding to get Jira Service Management up and running. I would suggest signing up for the free version and playing around with the application to see how you can use it to meet your business needs.

comments: author: S Jena
body: Thanks [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) , i will explore the free version of JIRA.

To describe the modules in details

IN - Incident Management

CR - Change Requests

SR - Service Requests

PM - Problem Management


author: S Jena
body: I am looking into the steps how to implement JIRA Service Management (JSM) for our client.

Currently our client have JIRA Software cloud available with them.

So i am just finding the steps where to start for the JSM implementation.

Can you please help me with the technical steps?

TIA

S Jena


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud