youngmon/atlassian-qna huggingface dataset:
How can I display a list of all unittests instead of only the failed ones?
Asked by Aino Andriessen:


Answers:
author: Alexey Chystoprudov
body: All tests are not visible at Build summary level (browse/BAM-FC-2/test).

You should go to Job details level (browse/BAM-FC-EXIM-2/test). There will be an option to see all tests


author: Aino Andriessen
body: Thanks.


Tags: cloud
Unable to detect changes
Asked by Catherine Aldrich:

We occasionally get an "Unable to detect changes" error, but the build seems to work. More specifically:

Unable to detect changes

(com.atlassian.bamboo.plugins.hg.HgCommandException : command /usr/bin/hg id -i --debug -rev feature/\[name of the build\]

It seems to be caused by:

stderr: abort: HTTP Error 500: Internal Server Error stdout:using \[our hg server\] sending capabilities command sending lookup command

Has anyone experienced this and what is the cause/resolution


Answers:
author: Catherine Aldrich
body: It wouldn't let me ad another comment yesterday.

This has been happening for a long time (I don't remember exactly when), and I don't see anything in the logs that appear to be related. The builds work. My feeling is that maybe this is more of a network or timeout issue between the servers, since mercurial is on a different server than bamboo. One of the developers keeps asking, so I thought I'd post it here to see if anyone had experienced this or knew of possible solutions.


author: Jonas Andersson
body: That was me, i withdrew the comment because i see that it's actually the hg binary that returns the error. My question was if it was a new buildserver where the hg binary was deployed and configured through the interface. If any other HG checkouts works at this point, this can't be the issue.

You don't happen to see anything else in the bamboo logs?


author: Catherine Aldrich
body: I received e-mail notification that someone replied to this, but it's not appearing. In response to that hidden comment, yes it worked before and it continues to work. Note the "occasionally" in the first sentence.
Why would Bamboo branch builds be blocked?
Asked by Craig Brown:

Using Bamboo version: [Atlassian Bamboo](http://www.atlassian.com/software/bamboo/) version 5.8.1 build 5866 - 16 Mar 15

We have a number of build plans that use branch builds without any problems, using shared repositories from our Stash server.

I've created another plan that uses a different shared repository from the same Stash server. The build works fine when building from master. However, when attempting to build from a branch, the build shows as queued, but never appears in the Build Activity Queue. The build hangs forever and there is no information in the logs as to why its blocked.


Answers:
author: Alexey Chystoprudov
body: Hello @Craig Brown,

Great your issue was solved. Atlassian Answers is not a good place to get feedback on such kind of questions, next time if you see some unexpected behaviour from Bamboo please create request at support.atlassian.com


author: Craig Brown
body: On Monday, after a weekend of inactivity on the Bamboo server, the branch builds are now working.

No restarts or configuration changes on the server since the last build failure.

Happy that its now working, frustrated at the lack of information in the server logs to troubleshoot this problem.


author: Craig Brown
body: We restarted the Bamboo server, but the branch builds continued to be blocked and never reach the Build Activity Queue.


Tags: bamboo-administration

bamboo-development
bamboo remote agent updtat
Asked by Patrice E_:

Hello,

I've upgraded my main bamboo server from 5.13.1 to 5.13.2 successfully and I have 5 remote agent.

How can I get the bamboo version of my agent and how can I upgrade them, I can't find any doc on this topic.

Thanks for your help


Answers:
author: Sergey Podobry _Stellarity Software_
body: Remote agents are automatically upgraded (or downgraded) on connection to the Bamboo server.

comments: author: Rich Duncan
body: Yep - Sergey is correct - I've removed my answer


Tags: bamboo-administration
bamboo build plan fails after recreating application links with new URL
Asked by Tukaram Bhukya:

Please help me in below problem.

Our stash and bamboo application links working properly and building plan till last Friday.

Our stash and bamboo URL got changed now , we removed application links and recreated application links with new URL. After that none of build plans were not working.

Throwing below error and we did "Save the repository configuration" but didn't fix issue.

Please help me if any one of you ran into same problem.

Stash 3.3.0 and bamboo 5.8.1

image2016-9-28 16:29:34.png

Here is log message

```
com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' ls-remote ssh://ef157b6c-2fe6-4781-9960-1a15efb97ca5@127.0.0.1:28970/dtech/text-paging.git failed with code 128. Working directory was [.]., stderr:Error while opening SSH sessionstdout:[Warning: Permanently added '[127.0.0.1]:28970' (RSA) to the list of known hosts., BAMBOO-SSH-PROXY: [While connecting to [git@bitbucket.dtech.saccounty.net/10.94.72.177:7999]: Error while opening SSH session: org.apache.sshd.common.RuntimeSshException: Failed to get the session.], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]	at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:398)
```

[](https://community.atlassian.com/t5/Bamboo-questions/bamboo-build-plan-fails-after-recreating-application-links-with/qaq-p/55392?attachment-id=7595){#link_1166acc629b0cc}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/1716/1/image2016-9-28%2016%3A29%3A34.png){#display_1166acc629b0cc_0}


Answers:
author: Bhagwan Basnet (Aakash)
body: I suggest you to remove application link directly from database:

Follow this docement

<https://confluence.atlassian.com/bitbucketserverkb/how-to-remove-application-link-from-bitbucket-server-database-788043127.html>

<https://confluence.atlassian.com/bamkb/how-to-remove-application-links-manually-from-bamboo-785457177.html>


Tags: bamboo-administration
Bamboo telemetry view
Asked by Micha? Dembski:

I'd like to set up a wallboard view that would show build results from several build plans and their branches on one wallboard. Currently it seems to only be possible to show all builds plans (without branches) under one project or one plan+it's branches. Is there a way to combine those views?


Answers:
author: Alexey Chystoprudov
body: You can favorite plans and branches and then show them in wallboard: Capture 2016-09-05 at 14.26.42.png  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-telemetry-view/qaq-p/292645?attachment-id=5173){#link_1166accf31e9b7}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/9176/1/Capture%202016-09-05%20at%2014.26.42.png){#display_1166accf31e9b7_0}

comments: author: Micha? Dembski
body: The problem is, I can't do that for anonymous users, which our wall-mounted monitor is.  
I guess I could create a dummy user, just for the monitor, with minimal permissions (it's publically available, so shouldn't let anyone screw with the defined builds), make favorites and, hopefully, show them.

I did hope for some better way. So far I created simple HTML site that just loads different wallboards into frames and displays those frames. It's the closes I could get to a desired effect, not ideal, since basic frames do not resize with the number of builds in each wallboard etc. If I do not find a better solution, I guess I'll try to refine that HTML site.


author: aviorma
body: Can you share the code of this html page ?


Tags: bamboo-administration
admin user cannot delete another admin account
Asked by Shay Hoffmaster:


Answers:
author: Shay Hoffmaster
body: <https://support.atlassian.com/servicedesk/agent/BSP/issue/BSP-28272>


author: Alexey Chystoprudov
body: looks like a bug, can you please create request at support.atlassian.com?


author: Shay Hoffmaster
body: I attempted to delete another user I had previously added to the bamboo-admin group and received this message:

You cannot remove the last administrator from the the administrators group (Bamboo-admin).

2016-10-04 09:05:50,275 WARN \[http-apr-8085-exec-7\] \[SqlExceptionHelper\] SQL Error: 207, SQLState: S0001

2016-10-04 09:05:50,275 ERROR \[http-apr-8085-exec-7\] \[SqlExceptionHelper\] Invalid column name 'groupid'.

2016-10-04 09:05:50,275 ERROR \[http-apr-8085-exec-7\] \[DefaultUserAccessor\] com.atlassian.user.impl.RepositoryException: org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL \[n/a\]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet

Observations: Viewing the Groups page shows 0 users for all groups. I added a user, just to bamboo-users, then attempted to delete and have the same issue

Environment information:

Bamboo: 5.13.0.1

Database: MS SQL Server 2012

DB Driver: sqljdbc42.jar

Class Name: com.microsoft.sqlserver.jdbc.SQLServer

Driver Connection string/options: jdbc:<sqlserver://HOSTNAME:3433;databaseName=Bamboo;instance=SYSPREP;ssl=require>

OS: Server 2012 R2

java version "1.8.0_102"

Java(TM) SE Runtime Environment (build 1.8.0_102-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)


author: Alexey Chystoprudov
body: Can you please provide more details on this? Any logs, error messages


Tags: bamboo-administration
How to upgrade bamboo to 5.13 without affecting Bitbucket/JIRA on same database.
Asked by pupie:

According this page:<https://confluence.atlassian.com/bamboo/mysql-289276817.html>

Upgrading Bamboo to 5.13 should change mysql parameter and set lower_case_table_names=1.

But I have all other Atlassian instances on the same mysql database such as jira/bitbucket/confluence.

I don't have this setting on my previous installation on centos with mysql, but after changing lower_case_table_names=1.

other instances can't be started anymore.


Answers:
author: Alexey Chystoprudov
body: Hello @pupie cn,

Please follow steps below:

1. Stop any Atlassian applications using the MySQL instance
2. Dump each database that needs to be recreated  
   eg: mysqldump --databases bamboo \> bamboo.sql
3. Use DROP DATABASE to drop each database that you're recreating
4. Stop the MySQL service
5. Add lower_case_table_names=1 to your MySQL configuration file
6. Restart MySQL service
7. Reload the mysqldump files:  
   eg: mysql \< bamboo.sql

<br />

You should do these steps for every DB you have in your MySQL instance. If you do all that points other Atlassian products will be not affected


author: Boris Capitanu
body: Great, this worked for me as well.


author: pupie
body: Thanks for your answer, I tried with JIRA, it works.
Link the Request issue type to an existing epic upon ticket creation based on the field value
Asked by Sivarami Chittemreddy:

Request issue type need to link with an existing Epic up on Request ticket creation based on the business unit field value


Answers:
author: Rebekka Heilmann _viadee_
body: Hello [@Sivarami Chittemreddy](/t5/user/viewprofilepage/user-id/5289214) and welcome to the Community!

If I understand you correctly, you have a mapping of Business Units and Epics? How long is that List of Epics?

You can create an Automation rule with a Lookup Table that represents that Mapping or - if the Epics follow a certain Scheme or have the same BU linked you could even find the Epic based on field values and then link the trigger issue to that.

If you give us a little more info into your use case and the Epics you want to link, we can probably provide you with a template for a rule.


Tags: cloud

jira-service-management

jira-service-management-cloud
unable to run elastic agent on ec2
Asked by Tom Nijboer:

Starting Elastic Bamboo Agent...  
2016-09-28 09:44:01,037 INFO \[main\] \[S3Sync\] Syncing from: bamboo-agent-release-eu-w1/5.12.4-D20160704T134120/aa02e30788f7683b8f5431d112a3a6dec65b44065b68d45b46c102a9452b0435/ to /opt/bamboo-elastic-agent  
2016-09-28 09:44:01,931 INFO \[main\] \[S3Utils\] Syncing s3://bamboo-agent-release-eu-w1/5.12.4-D20160704T134120/aa02e30788f7683b8f5431d112a3a6dec65b44065b68d45b46c102a9452b0435/ to /opt/bamboo-elastic-agent  
2016-09-28 09:44:01,932 INFO \[main\] \[S3Utils\] Fetching the list of remote objects...  
Exception in thread "main" com.amazonaws.services.s3.model.AmazonS3Exception: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: 72F202E6F5976F8C), S3 Extended Request ID: gXK2kUXjx9Fj2yTyWjQoJbo+JUT6MpmYiYWNX5jLZdIxnXcePBhd4GHVFofAy7ODg0xrTve4hBc=  
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1077)  
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:725)  
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:460)  
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:295)  
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3714)  
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3664)  
at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:637)  
at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:620)  
at com.atlassian.aws.s3.S3Utils.getObjectNamesAndHashes(S3Utils.java:353)  
at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:161)  
at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72)  
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66)

