Link work items across collections, TFS 2012

Hello,
Is it possible to link work items across collections?  We have items reported in one collection which are triaged, routed to the correct department where a new bug is opened in the corresponding collection, then closed in the original collection.  We
would like to have a direct link between the 2 items.  Is there an existing way to do this?
Thanks 

Hi Ajn,ny,  
Thanks for your post.
As EIKort said, TFS not support link work items in different collections. You need create new bug in the same collection, then create link between work items.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • TFS 2012 work items migration to TFS 2013 along with History,Links/Attachments & Custom fields??

    Dear All,
    TFS 2012 work items migration to TFS 2013 along with History,Links/Attachments & Custom fields?? is there any way..
    Tried couple of tools:
    1) Excel based migration : loss of data is custom fields, links, attachments, status
    2) few tools in Code plex : Crashing/Not working.
    Kindly provide your valuable comments here.
    Cheers, Tarun

    Hi Tarun,
    I'd like to know the tools that you used in CodePlex. Generally, CodePlex project is not supported in MSDN forum, and you can post your questions and concerns in the issue secton of the project.
    If you use TFS integration tools, according to this
    blog, it is limited to migrating only Version Control items, Work Items, and the links between them. Please check the limiation and have a check with your migration. For the customized fields, you might need to do the same customizatoin on the target
    team project.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Creating a report for linked work items...

    We are using TFS 2012 and need to create a report (either excel or SSRS) that shows all the user stories under the current sprint and any linked child items across two projects. I can do this easily per project in VS and open it in excel but excel won't
    let me copy/paste two projects work items in one spreadsheet. I tried searching and found a few suggestions but they don't seem to work.
    TIA,
    Vik

    Hi Vik,  
    Thanks for your post.
    We suggest you create a such report using TFS API. Please refer to below code snippet:
                TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("UrI"));
                tfs.EnsureAuthenticated();
                WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
                string wiql ="SELECT * FROM WorkItems WHERE [System.TeamProject] = 'TeamProject' ORDER BY [System.Id] ";
                WorkItemCollection wic = workitemstore.Query(wiql);
                foreach(WorkItem workitem in wic)
                if(workitem.Links.Count!=0)
                    foreach (Link link in workitem.Links)
                        RelatedLink relatedLink = link as RelatedLink;
                        if (relatedLink != null)
                            Console.WriteLine(relatedLink.RelatedWorkItemId);
    You can create your custom work item query to return all the parent work items, then save this query as a .wiq file in local path, then open this .wiq file and you will find the wiql string in it.
    For more information about work item query TFS API, please refer to:
    https://msdn.microsoft.com/en-us/library/bb130306.aspx.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Query filter for linked work items by link type

    We are running TFS 2012. I am opening up my work item query in VS 2013 team explorer. I need to know how to write a query that allows me to filter OUT links of type "related" so that they don't show in the tree under the product backlog item in
    the sprint. Link Type is not one of the fields present in the query editor.
    Thanks.
    Stephanie

    Hi Stephanie,  
    Thanks for your post.
    All your participation and support are very important to build such harmonious/ pleasant / learning environment for MSDN community.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to send emails using Automatic Work Items in Collections using XML Publ

    Hi,
    We are using XML Publisher to send correspondances in Advanced Collections.
    We want to send email correspondances using Automatic Strategy Work Items.
    Can anybody please help on how to send these?

    I believe you have to define your dunning template and assign that template to the strategy work item.
    Let me know if you are still not able to do it.
    Thanks,
    Anil

  • Create One-to-Many Work Item Links Programmatically in TFS 2013

    Hello,
    I urgently require some help with this problem please.
    I have a number of existing work item types - for illustration purposes, let's call them Work Item Parents and Work Item Children. Remaining details are as follows:
    I have thousands of Work Items of type Parents
    I have hundreds of Work Items of type Children
    The Work Item Parents have a One to Many relationship with the Work Item Children
    Both Work Item types have already been added to TFS and we now need to associate or link Parent items with their corresponding Child items.
    Due to the sheer number of items described above, linking the  Parent items with their respective Child items would be a complete "No-No" as it could take forever to complete and would be prone to error.
    What I'm therefore seeking is the ability to programmatically associate or link the two work item types where required.
    Any advice on how to achieve this would therefore be greatly appreciated.
    Thank you.
    PS: The link type between my work item types do not necessarily have to be of a Parent-Child relationship. "Related" work items will do just fine.

    Hi RegManteaw,  
    Thanks for your reply.
    We can get the wanted Bug work items and Task work items using
    WorkItemCollection, you should use the logic code to handle which Task work items linked to which Bug work item. For example, I defined 5 Bug work items within “b1” tag, and 10 Task work items within “t1” in my test
    team project, then I run the below code snippet to get that Bug/Task work items and link 2 Task work items to one Bug work item.
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(new
    Uri("collectionURL"));
    tfs.EnsureAuthenticated();
    WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
    try
    // get “b1” bug work items(5) from test team project
    string wiql =
    "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname' 
    AND  [System.WorkItemType] = 'Bug'  AND 
    [System.Tags] CONTAINS 'b1'";
    WorkItemCollection Bwic = workitemstore.Query(wiql);
    // get “t1” task work items(10) from test team project
    string wiql2 =
    "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname' 
    AND  [System.WorkItemType] = 'Task' AND 
    [System.Tags] CONTAINS 't1'";
    WorkItemCollection Twic = workitemstore.Query(wiql2);
    //two task work items linked to one bug work item
    for(int
    i =0;i<=4;i++)
    //define the link type
    WorkItemLinkTypeEnd linkTypeEnd = workitemstore.WorkItemLinkTypes.LinkTypeEnds["Related"];
    //link first task to bug
    Bwic[i].Links.Add(new
    RelatedLink(linkTypeEnd, Twic[(i * 2)].Id));
             Bwic[i].Save();
    //link second task to bug
    Bwic[i].Links.Add(new
    RelatedLink(linkTypeEnd, Twic[(i * 2 + 1)].Id));
    Bwic[i].Save();
    catch(Exception
    e)
    Console.WriteLine(e.Message);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TFS work item store is not connecting in production server using server side event handler code

    Server side plugin code to connect to work item store
    tfs = new TfsTeamProjectCollection(new Uri(tfsUri));
    store = (WorkItemStore)tfs.GetService(typeof(WorkItemStore));
    I used the above code and accessed work item store in my TFS DEV server without username and password. But the same plugin code is not working for the TFS Production server.
    Exception:
    Account name:
    domain\TFSService Detailed Message: : TF30063: You are
    not authorized to access http://localhost:8080/tfs/xx. Exception Message: TF30063: You are not
    authorized to access http://localhost:8080/tfs/xx
    Please guide

    Hi divya,
    From the error message, you might not have the permissions to get the work item store in TFS production server. You can check the permissions on your production server by using
    tfssecurity command in VS command line.
    Please execute tfssecurity /imx “domain\username” /collection:url, for more information about tfssecurity /imx, please refer to:
    http://msdn.microsoft.com/en-us/library/ms400806.aspx 
    If you have the permission, then you can also clean team foundation cache and try again.
    Best regards,

  • Report to get cumulative effort based on child items related to parent work item

    We have created a new work item type called 'Release' 
    Release -> Features -> PBI/Bugs -> Tasks/Test Case
    I have requirement to create many reports that has to filtered across the Release work item been created. We usually slice it by Area/Iteration but here the requirement is different.
    For ex: 
    Releases Overview report:
    Release name| Owner as AssignedTo| Status Indicator | Completed Work | Remaining Work | Open Impediments
    I can fetch all the release work items (Work Items with System_workItemType =Release) w.r.to team project for this report. But for other calculations :
    Compute Open Impediments
    Find all the child items belong to the parent 'Release work item'
    Pick Open Impediments (Work_Item_Count with System_workItemType=Impediment and State = Open) in that list.
    Is this possible by querying olap ?  Or we need to go for stored procedures for querying warehouse?
    please give a fair idea to start with and good resources for learning MDX.
    Thanks
    Divya

    Hi Divya,
    Thanks for your post.
    To get the Release work items and all linked Impediments, you can try to create the Work item and direct links query, under Filters for lined work items section, set Type of trees = Parent/Child, work item type = Impediments and State = Open. Please refer
    to the information in this document:https://msdn.microsoft.com/en-us/library/dd286705.aspx?f=255&MSPPError=-2147217396.
    For such a Release Overview report, you need create your custom report. For the MDX resource, please refer to this document:https://technet.microsoft.com/en-us/library/ms144785.aspx?f=255&MSPPError=-2147217396.
    Or contact SQL Server Reporting Service experts for the better response
    And you can also create the work item report using TFS API.    
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Pasted images in work item HTML fields sometimes get lost

    I have the curious problem that sometimes the images which have been pasted to HTML fields of work item (e.g. Description field) get lost. SQL data analysis showed that this only happens in ~4% of the cases (16 missing, 443 ok).
    When looking at HTML text in field you realize that there are empty image tags.
    <img alt="">
    In correct work items you always (sure!) have correctly set image tags.
    <img style="width:665px;" src="?FileNameGuid=06686f67-9fe1-4a73-8ed3-98b00a20e3e6&amp;FileName=temp1429775841167.png">
    <img height=204 style="width:352px;height:166px;" src="?FileNameGuid=06686f67-9fe1-4a73-8ed3-98b00a20e3e6&amp;FileName=temp1429775841167.png">
    Within web access it then looks like the following when you click into work item field:
    I can't reproduce the behavior. Might it be due to different web browsers (as far as I know IE, Chrome and Firefox are used)?

    Hi Robin,
    Thanks for your post.
    What’s the version of your TFS and VS? 
    According  your description, it seems the image HTML text not stored correctly in TFS database for that work items. If you paste the image the same ‘issue’ work item’s Description field again, the image can shows correctly in this same
    work item?
    Do you mean this issue only happened when you paste image to work item field in TFS Web Access? If you paste image to work item field using VS, all the work items are correctly?
    To resolve this issue, I need to reproduce it in my TFS Server environment, please try to filter out how this issue will happen in work item field in your TFS Server environment.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TFS 2012 - TFS Cube - at beginning of new month it is missing in field "Work Item.System_CreatedDate__HierarchyByMonth"

    We query TFS Cube via Pivot in Excel, and among other, we use the field Work Item.System_CreatedDate__HierarchyByMonth, to filter the result the Cube Pivot Report.
    On the first day of each month, we manually change the value of this field in the pivot filter, from previous month to current month. but strangely the current month does not appear in the tree of values for selection, only the previous month is shown. This
    is so for roughly half of the first day of the month, and then the current month begins to appear for selection.
    The update rate of the TFS Cube in our TFS installation is defined as 2 hours, thus we would expect the current month to appear there for selection already early in the morning...   Also to note it is the same after new WIs are defined during the
    morning of the first day as above.
    Thank u.

    Hi Moital,  
    Thanks for your post.
    This issue only happened in your custom Excel pivot report? And all your TFS default reports working fine?
    You can try to rebuild warehouse and cube from TFS Admin Console>>Application Tier>>Reporting>>click Start Rebuild option. Or try to manually process your TFS 2012 warehouse and analysis cube, ensure you can process successfully.
    https://msdn.microsoft.com/en-us/library/ff400237.aspx (similar with TFS 2012)
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TFS 2012 scrum board across projects

    So we have recently upgraded to tfs 2012. I have a query that I can see in team explorer across projects. Our sprint query has Team Project In @Project, OtherProjectName. In team explorer, this works fine. But when I go to the query in the web interface
    and/or the board, it only shows the work items from @Project. I really, really, really love the board. It prevents me from using the stupid scrum power tools to cut up story and task cards for our manual board. I hope this is something that I can make work!
    Anyone?
    Stephanie

    Hi Stephanie,
    Thanks for your post.
    For this scenario, please submit it to User Voice site at: http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate it
    seriously.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is it possible to create a Visual Studio plugin that can copy TFS work item ID by adding a context menu in the work item UI?

    Our team is using VS2013 and TFS 2013, and in our daily work we often open a TFS query, then we need to open a work item, and we often need to copy the ID, for example, to the email.
    But currently the field is read only, and we often manually copy it.
    So is there any convenient way to solve this? Any built in ways?
    If no, is it possible to create such a plugin?
    Regards,
    Lei Yang
    from Motorolasolutions

    Hi Lei Yang
    You can try the following work around to copy work item ID
    for VS 2013:
    Right click on work item tab header in VS 2013 and click 'Copy Full Path' from context menu
    When you paste it on notepad/email you will get work item ID at the end of the path:
    http://sumiran-dev:8080/tfs/web/wi.aspx?pcguid=d855bc22-69a8-45a5-b6fc-25f096ade8f5&id=46
    For Web Portal:
    Right click on work item link at top and click 'Copy shortcut' from the context menu
    When you paste it on notepad/email you will get work item ID at the end of the shortcut:
    http://sumiran-dev:8080/tfs/DefaultCollection/TFS%20Scrum%20Demo/_workitems/edit/46
    Thanks
    Sumiran

  • TFS Integration Platform Tool - Work Item Tags are lost

    Hi Guys,
    Scenario 1:
    We have used TFS Integration Platform to do a one time one way sync from TFS 2012 to TFS 2013 for workitems. We see that the
    workitem tags are lost on the target TFS.
    Scenario 2:
    Another scenario we tested was a 2 way work items sync
    between 2 TFS 2013 servers. Work items get synced but the
    workitem tags do not get synced.
    Is this a known issue and limitation of the tool?

    Hi Nachiket,
    For TFS integration tools, there are a few limitations. You can check the limitations section in this
    page for more information. Labels cannot be migrated by using TFS integration tools.
    Berst regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Closing Collections Work Items based on FI-CA Transactions

    Hello Colleagues,
    We have a requirement to close Collections Work Items when certain transactions are performed, e.g. Creation of Instalment Plan, Write-off, Payments to name just a few.
    Because some of  these items involve clearings,  Dunning  will not be triggered for the cleared items. Therefore I assume the Dunning BRF configuration cannot be used to close the Work items.
    Is the  only way to close work items when these FICA transactions are performed is by coding FICA Event logic that is specific to each of the transactions? (e.g. use a Write-Off Event to close work items when items are written off, an Installment Plan Event  when Installment Plan is created, and so on? )
    Your insights will be very helpful.
    Thanks in advance,
    Ivor Martin

    Thanks Bill.
    I understand and agree with  the expectation gap about Instalment Plans.
    Some good news on clearing of dunned items:
    We did some more testing after un-checking the  "Enforcement" Work item in the Work item category configuration.
    Now the work item is closed when the document that is in dunning is cleared (i.e. via payments, write-offs, reversals, acct maintence, etc). The Work item Status turns to "G" (closed due to incoming payment).
    I have logged an OSS in regards to the Instalment Plan on the request of my client - I would  be surprised if they send us a fix to close the work item upon creation of an Instalment Plan. I think we will end up coding our work item closing logic in FI-CA Event 3040 (after the Instalment Plan is created).
    Regards,
    Ivor

  • How do i turn off TFS adding bulds to Global List? and or to the "Found In" drop down in work items?

    We do not use the standard TFS build definitions in our drop downs, and have scripted updating the global list with our standard build numbers. However, we get both the TFS builds and our build numbers in the "Found In" field of work items. How
    do I disable TFS automatically adding the "Builds - " list into the "Found In" field Rules? and or updating the Global List?

    Hi CRHill,  
    Thanks for your post.
    What’s the version of your TFS Server?
    What’s the “not use the standard TFS Build definitions in our drop downs” mean? 
    You’re using the TFS Build Definition to build your solution but not use the default TFS build process template in it?
    If you don’t use TFS build definitions to build  your solution, how the TFS builds’ numbers be generated and added in team project Global list?
    As far as I know all the completed TFS build numbers will be added in to team project Global list by default, and there’s no a default way to turn off that in TFS Server. Please refer to the workaround in this article:
    http://readcommit.blogspot.com/2008/04/found-in-build-team-build-list-make-it.html.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • HT204053 Can you have multiple apple ids that access one itune account??

    I need to know if I can have multiple Apple Ids attached to one itunes account.  Trying to set facetime up on these separate devices and it keeps failing.  Any help would be appreciated.  I tried to add additional emails, but I all I get is verifying

  • Error while deploying on WL7

    hi! Deploying an application on WL7 I get this error: <i>java.lang.NullPointerException: Start server side stack trace: java.lang.NullPointerException      at weblogic.utils.enumerations.FileEnumeration.getNextFile (FileEnumeration.java(Compiled Code

  • How does one remove a WDS type extended network?

    Hi all. I have had a wi-fi network running at home for a couple of years, based on a Time Capsule. Recently I have acquired an iPhone, but it had severe difficulty accessing my wi-fi from my back garden, so I bought myself a second-hand 1st Gen AirPo

  • Migrating Webdynpro Java DC to Netweaver 7.0 to 7.3 getting the errors

    Hi We are migrating the portal ep 7.0 to ep 7.3 our custom webdynpro java dc imported from the nwds 7.3 getting the errors Portal version EP 7.3 ehp1 NWDS 7.3 version  7.3 SP07 PAT0007 Please find below the screen shot gen_wdp package getting the err

  • Weblogic.version gives java error after install of D33T

    Hi, I just installed patch D33T (Oracle WebLogic Server Patch Set Update 10.3.6.0.4) - released April 2013. Before installing the patch, I checked my weblogic version (running setWLSEnv and java weblogic.version) following the instructions in the rea