I have Microsoft Project Server 2013 integrated with a TFS 2012 instance. I have the ability to create work items from project and tfs and it will sync back and forth.
What I'm trying to do is have certain work item types automatically submit to project server. Below is what I have found elsewhere, and it almost works (Submit is yes) but the ProjectName field is showing up blank.
I get the errors: "Field 'Project Server Enterprise Project' cannot be empty and Field 'Project Server Sync Requested Project GUID' cannot be empty.
Does anyone know how I can find what TFS expects for these values?
<TRANSITION from="" to="To Do">
<REASONS>
<DEFAULTREASON value="New task" />
</REASONS>
<FIELDS>
<FIELD refname="Microsoft.Sync.ProjSrv.Submit">
<COPY from="value" value="Yes" />
</FIELD>
<FIELD refname="Microsoft.Sync.ProjSrv.ProjectName">
<COPY from="value" value="PROJECT_SERVER_PROJECT_NAME" />
</FIELD>
</FIELDS>
</TRANSITION>
I believe the values you're after are;
Is your team project mapped to a single project plan? If so Microsoft.Sync.ProjSrv.ProjectName will be readonly, you only need to specify it if it is mapped to multiple project plans.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With