We're blocked on it, so please help!


Answers:
author: Dario B
body: There was a problem with our public access key that has been solved right now.

Please re-try and confirm everything is now working fine. In case it is not please log a ticket in [support.atlassian.com](https://support.atlassian.com)

Best Regards,  
Dario.


author: Przemek Bruski
body: This was an infrastructure issue on our side. Everything should work correctly now.


author: telver
body: I was able to resolve it by upgrading the bamboo-agent that is installed on our AMI. It probably doesn't happen with Atlassian's Stock AMIs.

<https://confluence.atlassian.com/bamboo/creating-a-custom-elastic-image-linux-296093037.html>

Just follow the steps at "5.3.2 Downloading agent installer to the instance" to upgrade.


author: Nearmap IT
body: Same here - started a few hours ago.

We are accessing a slightly different URL probably because we have a slightly different version of Bamboo

s3://bamboo-agent-release-ap-se2/5.9.4/d153c59bdd74a7e5b1899a715b7880f2b147b784/

This is blocking a team of developers. Please resolve this immediately!


Tags: cloud
Assets for Contract management
Asked by Ubaid E:

Hello folks,  
I have received a customer query:

Product: Jira Service Management on Datacenter.

"We would like to use Assets in JSM for Contract Management. Some of the requirements are:

* Create an asset/agreement/supplier.
* Specify which department uses the agreement (IT, HR, Finance, etc.)
* State which company is part of the agreement (XYZ \& Co, ABC \& Co., etc.)
* Upload more than one agreement/document per asset
* Be able to search for these assets
* Org no
* Enter contract owner.
* Reminders to contract owners when the contract is nearing its "end"
* Payment terms

Enter dates for e.g.:

* when the agreement was signed
* When the contract must be renewed.
* Upload date

<br />

Free text fields that can be searched on e.g.:

* Subcontractors used by supplier

We also want to be able to control who has access to these agreements.

* 1-2 admins who have access to all agreements.
* Users who have limited access only to their own providers/contracts.

"

I know Atlassian advertise it that Assets can be used for this purpose. It is just that I have never seen some using it for such.

Is there hope?


Answers:
author: Manne Kj?rby - ProProces
body: Hi Ubaid.

It indeed can be used for this.

I made a quite complex contract management system for a customer once in Assets.

In this setup it was needed for billing their customer correctly.

So every time one of their customers created a request it was matched with their organization and because their contract items was matched with their organization. The correct billing type was deployed to their request in JSM.

That was just a little part of the whole setup.

I don't see any requirements you can't fulfil in Assets. For the reminders you can make automations.

So short answer, yes there is hope :-)


