More on my question...Resolve Bugs automatically.

Hi,

How are Bugs added  

I can run a test and add them manually by right-clicking on the test result and adding or associating the result with a Bug Work Item. 

However, I would like to know whether Bugs are ever automatically added, and if so, how one can configure this process.  E.g. I see that MSF Agile comes with a few pre-added bugs - I suppose they were automatically added by the Build process.

Bugs won't be added during ad hoc builds by the developer while s/he is developing, I suppose. Are they added automatically during a Team Build

Are bugs ever automatically added, and if so, how

Kind Regards

Jean-Pierre

 

 




Answer this question

More on my question...Resolve Bugs automatically.

  • Hansraj

     

    Hey Jean

    There are two things that can happen with regards to work items during a Team Build.

    1. A new work item is created in case of a build break during team build. By default this is opened using the work item type 'bug' with some default values added to some fields which can be customised by you in the TFSBuild.proj file. This bug has a) links to the build log file and error files b) The 'Found In' field (if the work item type has this field) is stamped with the build number

    2. In Team foundation source control system while doing a checkin - you associate a work item with your checkin (you can choose 'Resolve' or 'Associate' as the action while doing this - again depends on the WItype you use). If you include this changeset in a particulat team build a) then all the associated work items are shown in the 'Associated work items' table in the build report with the link pointing back to them b) All these work items have the 'Integration Build' field (if the work item type has this field) stamped with the build number.

    Hope this information helps - let us know if you need further info

    Thanks

    -Khushboo



  • NobleCoder

    Hey Jean

    Can you please elaborate on 'items that I have already associated with tests '.

    Just a guess - while associating a work item with a checkin there is a 'Query' field where you can run a query to look at different work items and choose the ones you want to associate - have you by mistaken chosen a query which is not giving you the work items you wanted

    Thanks

    -Khushboo

     

     



  • donnbobhardy

    By 'items that I have already associated with tests' - do you mean work items that you had created due to test failures Can you elaborate on the exact scenario that you are facing

    Thanks

    -Khushboo

     



  • Ranjan

    When checking in, I see only those items that I have already associated with tests (i.e. Bugs).  What's going on

    :)

     

     



  • Mathieu_N

    I have tried all manner of queries - currently I have All Work Items

     



  • eigqsung

     Is there a way that running a build can resolve Bugs automatically

     

     



  • More on my question...Resolve Bugs automatically.