Question

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>
Was it helpful?

Solution

I believe the values you're after are;

  • 'Project Server Sync Requested Project GUID' = Microsoft.Sync.ProjSrv.RequestedProjGuid
  • 'Project Server Enterprise Project' = Microsoft.Sync.ProjSrv.ProjectName

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top