youngmon/atlassian-qna huggingface dataset:
Bamboo shows testcases are 0 even though there are testcases in the application
Asked by lakshmi Prathyusha:

In Bamboo portal, I have created different tasks in which I checkout the code and fetch latest code, build the solution using MSBuild, run the Sonarqube analysis using Scripts.

The scripts also contains the scripts for running the testcases.This is how it looks.

Task1 : Source code checkout configuration : I have selected the repository name.

Task2 : Command Configuration : This steps restores the Nuget packages into the solution

Task3 : Script Configuration : Start Sonar Scanner Script used is :

    "C:\sonar-scanner-msbuild-net461\MSBuild.SonarQube.Runner.exe" begin /k:"ProjectKey" /n:"ProjectName" /v:"1" /d:sonar.host.url="SonarqubeURL" /d:sonar.login=435454352345fgdfdsfvdc342434 /d:sonar.cs.vscoveragexml.reportsPaths="C:\Project\Application.coveragexml"

Task4 : Command Configuration : MSBuild : Builds the solution

Task5 : Script Configuration : Run unit Tests: Scripts used : One will run the test cases and generates a binary file, another one will convert binary to XML coverage file

    "C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe" collect /output:"C:\Project\Application.coverage" "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "TestProject\bin\Release\TestProject.dll""C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe" analyze /output:"C:\Project\Application.coveragexml" "C:\Project\Application.coverage"

Task6 : Script Configuration : End Sonar Scanner

    "C:\sonar-scanner-msbuild-net461\MSBuild.SonarQube.Runner.exe" end /d:sonar.login=435454352345fgdfdsfvdc342434

These are the tasks in my stage in Bamboo. Task6 publishes the results of testcases to Sonarqube dashboard. Now this is all happening as expected.

But when I run this plan, it shows it is a testless build. Task5 is running all the testcases, but how to make Bamboo know that the test cases are running. Also , if any of the unit testcases are failing, how to show the no of test cases successful and failed ,like test cases passed :X , failed :Y.

Is there any additional step am I missing? Any help is much appreciated.

PS : This is a windows service in c# and used MStest for writing testcases.


Answers:
author: Daniel Santos
body: Hi [@lakshmi Prathyusha](/t5/user/viewprofilepage/user-id/2321871),

Bamboo knows about tests when it parses the results, but for that you need to tell it where the files are and what is the test type used. In order to do this we have test runner and parsing tasks.  

