Modifying .xml template for Work Items in TFS for SDL
-
Montag, 31. Oktober 2011 22:07
This is probably wrong, but for the most part gets my point across.
<?xml version="1.0" encoding="UTF-8"?> <Data Application="Team Foundation Server" Type="Template" Version="3.0" xml:space="preserve"> <Template Product="MyApp" IssueType="Task" Domain="http://TFSServer/tfs/defaultcollection"> <FIELD name="Title" refname="System.Title" type="String" reportable="dimension"/> <Field Name="Priority"></Field> </Template> </Data>
I haven't played around with this too much, but i was wondering how these tie with TFS exactly. Are you going by the field name, or the actual field name like Title vs System.Title.Since I have several applications i need to start integrating this into, I was wondering if it was possible to have something in the SDL Notes tie to a field. So, I could set the application name in the External Security Notes, and use the ID to pull the string from that instead of creating several different templates.The documentation on this is vary minimal in the help doc, is there other resources out there?
Alle Antworten
-
Mittwoch, 2. November 2011 19:43Moderator
There isn't anything in the SDL process templates that would prevent you from customizing including reusing the notes fields as you describe. The maintenance and support of any customizations will need to be kept in sync by your organization going forward, so take care in this regard. There is good documentation on the fields (both in data entry and TFS integration contexts) available on MSDN as part of the MSF documentation starting here which should be helpful.
- Bearbeitet SDL TeamModerator Mittwoch, 2. November 2011 19:44
- Als Antwort vorgeschlagen SDL TeamModerator Mittwoch, 2. November 2011 19:44
-
Donnerstag, 3. November 2011 13:34Sorry, what I ment was, how do i work with the templates in the SDL Threat Modeling Tool. I know how to work with the WITs in TFS, just its not the same thing thats passed with the Thread Modeling Tool. Which also brings up the question, HOW do I pull the values from the Notes field in the Threat Modeling Tool to place into the values passed to TFS.
-
Mittwoch, 9. November 2011 18:05
Notes will go automatically into description field.
With all other fields, you need to make sure that all bug fields required by your TFS server template are present in TM Tool TFS template; it is also important that they are of a correct type.
-
Freitag, 11. November 2011 22:07
To simplify my question... are these both correct?<FIELD name="Title" refname="System.Title" type="String" reportable="dimension"/> <Field Name="Title"></Field>
I can define the fields for Area Path or Iteration Path, but what is the data that i need to add in there so it picks the one I wanted. Do i need to use the &[GUID_1],&[GUID_2] style or can my "App\Revision 1\Sprint 1" work?I cant seem to find documentation that goes more in depth on how that template works. Im stuck with trial and error. -
Freitag, 11. November 2011 22:19
We do not use the rest of fields in the template like you do. Could you compare the template you have to this example and cut off the fields other than Name? The text value is only filled if it's preconfigured
<?xml version="1.0" encoding="UTF-8"?>
<Data Application="Team Foundation Server" Type="Template" Version="3.0" xml:space="preserve">
<Template Product="tmttest" IssueType="Bug" Domain="http://bugtrack.contoso.com:8080/">
<Field Name="Triage">Investigate</Field>
<Field Name="Priority">3</Field>
</Template>
</Data>- Als Antwort vorgeschlagen SDL TeamModerator Mittwoch, 16. November 2011 17:52
- Als Antwort markiert SDL TeamModerator Montag, 28. November 2011 17:47

