TFS Query charts on TFS 2013 Web acces - charts

stackoverflow community,
In TFS 2013 web access, Is there way a to show the Story Point trend based on all the Tasks linked to a User Story closing? That is, If all Tasks linked to a User Story are closed, the trend line should drop by the corresponding Story Point value of the User Story irrespective of its State.
I tried to do a Query Chart using work items and direct links instead of the Flat list, but it would not let me. Looks like the ability to do a Query Chart is restricted to Flat list.
The filter is by an iteration..
Any other solutions available?

No, this can't be achieved by TFS query chars on TFS2013 Web access. And there has been a related feature request, you can also vote up it.
Add Story Point burndown to dashboard and reports
The work is still in progress and we’re tracking it closely on our
roadmap. The goal is to have something available in the first half of
next year. I’ll update this topic as soon as we have more info.
Team Services Group (Product group, Microsoft Visual Studio) responded June 03, 2016

Related

Find what the parent of an unparented task was in Azure DevOps

Is there a way to query product backlog items (and their histories) to find what the parent of an unparented task was before the link was deleted?
For instance here I have two tasks that are showing up as unparented.
They used to be parented to a user story but the link has been broken. Rather than having to trawl all my user stories and look through the history, I would like to be able to run a query (for instance on item 253152) and it to tell me what the parent used to be.
Update 07 Apr 2022:
Miao Tian's answer is of course absolutely correct.
In our case the tasks appear to have never been parented. They where created by a third party tool which appears to have failed to link them correctly. I'll post more information if it is helpful when we get to the cause.
If you just need to find the parent of this work item in the past, you don't need to use query. You can directly open item 253152 to view its history.
example:
start
delete the link
check the history of the task and find the parent

In Azure Devops, what is the easiest way to see the total story points for a particular sprint in a particular status

In the board view, the top of the column shows a number of work items in each column. I'd prefer that it instead show the sum of the story points of the work items in that column. Barring that, I'm looking for the dead-simplest report/view/whatever that will show me the number of story points in each column of my grid.
Just switched from JIRA to Azure Devops and am feeling like this is a product that has too much complexity everywhere it isn't needed and not enough functionality for basic Agile usage. Any tips for making the changeover more pleasant/getting JIRA-like behavior out of Azure Devops into the bargain would be appreciated.
For this issue , you can create a query that filters for User Story as the work item type and modify the column options to show Story Points and State.
Then, add a stacked bar chart that sums the Story Points.
For details ,please refer to this official document.

Story Points in Sprint Taskboards instead of effort

we just started with Azure DevOps to visualize our Backlog and our Sprints. Before we worked with Youtrack. We tried to change in the columns of the Sprint Taskboard the sum of effort into Story Points. Any suggestion, how we can solve this?
We changed the process to scrum
We searched in the processes under organisation settings and created an own scrum process
We created custom tasks for Sprint Taskboards called "User Stories"
We added the field for Story Points to the cards
Meanwhile, I sent a ticket to Microsoft and surprise: I got an answer!
The support answered:
Hi Peter,
I am sorry the feature to show the sum of story points in the column-headers of a sprint taskboard is not available, but as per the discussion at https://developercommunity.visualstudio.com/idea/365443/display-sum-of-story-points-in-a-sprint-agile-temp.html the product group is looking at implementing the feature.
Please follow the above link to get the latest update on the feature.
Is the effort group you want to replace referring to Remaining work field?
In scrum process , it shows like this :
In agile process , it shows like this :
Of course, the name and field are all customizable. If this refers to the remaining work field, you want to replace this with story points. According to your information, we can know that you have added Story Points field to the cards. Then what you need is not display the remaining work field , you can set it up in settings.
If I misunderstood ,please point out and i will edit this answer.

BI Platform REST API: add to favorite folder?

I'm redeveloping a Crystal Reports UI using the Business Intelligence Platform REST API (4.2 SP5), and I'm finding some gaps in the API.
The one I'm stumbling over now is how to add a report to a user's favorites folder. I can find the user's folder by querying with the /v1/cmsquery endpoint, but I can't take that id and use it in the /infostore/###/children endpoint. And I also can't figure out how to take an existing report from that infostore tree and create a shortcut to it in the user's folder. (Which appears to be how the favorites folder works, under the hood.)
Any direction -- particularly to good documentation or examples -- would be helpful. I was already looking at the developer guide, but it's pretty limited.
(Edit for typos)

Use Followed work Item in a new Query TFS 2017

I want to create a query with my followed works items in TFS 2017, but I didn't find the field name for the followed state.
I want to create that query in order to add a new widget in home dashboard.
Is it possible to make a query with your followed items in TFS2017?
No, there isn’t the feature to create a query with followed work items in TFS or VSTS and pin to dashboard. You just can check followed work items from Work>Queries.
I submit a user voice here (Query for followed workitem and pin to dashboard), you can vote it.
You can achieve this scenario by creating a custom Followed work items query (System.ID In #Follows) and saving it to Shared Queries. Then, simply pin the query to your dashboard as a Query Results Widget and anyone who views it will see their followed work items (similarly you can pin an Assigned to me query using the #me macro and users will see items assigned to them).
The #Follows macro has been around in VSTS for awhile and was introduced in TFS 2017. Check out our documentation on queries macros for more information.
As proposed by Lauren, in TFS 2017, you can build an ad-hoc query "ID In #follows" (Field=ID / Operator=In / Value=#follows). The results will be similar to the Default Query "Followed work items" under Work>Queries.
However, I was never able to save this query: trying to save always got me an error "TF212023: You cannot compare fields with different data types in the WHERE clause of a work item query. The error is caused by «[System.Id] in (#follows)»."
What I found out is, that the query works well in the web interface, but cannot be run nor created or edited in Visual Studio.
I did not even find a way to "follow" a workitem in VS, this seems to be available only in the web interface as well.