Modifying .xml template for Work Items in TFS for SDL
-
2011년 10월 31일 월요일 오후 10: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?
모든 응답
-
2011년 11월 2일 수요일 오후 7:43중재자
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.
- 편집됨 SDL TeamModerator 2011년 11월 2일 수요일 오후 7:44
- 답변으로 제안됨 SDL TeamModerator 2011년 11월 2일 수요일 오후 7:44
-
2011년 11월 3일 목요일 오후 1: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.
-
2011년 11월 9일 수요일 오후 6: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.
-
2011년 11월 11일 금요일 오후 10: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. -
2011년 11월 11일 금요일 오후 10: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>- 답변으로 제안됨 SDL TeamModerator 2011년 11월 16일 수요일 오후 5:52
- 답변으로 표시됨 SDL TeamModerator 2011년 11월 28일 월요일 오후 5:47