We have a page referencing the tasks supporting this: [Configuring a test task - Atlassian Documentation](https://confluence.atlassian.com/bamboo/configuring-a-test-task-289277052.html).

There is also a task called VSTest runner. This task is not documented yet but it can be use for both calling and parsing the VSTest.
How do I get all Fields Via Jira REST API
Asked by AI:

I know that we have a REST API to get a list of fields from a Site.  
API ? [https://sitename.atlassian.net/rest/api/3/fields](https://sitename.atlassian.net/rest/api/3/field)  
This does work fine and gives an array of field objects.

Is there any API in which I can get all fields within a project only instead of the entire site?  
For example, I need to be able to get fields of a particular project from the site like the one mentioned below  
[https://sitename.atlassian.net/rest/api/3/projectID/fields](https://sitename.atlassian.net/rest/api/3/projectID/field)

Or I need to be able to get the Issue type of field mentioned as a result of hitting the above API.  
like type:"Epic, Story etc.,",


Answers:
author: Vijay Dadi
body: ello [@AI](/t5/user/viewprofilepage/user-id/5300085) ,

This is how you get it.

[https://XXX.atlassian.net/rest/api/2/issue/createmeta?projectKeys=ITSM\&expand=projects.issuetypes.fields](https://XXX.atlassian.net/rest/api/2/issue/createmeta?projectKeys=ITSM&expand=projects.issuetypes.fields)

hope this helps !


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
Want to hide projects from JSM Portal
Asked by Shaf Ali:

I have so many projects in my site which are configured with email and ticket has been created in that project by anonymous user through email. Now I want to hide these projects from portal for others customers who are not relevant to that projects. I have tried by restricting the customer permission from "Open" to "Restricted" but its stopped the creation of tickets through email.

I am urgently looking for the solution on this. Anyone can please help me in this.

Thanks


Answers:
author: Mikael Sandberg
body: If you remove the customers that should not have access to the project from Project settings \> People as Service Desk Customers they will not be able to access the project from the portal nor from submitting emails.

comments: author: Shaf Ali
body: Thanks [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) for the response. But I am looking for solution to openly receive tickets through email from customers without adding in project because I have 1000+ customers that will create ticket through email.

Kindly help in this regard if you has hear this issue before.


author: Mikael Sandberg
body: Currently there is no option to hide projects from the portal, there is a suggestion to add that feature that you can go and vote for, see [JSDCLOUD-2007](https://jira.atlassian.com/browse/JSDCLOUD-2007)


Tags: cloud

jira-service-management

jira-service-management-cloud
I want a customer profile to be able to view and add comments to tickets in a specific project
Asked by Steve Denney:

I want a customer profile to be able to view and add comments to tickets in a specific project through their portal without giving them an agent license as they are customers.


Answers:
author: Josh Costella
body: Hi [@Steve Denney](/t5/user/viewprofilepage/user-id/2049749)

If the other project is not a Jira Service Management (JSM) project, you won't be able to enable that kind of ability without consuming a license. If the other project is JSM, you can do this by utilizing the Organization feature. <https://support.atlassian.com/jira-service-management-cloud/docs/group-customers-into-organizations/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Hi I have a question about when clients attach an extra email in their support request!
Asked by Johan Flo:

I get emails from customers that attach problems they get from their clients, they do this by forwarding their problem to me. However, in Jira I am not able to send an email to the participant attached I can only send to my client, the one that sent the support request to me. Anyway, my question: Is it possible to send an email back to my client as well as the attached participant, meaning the email will send back to two different emails?

This would save me a lot of time as right now I have to sene emails manually. Thanks in advance. :)


Answers:
author: Ntamen kamogne harry Michel
body: hi! [@Johan Flo](/t5/user/viewprofilepage/user-id/5482386)

Normally by default, participants are notified at the same level as the client creating the request

check if you have enabled the "Notification-participant added" feature

Project setting --\> customer notification --\> participant added

comments: author: Johan Flo
body: Thanks!


author: Ntamen kamogne harry Michel
body: you are welcome.  

I hope my answer helped you

if so validate my answer to close your question


Tags: cloud

jira-service-management

jira-service-management-cloud
Workflow Condition/Validator based on Project category
Asked by Danilo Simic:

Hello everyone,

I was wondering if there is an efficient way to block a transition based on the project category.

**For example if a project is in category A then block the transition. If the project is in category B then allow that same transition to happen.**

I am only looking for out of the box solutions for now. I am aware that there are plugins that can solve this but we do not have enough use cases for these plugins to justify the cost.

Thank you


Answers:
author: Maciej Dudziak _Forgappify_
body: Hi [@Danilo Simic](/t5/user/viewprofilepage/user-id/5456489)

I don't think it's possible in Jira out of the box, at least not in an easy way. However, with a validator based on Jira expression, it would be simple, as follows:

```
["Catagory A"].includes(issue.project.projectCategory?.name)
```

If the project is categorized as "Category A," then allow the transition; otherwise, block it.

I am from Forgappify, and we developed Jira Expression Validator, which is part of the [Workflow Building Blocks for Jira](https://marketplace.atlassian.com/apps/1233642/workflow-building-blocks-for-jira?hosting=cloud&tab=overview) free app. You could give it a try.

Cheers

comments: author: Danilo Simic
body: Too bad that Atlassian does not have a built in validator/condition that would check a Jira expression.

Thank you for the suggestion, we will be sure to check it out.


author: Jeroen Poismans
body: Hi Danilo and Welcome to the Atlassian community!

Unfortunately there is no way of doing this natively, but that's probably for a reason. I assume you want to do this so you can keep as few workflows as possible to maintain, which is a good reflex!

However when a project or project category requires that certain transitions should not be available, this might be a use case where creating a new workflow is recommended in order to keep the workflow simple and easier to maintain.

Jeroen

comments: author: Danilo Simic
body: Hello,

We want to use the same workflow for multiple project because the business needs are almost completely the same. The only difference would be automation rules and the possibility to skip some statues in some cases (which would be specific for a certain project category).

The simplest solution would have been to do this which I asked about.

It is important to add that we have a few dozen automation rules for which the scope is 50+ projects. Splitting the workflows would have worked if we could manually update those rules quickly every time. The quickest solution would have been to add a JQL condition to the automation rule and limit the rule there to a specific project category.

Our use case is a bit specific so we ran into this problem.

Thank you for the suggestion.


Tags: cloud

condition

jira-service-management

jira-service-management-cloud

transition

validation

workflow
Assets specific to organizations in JSM
Asked by Christian:

Hello Everyone

I'm fairly experienced in using JSM but have never used any of it's asset features. I have a use case that I think assets could solve, but I'm not too familiar with all of its functionality and as the courses for asset management are unavailable right now, I'm hoping the community can help.

We have a JSM instance that supports many customer sites all with specific equipment we support. We organize each site as organizations so that all members of each site can see the site's tickets. From that level, I want to have a dropdown that shows the specific equipment for that site. I can't have the dropdown show equipment supported at all sites as that would break confidentiality.

My idea was to configure all equipment as assets, and have a property associated with them that are related to site/organization. Then in the JSM form, have the dropdown AQL to only show what is configured for the organization of the logged in user.

Is this possible, and is there anything else I should be considering?

Thank you!

Christian


Answers:
author: Christian
body: Hi all, I've ended up figuring out a solution for. It requires making some redundancy between JSM organizations and Jira Asset Management, but it's worth it for our use case.

First, I created "Site" Objects for every site we support. Then I created objects for each customer, referencing their respective Jira accounts and having outbound references to each Site Object the user should have access to. I allowed for multiple sites to be put here, as many of our users are able to submit against multiple sites. I also created an equipment object type and made an outbound reference to a specific site object.

In my form, I made an assets custom field with the AQL query Customer."Jira Account" LIKE currentUser(), and then made an equipment field that referenced the site selected and in the custom field to show equipment.

A side note, but to import all customers with their Jira Account IDs and organizations, I used a trial of Appsvio Customers and Organizations. It saved me a lot of time, and because I just needed it for the initial export I was able to get it on a 30 day trial and cancel it before being charged.

[https://marketplace.atlassian.com/apps/1223751/customer-details-for-jira-service-management?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1223751/customer-details-for-jira-service-management?hosting=cloud&tab=overview)


author: J?rg Riebschl?ger
body: This is a good question and a propper use case for our company as well. I am looking forward for any helpful answer!


Tags: cloud

jira-service-management

jira-service-management-cloud
Can we uninstall Jira software? From datacenter
Asked by Gourav Sharma:

Hi Team,

We have only purchased JSM licenses on our datacenter. We are using majorly service desk projects.

We recently upgraded it to the LTS version We see the Uninstall button for Jira Software though we don't have licenses for Jira software.

Now my question is (might be stupid ), since we are only having JSM licenses, Can/should we uninstall the JIRA software, if yes! would there be any impact of the existing configurations? Please elaborate this......

![JIRA_datacenter.png](/t5/image/serverpage/image-id/320034iB45BD4FFFEF7EE00/image-size/large?v=v2&px=999 "JIRA_datacenter.png")Thanks in advance


Answers:
author: Brant Schroeder
body: [@Gourav Sharma](/t5/user/viewprofilepage/user-id/5320797) everything runs on Jira core. Having Jira Software will not hurt anything and if you decide to use it then it will be there. If you have never used it then you will not have any Jira Software configurations that could possibly be lost. Even if you did used to use it uninstalling it will not impact JSM. So you are good either way. If you are worried then just take a snapshot before performing the Uninstall or do it in your test environment first.


Tags: data-center

jira-service-management

jira-service-management-data-center
Changing a field colour based on automation
Asked by Bradley Coleman:

Hi all,

I was wondering if it was possible to change the colour of the reporter field if the user is in a specific group. The text colour is either Black for standard or White in Dark Mode but I would like to change it to red if the user is in said group but doesn't change if they are not.

Would this be possible? Any help would be grand!

Thank you!


Answers:
author: John Funk
body: Hi Bradly,

No, this functionality is not currently available for the changing of the color of a field. You can add a colored stripe to the card on the board, but that's about it with colors.

comments: author: Bradley Coleman
body: Would that also include changing the colour text of the reporters in the said group?


author: John Funk
body: It won't change the text color either. Just puts a colored stripe on the left of the card.

![Screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/320054i8F838F73D21D0D66/image-dimensions/48x113?v=v2 "Screenshot.png")


author: Hannes Obweger - JXL for Jira
body: Hi [@Bradley Coleman](/t5/user/viewprofilepage/user-id/5074798)

as John suggested, I don't think there's a way to modify the text color of the reporter field (or any field, for that matter) in Jira's built-in views.

This being said, if you're open to solutions from the Atlassian Marketplace, you may want to have a look at 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=2679372).

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 range of advanced features, including support for (configurable) *issue hierarchies* , *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting*.

With conditional formatting, you can define any number of conditions on your issue fields, and if these conditions are fulfilled, set the text or background color of either the entire issue row or a specific cell.

This is how this looks in action:

![conditional-formatting-reporter.gif](https://community.atlassian.com/t5/image/serverpage/image-id/320440iCDE7D007646CD3C3/image-size/large?v=v2&px=999 "conditional-formatting-reporter.gif")

Does this look like it might be useful to you?

Any questions just let me know,

Best,

Hannes


Tags: cloud

jira-service-management

jira-service-management-cloud
Backup Solutions
Asked by IT Support:

I have been asked to look for backup solutions for Jira Service Management and Confluence. I don't know anything about Jira and its solutions. We have searched on Google and seen some solutions, but we don't know if they are the right ones.

I am looking for recommendations. Preferably something that allows us to back up the data by downloading those backups to our storage, if possible.


Answers:
author: Daria Kulikova
body: Hi [@IT Support](/t5/user/viewprofilepage/user-id/5482321) ,

Welcome to the Atlassian Community!

Take a look at GitProtect backup \& Disaster Recovery software for Jira Cloud, Jira Service Management, and Jira Work Management. With GitProtect you can schedule and automate your backups policies, back up your data to multiple storage instances of your choice - local or cloud (moreover, you always get GitProtect Cloud Storage for free once you set up your backup plan), replication between storages, unlimited retention, rensomware protection, restore and Disaster Recovery technology.

You can try GitProtect backups for free fro 14 days on Atlassian Marketplace: [https://marketplace.atlassian.com/apps/1228719/gitprotect-io-backups-for-jira-cloud?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1228719/gitprotect-io-backups-for-jira-cloud?hosting=cloud&tab=overview)

Or you can schedule a live demo to learn more about the backup \& Disaster Recovery solution: <https://calendly.com/d/3s9-n9z-pgc/gitprotect-live-demo?month=2024-04>

Hope you will find this answer useful,

Regards,

Daria


author: John Funk
body: [@Sanket Parlikar {Revyz}](/t5/user/viewprofilepage/user-id/4876998)

comments: author: Vish Reddy _Revyz_
body: Hi [@IT Support](/t5/user/viewprofilepage/user-id/5482321)

I am from [Revyz](https://www.revyz.io), we provide Data Backup \& Granular Restoration solutions for Jira and Confluence. You can read more about our apps in the Atlassian Marketplace [here](https://marketplace.atlassian.com/vendors/1221393/revyz).

[Here is a a pointer](https://support.revyz.io/revyz-data-manager/revyz-data-manager-for-jira-capabilities) to the use cases we address and details on what we support and more importantly what we do not support for Jira.

If there are specific use cases that you are interested in addressing, please feel free to reach out to me at [vish@revyz.io](mailto:vish@revyz.io)

Thank you

Vish


Tags: cloud

confluence

jira-service-management

jira-service-management-cloud
support board customer doesn't get email notifications
Asked by Aik Werner:

Hi,

A customer says that notification emails are not received on support tickets not even on spam.

How can I check wether notification emails were sent to customer?


Answers:
author: Rohan
body: Hey Aik, in this case, please raise a support request to Atlassian and the support engineers can check and confirm if the address added to the suppression list or not.

<https://support.atlassian.com/jira-software-cloud/>


Tags: cloud

jira-service-management

jira-service-management-cloud
Limit assignee based on user group
Asked by Geoffrey Jonkers:

Hello,  

In our company we use a JSM project for out IT support, this is based on 3 levels.  
Each level has it's own status in the workflow  

*Example: Level1,Level2 and Level3. Where we have a transition between L1 and L2 called "Escalate to L2"*   

Now we want to limit the assignees on L1 to be only people who should work for L1 same for L2 and L3.   

Example:

* level 1

  * admin a

  * admin b

  * etc

* level 2

  * admin c

  * admin d

  * etc

I was wondering if someone has a use case for this or could bring me the golden tip. I was thinking of creating 3 user groups one for each level. And block access via these in the workflow status.  

Kind Regards,  
Geoffrey


Answers:
author: Josh Costella
body: [@Geoffrey Jonkers](/t5/user/viewprofilepage/user-id/2147268) I would consider letting automation do the work for you. You can specify groups to choose from and even select different assigning methods.

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


author: Charlie Misonne
body: Hi Geoffrey,

I have seen similar questions multiple times in the past.

Here is an [interesting one:](https://community.atlassian.com/t5/Jira-Service-Management/Limit-Assignee-to-member-of-Assignment-Group/td-p/1833067)

You could use a group picker field on your issues. Via the permission scheme you can limit the assignable users to that custom field.  
Of course it will apply to all issues in your project.


Tags: cloud

jira-service-management

jira-service-management-cloud
Attachment delete automation
Asked by Danylo Borodai:

I need to delete only .rar, .txt and .png, .jpg attachments, how to write a regular expression for this?


Answers:
author: Mohamed Benziane
body: Hi,

In the delete attachment action you can use this ".\*.png" as regex to delete all png file.

<https://community.atlassian.com/t5/Jira-Software-questions/Jira-Automation-Regex-Not-Working-for-Deleting-Attachments/qaq-p/2378606>

comments: author: Danylo Borodai
body: Thanks! I found this and it's working - ".+\\.(jpg\|png\|jpeg\|zip)" for example


Tags: cloud

jira-service-management

jira-service-management-cloud