Tags: jira-service-management

jira-service-management-data-center

jira-service-management-server

server
Service Management - Multiple emails - How to know what was the received inbox
Asked by Humberto Gomes:

Hi,

We are using the feature to have several emails configured in our Service Management Portal. (Data Center)

Once the emails are received, the ticket is created with:

Custom Channel = email.

It is possible to know if the email was A@a.com or B@a.com?

Yes... we can use different issue types, one for each email. But that can't be the case.

Probably with some Custom field, and some automation reading a smart value.?

Thanks in advance.


Answers:
author: Humberto Gomes
body: Hi,

No one can help here?

comments: author: Humberto Gomes
body: I found this:

```
{{properties."request.channel.type".value}}

```

but .value is the same info: email / API / ...

Doesn't tell me what was email used.

can't find if there is other property like .email or .adresss or .name...


author: Humberto Gomes
body: Still waiting for some support.


Tags: jira-service-management

jira-service-management-server

server
Unable to download the attachment from mail
Asked by Bhargav Sai Pilla:

Hi community!

We configured automation in JSM such a way that in action item it will send email to the approver with all the ticket details includes attachment by clicking attachment link from mail automatically it downloads the document which is attached as shown in below SS

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

But now while clicking on the URL, attachment is not getting downloaded we are getting error as below![Error.png](https://community.atlassian.com/t5/image/serverpage/image-id/302460i3176017ACACC4BE2/image-size/large?v=v2&px=999 "Error.png")

Can suggest us how to come over this issue?

Thanks in advance


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Bhargav Sai Pilla](/t5/user/viewprofilepage/user-id/5295301) and welcome to the Community,

does the Approver have a Jira Software and/or JSM Agent License?


Tags: jira-service-management-cloud
Jira is not displaying customers involved in the email notification
Asked by Weam:

Hi there,

When Jira is sending out the comment as an email notification to the customers involved, it is not displaying the names of other recipients names in the email as a CC, it is only showing the TO intended person.

Is there any option in Jira to activate to display the all the customers involved in the ticket to be displayed in the email?

Regards,


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Weam Hussein](/t5/user/viewprofilepage/user-id/5414418) and welcome to the Community!

I wasn't able to test this as our Test instance doesn't send Emails at the moment. But, I found this old thread: [Use value of 'request participants' in a comment (atlassian.com)](https://community.atlassian.com/t5/Jira-Service-Management/Use-value-of-request-participants-in-a-comment/qaq-p/1753619)

You could either try to customize the Email sent (Project Settings \> Customer notifications) and add

```
${issue.Request Participants.displayName}
```

or you can disable the default email and create an Automation rule instead. You then access the value by

```
{{issue.Request Participants.displayName}}
```


Tags: data-center

jira-service-management

jira-service-management-server

server
anonymous access to a project portal
Asked by Evert Morren Atlas Admin:

How can I give users anonymous access to portal of a project?


Answers:
author: Nikola Perisic
body: Hello [@Evert Morren Atlas Admin](/t5/user/viewprofilepage/user-id/4775056)

To achieve this, you need to:

1. Got to Project Settings -\> Customer permissions
2. Change the channel access from Restricted to Open![Screenshot 2024-01-25 at 11.44.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/302455iE3C3A257417A340E/image-size/large?v=v2&px=999 "Screenshot 2024-01-25 at 11.44.12.png")

This will allow anyone to access the portal, but they will be asked to enter their e-mail address.

comments: author: Evert Morren Atlas Admin
body: Hi thanks for answering. I have done this but if I go to the portal an username is asked to login. Is it possible to go anonymous to the portal, without login?


author: Nikola Perisic
body: Yes, there is. Below the dropdown for selecting the channel access click on the link "Update the customer access settings".

You will be presented with this screen:

![Screenshot 2024-01-25 at 12.11.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/302461i769E058550F95091/image-size/large?v=v2&px=999 "Screenshot 2024-01-25 at 12.11.02.png")

Check the box that says "Customers can access and send requests from the portal without logging in"


author: Evert Morren Atlas Admin
body: Thanks for answering, this works fine. But now I have the situation that all project on the portal are open. Is it possible to set this option for one project?


author: Nikola Perisic
body: [@Evert Morren Atlas Admin](/t5/user/viewprofilepage/user-id/4775056) Hello, yes there is.

To do this:

1. Go to your space settings
2. Choose the anonymous access

![Screenshot 2024-01-30 at 09.40.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/303247i3AFFF2B1B544746A/image-size/large?v=v2&px=999 "Screenshot 2024-01-30 at 09.40.16.png")

Click on "Edit" and depending on the permissions you want to give to your stakeholders modify the options.


author: Evert Morren Atlas Admin
body: Hi Perisic, This is the solution for Confluence, but I am talking about Jira Service Management.


author: Nikola Perisic
body: Ah sorry, Evert:

![Screenshot 2024-01-30 at 09.53.24.png](https://community.atlassian.com/t5/image/serverpage/image-id/303251i0FAE6C9532395F02/image-size/large?v=v2&px=999 "Screenshot 2024-01-30 at 09.53.24.png")

There is the option "Channel access" which is redirecting to the Global permission of customer portal, which is not something that you are searching for.

Workaround for this would be to add these stakeholders as customers (this doesn't take the license seat).


author: Evert Morren Atlas Admin
body: Thanks for answering


Tags: cloud

jira-service-management

jira-service-management-cloud