I have a task group in TFS but the last task in the group shouldn't be executed by everything that uses it.
I can toggle the enabled checkbox in the task group itself. But then that would apply to every instance of the task group.
Is there a way to do this for specific instances?
Is there a way to do this for specific instances?
I am afraid there is no such way to do this for specific instances at this moment.
Just as you test, if we enabled checkbox in the task group itself, but this would apply to every instance of the task group. Obviously this is not what we want.
Besides, although TFS supports Conditions after 2017 update 3.1:
However, the custom conditions not support on task groups. In the task groups:
And MS replied that:
It's in the works. It's not a task issue but a service side issue.
task group support is coming soon (the main issue is the task group UI
is still using the old editor)
Check the ticket on github for some more details.
You can add your comment here and track this issue.
Hope this helps.
Related
We had a few cases when:
Someone changes a task group (or build/release/whatever).
Makes some mistake.
Then publishes/saves it.
But doesn't notify anyone that such changes were made.
Some hours later some dependent build breaks because of those changes.
And we have to spend even more time trying to find what and when has changed as it is not often that simple to find out with external task groups.
What we want to have:
Ideally - some approval process for such changes. Kind of like code review, but for task groups/builds.
If not - then at least some way to receive notifications about changes in task groups and etc. we are interested in?
I found neither, and, honestly, doubt that such features are present in the TFS version we use (TFS 2018.2), but perhaps I've missed something.
There isn't any workflow security or approval process for the groups. You could suggest that kind of feature on the developercommunity. Restrict access to edit Task Groups to only those who understand how to bump the Task Group version. That way at least you will keep backward compatibility across your builds unless that explicitly upgrade to that version.
There aren't any built in notifications, but you could create an automated process to send email notifications using PowerShell using the existing API.
Get the Id for the task group using the taskgroups list api
Use the revisions api to get the history _apis/distributedtask/taskgroups/{taskgroupid}/revisions
Send an update for anything that edited today
we have a TFS with many tasks and want to see them on the TFS delivery plan, how can I do it?
in the delivery plan I can only see stories and bugs, but I'm more interested on tasks..
Generally, only the selected backlog level work items can be displayed in delivery plans. But Task is not in any of the backlog level categories (Epics-Microsoft.EpicCategory, Features-Microsoft.FeatureCategory, Stories-Microsoft.RequirementCategory).
So, to display Task in Delivery plans, you can try to add Task to Microsoft.RequirementCategory. You need to edit the Task WIT definition to support planning tools. See Add a WIT to track it like a requirement for details.
But it will conflict with the original/default behaviour of Task work item. So, if you insist on display Task in delevery plans you can try add a new type work item based on the existing Task wit, then custom it as needed.
Suppose i have some set of tasks say:-
Analysing Code.
Coding.
Exception Handling.
View Integration
Deployment.
Bug Fixing.
How do i bulk create the same set of tasks under multiple user stories as its respective child objects?
Eg:- say i have
45678,45679,45670,45671,45672 as my user stories.
If i manually create the 6 listed tasks to the 1st user story, then how can i bulk create the same set of tasks to all other user stories as child objects?
There is no automation out of the box for this.
You can use excel to copy/paste the tasks as children of PBI's. There are also some third party tools out there that can do what you want. I built the TFS Event Handler in 2008 for an organization but have not had much call for it since.
http://nakedalm.com/tfs-event-handler-for-team-foundation-server-2010/
The reason I don't get much call for this sort of thing is that if you need it, then you are doing something wrong. Your list above is something that would make a lot more sense on a definition of done than a task list. If this was the DOD then the tasks should be the development teams plan to get them done...
I am trying to write a TFS (2013) query to use as a check in rule (using the TFS Power Tools). I want to allow the user to check in against a requirement that is RESOLVED, and who's child tasks are all in the CLOSED state.
Using the "Work item and direct links" query type, I am able to return all the requirements that are eligible for association during check in. The problem is, the query will also return the child tasks, as below:
Requirement: This is my Requirement [Resolved]
Task : + This is the child task [Closed]
The idea is that in a branch people check their work in against the Tasks. When all the work is complete, and the tasks are closed, the branch can be merged. The requirement being moved to Resolved marks the work as complete, and ready for merge. It is the merge check in association that I want to validate with this query. The Team Lead verifies that the work has been completed to their satisfaction and performs the merge, checking in the code against the requirement.
How can I have my query return only the requirement work item, and not the task, whilst retaining the filtering?
Your scenario doesn't make sense to me, you only want to allow devs to check-in against Resolved Requirements's whose tasks are all closed? (that seems weird)
But you would create a query that returned all Requirements where State = Resolved and do the direct links but select the option "Only Return Items that do not have the specified links" and filter by all Tasks where State <> Closed.
I have team web site & I want to make task in this application the team leader assign task & Every Employee see his task hoe can I do that?
Give the team leader full control in the list
Have team leader create task
Click into newly created task
Click Edit Permissions on toolbar at top of task display
Grant permissions to all employees (or better still, leverage SharePoint's groups).
To have this done automatically, I'd suggest creating a feature with a custom list derived from the Task List and create event handlers for the list that automatically delegate permissions appropriately.