youngmon/atlassian-qna huggingface dataset:
How to parse trx file from vstest.console bamboo
Asked by Greg Polito:

We are using 6.6.3. I see that others are using MSTest Parser. But it does not seem to be working for me. The location is where the file is located. and I specified the file name.

|----------------------|-----------------------------------------------------------------------------------|
| 26-Apr-2019 14:23:56 | Starting task 'parse results' of type 'com.atlassian.bamboo.plugin.dotnet:mstest' |
| 26-Apr-2019 14:23:56 | Parsing test results under C:\\bamboo\\xml-data\\build-dir\\xxx-FCT-JOB1...       |
| 26-Apr-2019 14:23:56 | Failing task since test cases were expected but none were found.                  |


Answers:
author: Greg Polito
body: Well, the servers were rebooted over the weekend, and with no changes, it worked today. I guess something changed, or I don't know what...but it worked. But thanks for your time.


author: Jimmy Seddon
body: Hi Greg,

Something worth looking at, are you sure the test results file exists where you are looking for it?

I only ask because my development team has moved where test results get output via the msbuild file in the past and I need to update the location the parser is looking, which generates log lines similar to what you have indicated above.

I hope that helps.

-James

comments: author: Greg Polito
body: I am putting the file in that location and verified the file is in that location....the directory is correct and the file is there..


author: Jimmy Seddon
body: Hi Greg,

Ok I have two possible routes for you. If you are using the MSTest Parser, you might be running into the same issue as reported here:

<https://community.atlassian.com/t5/Bamboo-questions/MSTest-unable-to-parse-results/qaq-p/308991>

I took a look at my own environment and realized that we aren't acutually using the MSTest Parser task. I'm using the NUnit Parser task who's configuration looks like this:

![NUnitParserConfig.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/53082iF1AB05F7EC6BB951/image-dimensions/397x246?v=v2 "NUnitParserConfig.JPG")

I hope one of those two options helps you resolve your issue.

-James


Tags: test
Bamboo builds every branch except master ignoring the Change Detection Include Only regex
Asked by Jack Nicholson:

I'm unsure if this is a bug with Bamboo 6.7.1 or if it's an issue in my configuration.

We have a mono repo setup and want to trigger changes on a particular directory. Our repository is added to our bamboo project with "Change detection options"'s "Include only changes that match" a regex of this

\^autoscale\\/.\*

This seems to work correctly for when code is committed to the master branch but individual branches will always build even for this project when there are changes to the other directories that don't match that regex.

Under Branches, we create a plan branch when a pull request is created and the trigger is set to "Branch triggers: Same as defined in the parent plan". I think this configuration is the culprit.

How do I configure this to only build master and all other branches ONLY when a change detected matches my regex?


Answers:
author: Jimmy Seddon
body: Hi Jack,

I wonder if you are running into this issue: <https://jira.atlassian.com/browse/BAM-13977>

Where by, the act of automatically creating a new branch starts a build regardless if the changes are in the expected directory or not.

It also looks like that issue is sending people over to this one:

<https://jira.atlassian.com/browse/BAM-12944>

So you might want to vote/comment on there.

I hope that helps.

-James

comments: author: Ronak Bhatia
body: That's it. Thank you very much.


Tags: include

regex

repository
Bamboo Upgrade from 5.15.3 to 6.8.1
Asked by User Schnittstellen:

I downloaded bamboo 6.8.1 Windows 64 Bit Installer. After start do not ask Upgrade Installation, only full installation. My older version 5.15.3 do the new installer not considered.


Answers:
author: Daniel Santos
body: Hi [@User Schnittstellen](/t5/user/viewprofilepage/user-id/1823596)

The installer will consider the details added previously to the Windows registry at the moment of 5.15.3 installation. If the data is not there or if for some reason it was changed, the installer will not be able to identify the old installation.

You are still able to follow the upgrade as described in this document: [Bamboo upgrade guide.](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html) Actually, this is the recommended approach. Just installing one version above another may cause problems if you did any customizations in your installation.

Please read the upgrade guide and let me know if you have any issues on executing the steps described there. You should be fine to upgrade your instance following it.

