youngmon/atlassian-qna huggingface dataset:
How do I see surefire output files in Bamboo?
Asked by John Kramer:

How do I see surefire output files for a Bamboo build?


Answers:
author: Anonymous Coward
body: Simon says:

" There is an open feature request <https://jira.atlassian.com/browse/BAM-15446> that details the result directories patterns that Bamboo should look for.

You can configure your Maven task as described here: <https://confluence.atlassian.com/bamboo/maven-289277038.html>. Notice the screenshot at the bottom of the page where you can set where should Bamboo look for test result files and choose the option "Specify custom results directories" and use the patterns described in the feature request above.

"

Simon out.
Creating new Bamboo projects from Java application
Asked by Michal:

Hi, I would create new Bamboo project on Bamboo instance from my Java app.

I thought to do this through the Bamboo REST API by it doesn't support this functionality.

The next idea was to use Bamboo Java API, but it looks like it is only for developing the plugins.

My question is how can I create a new bamboo project from my java app ?

Is it possible to use Bamboo Java API ? If yes, could you provide some examples.


Answers:
author: Grzegorz Lewandowski
body: Bamboo API is dedicated strictly to plugins. Regarding REST apis, it's limited in general to reading data from the system.

However, you could use [REST Based Bamboo Specs](https://confluence.atlassian.com/bamboo0603/tutorial-create-a-simple-plan-with-bamboo-java-specs-939492084.html) to do what you want.


Tags: bamboo-development

java
Multiple bamboo-specs projects?
Asked by Robin Sonnabend:

I manage all my build plans (20+) in a single Stash Git repository 'Bamboo Plans', and had scripts to publish plans to Bamboo.

Since Bamboo in recent versions allows to do this on it's own, I'd like to migrate to this feature.

By trial \& error I learned, that I have to create a "bamboo-specs" folder in that Git repository and put a pom.xml file there so that Bamboo sees the Bamboo Specs project.

Do I have to create one project _per_ build plan, or can I keep them all in one git repository (I would prefer this!).

Please help :-)


Answers:
author: Grzegorz Lewandowski
body: With **Java Bamboo Specs** it's totally fine to have a single repository which defines multiple plans and deployments for Bamboo. Furthermore, that's the concept Bamboo team uses internally to manage our plans.

YAML Bamboo Specs support only single plan - per repository at the moment.

comments: author: Robin Sonnabend
body: Thanks Grzegorz for your reply.

I'm using Java Bamboo Specs, but Bamboo doesn't find my plans. The directory structure is like this:

repo/project1/plan1/pom.xml  
...

repo/project2/plan1/pom.xml  
...

I already moved everything under one bamboo-specs/ top-level directory, but without luck - Bamboo still doesn't see the plans.

Do you any other advise?


author: Grzegorz Lewandowski
body: You should have only single Bamboo Specs project in bamboo-specs directory. Within this project you can have (and publish) as many plans as you want.   

