youngmon/atlassian-qna huggingface dataset:
MS Test Parser fails to parse the test results file
Asked by Shankar Hullur:

Hi,

I am using MS Test Run and MS Test Parser my in Bamboo builds.

I have bamboo build task named "Test Parser" with File Directory parameter with value "C:/AutomationBinaries/Results/testresults.trx'.

But the task is getting failed with an error

```
Failing task since test cases were expected but none were found.
```

```
simple	19-Aug-2016 15:03:27	Finished task 'Trigger Run'simple	19-Aug-2016 15:03:27	Starting task 'Parse Test cases' of type 'com.atlassian.bamboo.plugin.dotnet:mstest'simple	19-Aug-2016 15:03:27	Parsing test results...simple	19-Aug-2016 15:03:27	Failing task since test cases were expected but none were found.simple	19-Aug-2016 15:03:27	Finished task 'Parse Test cases'simple	19-Aug-2016 15:03:27	Running post build plugin 'NCover Results Collector'simple	19-Aug-2016 15:03:27	Running post build plugin 'Clover Results Collector'simple	19-Aug-2016 15:03:27	Running post build plugin 'Post Command Agent Runner'simple	19-Aug-2016 15:03:27	Finalising the build...simple	19-Aug-2016 15:03:27	Stopping timer.simple	19-Aug-2016 15:03:27	Build EX-EX-RUN-23 completed.
```

Can somebody please help me to resolve this issue.


Answers:
author: Shankar Hullur
body: I am really got stuck.. Can somebody from Bamboo team help me here..


author: Przemek Bruski
body: Maybe you need to set the directory parameter to C:/AutomationBinaries/Results ?

comments: author: Shankar Hullur
body: thanks Przemek. I tried with the directory parameter to C:/AutomationBinaries/Results .. but this didnt help either.. same issue.


author: Przemek Bruski
body: Can you link your task configuration screen?
Does auto merging in Bamboo only work with master or can you have it work on another branch?
Asked by Chris Riley:

Would like to get an understanding if the auto merge feature only is meant to work with master. Need to have this function on a different branch called integration.


Answers:
author: Krystian Brazulewicz
body: You can configure which branch is target for merging. Please check "Automatic branch merging" on <https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches>


author: Rich Duncan
body: I don't use this feature, but I'm pretty sure it will auto merge back to the branch you select when you define the repository. So if the branch was develop I believe it merges back to there.

Easy to test...

comments: author: Chris Riley
body: We tried this yesterday where we created the branch from an integration branch but bamboo tried to commit it back to master and had a merge conflict.


Tags: bamboo-administration
Cannot connect to public git central repo on our server w:\
Asked by Jay Byford-Rew:

It can connect to an exact replica of the folder if it is on the local c: (or d:)

Have tried starting the Bamboo service using my own domain credentials but still does not work.

Also what account do Bamboo use to access AD file system i.e. when reading git repo? is it the service log on account?


Answers:
author: Christian Glockner
body: Hi Jay,

If you have configured Bamboo to start as a Windows service, then it will run under the account that's set in the "Log on" configuration of the service property pane. If you're starting Bamboo manually then it runs under the account of the user you're logged in with.

How is the W:\\ drive mounted, and when? My hunch is that the drive may not actually be available to a user who doesn't log in interactively.

-Christian

Premier Support Engineer

Atlassian


Tags: bamboo-administration
Do I need 2 separate repos to build from a development branch?
Asked by mikemilano:

We integrate into the \`develop\` branch, and release to the \`master\` branch.

I have a build plan to run basic tests against the \`develop\` branch, and another build plan for when we release with the \`master\` branch.

Do I need to define 2 separate repositories (not plan repos, but top level repos, in my case, same repo with different branches defined), so that the develop tests will be done against the develop branch?


Answers:
author: Krystian Brazulewicz
body: I think this documentation might be handy:

<https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches>

<https://www.atlassian.com/continuous-delivery/building-feature-branches-with-bamboo>


author: Mark de Bont
body: You have two build plans, one for develop and one for master? So why not extend the existing develop plan to run the extra tests?
How can I ensure all jobs in a build are run on the same agent?
Asked by Derek Rosenzweig:

Hello,

I have set up a Bamboo build plan that requires all jobs/stages to be run on the same physical machine (IE they depend on each other). When they are not, the builds fail. Is there any way to specify on a build-level that the jobs must run on the same physical machine? We use ELASTIC agents here, so we can't assume the hostname. I understand the Agent Matrix and Capabilities and all that, but this problem is not solved by specifying a capability since multiple instances of the ELASTIC agent will all have the same ones. Thanks!


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

Use tasks instead of jobs. They will be executed sequentially on the same agent.

comments: author: Derek Rosenzweig
body: I'm aware of how stages/jobs/tasks work, and I did consider refactoring everything into a single job, but there are fairly distinct stages. (A. lint the code and create a build artifact, B. run Chef provisioning to create a webserver, C. run the tests). C is dependent on B which is dependent on A.


author: Krystian Brazulewicz
body: The whole point of using Stages is ability to parallelize Job execution. By putting it all on the same agent you're serializing the whole flow so what's the point of creating stages? I think that Sergey's answer solves your problem.


author: Mark de Bont
body: Defining a custom key/label for each agent (like: Hostname with the corresponding hostname) and then ensure the job has the requirement to run on a specific hostname?

comments: author: Derek Rosenzweig
body: The problem with this method is that we use ELASTIC agents - they spin up/down as needed and thus hostnames will never be the same at all times.


author: Jason Edonick
body: 1. Go to the agent you wish to pin the builds to
2. Add a custom capability similar to this:   
   image2016-8-18 10:49:13.png
3. Then, go to your build plan and add this to the requirements tab  
   image2016-8-18 10:50:19.png
4. You should be all set.

[](https://community.atlassian.com/t5/Bamboo-questions/How-can-I-ensure-all-jobs-in-a-build-are-run-on-the-same-agent/qaq-p/180327?attachment-id=4752){#link_1166d6847f17f4}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/5807/1/image2016-8-18%2010%3A49%3A13.png){#display_1166d6847f17f4_0}  
[](https://community.atlassian.com/t5/Bamboo-questions/How-can-I-ensure-all-jobs-in-a-build-are-run-on-the-same-agent/qaq-p/180327?attachment-id=4753){#link_1166d6847f17f4_0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/5807/2/image2016-8-18%2010%3A50%3A19.png){#display_1166d6847f17f4_2}

comments: author: Derek Rosenzweig
body: I don't see a Requirements tab on my build plan.


author: Derek Rosenzweig
body: I see one on each job, and I already have some required capabilities defined. The problem with this method is that we use ELASTIC agents - they spin up/down as needed.


Tags: cloud
Bamboo working subdirectory needs to be in workspace?
Asked by Mark de Bont:

I am trying to define a working directory, in a Bamboo task, outside the existing workspace. But it keeps crashing out with a java error.

Is this a bug?

```
Caused by: java.lang.IllegalArgumentException: The working directory must exist before executing the process
```


Answers:
author: Mark de Bont
body: Yes, you're right the agent was configured as a user which didn't have rights to that particular directory :wink:

thanks


author: Alexey Chystoprudov
body: Check Bamboo has permissions to working directory


Tags: bamboo-administration
Is there a way to get the revision number of the previous successful build? bamboo.planRepository.previousRevision gives me the revision for the previous bamboo build even if that build failed
Asked by Jon Ringle:

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

Ask your question here...


Answers:
author: Jon Ringle
body: If there is no bamboo variable that holds the revision number of the previous successful build, then is there a way (from bash script) to write to an environment variable that gets stored within bamboo where my build script could write the current revision number when the build script determines that the build was successful? This environment variable would need to be made available for a future bamboo build so that the build script could use the content of that environment variable as the "previous successful revision"


author: Jon Ringle
body: Being able to determine what the revision number of the previous successful bamboo build is key to being able to produce a report of what changed between the previous successful build that testers were using and the new build being produced


Tags: revision
After importing Cloud export data to bamboo server, Users cannot login.
Asked by derek-synctree:

After importing Cloud export data to bamboo server, Users cannot login. I am unable to find any documentation on what the Admin credentials should be and we are unable to setup email to reset the password of a user since we cannot login as an Admin.


Answers:
author: Alexey Chystoprudov
body: Hello @Derek Smith,

There is section about password credentials: <https://confluence.atlassian.com/migration/bamboo-server#BambooServer-Bamboo_CtoS_steps_export>, item 3 and section below

```
3. Provide a password that you will use for logging in to your new Bamboo Server instance.
```


author: derek-synctree
body: Figured it out. Using these directions <https://confluence.atlassian.com/bamboo/restoring-passwords-to-recover-admin-users-289277354.html> with a modification to use the \`ID\` and not the \`NAME\`.


Tags: bamboo-administration

migration
How do I identify a plan's slowest running tests.
Asked by Andrew Saunder:

According to the documentation:

**Manage your build duration** by identifying the plan's slowest running tests.

**To view the test statistics for all of a job's builds:**

1. Navigate to the desired build result page, as described in [Viewing a build result](https://confluence.atlassian.com/bamboo0511/viewing-a-build-result-827359091.html).
2. Click the **Tests** tab.
3. Click the sub-tabs to filter the rest statistics (see screenshots below).  
   * To view a test's [history](https://confluence.atlassian.com/bamboo0511/viewing-a-test-s-history-827359104.html), click the test name.

In Bamboo 5.11 and the screenshot in the documentation I cannot see/find any sub tabs to allow me to change from the tests that have failed the most to the slowest tests.  

We are trying to identify and fix our slowest tests but it so far is very tricky to identify where we need the most work.

Thanks


Answers:
author: Mark de Bont
body: Have you tried clicking on the job, containing the test (results), to show the test timing details?

comments: author: Andrew Saunder
body: Yes I have, for some reason though they don't let you sort by run time ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")

I manually copied all 2000 tests from one plan into excel so I could sort it but that was a very tedious process..

It also doesn't help find some of our tests that vary greatly in time from run to run.


author: Mark de Bont
body: ;-(
When I try to deploy usimg a Powershell script I see the following error: Failing task since return code of [powershell -ExecutionPolicy bypass -Command /bin/sh file.ps1. How do I configure Powershell task properly?
Asked by Alex Ralph:

We are trying to deliver web content (several web service folders) to an IIS server using a powershell script and a set of web.config files. The script and config files are stored in Stash and pulled across as part of a checkout task which are then published as artifacts to the deploy job.


Answers:
author: Krystian Brazulewicz
body: Is your PowerShell task run on a Windows machine? Can you post the screenshot of task configuration and log from the execution? Which Bamboo version are you using?


Tags: bamboo-administration
When is the Ubuntu stock image going to be updated?
Asked by Matthew Hill:

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

The Ubuntu stock image for Bamboo AMI is based on Vervid, which was EOL'd in Feb. 2016 (<https://lists.ubuntu.com/archives/ubuntu-announce/2016-January/000203.html>). It should be pointed out that basing the image on a non-LTS release was painfully short-sighted. The 16.04 release, Xenial, will be supported until 2021, which would be an ideal update for Ubuntu stock image. Any chance this could be expected in the near future?


Answers:
author: Przemek Bruski
body: Xenial images will be released with Bamboo 5.13, which should happen within a week or two.

comments: author: Mori Bellamy
body: 1) Is this the best image I should use for a custom elastic-bamboo AMI?

<https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/bamboo/atlassian-bamboo-elastic-image/6.0>. If i read the contents of atlassian-bamboo-elastic-image-6.0.ami I get per-zone AMIs.

2) Is this AMI compatible with bamboo server? <https://confluence.atlassian.com/migration/bamboo-server> ?

3) Where is the best place I can read about elastic bamboo AMIs? Where is the best place I can ask for support?

Please advise, thanks.


author: Przemek Bruski
body: 1. Yes.
2. Yes, it's the same image we would use for cloud.
3. Depends on what kind of information you need. Typically, it's best to SSH into the agent instance and look around.


author: Mori Bellamy
body: Thanks! I had trouble with docker in the latest ubuntu images (6.0) so I posted another question <https://answers.atlassian.com/questions/45836972>. Hope this helps some other people.


Tags: image
How I can configure a Category and Subcategory which are dependent to each other
Asked by Kristine Mamangon:

Dear Jira Community,

How I can managed to create 2 fields Category and Subcategory which will be dependent to each other.

**Example:**

Category is Network which will be dependent on below subcategory

Firewall, LAN , WAN

Which will not be visible if I choose other Category like Software

Please advise


Answers:
author: John Funk
body: Hi Kristine - Welcome to the Atlassian Community!

You should create a custom field of Select List (cascading). Then you should be able to do what you want.


Tags: cloud

jira-service-management

jira-service-management-cloud
.jwb file
Asked by Christophe Jourdain:

Hello Community,

I have make this export file for object such as workflow and other structure object.

I used Marketplace for migrate objects from am instance to an other.. but this process is so heavy for migration. So i like to know what it is possible to do with thoses files .jwb

Is there a entry point to load thoses files somewhere out of the box ?  
Do i need to install a plugin in order to do it ?

Related to the marketplace procurment do you know if it is possible to make it avaivaillable to download the object on private mode and not on public mode ?

Tus   
Kris


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

.jwb files from Jira contain configuration data. The only thing you can do with them is import them from the workflow editor or the same app (Structure) that created them.


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there a way to create a form that follows a workflow within a ticket?
Asked by Gareth Malna:

We are a business that reviews and approves content provided by our customers.

The customer will send us their content as a ticket. That ticket will get allocated to a reviewer in Jira. The reviewer then needs to complete a checklist to show that they looked at the content. Sometimes the content will fail and we'll have to go back to the client to request changes to it before it can be approved.

I'd like to have a form that sits within tickets that contains all the checklist items to be looked at by a reviewer when a ticket comes in. Importantly, I'd like the form submission to make clear whether the review passed or failed and, ideally, to show what date/time the review took place.

From what I can see, Jira forms only have the status 'submitted' or 'locked', and you can't customize that.

This seems like a simple thing, that should be capable within the platform, but I'm struggling to work out the best way of doing it.


Answers:
author: Gracjan Weso?owski _HeroCoders_
body: Hi [@Gareth Malna](/t5/user/viewprofilepage/user-id/5412182)

Welcome to the community!

You might consider [checklist apps](https://marketplace.atlassian.com/search?query=checklist) that allow you to create a list of items inside the issue view.

I can recommend our [Issue Checklist for Jira Pro](https://marketplace.atlassian.com/apps/1213231/issue-checklist-for-jira-pro?hosting=cloud&tab=overview) plugin which allows you to add items with statuses.

You can do that automatically on the creation of the issue using [Default Templates.](https://docs.herocoders.com/checklist/setting-a-default-template)

Please see below what an example of a checklist looks like:

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

If you have any questions you can contact us via our [help center.](https://www.herocoders.com/contact)

Cheers!

Gracjan


Tags: cloud

forms

jira-service-management

jira-service-management-cloud
Troubleshooting Smart Values in Epic Automation for Story Point Aggregation
Asked by Antoni Bobi?ski:

Hello everyone!

I'm currently working on setting up an automation to aggregate story points from stories within an Epic, but I'm encountering issues with my smart values.

When I use the JQL search query: `"Epic Link" = "{{issue.epic name}}"`, I receive the message: "No issues have a parent epic with key or name '{{issue.epic name}}'."

However, I have linked child issues as Stories under Epics.

Does anyone have any insights into why this might be happening?


Answers:
author: Marc - Devoteam
body: Hi [@Antoni Bobi?ski](/t5/user/viewprofilepage/user-id/5401365)

Welcome to the community.

You can make an automation rule for this option.

![Screen Shot 2023-02-02 at 3.22.40 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/301904iCC354BBC05EDBEA8/image-size/large?v=v2&px=999 "Screen Shot 2023-02-02 at 3.22.40 PM.png")


author: John Funk
body: Hi Antoni - Welcome to the Atlassian Community!

First, the Epic Link is a key value and not a name. So the Epic Link would never equal the Epic Name.

Second, the Epic Link field is going away. You should use the parent field.

Please share a screenshot of your rule so that we can help you better (after making the changes above).


author: Eugenio Onofre
body: Hello [@Antoni Bobi?ski](/t5/user/viewprofilepage/user-id/5401365)

Welcome to the Atlassian Community.

The Epic Link and Parent Link fields in Jira Cloud are being deprecated, which will impact how these smart values are used.  
<https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/#Updates-to-automation>

Please consider using {{issue.parent.key}}

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: company-managed-projects

jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Virtual Agent seems not available
Asked by Jim:

Our team had the early access for Atlassian Intelligence, however we are unable to setup the Virtual Agent AI powered feature. I am thinking if there are any other requirements to enable this feature? I was able to manage Atlassian assist to Slack but can you help to enable to us Virtual Agent? It is only showing "Project isn't available". Kindly assist. ![virtualAgent.png](/t5/image/serverpage/image-id/301885iD3EC537393860024/image-size/large?v=v2&px=999 "virtualAgent.png")Thank you.


Answers:
author: Nikola Perisic
body: Hello [@Jim](/t5/user/viewprofilepage/user-id/3399956) ,

According to the error message, it seems that this project may have been deleted, which can be checked in settings -\> projects -\> trash (if you are the administrator, if not let them check this and restore the project).

Second indicator is for the permissions and this is the Browse project permission, make sure you have this permission enabled in order to see the project - if you are not the admin, let them check this as well.


Tags: cloud

jira-service-management

jira-service-management-cloud
Emails and its contents are not being read
Asked by Vansh Jain:

Hi team,  

I am experiencing repeated issues with the 'Email Requests' feature, where the emails are either **not being opened** or there is a**failure in reading the content** of the emails.  

Please look into this matter ASAP as we are missing out on important emails.  

Ps: All our settings are fine, JSM failed to read 4-5 of the email requests.  

![Screenshot 2024-01-23 111745.png](/t5/image/serverpage/image-id/301873i41827CF6441F59FA/image-size/large?v=v2&px=999 "Screenshot 2024-01-23 111745.png")


Answers:
author: Eugenio Onofre
body: Hi [@Vansh Jain](/t5/user/viewprofilepage/user-id/5411939)

Welcome to the Atlassian Community.  
Unfortunately I could find a bug reported to Atlassian so this is a known issue with no solution still:

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

I strognly recommend watching and voting on the issue above so you can receive any updates.

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud

data-center

email

jira-service-management

jira-service-management-cloud

request