Exporting budget data (NOT logged ours) to CSV/Excel

Officially Answered

Comments

5 comments

  • Avatar
    Nicole Tropper

    Hi Floris, 

    Thanks for reaching out. You are right, at the moment there is no possibility to get this information via the 7pace Timetracker UI. However, you could get this information via our API. Specifically our budget endpoint could provide these fields: 

    {"Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "BudgetName": "string",
    "Planned": 0,
    "Tracked": 0,
    "Billed": 0,
    "Comment": "string",
    "Closed": true,
    "ClosedDate": "2024-02-13T10:21:20.409Z",
    "CreatedDate": "2024-02-13T10:21:20.409Z" }

    To get the linked work items you'll need to make a separate call to another endpoint. Find more information on how to use our API here: https://support.7pace.com/hc/en-us/articles/360035502332-7pace-Timetracker-Reporting-API-Version-3

    All the best, Nici 

    0
    Comment actions Permalink
  • Avatar
    Floris Kleijne

    Thanks Nici! So far so good, I've been able to get the Budget data into Excel, excellent.

    Now for the challenge: I need the Work Items assigned to each budget. Expanding the Work Items column (Table type) gives me every single work item with logged hours under this budget. I need ONLY the work items explicitly assigned to the budget. I can't seem to identify an endpoint that does provide the information I need.

    Can you advise further?

    (Underlying business use case: we monitor budgets at the Epic level (entire quoted work) and Feature level (quote line items). We create budgets per Feature, and include the Epic ID in the budget name for Epic level aggregation. To monitor Epic-level budgets, we can aggregate budgets by taking the Epic ID from the name. But the individual Features are assigned to the budgets, so I need to retrieve those Features for each budget, and nothing else.)

    0
    Comment actions Permalink
  • Avatar
    Nicole Tropper

    Hello Floris,

    in order to get information about work items that are assigned to a specific budget, you would need to use the workLogsWorkItems endpoint, which shows the budget ID and the budget name. If you only want to see features, then you can use the $filter command to filter for only feature type work items, and you can group the results by budgets. However, if you are using Excel, the grouping should be done in Excel. So this step is a little trickier, but we have extensive documentation along with tutorial videos on how to use our API that you can find here: 7pace Timetracker Reporting API Version 3.

    There are multiple tutorial videos on our YouTube channel that will be helpful for you, but I can list a few here to get you started:

    1. How to generate 7pace Timetracker API token

    2. How to use the 7pace Timetracker API Reference

    3. How to compose a 7pace Timetracker API call

    4. How to use the 7pace Timetracker API prefilters

    5. How to connect Excel or Power BI to 7pace Timetracker API

    Feel free to reach out if you have anymore questions or need additional help! 

    Cheers, Nici 

    0
    Comment actions Permalink
  • Avatar
    Floris Kleijne

    Hi Nici,

    Thanks again for your response.

    Are you sure worklogsWorkitems is the correct endpoint for what I need?

    The information I need is quite separate from any worklogs. I'm talking about the Workitems assigned to the Budget in Budget Maintenance (see screenshot). Those are Epics and Features only in our case, because that's our agreed procedure. I should not need a filter for that.

    The problem I'm trying to solve is this: In the worklog information, budgets are available only if hours have been logged against the budget (through the assigned item or child items). I need the information from the budgeting data, well before the first hours have been logged.

    Please advise.

    Floris

    0
    Comment actions Permalink
  • Avatar
    Nicole Tropper

    Hi Floris,

    I've asked our support team to reach out to you for assistance with your specific use case. They will be in touch with you soon. 

    All the best, Nici 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk