Is it possible to identify multiple values in a WHENNOT rule when defining WIT object?Break when a value changes using the Visual Studio debuggerTfs custom work item value migrationUser defined field in wit of tfsIs it possible to view multiple burndown charts in tfsTFS - WIT Customization - Define a custom actionI need TFS wit item to ask user for value for fieldCopied WIT won't calculate remaining time in Backlog bordAngular 2 - Identifier is not definedis it possible to check value from another object when I am debugging?TFS work item rule doesn't work when applying to multiple (Readonly not)

MaxDetect speed

Excel Solver linear programming - Is it possible to use average of values as a constraint without #DIV/0! errors or sacrificing linearity?

Subverting the emotional woman and stoic man trope

What did Jesse Pinkman mix into Walt's coffee?

Why does (inf + 0j)*1 evaluate to inf + nanj?

Difference between types of yeast

Is it acceptable to say that a reviewer's concern is not going to be addressed because then the paper would be too long?

Does the Horizon Walker ranger's Planar Warrior feature bypass resistance to non-magical attacks?

What should I consider when deciding whether to delay an exam?

How can an attacker use robots.txt?

How to justify getting additional team member when the current team is doing well?

Suffocation while cooking under an umbrella?

Need Improvement on Script Which Continuosly Tests Website

Where is Google's internal account authentication token located?

I transpose the source code, you transpose the input!

Passiflora Snow Queen is drying out

Algorithm that generates orthogonal vectors: C++ implementation

Does "as soon as" imply simultaneity?

Is differentiation as a map discontinuous?

Does the Way of Shadow monk's Shadow Step feature count as a magical ability?

Difference between "rip up" and "rip down"

I am 15 years old and do not go to a Yeshiva but would like to learn Talmud. A few rabbis near me said they could teach me. How should I start

Would you write key signatures for non-conventional scales?

How can this Stack Exchange site have an animated favicon?



Is it possible to identify multiple values in a WHENNOT rule when defining WIT object?


Break when a value changes using the Visual Studio debuggerTfs custom work item value migrationUser defined field in wit of tfsIs it possible to view multiple burndown charts in tfsTFS - WIT Customization - Define a custom actionI need TFS wit item to ask user for value for fieldCopied WIT won't calculate remaining time in Backlog bordAngular 2 - Identifier is not definedis it possible to check value from another object when I am debugging?TFS work item rule doesn't work when applying to multiple (Readonly not)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















We are attempting to expose a new field to only two groups (of many) within a TFS team project. We would like to implement a rule to the WIT object for which multiple values would satisfy the issue.



We have tried nested..



<WHENNOT field="System.AreaId" value="1"/>
<WHENNOT field="System.AreaId" value="2"/>


repeated...



<WHENNOT field="System.AreaId" value="1">
</WHENNOT>
<WHENNOT field="System.AreaId" value="2">
</WHENNOT>


and some guesses to the syntax..



<WHENNOT field="System.AreaId" value="1 or 2"/>
<WHENNOT field="System.AreaId" value="1 || 2"/>
<WHENNOT field="System.AreaId" value="1, 2"/>


without achieving the intended result.



<FIELD name="Original Estimate" refname="Microsoft.VSTS.Scheduling.OriginalEstimate" type="Double" reportable="measure" formula="sum">
<HELPTEXT>Initial value for Remaining Work - set once, when work begins</HELPTEXT>
<WHENNOT field="System.AreaId" value="24">
<READONLY />
</WHENNOT>
<WHENNOT field="System.State" value="To Do">
<READONLY />
</WHENNOT>
<WHEN field="System.State" value="Done">
<REQUIRED />
</WHEN>
</FIELD>


We would like to show the field based on whether the WIT is associated with Area ID 1 or 2, but otherwise hide from all of others.










share|improve this question


























  • How many areas do you have? I think you can't combine 2 WHENNOT because they cancel each other. you need to use WHEN - RADONLY with all the areas (unless 1 and 2).

    – Shayki Abramczyk
    Apr 7 at 12:11











  • Thanks Shayki. I wasn't looking at it from that angle, but that will work. Unfortunately, there are many areas that we will need to include in the template.

    – John Riggs
    Apr 18 at 17:39











  • A lot of work... update here if it worked :)

    – Shayki Abramczyk
    Apr 18 at 18:28











  • Yes it worked, however I am not able to mark your comment as the solution. It must appear in the answers section for me to denote it as a correct method.

    – John Riggs
    Apr 22 at 14:02











  • Great! I added it now as an answer.

    – Shayki Abramczyk
    Apr 22 at 20:23

















2















We are attempting to expose a new field to only two groups (of many) within a TFS team project. We would like to implement a rule to the WIT object for which multiple values would satisfy the issue.



We have tried nested..



<WHENNOT field="System.AreaId" value="1"/>
<WHENNOT field="System.AreaId" value="2"/>


repeated...



<WHENNOT field="System.AreaId" value="1">
</WHENNOT>
<WHENNOT field="System.AreaId" value="2">
</WHENNOT>


and some guesses to the syntax..



<WHENNOT field="System.AreaId" value="1 or 2"/>
<WHENNOT field="System.AreaId" value="1 || 2"/>
<WHENNOT field="System.AreaId" value="1, 2"/>


without achieving the intended result.



<FIELD name="Original Estimate" refname="Microsoft.VSTS.Scheduling.OriginalEstimate" type="Double" reportable="measure" formula="sum">
<HELPTEXT>Initial value for Remaining Work - set once, when work begins</HELPTEXT>
<WHENNOT field="System.AreaId" value="24">
<READONLY />
</WHENNOT>
<WHENNOT field="System.State" value="To Do">
<READONLY />
</WHENNOT>
<WHEN field="System.State" value="Done">
<REQUIRED />
</WHEN>
</FIELD>


We would like to show the field based on whether the WIT is associated with Area ID 1 or 2, but otherwise hide from all of others.










share|improve this question


























  • How many areas do you have? I think you can't combine 2 WHENNOT because they cancel each other. you need to use WHEN - RADONLY with all the areas (unless 1 and 2).

    – Shayki Abramczyk
    Apr 7 at 12:11











  • Thanks Shayki. I wasn't looking at it from that angle, but that will work. Unfortunately, there are many areas that we will need to include in the template.

    – John Riggs
    Apr 18 at 17:39











  • A lot of work... update here if it worked :)

    – Shayki Abramczyk
    Apr 18 at 18:28











  • Yes it worked, however I am not able to mark your comment as the solution. It must appear in the answers section for me to denote it as a correct method.

    – John Riggs
    Apr 22 at 14:02











  • Great! I added it now as an answer.

    – Shayki Abramczyk
    Apr 22 at 20:23













2












2








2


1






We are attempting to expose a new field to only two groups (of many) within a TFS team project. We would like to implement a rule to the WIT object for which multiple values would satisfy the issue.



We have tried nested..



<WHENNOT field="System.AreaId" value="1"/>
<WHENNOT field="System.AreaId" value="2"/>


repeated...



<WHENNOT field="System.AreaId" value="1">
</WHENNOT>
<WHENNOT field="System.AreaId" value="2">
</WHENNOT>


and some guesses to the syntax..



<WHENNOT field="System.AreaId" value="1 or 2"/>
<WHENNOT field="System.AreaId" value="1 || 2"/>
<WHENNOT field="System.AreaId" value="1, 2"/>


without achieving the intended result.



<FIELD name="Original Estimate" refname="Microsoft.VSTS.Scheduling.OriginalEstimate" type="Double" reportable="measure" formula="sum">
<HELPTEXT>Initial value for Remaining Work - set once, when work begins</HELPTEXT>
<WHENNOT field="System.AreaId" value="24">
<READONLY />
</WHENNOT>
<WHENNOT field="System.State" value="To Do">
<READONLY />
</WHENNOT>
<WHEN field="System.State" value="Done">
<REQUIRED />
</WHEN>
</FIELD>


We would like to show the field based on whether the WIT is associated with Area ID 1 or 2, but otherwise hide from all of others.










share|improve this question
















We are attempting to expose a new field to only two groups (of many) within a TFS team project. We would like to implement a rule to the WIT object for which multiple values would satisfy the issue.



We have tried nested..



<WHENNOT field="System.AreaId" value="1"/>
<WHENNOT field="System.AreaId" value="2"/>


repeated...



<WHENNOT field="System.AreaId" value="1">
</WHENNOT>
<WHENNOT field="System.AreaId" value="2">
</WHENNOT>


and some guesses to the syntax..



<WHENNOT field="System.AreaId" value="1 or 2"/>
<WHENNOT field="System.AreaId" value="1 || 2"/>
<WHENNOT field="System.AreaId" value="1, 2"/>


without achieving the intended result.



<FIELD name="Original Estimate" refname="Microsoft.VSTS.Scheduling.OriginalEstimate" type="Double" reportable="measure" formula="sum">
<HELPTEXT>Initial value for Remaining Work - set once, when work begins</HELPTEXT>
<WHENNOT field="System.AreaId" value="24">
<READONLY />
</WHENNOT>
<WHENNOT field="System.State" value="To Do">
<READONLY />
</WHENNOT>
<WHEN field="System.State" value="Done">
<REQUIRED />
</WHEN>
</FIELD>


We would like to show the field based on whether the WIT is associated with Area ID 1 or 2, but otherwise hide from all of others.







visual-studio tfs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 7 at 12:01









Shayki Abramczyk

10.7k11 gold badges20 silver badges41 bronze badges




10.7k11 gold badges20 silver badges41 bronze badges