I'll wait for your next comments.
Is Bamboo 6.8 compatible with Bitbucket server 5.8.2?
Asked by Ji?? Pazdera:

I have a question, we are running Bamboo (server) on version 6.4 and we are planning to update Bamboo to newest version (6.8). Bamboo is connected to repositories on our Bitbucket (server) 5.8.2. My question is if we have to update Bitbucket as well. Thanks for any response


Answers:
author: Daniel Santos
body: Hi [@Ji?? Pazdera](/t5/user/viewprofilepage/user-id/2958683)

I see you are new here, welcome to our community!

The rule of the thumb is:
> you should ensure your applications are using the same major version of AppLinks to resolve any potential incompatibilities.

This document is the source of truth in this topic:

* [Application links version matrix - Atlassian Documentation](https://confluence.atlassian.com/applinks/application-links-version-matrix-779174762.html)

From the document above you can see that Bamboo 6.8 uses application links 5.4.12. Bitbucket server 5.8.2 uses application links 5.4.2. The major version matches and therefore the product is compatible.

I hope that answers your question.


Tags: bitbucket

bitbucket-server

server
How can i run a task with docker runner?
Asked by Katie Mata:

When I select the "Run this job in docker container" option under the "Isolate Build" subheader in "Edit docker configuration" I cannot run any tasks for that job.  

For example I have a task that just runs the executable /bin/ls, but when I try to run the job, I get this error:

```
This task can't be executed in Docker. Use different task or run this build in Agent environment.
```

I have added the Docker executable as a shared remote capability.  

So how can I run commands in my docker with docker runner?


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Katie Mata](/t5/user/viewprofilepage/user-id/3072720) ,

Please add screenshots of your configuration.
What are the reasons for VSTest Runner failing to parse test results?
Asked by Erin Ge:

I added several VSTest Runner tasks to run several groups of regression tests in my project. The first two tasks works well, but the third one failed. In logs, I saw one test was skipped (due to ignore variable), all other tests has passed, and the results file was generated successfully in correct place. The only error messages are 'Failed to parse test result file "XXX"', 'Failing task since 1 parsing errors occurred'.

May I ask what could be the reason for failing in parsing and how should I fix it?


Answers:
author: Nic Brough -Adaptavist-
body: I think you'll need to read the logs from the VSTest Runner directly to find out what the error is.

comments: author: Erin Ge
body: Thanks Nic! May I ask where can I find the logs of VSTest Runner? I read the logs at test result page, they are as follows. There is not much information.

start test ...

passed...

passed...

...

Results File: XXX

Total tests: 143. Passed: 142. Failed: 0. Skipped: 1.

Test Run Successful.

Test execution time: 1.3074 Hours

Parsing test results under XXX

Failing task since 1 parsing errors occurred.

Finished task 'FOExcel regression test' with result: Error
Jira Assets - can attributes values be referred or synced to another object - inheritance
Asked by Simon Sahli:

Hello Atlassian community,  

specific question in the Asset area.  
We are having all our application registered in Assets in one object type. These applications sometime are having Add-ons app installed on them (like Tempo for Jira for example).   
Most of the attribute values of the application and the add-on is the same, only a few attribute values, such as the price, are different.  

We are now checking on how we can add these add-ons smartly to the applications.   
We have tried to use the **inheritance** and created a child object "Add-ons", which has the "Applications as the parent object.   
This setting:  
![Inheritance_config.png](/t5/image/serverpage/image-id/323888i5AE075A56B0BCF4A/image-size/large?v=v2&px=999 "Inheritance_config.png")  
With this setting we get the same attributes for the Add-ons as we are having for the Applications, which is ok, but actually we would **need the attribute values** as well.  

I know you can create an attribute to link from the child object to a parent object, but then I still have to copy all the attributes manually from the parent to the child.  

Is there any way to sync the values of the parent attributes to the connected object(s) of the child attributes so that they are always aligned?  
Meaning that if we change an attribute value on the parent object it will be reflected automatically on all children values? Automation rule?  
And does this approach make sense concerning best practice?  

I hope that was clear, otherwise please reach out and thanks in advance!  

Best regards,  
Simon


