Remove maturity field

5 posts, 0 answers
  1. Matteo Gugliotta
    Matteo Gugliotta avatar
    16 posts
    Member since:
    Oct 2006

    Posted 15 Oct 2014 Link to this post

    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
  2. Liliya
    Admin
    Liliya avatar
    18 posts

    Posted 15 Oct 2014 Link to this post

    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
     
  3. Liliya
    Admin
    Liliya avatar
    18 posts

    Posted 16 Oct 2014 Link to this post

    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
     
  4. Matteo Gugliotta
    Matteo Gugliotta avatar
    16 posts
    Member since:
    Oct 2006

    Posted 16 Oct 2014 in reply to Liliya Link to this post

    Hi Liliya,
    thaks a lot, this is exactly what I need.

    Best regards,
    Matteo
  5. Liliya
    Admin
    Liliya avatar
    18 posts

    Posted 16 Oct 2014 Link to this post

    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
     
Back to Top