asked Mar 28 at 17:38









John RiggsJohn Riggs

132 bronze badges




132 bronze badges















  • How many areas do you have? I think you can't combine 2 WHENNOT because they cancel each other. you need to use WHEN - RADONLY with all the areas (unless 1 and 2).

    – Shayki Abramczyk
    Apr 7 at 12:11











  • Thanks Shayki. I wasn't looking at it from that angle, but that will work. Unfortunately, there are many areas that we will need to include in the template.

    – John Riggs
    Apr 18 at 17:39











  • A lot of work... update here if it worked :)

    – Shayki Abramczyk
    Apr 18 at 18:28











  • Yes it worked, however I am not able to mark your comment as the solution. It must appear in the answers section for me to denote it as a correct method.

    – John Riggs
    Apr 22 at 14:02











  • Great! I added it now as an answer.

    – Shayki Abramczyk
    Apr 22 at 20:23

















  • How many areas do you have? I think you can't combine 2 WHENNOT because they cancel each other. you need to use WHEN - RADONLY with all the areas (unless 1 and 2).

    – Shayki Abramczyk
    Apr 7 at 12:11











  • Thanks Shayki. I wasn't looking at it from that angle, but that will work. Unfortunately, there are many areas that we will need to include in the template.

    – John Riggs
    Apr 18 at 17:39











  • A lot of work... update here if it worked :)

    – Shayki Abramczyk
    Apr 18 at 18:28











  • Yes it worked, however I am not able to mark your comment as the solution. It must appear in the answers section for me to denote it as a correct method.

    – John Riggs
    Apr 22 at 14:02











  • Great! I added it now as an answer.

    – Shayki Abramczyk
    Apr 22 at 20:23
















How many areas do you have? I think you can't combine 2 WHENNOT because they cancel each other. you need to use WHEN - RADONLY with all the areas (unless 1 and 2).

– Shayki Abramczyk
Apr 7 at 12:11





How many areas do you have? I think you can't combine 2 WHENNOT because they cancel each other. you need to use WHEN - RADONLY with all the areas (unless 1 and 2).

– Shayki Abramczyk
Apr 7 at 12:11













Thanks Shayki. I wasn't looking at it from that angle, but that will work. Unfortunately, there are many areas that we will need to include in the template.

– John Riggs
Apr 18 at 17:39





Thanks Shayki. I wasn't looking at it from that angle, but that will work. Unfortunately, there are many areas that we will need to include in the template.

– John Riggs
Apr 18 at 17:39













A lot of work... update here if it worked :)

– Shayki Abramczyk
Apr 18 at 18:28





A lot of work... update here if it worked :)

– Shayki Abramczyk
Apr 18 at 18:28













Yes it worked, however I am not able to mark your comment as the solution. It must appear in the answers section for me to denote it as a correct method.

– John Riggs
Apr 22 at 14:02





Yes it worked, however I am not able to mark your comment as the solution. It must appear in the answers section for me to denote it as a correct method.

– John Riggs
Apr 22 at 14:02













Great! I added it now as an answer.

– Shayki Abramczyk
Apr 22 at 20:23





Great! I added it now as an answer.

– Shayki Abramczyk
Apr 22 at 20:23












1 Answer
1






active

oldest

votes


















0
















You can't combine 2 WHENNOT because they cancel each other.



You need to use <WHEN field="System.AreaId" value="id"> <READONLY> </WHEN>
with all the areas (unless 1 and 2).






share|improve this answer



























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403800%2fis-it-possible-to-identify-multiple-values-in-a-whennot-rule-when-defining-wit-o%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0
















    You can't combine 2 WHENNOT because they cancel each other.



    You need to use <WHEN field="System.AreaId" value="id"> <READONLY> </WHEN>
    with all the areas (unless 1 and 2).






    share|improve this answer





























      0
















      You can't combine 2 WHENNOT because they cancel each other.



      You need to use <WHEN field="System.AreaId" value="id"> <READONLY> </WHEN>
      with all the areas (unless 1 and 2).






      share|improve this answer



























        0














        0










        0









        You can't combine 2 WHENNOT because they cancel each other.



        You need to use <WHEN field="System.AreaId" value="id"> <READONLY> </WHEN>
        with all the areas (unless 1 and 2).






        share|improve this answer













        You can't combine 2 WHENNOT because they cancel each other.



        You need to use <WHEN field="System.AreaId" value="id"> <READONLY> </WHEN>
        with all the areas (unless 1 and 2).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 22 at 20:23









        Shayki AbramczykShayki Abramczyk

        10.7k11 gold badges20 silver badges41 bronze badges




        10.7k11 gold badges20 silver badges41 bronze badges

































            draft saved

            draft discarded















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403800%2fis-it-possible-to-identify-multiple-values-in-a-whennot-rule-when-defining-wit-o%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해