Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Can't "Add to dashboard" in other Team contexts #14

Open
AndreasHassing opened this issue Oct 4, 2018 · 1 comment
Open

Can't "Add to dashboard" in other Team contexts #14

AndreasHassing opened this issue Oct 4, 2018 · 1 comment

Comments

@AndreasHassing
Copy link

If you have multiple teams under a project in Azure DevOps, and you want to add a workitem to a Dashboard in a Team that is not the default team (or primary, or first created), this is no longer possible.

I assume that it used to work back when you had a Team context while browsing VSTS. But these days, you are not browsing Azure DevOps under a Team context, but a Project context (see this).

The issue is that this line calls the dashboards API with whichever Team ID that comes from VSS.getWebContext().team.id (which will be the default, as we are no longer browsing under the context of a team).

So now we only see the dashboards from the "default" team, and cannot add to other teams' dashboards.

@AndreasHassing
Copy link
Author

Idea on fixing this:

  • Increase the nesting of the pop-up, to start with a selection of Team, then select which Dashboard under that team.
    • Cons:
      • We now have to get a list of teams, and then load dashboards for the selected team as a lazy operation.
      • It introduces an additional search-and-click operation from the user.
    • Pros: it works :shipit:.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant