Auto refresh backlogs panel when work item change - tfs

I have an advanced capacity planning extension that replace the work details panel in the current iteration back log panel.
is there a way to register to workitem change event? currently thr only event work is the work item selection change event which is not relevant.
thanks
dror

According to your title, you want to enable live updates to automatically refresh your backlogs when work item changes occur.
This is not available at present. You still have to press F5 to see the latest changes.
There is already a related user voice, kindly upvote it and our PM will review any feature request:
Button to refresh the backlog, or ability to auto-refresh backlog
https://developercommunity.visualstudio.com/idea/501639/button-to-refresh-the-backlog-or-ability-to-auto-r.html

Related

How can we make a Work Item Creator automatically a Follower?

I am running Azure DevOps 2019 RC1 with an Inheritance Collection and a new Agile project.
I have a requirement that when a user creates a work item (task/issue), they must automatically be added as a follower of this work item. How can I achieve this? I have look in the rules for the work item under process customisation but it doesn't appear to be possible this way.
We are using the tickets to track issues. Whoever discovers the issue raises the ticket. The basic requirement is that anyone who raises a ticket should be automatically notified of its progress, even though they are not responsible for the development or testing.
Currently the work around is telling the user that when they create an issue they must click the Follow button, but it is easy for them to forget and then lose their updates. It seems like a very simple customisation so maybe I'm missing the obvious.
Thanks
I think you can't auto follow things currently, but you can add notification setting that will send automatically emails when work item is updated. To do this, go to Project Settings > Notifications page and create new subscription. Select "Work/A work item is changed" and put "Members of ... team by role" in Deliver to selection. Set roles to "Created by" and untick the "Skip initiator".
Your problem would be addressed precisely with the feature requested in the official Azure DevOps' feedback platform here:
479189 - Automatically follow work items I interact with
(That page also mentions workarounds, including per-team one answered here, and a per-person alternative. See this comment. The shortcoming of both is that they don't allow to you to unsubscribe for selected tickets.)

Is it possible to bulk follow work items in TFS 2017?

I want to follow several work items and to be able to do this in bulk rather than having to go into each item and click 'follow'. I have created a query but can't see a way of getting updates on the status of each item within the query. Is this possible?
Unfortunately, there isn't the feature for now, there are two user voices to suggest the feature , you can go and vote them up to achieve it in future:
User Voice:
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/16650295-i-can-t-seem-to-bulk-follow-items
https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/13885038-assign-followers-to-a-work-item
As a workaround, you can create a notification alert for the work items change. See Set alerts, get notified when changes occur for details.

How to auto-collapse all backlog items by default in TFS 2013

Using Team Foundation Server 2103(Web Access).
Whenever I navigate to Backlogs -> My current iteration, I see the User Stories as well as the Tasks all auto expanded.
What I want is I want to default it to Collapse.
Is there any setting for that?
In an iteration view want you care about is the Tasks (the plan) rather than just the PBI's and this is the default behavior. There is currently no way to change it.

How do I request that a work item owner add more details to the work item and keep the history?

In TFS, how do I request more information from the owner of a work item and have my request appear in the work item history?
So for example a user submits a bug, then I would like to use TFS to request more information and I would like my request to be within or attached to the bug. Then would like the user to update the bug in a way that I can see the progression.
Similarly is there a way to notify the user that I have updated the bug (without explicitly sending them a manual email)?
So I would like this to be outside the context of a daily standup meeting and a more automated process.
You could add a new state or reason, with a piece of workflow that assigns the work item back to the creator automatically and have a email alert on assigned to changes to [me]. However I normally just manually assign it to someone and ask for more details in the history.

TFS 2012 hide content of work item field based on rights

is there a way to hide the content of a field based on a role?
I thought about creating a serverside plugin which empties the field if the user does not have permission to view the field and repopulate it on save. But I don't know how to do this, I did not find any event which I could use. Any idea?
My first intent was to use the EMPTY rule but this really clears the content and does not repopulate it. Also the READONLY rule is not acceptable for us. Do you have any idea?
I know this was already requested http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2088177-add-ability-to-hide-mask-fields-in-a-work-item-bas but I need the functionality now.
I also thought about creating a workitem where the hidden fields are stored in and linking it to the other work item but this is not the solution I want ...
The only way to do this is by creating a custom work item control. That control can then only display the contents of the value if the user has the correct permissions. What it does not prevent though is to see/update the data via other tools like Excel, Work Item Query or Bulk Update.
As the suggestion on User Voice suggests, it is not possible today in TFS. So please vote and make sure the Team Foundation Server team knows it is high priority for a lot of our customers.
Ewald Hofman (Program Manager, Team Foundation Server)
In VS 2013 when u use the Empty Rule, the field disappear! You can see that in Scrum Template when you change de WIT state to Done the Remaining Work field are hidden

Resources