Answers:
author: robert2003b
body: Ensure that the inheritance feature is properly configured. When you create a child object type, such as "Add-ons", you can enable the option to inherit attributes from the parent object type, "Applications". This will allow the child object to have the same attributes as the parent. In Jira Assets, syncing attribute values from a parent object to its child objects can be a bit complex, but it's possible with the right configuration and use of automation rules. [Medical Insurance California](https://www.mycoveredcalifornia.com)


Tags: assets

cloud

jira-service-management

jira-service-management-cloud
?How to remove all values from the native Tags (labels) field?
Asked by Manuel Alejandro Rodriguez Mu?oz:

Hello dears,

Please help me with the following 2 requirements in my JSM and Confluence Cloud instance...  
1. Do I need to delete all the values ??that the native Label field currently has, and if possible, see the values ??before doing so?

2. I would like to be able to define the confluence cloud space in which articles are created when I try to create them...

Thank you very much for your help.

Greetings!


Answers:
author: Laurie Sciutti
body: Hello [@Manuel Alejandro Rodriguez Mu?oz](/t5/user/viewprofilepage/user-id/5107385) \~ if I am understanding you correctly;

1. Removing label values should be something that is captured in the Activity log of the issue. Are you wanting to remove via some automation or API?

2. By default, Confluence pages are created in the space where you click the "Create" button in the header menu (your personal space if you are not in a space) unless you have the creation tied to another macro button within a page. Then you define it within the macro.

If this doesn't answer your questions, can you elaborate a bit on what you are trying to accomplish?


Tags: cloud

confluence

jira-cloud

jira-service-management

jira-service-management-cloud

label
Wrong assignment of customer to organization
Asked by ITM:

We are facing a strange behavior when new transactions are created. Users of our internal domain are auto assigned to the first organization created in this project.

However we have re-assigned them to another (correct) organization, every new transaction from one of these email addresses are linked to this first (wrong) orga.

Is there a possibility to change this wrong auto-mapping ?

Thanks!

martin


Answers:
author: Christian Beaulieu
body: Hey Martin! Hope you are well :)

I am Christian with the JSM Support Team and can see you are experiencing some odd behavior where Customers are added to the wrong Organization.

So this behavior can be due to a couple of things:

* An Automation Rule or Workflow Post Function that is making this change. Do you see any automation rule actions in the Issue History of the Jira ticket(s)?
* You are using the great new Customer Context capability that is available in Project Setting \> Features on the Service Project. There you can set the Customer Org based on their email domain, so that also might be why this is happening
  * Community Post on this feature: <https://community.atlassian.com/t5/Jira-Service-Management-articles/Introducing-rich-customer-context-in-Jira-Service-Management/ba-p/2362211>
  * Atlassian Documentation for this new feature: <https://support.atlassian.com/jira-service-management-cloud/docs/manage-your-customers-and-organizations/>

I hope this helps!

All the best,

Christian


Tags: cloud

jira-service-management

jira-service-management-cloud
connect my jira projects to the database
Asked by Willian Pereira Da Cruz Lemos:

Is there any way to connect to my JIRA projects database at no additional cost?

Dbeaver.


Answers:
author: Kai Becker
body: Hi [@Willian Pereira Da Cruz Lemos](/t5/user/viewprofilepage/user-id/5494733)

welcome to the community and thank you for your question.

As you are using Jira Cloud there is no possibility to directly connect to the database.  
This is only possible on the DC version. The Cloud infrastructure is different and not reachable from an end user perspective.


Tags: cloud

jira-service-management

jira-service-management-cloud
JSM Form Description Markup
Asked by Mathew Lederman:

When creating a JSM Form, does the the Description box within each field's settings support any markup? It doesn't seem to recognize the [WikiRender markup](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all) but I'm hoping somebody can tell me what format it does recognize. The help text related to a submission form field is often going to be a link to another document, so it would be nice if the markup worked appropriately.


Answers:
author: Vijay Dadi
body: [@Mathew Lederman](/t5/user/viewprofilepage/user-id/4428557) ,

You can do that. In Display Description Section, you can put your instructions as shown below and they will be shown on the request type on portal (screenshot attached for reference)

