Get task from several assignee / team - task

I need to get a list of tasks for several persons (team members).
I see that in the API I can specify one assignee.
Could I specify a list of assignee or a team id to get task related to several members ?
Regards,

Unfortunately, I don't think there is a great way to fetch all tasks assigned to a list of people, or all tasks in a team.
What you can do is:
Multiple Assignees: fetch the tasks for a particular assignee (/tasks?workspace=workspace_id&assignee=user_id&limit=20) and repeat for all users in your list
Tasks in a Team: fetch projects in the team (/teams/:team/projects?limit=20), and then for each project, fetch tasks in that project (/projects/:project/tasks?limit=20)
Please remember to paginate :)

Related

Get all planner tasks created by an user

I want to get all tasks my user created.
I tried to use https://graph.microsoft.com/v1.0/drive/root/createdByUser/planner/tasks endpoint in the Graph Explorer, but I got error 500 (internal server error).
The official documentation is here: https://learn.microsoft.com/en-us/graph/api/planneruser-list-tasks?view=graph-rest-1.0&tabs=http
Do you have any suggestion how I can get all the planner tasks I created?
Tasks created by a user is not a supported query. People can lose access to tasks that they have created (e.g. if they are removed from groups). The closest operation you can do is to loop over the plans in the groups you are a member of, read the plans in those tasks and see which ones were created by your user. The API linked in the question will return the tasks assigned to you.

How can I show Product Backlog Items on TFS board grouped by people?

In TFS 2015 we are using the Scrum process template. When I 'group by people' only the tasks are showing up on the board, but not the PBI's (product backlog items) or bugs.
How can I get the PBI's and Bugs that are assigned to my team to show up when I group the backlog by people? Is this possible?
You can't see User Story if you use "Group by: People".
But you can see bugs, you need to configure it according the picture:
Another option: you can install Query based boards extension, This extension allows you to visualize the result of work item queries on a board. The order by clauses of the query are respected on the board.
After installing the extension, navigate to the Work hub, and select Queries. When opening a query, a new tab called Board is available to visualize the results on a board.
Bugs could be added by default, the detail steps please follow the
official tutorial-- Show bugs on backlogs and boards
However, for PBIs, you need to do it by customizing your process
or team project, based on the process model you use. For details,
please refer this link: Add other work item types to your backlogs
or boards

how to show tasks in TFS delivery plans

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.

Why is Unassigned the only option available from the TFServer 2013 agile task board?

Why is "Unassigned" the only option available from the TFS 2013 agile task board? Why don't I see a list of team members. I have assigned team members to the team project. Also, if I open the task to get at all of the details, the Assigned To field has a list of all the users I would expect to be able to select from the agile board view.
Here's a screenshot of the Agile board where I am trying to assign the task to someone, but only see "Unassigned." I also cannot type in the field.
In my experience, this was related to capacity. For each sprint, you can set the number of hours per day and days off per user. I found that if a user was given 0 hours capacity for the sprint, they would not appear in the drop-down on the task board.
I think you don't have right in order to access your members, i suggest you to access security section in your Web Portal, check your Group and permissions associated.
try with administator group which have all permissions
This is late to the party, but in my experience this is because the drop down from the task board item view only includes team members which already have assigned tasks on the board (unless you set capacity, as above). If you edit the task by double clicking on it you can assign whoever, and then that person will appear on the drop downs for all other tasks on the board.

Query for open tasks in Asana

We're looking at using Asana to combine CRM, administration and issue tracking in a web dev firm. The key feature we need is a view of the "next actions" or "top [1|2|3] priorities" across all projects in a workspace, irrespective of who they are assigned to. It seems Asana does not provide this out of the box (is that right?) so I am looking into writing API queries to pull this out into a dashboard of our own.
I understand you don't want to let people pull ALL tasks in one workspace, as it may grow, but is there a way to pull out the top few open tasks in each project, without having to specify the assignee?
(I work for Asana)
Currently, the API allows you to grab all tasks in a project, see https://asana.com/developers/api-reference/projects. It will return them in ranked order (the same as they would show up in the Asana UI), however it won't limit them to some number; you'll have to get them all. Limits and pagination are on our roadmap to enable developers to work more efficiently with larger projects and workspaces.
So, it seems like you'd want to grab all projects, then iterate through them and query all tasks - this will give you their name and ID by default. If you want more detail for the ones you're going to show, then I recommend querying the details on each of those tasks individually.

Resources