Please refer to the [tutorial](https://confluence.atlassian.com/bamboo/tutorial-create-a-simple-plan-with-bamboo-specs-894743911.html)in order to get information how to create Specs project within your repository (there's a command you should use to get you started) and to the specs [reference]( https://docs.atlassian.com/bamboo-specs-docs/6.5.0/specs-java.html) to get knowledge how to create and publish plans and/or deployments.
docker run error
Asked by Patrick Gibbons:

New ubuntu install of bamboo returns the following error when running docker task to access elasticsearch image:

```
com.atlassian.bamboo.docker.DockerException: Error running Docker run command
```

bamboo user id can run 'docker ps' command on my local ubuntu laptop without error, not sure why this is occurring . Has anyone run into this before?


Answers:
author: Edwin Kyalangalilwa
body: Hi Patrick,

What version of Bamboo are you running?

Seems you might be experiencing this error.

[Docker task: problems running detached container](https://jira.atlassian.com/browse/BAM-19730)

Please post more of the log file - showing the docker command.


Tags: docker
Store plans in version control
Asked by art:

I was a little bit confused by google search results for this.

Does bamboo has an option to store plan scripts in source control along with the code.

We used Jenkin's pipeline and looking for an alternative. The way it worked was:

1. Build plan is stored as a groovy script in the source code repository.

2. Every time any branch is updated with new commit, it's script is being run.

3. If the source code is updated in a way that requires adjustments to the build plan, old branches can still be built because code and build plan reside in the same repository.

Is there something analogous in Bamboo?


Answers:
author: Gabriel Ribeiro
body: Hi art,

Yes, you can do that in Bamboo, we call it "Bamboo Specs". You can use YAML files for simpler plans or Java if you need more flexibility.

You'll find all details in the documentation below

* [Bamboo Specs](https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html)

thanks
Bamboo build plan template for many microservices
Asked by Yuval Peled:

Hello,

I've googled and seen this issue discussed but no good solution and nothing recent so I've decided to re-ask.

In our organisation we have dozens of microservices whose build plans only differ by the plan variables and the repository they clone. Their build jobs are identical. My problem is that implementing a tiny change in their build jobs requires going through our 60+ build plans and changing them manually.

I would love to have a sort of job template that all these microservices perform where I could change only the template and it would be implemented in all of the build plans.

Conversely, is there a different solution that I'm missing?

Thank you very much.


Answers:
author: Grzegorz Lewandowski
body: I believe a Java Bamboo Specs is a solution for your problem.

[Here's a tutorial](https://confluence.atlassian.com/bamboo/tutorial-create-a-simple-plan-with-bamboo-specs-894743911.html)
Checking out consistent git revision across stages
Asked by Asa Riley:

I have a stage for building my application, and another stage for running integration tests. As I understand it, each job that needs the source must checkout the source again, so what happens if someone commits during the build stage? Will the integration step phase include the newest commit? Or will it somehow be locked to the revision of the source used in the build stage?


Answers:
author: Asa Riley
body: Ok, I think the answer is that the revision number is locked for the whole build of a plan. I haven't found this explicitly stated in the documentation, but I did find the following which implies this is the case:

"If the child build uses the same source as the parent build (for example, the Subversion URL is the same), the child build will be forced to check out the same revision of source code as the parent build. This ensures that builds are consistent when triggering one build from another."
How to create more than one Bamboo plan using Bamboo spec in one repository?
Asked by hmozaffari:

I was hoping to generated more than one Bamboo plan using Bamboo specs in my linked Bitbucket repository. So I created multiple classes for creating plans and annotated them with @BambooSpec.

Bamboo doesn't complain and it correctly identifies all annotated classes and executes them with no error:

```
Found @BambooSpec annotation on class PlanSpec1
Found @BambooSpec annotation on class PlanSpec2
Running class PlanSpec1
...
Running class PlanSpec2
...
```

But for each execution it recreates the plan associated to PlanSpec1. I'm using Bamboo version 6.2.9 and Java API version 6.2.9.

Has anyone created multiple plans in one linked Bitbucket repository?


Answers:
author: AnnWorley
body: So that we could gather more information and communicate privately, I opened a support ticket on your behalf. Please expect an email from our support portal. When we find a resolution we can circle back to this thread.


Tags: annotation

spec
How do I pull build activity from the SQL database for each plan?
Asked by Darrell Sutherland:

I know there's already a built in report to do this in Bamboo but wanted to know how to pull the data straight form the database for build activity by date for use in an external report.

Any help would be greatly appreciated


Answers:
author: Robert W
body: Do you have anything specific you're looking for?

At it's simplest:

```
select * from buildresultsummary order by build_date desc
```
Linked Issues in Services Object not appearing
Asked by Angelbert Palad:

When creating an incident for a service by populating the 'Affected Services' field, the issue or ticket does not show in the 'Linked Issues' section of the Services object.

Thus I cannot make the AQL connectedTickets() work for my automation.

Any idea?


Answers:
author: Daniel Kerr
body: I've just run into this issue as well, and after some searching, I noticed that this seems to be a missed requirement from Atlassian. See the below suggestion that is "Under consideration":  

<https://jira.atlassian.com/browse/JSDCLOUD-10435>  

If anyone has a workaround to this, I'd love to know. My only suggestion for a workaround is that you build out your own services object type in your own object schema and create a custom field such as "Impacted Services" to understand linked issues for a particular service (object) when in the object schema.


author: Scott Bickerton
body: Are your incidents open (unresolved) when you are looking at the Services object?


Tags: cloud

jira-service-management

jira-service-management-cloud
error: No default engine was specified and no extension was provided.
Asked by Matt McKinley:

I am getting this error


Answers:
author: Ste Wright
body: Hi [@Matt McKinley](/t5/user/viewprofilepage/user-id/3707589)

Can you provide us some more details? Where are you getting this error?

Ste

comments: author: Matt McKinley
body: Hi Stephen

In Our portal![PortalError.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/314366iDF1A16A9AC1A1207/image-size/large?v=v2&px=999 "PortalError.jpg")


Tags: cloud

jira-service-management

jira-service-management-cloud
Creating a knowledge base article from a service ticket?
Asked by Christian Patam:

Hello,

Just wanted to see if I was using this function correctly:

I'm trying to create a knowledge base article using a service desk ticket. I click on the Knowledge base section in the Details panel pf the ticket and click create article. I was assuming the article would automatically populate with the service desk ticket that I am currently viewing but it just shows up as a blank article.

Is this the way it's supposed to function? I was hoping for an easier way to create knowledge base articles instead of manually having to create the article every time

Thanks


Answers:
author: Dan Breyen
body: Hi [@Christian Patam](/t5/user/viewprofilepage/user-id/5304632) you are correct regarding current functionality for creating Knowledge Base articles. When you click on the Create button, you are given a blank page to create the article.

I could see it working either way. It might be worth it to have information filled in for you, but then again, it might be more work to deidentify customer data and make the article more presentable for a wider audience.

Hope that helps.


Tags: cloud

jira-service-management

jira-service-management-cloud
Knowledge base articles are not visible when referenced in Jira
Asked by Craig Duffy:

When I add an article from our Knowledge base to a Jira issue comment, the link successfully appears. However, when I try to click on the link in the comment, the preview does not work.

It seems like everything is linked correctly, and the permissions to the knowedge base appear to be set correctly, so not sure what is going on![Screenshot 2024-03-25 at 2.58.42?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/314326i7651628F95B52C82/image-size/large?v=v2&px=999 "Screenshot 2024-03-25 at 2.58.42?PM.png")![Screenshot 2024-03-25 at 3.12.23?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/314327iFB12B077D892FA37/image-size/large?v=v2&px=999 "Screenshot 2024-03-25 at 3.12.23?PM.png")


Answers:
author: Joseph Chung Yin
body: [@Craig Duffy](/t5/user/viewprofilepage/user-id/5419390) -

Does your DC env has the appropriate application link setup against the target KB site correctly? The error message is stating the target site is not allowing for the connection.

Please advise.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


author: Brant Schroeder
body: [@Craig Duffy](/t5/user/viewprofilepage/user-id/5419390) we had this issue. It has to do with the headers on the confluence page i believethe browser thinks it is cross site scripting. I will get more information tomorrow and provide an update. As a work around we had everyone click the new window link so it would load.

comments: author: Andrew Laden
body: I think I am having the same issue. So what was the problem/fix?


author: Craig Duffy
body: Hi [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) any update on this? thank you!


author: Brant Schroeder
body: [@Craig Duffy](/t5/user/viewprofilepage/user-id/5419390) sorry. It has to do with how the browser is recognizing the iframe. It thinks that it is cross site scripting. We used our F5 to fix the content security policy so the browsers will be ok.


Tags: data-center

jira-service-management

jira-service-management-data-center

knowledge-base

permission
Create ticket from email pushed to Slack Channel
Asked by Paul Seekins:

Hello,

So I am trying to streamline our internal employee/contractor offboarding process. This starts life as an email that is sent to a distro list and then we manually create a ticket in Jira. I would like to setup a process where the email is forwarded to a Slack channel with the Assist Bot installed. which then generates a ticket in Jira. I have setup all of the components and can get the Slack channel to generate a ticket when I request it from within the channel itself, but not if I forward an email. I was hoping that the Assist Bot would be intelligent enough to map the Email Subject -\> Jira Summary and Email Body -\> Jira Description...but it simply fails every time.  

We use a 3rd party email handler, so using the Jira Email handler for this will cause us issues and is not an option.  

Anybody else had any experience with Email -\> Slack -\> Jira Ticket?  

- Paul


Answers:
author: Mikael Sandberg
body: Just a thought, but instead of using email to Slack, why not use the [emailed request](https://support.atlassian.com/jira-service-management-cloud/docs/receive-requests-from-an-email-address/)? Each JSM project can have an email address that can be used to create requests. All you would have to do is instead of forward the email to Slack, just forward it to JSM.


Tags: cloud

jira-service-management

jira-service-management-cloud
Portal Response Time
Asked by Luis Andino Rodriguez:

we are currently testing the portal to work on internal support but we are seeing that when we "reply to the customer" inside Jira it takes the customer to refresh the portal to be able to see the response. Is there a way to make this smoother or faster?


Answers:
author: Dan Breyen
body: Hi Luis, there are some open tickets in Atlassian's Jira Site that you may want to vote for and watch to get the portal to automatically refresh:

[JSDCLOUD-10400](https://jira.atlassian.com/browse/JSDCLOUD-10400) [JSDCLOUD-11784](https://jira.atlassian.com/browse/JSDCLOUD-11784) [JSDCLOUD-11785](https://jira.atlassian.com/browse/JSDCLOUD-11785) [JSDCLOUD-11205](https://jira.atlassian.com/browse/JSDCLOUD-11205)

Those are probably duplicates, but feel free to vote for and watch them for updates. I added my vote as well.

Hope that helps.


author: Joseph Chung Yin
body: [@Luis Andino Rodriguez](/t5/user/viewprofilepage/user-id/5437614) -

As far I as know, currently that customers need to refresh his/her browsers to see the latest update. In addition to adding yourself to the issues mentioned by Dan, you can also utilize setting up automation rule where triggering off when issue's status changes events, and then conduct a custom email action to the customer (who created the issues via the portal), so they can also be notified to access his/her issues when needed.

Here is a link on Automation for Jira for your reference - <https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/>

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: cloud

jira-service-management

jira-service-management-cloud
Change login email
Asked by Nancy Phields:

I want to change my main login email because I no longer have access to that email. Please advise on how to change my main login email asap.   

Thanks.


Answers:
author: Brant Schroeder
body: [@Nancy Phields](/t5/user/viewprofilepage/user-id/5461642) Welcome to the Atlassian community

You need access to the old email in order to make the change or you would need to managed account admin to make the change, see: <https://confluence.atlassian.com/cloudkb/change-atlassian-account-email-addresses-969508513.html>

Can you explain why you no longer have access to the email account? Also is this on a paid plan that you currently pay for, you are the credit card owner?

comments: author: Brant Schroeder
body: [@Nancy Phields](/t5/user/viewprofilepage/user-id/5461642) can you accept the answer to help others?


author: Joseph Chung Yin
body: [@Nancy Phields](/t5/user/viewprofilepage/user-id/5461642) -

Welcome to the community. What do you mean email address update? what UI that you are trying to get access into. Are you referring to your Atlassian account?

Please advise.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.


Tags: jira-service-desk-unknown-hosting-type

jira-service-management
Show the priority name instead of its icon in the "Column View" for filter and Queue
Asked by Augustin FRAN?OIS:

Hello,

My client want to see the priority name instead of its icon in the column "Priority" from filter or queue view.

Someone have a workaround to do that ?


Answers:
author: Valerie Knapp
body: Hi [@Augustin FRAN?OIS](/t5/user/viewprofilepage/user-id/5418850) , welcome to the Atlassian Community and thanks for your question.

Annoyingly, you will likely need an automation for this. If you check the smart values documentation here, <https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/> , you will find how to write the smart value to retrieve the name of the Priority instead of the symbol and then you would need to populate a custom field with this information, like this.

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

Please try this out in your environment and give us your feedback about how it goes.

Cheers


author: Nikola Perisic
body: Welcome to the community [@Augustin FRAN?OIS](/t5/user/viewprofilepage/user-id/5418850)

Workaround here is to create a custom field that will have the multiple choices where you will add your priorities. After you are done creating the custom field add them to the screens of your project.


author: Hannes Obweger - JXL for Jira
body: Hi [@Augustin FRAN?OIS](/t5/user/viewprofilepage/user-id/5418850)

I don't know if this problem justifies additional tooling for you, but just to put this out there: If you're open to solution from the Atlassian Marketplace, this would be easy to do in the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2651158).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including support for (configurable) *issue hierarchies* , *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting*.

Plus, you can easily view the names of your issue's priorities, like so:

![priority-name.gif](https://community.atlassian.com/t5/image/serverpage/image-id/314239i2D66911CE3617C4C/image-size/large?v=v2&px=999 "priority-name.gif")

As every JXL sheet is powered by either a saved filter or a JQL statement, many of our customers use sheets as an extension or alternative to both filter views and queues. Note that this *just works* - so there's no scripting or automation whatsoever required.

Any questions just let me know,

Best,

Hannes


Tags: cloud

jira-service-management

jira-service-management-cloud
Export Project Listing
Asked by Jace Williams:

I am trying to export the list of our projects in Win Jira. In the "View All projects" section is there a way to export a projects listing in to excel? Please advise.


Answers:
author: Trudy Claspill
body: Hello [@Jace Williams](/t5/user/viewprofilepage/user-id/5289882)

There is not a native function to export the list.

You could simply copy all the text in the table/list of projects and paste it into Excel.

There are also several third party apps available in the [Atlassian Marketplace](https://marketplace.atlassian.com) that would provide that functionality.

The documentation from Atlassian mentions one such app:

<https://confluence.atlassian.com/adminjiraserver/exporting-projects-from-the-source-instance-1167739600.html>


Tags: jira-service-desk-unknown-hosting-type

jira-service-management
Ho to remove signature with 3rd party app?
Asked by Dave Duijvekam:

Hi all,

Within our company we have a pretty big signature.

I'm looking for a 3rd party app that can remove exact that part of the signature that I do not want in the ticket, also remove it from forwarded mails where often mulitple times the signature is in the mail.

I tried the settings withing Jira Service Management Cloud but this does not do it for us.

Any ideas???

Regards,

Dave


Answers:
author: Valerie Knapp
body: Hi [@Dave Duijvekam](/t5/user/viewprofilepage/user-id/5237438) , thanks for your question. I just searched the marketplace and found this, [https://marketplace.atlassian.com/apps/1232625/mail-signature-remover?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1232625/mail-signature-remover?hosting=cloud&tab=overview) .

I don't know it as a product, but you could try it and see if it helps you.

Cheers

comments: author: Dave Duijvekam
body: Hi Valerie,

Thanks for the quick response, will try this :)

Regards,

Dave


author: Dave Duijvekam
body: Hi Valerie,

This solves part of the issue, if I use this it will remove the signature but if the signature is repeated in a mail that has been internal forwarded the complete tekst between the 1st en the last signature is gone.


author: Dave Duijvekam
body: I have created a new topic as this only solves part of the issue


Tags: cloud

jira-service-management

jira-service-management-cloud