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.

Similar Messages

  • Get parent work item at runtime

    Hi all,
    Is there any function module which would return parent work item ID base on child work item ID?
    My situation is that I have a workflow W1 which starts sub workflow W2. I know the id of currently u2018In processu2019 work item of the sub workflow W2. Now I would like to get two things.
    -     Work item ID of the parent sub workflow template W2
    -     Work item ID of the top level workflow template W1
    Could you possibly help?
    Many thanks and best regards,
    Petr

    Info when you need to find Manually is as below
    Goto SWI1 tcode, enter the work item id that you have.
    Then select the workflow log(Shift + F8) from the menu.
    In the workflow log, select the "List with Technical details"(Shift+F9).
    This provides you all the details with work item IDs that you are looking for.
    However if you are looking for this info programmatically.
    A function module like SWW_WIS_HEADER_READ can help getting the info.
    Regards,
    Kartik Nayak.

  • Notification based on parent work item's status

    Good afternoon all.
    Would anyone know how it will be possible to send a notification for a manual activity reassignment but only when the parent work item (service request for example) is 'In Progress'? I know this is not going to be possible in the console so has anyone managed
    to achieve this within XML?
    Any pointers would be great!
    Thanks, Joe

    Unfortunately, what you're asking for can't be done out-of-the-box, even with direct management pack manipulation.
    There are basically two types of subscriptions: instance and relationship subscriptions. They can't be mixed.
    It is still possible to accomplish what you want, but it would require some development effort if you want to build it yourself.
    There are some 3rd party options out there since this has been asked for a number of times in the past.
    For example from a quick search, both
    http://www.carbon60.com/send-email-notification-custom-activity-for-service-manager/ and
    https://andrewsprivatecloud.wordpress.com/2012/07/02/assignmentre-assignment-notifications-using-sco/ use Orchestrator.
    It could also be done with a powershell-based service manager workflow if you don't want to use Orchestrator.

  • Report to get WBS elements based on Project Type

    Dear Experts,
    Is there any report exists in Project Systems to get WBS elements based on Project Types.
    This we can check in the table PRPS-PRART.
    But i need to know the availability of T Code.
    Thanks in advance.
    Regards,
    Srinivasareddy Y

    Hi,
    If its a one time requirement using CN43N might help in meeting the requirement. However, first it has to be executed for a certain range of projects and then the layout will have to be changed accordingly. Instead of doing this if a custom report is developed with the input parameter as "Project Type" it would make it much more easier. You can even have the F4 search option for the input parameter. Doing this will help if the report is going to be used frequently in the future.
    Take your call and proceed accordingly.
    Regards,
    Gokul

  • 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.

  • SSRS Report for Incidents/Work Items Created or Closed over time

    I'm curious if anyone has developed a custom report based off the DWDataMart that displays the count for creation of incidents or other work items over time or work items that are closed over time.

    Hi Jon,
    There is a blog, which talks about in detail regarding SCSM reporting,
    http://scug.be/scsm/2012/04/10/working-with-scsm-reporting/
    However related to your queries please refer to this,
    http://blogs.technet.com/b/servicemanager/archive/2010/04/23/how-to-create-a-custom-report-and-display-it-in-the-console.aspx
    Thanks,
    Mohammad.
    -Zakir, Let us know if the answer/post helps you :)

  • Need help in getting proposed approvers for a work item

    Hi All,
        We are trying to get the proposed approvers and the actual approver details for a particular work item.
    Before the work item is actioned we are able to see all the proposed agents for that particular work item.
    But once that work item is actioned then only the agen who has actioned on the work item is appearing in the list. All other agents are not appearing.
    For this we are using the FM BBP_WFL_DIN_APPR_WORKFLOW_GET.
    We have also tried some other FM's and tables, but none of them were helpfull.
    Please let us know if you know any table or FM or class which we can use to get these details.
    Scenario:
    Work Item: 12345    
    Before action on the work item
    Possible(Proposed) agents: Agent 1, Agent 2, Agent 3.
    Actual Agent: blank
    What we want, after action on the work item if "Agent 2" acts on that item.
    Possible(Proposed) agents: Agent 1, Agent 2, Agent 3.
    Actual Agent: Agent 2
    But what we are get is:
    Possible(Proposed) agents: Agent 2.
    Actual Agent: Agent 2
    Thanks a lot.
    Regards,
    Kranthi.

    Hi,
    What did you draw those lines with ???? Just a drawLine() command ????
    If so, it is very difficult to track the exact mouse coordinates that correspond to a click at a particular place and then place an 'X' or an 'O' there !!!!
    Try implementing it with 9 Buttons placed at those specific positions. In this case, it will be very simple to track the user's input when he clicks on any of those buttons...the implementation will become really simpler.
    Check it out !

  • User wants to get the cumulative values based on his input.

    Hi
    I am working one FI Report; the out put values are Cumulative values for Current, Previous years. I developed and it fetches the data last 3 years Cumulative year’s data without any input FYMonth based on SAPexits and varible offsets. But user wants to put Fiscal year Month as input. So he wants get the cumulative values based on his input. For example, If his input SEP'2005(062005), Then Query gives the Output Cumulative Value (I.e., Sum of Total values of Form APR'2005 to SEP'2005)
    Please provide the solution…
    Thanks
    Mannev

    Mannev,
    You can try doing this.
    1. If the user input is fiscal period(2005006) , you can create a customer exit variable which will take the user value (i_step =2), and change the variable value to 20005001. (this is a simple code where tye last 2 digits are replaced by 01).
    if the user is entering calmonth, you can use FM - DATE_TO_PERIOD_CONVERT, to convert the month to fiscal period.
    2. You can create a rkf with restrictions on time char based on the customer exit variable and the user entered variable.
    -Saket

  • If i get the family based service do i have the option to track my childs phone without them knowing?

    im trying to find out if i can track my kids phone withoutthem knowing. if i get this family based service do i have this option?

        mookfalcon, We know the importance of managing the lines on your account, indeed!   We have many options for controling and restricting the child lines that can be done right from your My Verizon account verses their devices . Can you provide more specifics on what you mean by "tracking" the phones? Here's a link with more facts on the Family Base feature http://vz.to/1gRO7pp.
    TanishaS1_VZW
    Follow us on  Twitter@VZWSupport

  • Reports not getting generated

    Dear All,
    I know this is a repeat query but im unable to find information from the blogpost http://scn.sap.com/docs/DOC-41109.
    I have earlier configured the WWI setup in a linux server. Now I am testing it on a windows server. I have made all the configurations in word and for generation server. The issue is, the report is not getting generated in report management screen and is in status Generation possible always.
    When i check the wwi monitor, the doc type SBR is getting released but not getting completed. Please see the screenshot. CGSADM is working fine, RFC is working fine. I tried creating documents in CV01N and they are getting created. The DCOM settings are also good and activated the permissions there too. The DMS settings are set as per the SAP notes. However The job i scheduled is in status Finished for document generation. But when I try to generate the report, the report is created using a variant and the status of the report is in generation possible always. I checked the variant of the report and the validity is in REG_WORLD. I understand that there is some issue in the scheduled job.
    I have scheduled only one job for Document Generation as follows.
    a)Enter the job name - DOC GENERATION and choose a job class - A.
    d) Choose Start condition and in the dialog box, choose After event.
    e) Enter SAP_SYSTEM_START in the event field.
    f) Activate Periodic job - HOURLY
    g) Choose Check and save your entries.
    h) Choose Step and choose ABAP program in the dialog box that appears.
    i) Enter RC1WWIDS as the ABAP program name.
    j) Choose Check and save your entries.
    k) Before you leave the Define Background Job screen, you must save your entries once more.
    Result: The job is started whenever the SAP system is started.
    aFTER REPEATED ATTEMPTS, THE RESULT IS THE SAME AND NO CHANGE IN STATUS OF THE REPORT.
    Kindly suggest what step am i missing . I have been through all the blogs in SCN. My old blogs are however missing and hence I am not able to access them.
    I am using SAP GUI 7.30, ECC6 and EHP 5.
    Regards
    Dhinesh

    Dear Dhinesh
    Please help me to understand your system landscape.
    a.) Did you have had a SAP EHS up and running together with a "linux server" based WWI version
    and
    b.) now you are switching the same SAP system to a "windows server" based version?
    I am not sure about your screenshots. But you seem to have more than one gen server attached to the same system; did you updated as well WWI?
    So no adaption of general SAP set up (like DMS etc.)?
    Therefore any job scheduled (before afterwards) is done using a SAP account having the necessary access rights?
    Can you please check this:
    1.) create several sessions; one with WWi monitor and one with CG02; try to generate a different report for the same spec id (e.g. not MSDSUS in EN, but MSDS/FR) and check progress in WWI monitor as well as CG50
    2.) select in CG50 the report in status "generation possible"; mark it and try to "go" on ; check access rights afterwards (su53)
    I hate this status "generation possible". I believe you need to use "debug replace" to remove that entry; I can not remember any more but that was the only option to get "rid" of this entry
    Please read WWI cookbook, There is a set up possible in such a way that any action on WWI server is "logged"; may be try to analyze the log file to get idea why there is no progress regarding the generation
    PS: the problem you have detected is not related to the "validity area". It is a matter of communication issue between SAP and WWI server and the WWI process can not be finalized.
    But you are not alone with your problem (e.g. check:
    http://www.benxbrain.com/en/sap/program/RC1WWIDS-Generation-possible-status-not-changing-thread-1-1547841.htm)
    http://scn.sap.com/thread/3311944
    http://www.consolut.com/en/s/sap-ides-access/d/s/doc/H-ESEWSRSTAT
    https://scn.sap.com/thread/1575223
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/ehs-wwi-processing-272462
    Check as well your own thread: http://scn.sap.com/thread/3304285
    C.B.
    PS: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
    as well as:
    http://www.stechno.net/sap-notes.html?view=sapnote&id=580586
    PPS I: logging feature of WWI is described here: Note 778684
    PPS II: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
    PPS II: may be check as well: http://scn.sap.com/thread/3344033
    and http://scn.sap.com/thread/1381004

  • Function Module to get PO details based on Plant and PO date

    Hi
    1. Is there any Function Module to get PO details based on Plant and PO date?
    2. Is there any Function Module to get Material document details based on PO number?
    Thanks
    Narendra

    hi,
    check these standard reports.
    ME2L - By vendor
    ME2M - By material
    MSRV3 - By service
    ME2K - By account assignment
    ME2C - By material group
    ME2B - By tracking number
    ME2N - By PO number
    ME2W - By supplying plant
    also chck this func module.
    REPL_LIST_PURCHASE_ORDER_READ
    reward if hlpful.

  • Report Builder get shut down... without generating any Error Message

    Hi Every One,
    I am generating the reports in Report Builder 10.1.2.0.2. And the report is based on the view, when I want to generate the PDF, the report builder get shut down without generating any error message. But I can run the report to see live Preview (Paper Design ).
    What can be reason that its not generating PDF file format.
    Thanks in Advance for your time.

    Hi Saumen,
    I don't think so that .. I have memory problem or some other issue on the hardware side .. bcos I used the same report builder on same machine against the same instance.. to generate the 70K pages PDF file ... but nothing happened ...And this report is fetching only 10 records. during the execution of the report, Report Builder get close. without generating any message. without keeping any processor busy.
    I am feeling that report builder try to write in the PDF file format .. but unable to write.. may b some thing is wrong on the privileges side of the VIEW. But I have Select Priv on the view.
    When I try to trace the report, I got the message in the trace file that " Report Aborted on user request"
    Thanks,
    Mohsin

  • Cumulative Flow based on story points

    We're new to using Kanban features in VS.  I can't figure out the cumulative flow report - it seems to be based the count of stories (not story points) but that would only make sense if all stories were the same size.  MS provides a story points
    field in the default configuration so I'm assuming there is a realization story sizes are not the same.  Is there a configuration for this we're missing?  
    Thanks

    Hi Kazoo, 
    Thanks for your post.
    Yes, the Cumulative Flow diagram based on the count of Backlog items(user stories), please refer to this document:
    https://msdn.microsoft.com/en-us/library/jj838789.aspx.
    Agile velocity chart and forecast tools reference the value in this story points field, for the velocity report, please refer to:
    https://msdn.microsoft.com/en-us/library/dn283465.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.

  • Need to generate the report to get changed and newly added record.....

    Hi Experts,
    I am loading data to cube with full update, now I need to generate the report to get the changed and newly added records based on the date.
    Is it possible????
    If it's possible, how can I achieve this?????
    Please help me.....
    Thanks in advance,
    Venakt.

    I am loading data to cube with full update, now I need to generate the report to get the changed and newly added records based on the date.
    what you mean by based on date??
    When ever the data is refereshed in targets that will be reflected in reports provided if you dont have any aggreagates...if you have then you need to do rollup activity..

  • How to get fiscal period based on date and Fiscal year?

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
    Thanks,
    Gopi.

    Hi,
    Please refer the code below:
    *: Report:  ZFISCALYR                                                  :
    *: Date  :  2004                                                       :
    *: Description: Demonstrates how to return the corresponding fiscal    :
    *:              year and posting period for a company code and posting :
    *:              date or posting date and fiscal year variant.          :
    REPORT  zfiscalyr NO STANDARD PAGE HEADING.
    TABLES: ekko.
    PARAMETERS:     p_bukrs TYPE ekko-bukrs,
                    p_bedat TYPE ekko-bedat.
    DATA: gd_fiscalyr  TYPE bapi0002_4-fiscal_year,
          gd_fiscalp   TYPE bapi0002_4-fiscal_period.
    DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
          gd_fiscalp2  TYPE bapi0002_4-fiscal_period.
    DATA: gd_periv     TYPE t009-periv.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * get fiscal year and period - (requires date and company code)
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    * Alternative fiscal year function module
    * - (requires date and fiscal year variant code from T009 table)
    * gets first entry in fiscal year variant table (will need to choose
    * correct one from table rather than just using first entry)
      SELECT SINGLE periv
        FROM t009
        INTO gd_periv.
    * get fiscal year and period
      CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    *END-OF-SELECTION.
    END-OF-SELECTION.
      WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr,
            / 'Fiscal period is:', gd_fiscalp.
      SKIP.
      WRITE:/ 'From function module: DETERMINE_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr2,
            / 'Fiscal period is:', gd_fiscalp2.
    Thanks,
    Sriram Ponna.
    Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM

Maybe you are looking for