![mark2.png](https://community.atlassian.com/t5/image/serverpage/image-id/323960i880A54B41E6AEEF9/image-size/large?v=v2&px=999 "mark2.png")![mark3.png](https://community.atlassian.com/t5/image/serverpage/image-id/323959i9DB41FD345327143/image-size/large?v=v2&px=999 "mark3.png")

comments: author: Mathew Lederman
body: [@Vijay Dadi](/t5/user/viewprofilepage/user-id/5408989)

Unfortunately this only applies to fields ++**not**++ included in the attached form which is the only way to make the options dynamically selectable.

Does the Description field that is part of the dynamic form (help text) support markup in any way?

Otherwise I end up with goofy looking instruction text that isn't doesn't even offer a clickable link.


author: Vijay Dadi
body: [@Mathew Lederman](/t5/user/viewprofilepage/user-id/4428557) ,

That field was not part of the dynamic form. That the limitation, these help texts with markup instructions are not applicable for the fields which are part of dynamic form.


author: Mathew Lederman
body: Hmm. That's very unfortunate and seems like an odd limitation. Appreciate the help.


author: Vijay Dadi
body: True.

Always happy to help ! ?


author: Vijay Dadi
body: [@Mathew Lederman](/t5/user/viewprofilepage/user-id/4428557) ,

Yes, can use mark up in your request type instructions. Below is one such example.

Hope it helps !

![mark1.png](https://community.atlassian.com/t5/image/serverpage/image-id/323954iB7C744292D012290/image-size/large?v=v2&px=999 "mark1.png")![mark.png](https://community.atlassian.com/t5/image/serverpage/image-id/323955i3C4E386C4E8DFE44/image-size/large?v=v2&px=999 "mark.png")

Vijay

comments: author: Mathew Lederman
body: [@Vijay Dadi](/t5/user/viewprofilepage/user-id/5408989) unfortunately I'm looking specifically in the Form Field Description box. I've attached a screenshot below. The form fields are very helpful, but providing links to external documents should be second-nature for available help-text.

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


Tags: cloud

jira-service-management

jira-service-management-cloud
Can we link two tickets in customer portal in JSM ?
Asked by shivani shirguppi:

Can we link two tickets in customer portal in JSM and fetch the value from one field in one ticket to another field in another ticket?

Field type is text field


Answers:
author: Jack Brickey
body: Hi [@shivani shirguppi](/t5/user/viewprofilepage/user-id/5241115) , while you can certainly link two JSM issues, customers cannot do this within the portal view. Regarding copying the data from one issue to the other this can be done with automation.

comments: author: shivani shirguppi
body: Can you please help with trigger point of automation? to copy the field value in Customer portal. [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)


author: Jack Brickey
body: That is something that you need to answer. What event drives you to want to copy the value from one issue to the other? Maybe it is the linking action? In other words, you could trigger on **issue linked** and then check some conditions to verify all aligns with when you want to copy the field.


Tags: cloud

jira-service-management

jira-service-management-cloud
Rest API to update the custom field option in Jira
Asked by Nikhil Patil:

We want to add the value/option in the already created custom field 'Office code'.  
For e.g., We are having a custom field named 'Office code' **(Field type : Single list single choice** ) in which the office code are present let say - A,B,C and D are the options/offices present in the office code custom field and we want to add 2 more options (E and F) in that custom filed . As of now, we are adding the office code manually. i.e., Path ? Administrator ? Issues ? Custom field ? Office code ? Edit ? Add value ? Done.

But instead of manually adding the options to the custom field(office code) **we need to add options using Jira API.**   

Please help us with API details on how to update the options in a custom field.


Answers:
author: Marc - Devoteam
body: Hi [@Nikhil Patil](/t5/user/viewprofilepage/user-id/5091699)

The API detail to update or add custom field options can be found here:

**[put custom field options](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option-put)**

comments: author: Nikhil Patil
body: Hello Marc,  

Thanks for your prompt response.  

We are using Jira service management (JSM) **data center** version **5.4.15.**   

Kindly let us know that the above API are applicable for JSM data center version.


Tags: data-center

jira-service-management

jira-service-management-data-center
Referral user to the self-service
Asked by Adrian Goliasz:

Hi,

i would like to referral user to the self-service and finish the incident task by the special status like "user has been referraled to self-service". Is it possible to do it without change the workflow?


Answers:
author: Jack Brickey
body: Hi [@Adrian Goliasz](/t5/user/viewprofilepage/user-id/5482277) , I would suggest using a custom field for this or add a value to the Resolution field rather than an actual status. With that opinion out of the way, no you cannot add a new status without updating the workflow.

comments: author: Adrian Goliasz
body: Hi [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) what is the best way to add the custom field? I thought about the tag, but i can't see where i can manage the tags for add new-one called "The User referraled to the self-service".


author: Jack Brickey
body: What do you mean by "tag"? Do you mean add as a label? If so, you would need to replace the spaces with some character, e.g. The-User-referraled-to-the-self-Service. Personally I would opt for something more concise like "self-service". The real question here is whether you need to query for issues with this distinction. That is, will you be searching for issues that have been declared as self service or not. If not, then I would simply add a comment, indicating that the customer was referred to self service. If you do want to query on these issues then maybe you could go with the label approach.


author: Adrian Goliasz
body: Yes, i thought about a label. I want to report how many tasks gone to the self-service.


author: Jack Brickey
body: Hi [@Adrian Goliasz](/t5/user/viewprofilepage/user-id/5482277) , did the idea of simply adding a label not meet the requirements?


author: Adrian Goliasz
body: I did it. Now i have the special label and dedicated report.

Thanks!


author: Adrian Goliasz
body: Is there anyone who can check my issue? :)


Tags: cloud

jira-service-management

jira-service-management-cloud
Customer Portal Requests List Fields
Asked by Okan Zengin:

Hi,

I want to add some custom fields that exists in Issue view to Customer Portal Requests List. How can i edit this screens fields ?

Thanks,

Okan


Answers:
author: Asmath Basha S
body: Hi [@Okan Zengin](/t5/user/viewprofilepage/user-id/5406178) ,

* Check whether the Custom field has added to the JSM Request form or not.
* If not then kindly add the custom field in the request form.
* Then check whether the Custom field has added to the Create screen or not.

Regards,

Asmath Basha


Tags: cloud

jira-service-management

jira-service-management-cloud
Jira Service Management no more 250 agent license
Asked by Christopher:

Hi all, I currently have a 250 agent license. But that option is now no longer and the min is 500. I can't afford double the cost so what options do I have?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Christopher](/t5/user/viewprofilepage/user-id/4431985) ,

currently that tier option is still existing <https://www.atlassian.com/software/jira/service-management/pricing>

![Immagine.png](https://community.atlassian.com/t5/image/serverpage/image-id/323801iDDBC522DD4D5F6D6/image-dimensions/273x220?v=v2 "Immagine.png")

Please could you check again?

Fabio


Tags: data-center

jira-service-management

jira-service-management-data-center
Queries if JSM is supporting my needings
Asked by Abdelrahman Alfawaier:

Hello,

Is there a way to implement a remote desktop connection through JSM?

Is JSM can be integrated with Cisco IP phone?

Is JSM can be integrated with my assets and endpoint module?


Answers:
author: Ajay _view26_
body: Hi [@Abdelrahman Alfawaier](/t5/user/viewprofilepage/user-id/5479058)

While Jira Service Management (JSM) does not have a built-in remote desktop or CISCO IP phone connection feature, you can integrate it with third-party tools that provide this functionality. Tools like Splashtop, TeamViewer, or AnyDesk can be integrated with JSM using various methods, such as custom scripts or webhook integrations.

For Assets, the Cloud Premium edition has support to manage and link assets directly within JSM.

comments: author: Abdelrahman Alfawaier
body: Hi [@Ajay _view26_](/t5/user/viewprofilepage/user-id/139880)

Thank you for taking the time to check my questions.

I have checked splashtop but it's only for cloud, our JSM is data center

will the other options work for JSM Data center?


author: Abdelrahman Alfawaier
body: Also, AnyDesk or Teamviewer are stricted in my company, any way we can implement Microsoft Remote Desktop Connection to work with JSM?


Tags: data-center

jira-service-management

jira-service-management-data-center