This is a migrated thread and some comments may be shown as answers.

Remove maturity field

4 Answers 48 Views
Bug Management
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matteo Gugliotta
Top achievements
Rank 1
Matteo Gugliotta asked on 15 Oct 2014, 02:48 PM
Hi,
I'm trying to remove "Maturity" field from the stories of a project, but the ways I use don't work:
1) In the project template under EntityDefinition EntityTypeName="Story" element in the Maturity rule I set the IsActive attribute to false
    <Rule xsi:type="AllowedValuesRule" IsActive="false" IsValidationRule="false" FieldName="Maturity" AllowNull="true">
2) I removed the entire Rule element.

With both methods the dropdown list is replaced by a textfield as shows the attached file.

There is a way to hide the field?

Thanks in advance,
Matteo

4 Answers, 1 is accepted

Sort by
0
Liliya
Telerik team
answered on 15 Oct 2014, 03:46 PM
Hi Matteo,

Currently there is no functionality that allows predefined fields of a work item to be removed / hidden. The options under Advanced Settings are used for additional characteristic of existing fields, not for defining them. However there is a similar request in our Feedback Portal.

Do not hesitate to contact us if you have any further questions.

Regards,
Liliya
Telerik
 
0
Liliya
Telerik team
answered on 16 Oct 2014, 09:15 AM
Hello,

There is a way to workaround and remove the Maturity field, but you should know that this will remove it from all projects. In the StoryDetails.cshtml file

C:\Program Files (x86)\Telerik\TeamPulse\wwwroot\Areas\View\Views\DetailsTemplates\StoryDetails.cshtml

Remove the maturity section

         <div class="property">
                        @Html.DisplayFor(x => x[Constants.Maturity], "WorkItemField")
                        @Html.EditorFor(x => x[Constants.Maturity], "WorkItemField")
         </div>

This workaround would not be suitable, in case you need to hide it only from one project.

Regards,
Liliya
Telerik
 
0
Matteo Gugliotta
Top achievements
Rank 1
answered on 16 Oct 2014, 09:39 AM
Hi Liliya,
thaks a lot, this is exactly what I need.

Best regards,
Matteo
0
Liliya
Telerik team
answered on 16 Oct 2014, 02:43 PM
Hi Matteo,

I`m glad that this solution worked for your case.
Do not hesitate to contact us, if you need any further assistance.


Regards,
Liliya
Telerik
 
Tags
Bug Management
Asked by
Matteo Gugliotta
Top achievements
Rank 1
Answers by
Liliya
Telerik team
Matteo Gugliotta
Top achievements
Rank 1
Share this question
or